forked from Bob-Murphy/A3-Antistasi-1.4
-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial SPEX Commit * Update fn_setupFactionsTab.sqf * Trailing commas
- Loading branch information
Showing
12 changed files
with
2,198 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
878 changes: 878 additions & 0 deletions
878
A3A/addons/core/Templates/Templates/SPEX/SPEX_AI_US.sqf
Large diffs are not rendered by default.
Oops, something went wrong.
878 changes: 878 additions & 0 deletions
878
A3A/addons/core/Templates/Templates/SPEX/SPEX_AI_WEH.sqf
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
////////////////////////// | ||
// Vehicles // | ||
////////////////////////// | ||
|
||
["vehiclesCivCar", [ | ||
"SPE_GER_R200_Unarmed", 1, | ||
"SPE_GER_R200_Hood", 2, | ||
"SPE_US_G503_MB_Open", 1, | ||
"SPE_US_G503_MB", 2 | ||
]] call _fnc_saveToTemplate; | ||
|
||
["vehiclesCivIndustrial", [ | ||
"SPE_OpelBlitz_Open", 0.5, | ||
"SPE_OpelBlitz", 0.5 | ||
]] call _fnc_saveToTemplate; | ||
|
||
["vehiclesCivBoat", [ | ||
"B_Boat_Transport_01_F", 0.7 | ||
]] call _fnc_saveToTemplate; | ||
|
||
["vehiclesCivRepair", [ | ||
]] call _fnc_saveToTemplate; | ||
|
||
["vehiclesCivMedical", [ | ||
]] call _fnc_saveToTemplate; | ||
|
||
["vehiclesCivFuel", [ | ||
]] call _fnc_saveToTemplate; | ||
|
||
#include "SPE_Vehicle_Attributes.sqf" | ||
|
||
///////////////////// | ||
/// Identities /// | ||
///////////////////// | ||
|
||
["faces", ["LivonianHead_6","SPE_Connors","SPE_Ivanych","SPE_OBrien","SPE_Vasiliev","WhiteHead_02","WhiteHead_04","WhiteHead_05","WhiteHead_09","WhiteHead_11","WhiteHead_13","WhiteHead_20","WhiteHead_21"]] call _fnc_saveToTemplate; | ||
"SPE_FrenchMen" call _fnc_saveNames; | ||
|
||
////////////////////////// | ||
// Loadouts // | ||
////////////////////////// | ||
|
||
private _civUniforms = [ | ||
"U_SPE_CIV_Citizen_1", | ||
"U_SPE_CIV_Citizen_1_tie", | ||
"U_SPE_CIV_Citizen_1_trop", | ||
"U_SPE_CIV_Citizen_2", | ||
"U_SPE_CIV_Citizen_2_tie", | ||
"U_SPE_CIV_Citizen_2_trop", | ||
"U_SPE_CIV_Citizen_3", | ||
"U_SPE_CIV_Citizen_3_tie", | ||
"U_SPE_CIV_Citizen_4", | ||
"U_SPE_CIV_Citizen_4_tie", | ||
"U_SPE_CIV_Citizen_4_trop", | ||
"U_SPE_CIV_Citizen_5", | ||
"U_SPE_CIV_Citizen_5_tie", | ||
"U_SPE_CIV_Citizen_5_trop", | ||
"U_SPE_CIV_Citizen_6", | ||
"U_SPE_CIV_Citizen_6_tie", | ||
"U_SPE_CIV_Citizen_6_trop", | ||
"U_SPE_CIV_Citizen_7", | ||
"U_SPE_CIV_Citizen_7_tie", | ||
"U_SPE_CIV_Citizen_7_trop" | ||
]; | ||
|
||
private _pressUniforms = [ | ||
"U_SPE_CIV_pak2_bruin", | ||
"U_SPE_CIV_pak2_bruin_swetr", | ||
"U_SPE_CIV_pak2_bruin_tie", | ||
"U_SPE_CIV_pak2_grijs", | ||
"U_SPE_CIV_pak2_grijs_swetr", | ||
"U_SPE_CIV_pak2_grijs_tie", | ||
"U_SPE_CIV_pak2_zwart", | ||
"U_SPE_CIV_pak2_zwart_alt", | ||
"U_SPE_CIV_pak2_zwart_swetr", | ||
"U_SPE_CIV_pak2_zwart_tie", | ||
"U_SPE_CIV_pak2_zwart_tie_alt" | ||
]; //Uniforms given to Press/Journalists | ||
|
||
private _workerUniforms = [ | ||
"U_SPE_CIV_Worker_1", | ||
"U_SPE_CIV_Worker_1_tie", | ||
"U_SPE_CIV_Worker_1_trop", | ||
"U_SPE_CIV_Worker_2", | ||
"U_SPE_CIV_Worker_2_tie", | ||
"U_SPE_CIV_Worker_2_trop", | ||
"U_SPE_CIV_Worker_3", | ||
"U_SPE_CIV_Worker_3_tie", | ||
"U_SPE_CIV_Worker_3_trop", | ||
"U_SPE_CIV_Worker_4", | ||
"U_SPE_CIV_Worker_4_tie", | ||
"U_SPE_CIV_Worker_4_trop", | ||
"U_SPE_CIV_Worker_Coverall_1", | ||
"U_SPE_CIV_Worker_Coverall_1_trop", | ||
"U_SPE_CIV_Worker_Coverall_2", | ||
"U_SPE_CIV_Worker_Coverall_2_trop", | ||
"U_SPE_CIV_Worker_Coverall_3", | ||
"U_SPE_CIV_Worker_Coverall_3_trop" | ||
]; //Uniforms given to Workers at Factories/Resources | ||
|
||
["uniforms", _civUniforms + _pressUniforms + _workerUniforms] call _fnc_saveToTemplate; //Uniforms given to the Arsenal, Allowed for Undercover and given to Rebel Ai that go Undercover | ||
|
||
_civHats = [ | ||
"H_SPE_CIV_Fedora_Cap_1", | ||
"H_SPE_CIV_Fedora_Cap_2", | ||
"H_SPE_CIV_Fedora_Cap_3", | ||
"H_SPE_CIV_Fedora_Cap_5", | ||
"H_SPE_CIV_Fedora_Cap_6", | ||
"H_SPE_CIV_Worker_Cap_2", | ||
"H_SPE_CIV_Worker_Cap_3" | ||
]; | ||
|
||
["headgear", _civHats] call _fnc_saveToTemplate; //Headgear given to Normal Civs, Workers, Undercover Rebels. | ||
|
||
|
||
private _loadoutData = call _fnc_createLoadoutData; | ||
|
||
_loadoutData set ["uniforms", _civUniforms]; | ||
_loadoutData set ["pressUniforms", _pressUniforms]; | ||
_loadoutData set ["workerUniforms", _workerUniforms]; | ||
_loadoutData set ["helmets", _civHats]; | ||
_loadoutData set ["pressHelmets", ["H_SPE_CIV_Fedora_Cap_1","H_SPE_CIV_Fedora_Cap_2","H_SPE_CIV_Fedora_Cap_3","H_SPE_CIV_Fedora_Cap_4","H_SPE_CIV_Fedora_Cap_5"]]; | ||
_loadoutData set ["workerHelmets", ["","H_SPE_CIV_Worker_Cap_1","H_SPE_CIV_Worker_Cap_2","H_SPE_CIV_Worker_Cap_3"]]; | ||
_loadoutData set ["facewear", ["G_SPE_Cigarette_Belomorkanal","G_SPE_Cigarette_Grundstein","G_SPE_Dienst_Brille","G_SPE_Pipe_Sir_Winston"]]; | ||
|
||
_loadoutData set ["maps", ["ItemMap"]]; | ||
|
||
private _manTemplate = { | ||
["helmets"] call _fnc_setHelmet; | ||
["uniforms"] call _fnc_setUniform; | ||
["facewear"] call _fnc_setFacewear; | ||
|
||
["items_medical_standard"] call _fnc_addItemSet; | ||
|
||
["maps"] call _fnc_addMap; | ||
}; | ||
private _workerTemplate = { | ||
["workerHelmets"] call _fnc_setHelmet; | ||
["workerUniforms"] call _fnc_setUniform; | ||
["facewear"] call _fnc_setFacewear; | ||
|
||
["items_medical_standard"] call _fnc_addItemSet; | ||
|
||
["maps"] call _fnc_addMap; | ||
["watches"] call _fnc_addWatch; | ||
["compasses"] call _fnc_addCompass; | ||
}; | ||
private _pressTemplate = { | ||
["pressHelmets"] call _fnc_setHelmet; | ||
["pressUniforms"] call _fnc_setUniform; | ||
["facewear"] call _fnc_setFacewear; | ||
|
||
["items_medical_standard"] call _fnc_addItemSet; | ||
|
||
["maps"] call _fnc_addMap; | ||
}; | ||
private _prefix = "militia"; | ||
private _unitTypes = [ | ||
["Press", _pressTemplate], | ||
["Worker", _workerTemplate], | ||
["Man", _manTemplate] | ||
]; | ||
|
||
[_prefix, _unitTypes, _loadoutData] call _fnc_generateAndSaveUnitsToTemplate; |
Oops, something went wrong.