Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
stutpip123 authored Nov 26, 2021
1 parent 31344d5 commit adc45e2
Show file tree
Hide file tree
Showing 7 changed files with 1,149 additions and 219 deletions.
307 changes: 198 additions & 109 deletions A3-Antistasi/Templates/NewTemplates/UNSUNG/Unsung_AI_NVA_Tropical.sqf

Large diffs are not rendered by default.

243 changes: 134 additions & 109 deletions A3-Antistasi/Templates/NewTemplates/UNSUNG/Unsung_AI_US_Tropical.sqf

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions A3-Antistasi/Templates/NewTemplates/UNSUNG/Unsung_Civ.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
//////////////////////////
// Loadout //
//////////////////////////

["uniforms", [
"UNS_CIV_U",
"UNS_CIV_B"
]] call _fnc_saveToTemplate;

["headgear", [
"uns_H_Simc_nasi",
"UNS_Conehat_VC",
"UNS_Headband_BK",
"UNS_Boonie_VC",
"uns_sas_booniehat_vc_tan",
"UNS_Boonie3_VC"
]] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
//////////////////////////

["vehiclesCivCar", [
"uns_willys", 1
,"uns_zil157", 0.3]] call _fnc_saveToTemplate;

["vehiclesCivIndustrial", [
"uns_zil157", 0.5]] call _fnc_saveToTemplate;

["vehiclesCivHeli", []] call _fnc_saveToTemplate;

["vehiclesCivBoat", [
"UNS_skiff2_C", 0.4
,"UNS_skiff_C", 0.4
,"UNS_skiff2_cargo_C", 0.5
,"UNS_skiff_cargo_C", 0.5
,"UNS_sampan_cargo", 0.6
,"UNS_sampan_fish1", 0.5
,"UNS_sampan_large", 0.3
,"UNS_sampan_supply", 0.4
,"UNS_Sampan_Transport", 0.2
,"UNS_sampan_village", 0.3]] call _fnc_saveToTemplate;

["vehiclesCivRepair", ["uns_zil157_repair", 0.3]] call _fnc_saveToTemplate;

["vehiclesCivMedical", []] call _fnc_saveToTemplate;

["vehiclesCivFuel", ["uns_Zil157_refuel", 0.2]] call _fnc_saveToTemplate;
139 changes: 139 additions & 0 deletions A3-Antistasi/Templates/NewTemplates/UNSUNG/Unsung_Logistics_Nodes.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
//Each element is: [model name, [nodes]]
//Nodes are build like this: [Available(internal use, always 1), Hardpoint location, Seats locked when node is in use]
A3A_logistics_vehicleHardpoints = [

["\uns_m274\uns_m274.p3d",[
[1,[0.13,-0.4,-0.71],[0,1,2]]
]],

["\uns_wheeled_w\m37b\uns_m37b1.p3d",[
[1,[0,-1.25,-0.82],[1,2,6]],
[1,[0,-2.05,-0.82],[3,4,5]]
]],

//Small Truck
["uns_m35\uns_M35A2",[
[1,[0,-0.4,-0.5],[3,4]],
[1,[0,-1.2,-0.5],[5,6,7,8]],
[1,[0,-2,-0.5],[9,10]],
[1,[0,-2.8,-0.5],[1,2]]
]],

["\uns_wheeled_e\ural\uns_ural.p3d",[
[1,[0,-0.6,0.1],[2,3]],
[1,[0,-1.4,0.1],[4,5,6,7]],
[1,[0,-2.2,0.1],[8,9]],
[1,[0,-3,0.1],[10,11]]
]],

["uns_wheeled_e\zil157\uns_zil157.p3d",[
[1,[0,0.3,1.4],[2,11,12]],
[1,[0,-0.5,1.4],[1,3,4]],
[1,[0,-1.3,1.4],[5,6]],
[1,[0,-2.1,1.4],[7,8]]
]],

["\A3\boat_f\Boat_Transport_01\Boat_Transport_01_F.p3d", [
[1, [0,0.7575,-1.045], [0,1,2,3]],
[1, [0,-0.0725,-1.045], []]
]],

["uns_boats\skiff\uns_skiff_1",[
[1,[0,0.6,-0.675],[0,1]]
]],

["\UNS_sampan\UNS_sampan_fish1.P3D",[
[1,[0.15,3.6,-0.445],[]],
[1,[0.15,2.8,-0.445],[]],
[1,[0.15,2,-0.445],[]],
[1,[0.15,1.2,-0.445],[1]],
[1,[0.15,0.4,-0.445],[]],
[1,[0.15,-0.4,-0.445],[]]
]],

["\UNS_sampan\UNS_sampan_Transport.P3D",[
[1,[0,3.35,-0.7],[0]],
[1,[0,2.55,-0.7],[]],
[1,[0,1.75,-0.7],[5]],
[1,[0,0.95,-0.7],[]],
[1,[0,0.15,-0.7],[]]
]],

["\UNS_sampan\UNS_sampan_large.P3D",[
[1,[0,2.3,-1.2],[]],
[1,[0,1.5,-1.2],[]],
[1,[0,0.7,-1.2],[]],
[1,[0,-0.1,-1.2],[]]
]],

["\uns_ch47a\uns_ch47a.p3d",[
[1,[0.01,3.6,-2.71],[]],
[1,[0.01,2.8,-2.71],[]],
[1,[0.01,2,-2.71],[]],
[1,[0.01,1.2,-2.71],[]],
[1,[0.01,0.4,-2.71],[]],
[1,[0.01,-0.4,-2.71],[]],
[1,[0.01,-1.2,-2.71],[]],
[1,[0.01,-2,-2.71],[]],
[1,[0.01,-2.8,-2.71],[]],
[1,[0.01,-3.6,-2.71],[]]
]],

["\uns_mi8\uns_Mi8_MT",[
[1,[0.01,3.6,-2.29],[]],
[1,[0.01,2.8,-2.29],[]],
[1,[0.01,2,-2.29],[]],
[1,[0.01,1.2,-2.29],[]],
[1,[0.01,0.4,-2.29],[]]
]],

["\uns_mi8\uns_Mi8_MTV",[
[1,[0.01,3.6,-2.29],[]],
[1,[0.01,2.8,-2.29],[]],
[1,[0.01,2,-2.29],[]],
[1,[0.01,1.2,-2.29],[]],
[1,[0.01,0.4,-2.29],[]]
]]
];

