Update README.md

This commit is contained in:
sethduda 2016-06-29 21:40:46 -04:00 committed by GitHub
parent 1d6ebe85b9
commit bd77197a20

View File

@ -29,16 +29,20 @@ You can customize which classes of vehicles support rappelling by setting the AR
The example above will only allow rappelling from vehicles of class CUP_CH47F_base and RHS_CH_47F.
You can define custom rappel points instead of using the default 6 rappel points. You can either specify [x,y,z] model positions or memory point names. Here's an example mixing both memory point names and [x,y,z] model positions:
You can define custom rappel points instead of using the default 6 rappel points by using the AP_CUSTOM_RAPPEL_POINTS variable. You can either specify [x,y,z] model positions or memory point names. Define the AP_CUSTOM_RAPPEL_POINTS variable in your init.sqf file.
Here's an example mixing both memory point names and [x,y,z] model positions. You would put this in an init.sqf file.
```
AP_CUSTOM_RAPPEL_POINTS = [
["CUP_CH47F_base",["slingload0",[1.2,1.0,0.5],"fastrope0"]],
["RHS_CH_47F", ["slingload0","slingload1","fastrope0"]]
AP_CUSTOM_RAPPEL_POINTS = [
["CUP_CH47F_base",["slingload0",[1.2,1.0,0.5],"fastrope0"]],
["RHS_CH_47F", ["slingload0","slingload1","fastrope0"]]
];
```
In the example above, all vehicles of class type CUP_CH47F_base will use the rappel points defined by memory point slingload0, model position [1.2,1.0,0.5] and memory point fastrope0. All vehicles of class RHS_CH_47F will use rappel points slingload0, slingload1, and fastrope0. All other vehicles will use the default 6 rappel points.
In the example above, all vehicles of class type CUP_CH47F_base will use the rappel points defined by memory point slingload0, model position [1.2,1.0,0.5] and memory point fastrope0. All vehicles of class RHS_CH_47F will use rappel points defined by memory points slingload0, slingload1, and fastrope0. All other vehicles will use the default 6 rappel points.
If anyone works on heli models and would like their heli's rappel points pre-defined in my addon, let me know.
**Not working on your server?**