diff --git a/README.md b/README.md index e01ae9c..3dba4e0 100644 --- a/README.md +++ b/README.md @@ -762,6 +762,7 @@ Different Troop Groups can be loaded from a pickup zone. The ```ctld.loadableGro -- at is RPG-16 -- aa is Stinger or Igla -- mortar is a 2B11 mortar unit +-- jtac is a JTAC soldier, which will use JTACAutoLase -- You must add a name to the group for it to work -- You can also add an optional coalition side to limit the group to one side -- for the side - 2 is BLUE and 1 is RED @@ -775,6 +776,26 @@ ctld.loadableGroups = { ``` +The infantry groups have a weight, too. It is calculated based on the soldiers' roles, and the weight of their kit +- Every soldier weights between 90% and 120% of ctld.SOLDIER_WEIGHT, and they all carry a backpack and their helmet (ctld.KIT_WEIGHT) +- Standard grunts have a rifle and ammo (ctld.RIFLE_WEIGHT) +- AA soldiers have a MANPAD tube (ctld.MANPAD_WEIGHT) +- Anti-tank soldiers have a RPG and a rocket (ctld.RPG_WEIGHT) +- Machine gunners have the squad MG and 200 bullets (ctld.MG_WEIGHT) +- JTAC have the laser sight, radio and binoculars (ctld.JTAC_WEIGHT) +- Mortar servants carry their tube and a few rounds (ctld.MORTAR_WEIGHT) + +```lua +ctld.SOLDIER_WEIGHT = 80 -- kg, will be randomized between 90% and 120% +ctld.KIT_WEIGHT = 20 -- kg +ctld.RIFLE_WEIGHT = 5 -- kg +ctld.MANPAD_WEIGHT = 18 -- kg +ctld.RPG_WEIGHT = 7.6 -- kg +ctld.MG_WEIGHT = 10 -- kg +ctld.MORTAR_WEIGHT = 26 -- kg +ctld.JTAC_WEIGHT = 15 -- kg +``` + ## Cargo Spawning and Sling Loading