mirror of
https://github.com/projectbraf/braf_factions.git
synced 2026-06-13 15:13:29 +00:00
added random suit function for thugs faction
This commit is contained in:
1
addons/main/$PBOPREFIX$
Normal file
1
addons/main/$PBOPREFIX$
Normal file
@@ -0,0 +1 @@
|
|||||||
|
braf\braf_factions\addons\main
|
||||||
21
addons/main/config.cpp
Normal file
21
addons/main/config.cpp
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
class CfgPatches {
|
||||||
|
class braf_factions_main {
|
||||||
|
author = "BRAF Team";
|
||||||
|
requiredAddons[] = {
|
||||||
|
"braf_main",
|
||||||
|
};
|
||||||
|
requiredVersion = 0.1;
|
||||||
|
units[] = {};
|
||||||
|
weapons[] = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class CfgFunctions {
|
||||||
|
class braf_factions {
|
||||||
|
class functions {
|
||||||
|
class thugswear {
|
||||||
|
file = "braf\braf_factions\addons\main\functions\fn_thugswear.sqf";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
113
addons/main/functions/fn_thugswear.sqf
Normal file
113
addons/main/functions/fn_thugswear.sqf
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
params["_unit"];
|
||||||
|
|
||||||
|
suits = [
|
||||||
|
"U_C_ArtTShirt_01_v3_F",
|
||||||
|
"U_C_ArtTShirt_01_v5_F",
|
||||||
|
"U_C_ArtTShirt_01_v4_F",
|
||||||
|
"U_C_ArtTShirt_01_v2_F",
|
||||||
|
"U_C_ArtTShirt_01_v1_F",
|
||||||
|
"U_C_ArtTShirt_01_v6_F",
|
||||||
|
"U_C_Mechanic_01_F",
|
||||||
|
"U_C_IDAP_Man_Tee_F",
|
||||||
|
"U_C_Uniform_Scientist_02_formal_F",
|
||||||
|
"U_C_Uniform_Scientist_02_F",
|
||||||
|
"U_I_L_Uniform_01_tshirt_sport_F",
|
||||||
|
"U_I_L_Uniform_01_tshirt_skull_F",
|
||||||
|
"U_I_L_Uniform_01_tshirt_olive_F",
|
||||||
|
"U_I_L_Uniform_01_tshirt_black_F",
|
||||||
|
"U_C_E_LooterJacket_01_F",
|
||||||
|
"U_C_Uniform_Farmer_01_F",
|
||||||
|
"U_C_Man_casual_5_F",
|
||||||
|
"U_C_Man_casual_4_F",
|
||||||
|
"U_C_Man_casual_6_F",
|
||||||
|
"U_C_man_sport_2_F",
|
||||||
|
"U_C_man_sport_3_F",
|
||||||
|
"U_C_man_sport_1_F",
|
||||||
|
"U_I_C_Soldier_Para_1_F",
|
||||||
|
"U_I_C_Soldier_Para_4_F",
|
||||||
|
"U_I_C_Soldier_Para_5_F",
|
||||||
|
"U_I_C_Soldier_Para_3_F",
|
||||||
|
"U_C_Man_casual_1_F",
|
||||||
|
"U_C_Man_casual_3_",
|
||||||
|
"U_C_Man_casual_2_F",
|
||||||
|
"U_I_C_Soldier_Bandit_3_F",
|
||||||
|
"U_I_C_Soldier_Bandit_5_F",
|
||||||
|
"U_I_C_Soldier_Bandit_2_F",
|
||||||
|
"U_I_C_Soldier_Bandit_1_F",
|
||||||
|
"U_I_C_Soldier_Bandit_4_F",
|
||||||
|
"U_C_Poor_1",
|
||||||
|
"U_OrestesBody",
|
||||||
|
"U_C_HunterBody_grn",
|
||||||
|
"U_BG_Guerilla2_3",
|
||||||
|
"U_BG_Guerilla2_1",
|
||||||
|
"U_BG_Guerilla2_2",
|
||||||
|
"U_Competitor",
|
||||||
|
"U_C_Poloshirt_tricolour",
|
||||||
|
"U_C_Poloshirt_stripped",
|
||||||
|
"U_C_Poloshirt_salmo",
|
||||||
|
"U_C_Poloshirt_redwhite",
|
||||||
|
"U_C_Poloshirt_burgundy",
|
||||||
|
"U_C_Poloshirt_blue"
|
||||||
|
];
|
||||||
|
|
||||||
|
headgears = [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"H_Cap_blk",
|
||||||
|
'H_Cap_blu',
|
||||||
|
"H_Cap_red",
|
||||||
|
"H_Cap_oli",
|
||||||
|
"H_RacingHelmet_1_black_F",
|
||||||
|
"H_RacingHelmet_1_white_F",
|
||||||
|
"H_RacingHelmet_1_red_F",
|
||||||
|
"H_RacingHelmet_1_orange_F",
|
||||||
|
"H_RacingHelmet_1_blue_F"
|
||||||
|
];
|
||||||
|
|
||||||
|
facewears = [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"G_Aviator",
|
||||||
|
"G_Shades_Black",
|
||||||
|
"G_Shades_Blue",
|
||||||
|
"G_Shades_Green",
|
||||||
|
"G_Shades_Red",
|
||||||
|
"G_Spectacles",
|
||||||
|
"G_Sport_Blackred",
|
||||||
|
"G_Sport_Greenblack",
|
||||||
|
"G_Squares_Tinted",
|
||||||
|
"G_Squares",
|
||||||
|
"G_Spectacles_Tinted",
|
||||||
|
"G_EyeProtectors_F"
|
||||||
|
];
|
||||||
|
|
||||||
|
_unit forceAddUniform (selectRandom suits);
|
||||||
|
_unit addHeadgear (selectRandom headgears);
|
||||||
|
_unit addGoggles (selectRandom facewears);
|
||||||
Reference in New Issue
Block a user