Menu

Commit [r288]  Maximize  Restore  History

Added loadout structure to Meta_IF44_Unit_Definitions table, so that special loadouts can be defined for each crew member in a squad. The archetype loadout is the Soviet PTRD-41 (Degtyaryov single-shot antitank rifle, token "PTRD41") which is simulated by equipping the crew member with a German PzB 39 antitank rifle (no Schiessbecher) plus Nagant M1895 pistol plus F1 grenades via a script function in MM-BuildMissions.php. The associated loadout function is initscript_loadout(). Loadouts are specified in the Meta_IF44_Unit_Definitions table by adding the loadout token to the crewtype, delimited by a "|" character.

fourshades 2018-02-11

changed /SEMP/Scripts/MM-BuildMissions.php
changed /SEMP/Scripts/MM-Metadata.php
changed /SEMP/Scripts/MP-ApplicationMetadata.php
/SEMP/Scripts/MM-BuildMissions.php Diff Switch to side-by-side view
Loading...
/SEMP/Scripts/MM-Metadata.php Diff Switch to side-by-side view
Loading...
/SEMP/Scripts/MP-ApplicationMetadata.php Diff Switch to side-by-side view
Loading...