2 Commits

Author SHA1 Message Date
Ciaran Fisher
55170e1ae3 Merge pull request #37 from dimpah/JTAC_LS
1.71 JTAC Laser/Smoke mod
2018-04-15 15:53:31 +01:00
dimpah
b45d6a9ce3 1.71 JTAC Laser/Smoke mod
*Adds a new menu item under F10 menu named "JTAC command" when a JTAC is created. From there you can order them to change lasing codes and smoke color.
*Fixed a bug that script prevent you spawn new crates after a period of time (configured by "crateWaitTime" variable)
2018-02-05 13:56:30 +02:00
8 changed files with 6232 additions and 6374 deletions

12585
CTLD.lua

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -762,7 +762,6 @@ 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
@@ -776,26 +775,6 @@ 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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.