Updated Readme

Updated Readme
Added new ignore VHF frequency
This commit is contained in:
Ciaran Fisher 2015-12-22 20:44:02 +00:00
parent 55623fb9d1
commit 9695004a80
6 changed files with 28 additions and 3 deletions

View File

@ -13,10 +13,11 @@
Contributors:
- Steggles - https://github.com/Bob7heBuilder
Version: 1.50 - 18/12/2015 - Internal Rewrite of AA System Creation
Version: 1.50 - 22/12/2015 - Internal Rewrite of AA System Creation
- Added HAWK PCP to HAWK System to fix non firing
- Added more launchers to HAWK to balance difficulty of building
- Added ctld.spawnGroupAtPoint
- Added 326 KHz to ignore list
]]
ctld = {} -- DONT REMOVE!
@ -4962,7 +4963,8 @@ function ctld.generateVHFrequencies()
920, 662,
866, 907, 309.5, 822, 515, 470, 342, 1182, 309.5, 720, 528,
337, 312.5, 830, 740, 309.5, 641, 312, 722, 682, 1050,
1116, 935, 1000, 430, 577
1116, 935, 1000, 430, 577,
326 -- Nevada
}
ctld.freeVHFFrequencies = {}

Binary file not shown.

Binary file not shown.

View File

@ -224,7 +224,7 @@ ctld.preLoadTransport("helicargo1", 10,true)
#### Create Extractable Groups without Pickup Zone
You can also make existing mission editor groups extractable by adding their group name to the ```ctld.extractableGroups``` list
#### Spawn Extractable Groups without Pickup Zone
#### Spawn Extractable Groups without Pickup Zone at a Trigger Zone
You can also spawn extractable infantry groups at a specified trigger zone using the code below.
The parameters are:
@ -247,6 +247,29 @@ ctld.spawnGroupAtTrigger("blue", {mg=1,at=2,aa=3,inf=4,mortar=5}, "spawnTrigger2
```
#### Spawn Extractable Groups without Pickup Zone at a Point
You spawn extractable infantry groups at a specified Vec3 point ```{x=1,y=2,z=3}``` using the code below.
The parameters are:
* group side (red or blue)
* number of troops to spawn OR Group Description
* Vec3 point ```{x=1,y=2,z=3}```
* the distance the troops should search for enemies on spawning in meters
```lua
ctld.spawnGroupAtPoint("red", 10, {x=1,y=2,z=3}, 1000)
```
or
```lua
ctld.spawnGroupAtPoint("blue", 5, {x=1,y=2,z=3}, 2000)
```
or
```lua
ctld.spawnGroupAtPoint("blue", {mg=1,at=2,aa=3,inf=4,mortar=5}, {x=1,y=2,z=3}, 2000)
-- Spawns 1 machine gun, 2 anti tank, 3 anti air, 4 standard soldiers and 5 mortars
```
### Activate / Deactivate Pickup Zone
You can activate and deactive a pickup zone as shown below. When a zone is active, troops can be loaded from it as long as there are troops remaining and you are the same side as the pickup zone.

Binary file not shown.

Binary file not shown.