//Offsets for adding new statics/boxes to the JNL script.
A3A_logistics_attachmentOffset = [
//weapons //location //rotation //size //recoil //description
["uns_dshk_high_VC" call A3A_fnc_classNameToModel, [0.2, -1.2, 1.7], [0, 1, 0], 4, 100], //Static GMG High
["uns_m2_high" call A3A_fnc_classNameToModel, [0, -1, 0], [0, 1, 0], 4, 100], //Static HMG High
["uns_pk_high_VC" call A3A_fnc_classNameToModel, [0, -1, 0], [0, 0, 0], 4, 100], //Static HMG
["uns_m1941_82mm_mortarVC" call A3A_fnc_classNameToModel, [-0.1,-1,0.74], [0, 1, 0], 3, 2000], //Mortar
["uns_m1941_82mm_mortarNVA" call A3A_fnc_classNameToModel, [-0.1,-1,0.74], [0, 1, 0], 3, 2000], //Mortar
["uns_M2_60mm_mortar" call A3A_fnc_classNameToModel, [-0.1,-1,0.74], [0, 1, 0], 3, 2000], //Mortar

//medium sized crates

//small sized crates //location //rotation //size //description
["Box_NATO_Equip_F" call A3A_fnc_classNameToModel, [0,0,0.37], [1,0,0], 1], //Equipment box
["\A3\weapons_F\AmmoBoxes\WpnsBox_F", [0,0,0.17], [0,1,0], 1] //surrender crates
];

//all vehicles with jnl loading nodes where the nodes are not located in the open, this can be because its inside the vehicle or it has a cover over the loading plane.
A3A_logistics_coveredVehicles = [
"uns_Mi8_VPAF_MG" call A3A_fnc_classNameToModel
, "uns_Mi8_VPAF" call A3A_fnc_classNameToModel
, "uns_M35A2"
, "uns_nvatruck"
, "UNS_sampan_large" call A3A_fnc_classNameToModel
, "UNS_Sampan_Transport" call A3A_fnc_classNameToModel
, "uns_ch47_m60_army" call A3A_fnc_classNameToModel
];

//if you want a weapon to be loadable you need to add it to this as a array of [model, [blacklist specific vehicles]],
//if the vehicle is in the coveredVehicles array dont add it to the blacklist in this array.
A3A_logistics_weapons = [
//vanilla
["uns_pk_high_VC" call A3A_fnc_classNameToModel,["uns_M35A2", "uns_nvatruck"]],
["uns_dshk_high_VC" call A3A_fnc_classNameToModel,["uns_M35A2", "uns_nvatruck"]],
["uns_m1941_82mm_mortarVC" call A3A_fnc_classNameToModel,["uns_M35A2", "uns_nvatruck", "B_Boat_Transport_01_F" call A3A_fnc_classNameToModel, "UNS_sampan_fish1" call A3A_fnc_classNameToModel]],
["uns_m2_high" call A3A_fnc_classNameToModel,["uns_M35A2", "uns_nvatruck"]],
["uns_M2_60mm_mortar" call A3A_fnc_classNameToModel,["uns_M35A2", "uns_nvatruck", "B_Boat_Transport_01_F" call A3A_fnc_classNameToModel, "UNS_sampan_fish1" call A3A_fnc_classNameToModel]],
["uns_m1941_82mm_mortarNVA" call A3A_fnc_classNameToModel,["uns_M35A2", "uns_nvatruck", "B_Boat_Transport_01_F" call A3A_fnc_classNameToModel, "UNS_sampan_fish1" call A3A_fnc_classNameToModel]],
["B_Mortar_01_F" call A3A_fnc_classNameToModel,["C_Boat_Civil_01_F" call A3A_fnc_classNameToModel, "B_Boat_Transport_01_F" call A3A_fnc_classNameToModel, "C_Boat_Transport_02_F" call A3A_fnc_classNameToModel]],
["B_HMG_02_F" call A3A_fnc_classNameToModel,[]]
];
Loading

0 comments on commit adc45e2

Please sign in to comment.