2015-01-24 18:45:11 +00:00
|
|
|
ace_vehiclelock
|
|
|
|
===============
|
2015-01-23 22:40:39 +00:00
|
|
|
|
|
|
|
Adds keys as an item, to lock and unlock vehicles.
|
2015-01-24 18:45:11 +00:00
|
|
|
Primary target would be role play or TVT, but has uses in all game types, even co-ops (e.g.: DAC AI will steal unlocked vehicles)
|
2015-01-23 22:40:39 +00:00
|
|
|
|
|
|
|
Two key modes (can be used together):
|
2015-03-15 18:13:13 +00:00
|
|
|
* Simple Side based keys (e.g. "ACE_key_west" works on any [WEST] vehicle like the M-ATV//hunter)
|
|
|
|
* Custom keys (one key will only open a specific vehicle and nothing else)
|
2015-01-23 22:40:39 +00:00
|
|
|
|
2015-01-24 18:45:11 +00:00
|
|
|
#### Items Added:
|
2015-01-23 22:40:39 +00:00
|
|
|
|
|
|
|
`ACE_key_lockpick`
|
|
|
|
`ACE_key_master`
|
|
|
|
`ACE_key_west`
|
|
|
|
`ACE_key_east`
|
|
|
|
`ACE_key_indp`
|
|
|
|
`ACE_key_civ`
|
|
|
|
|
2015-01-24 18:48:28 +00:00
|
|
|
#### Magazine added:
|
2015-03-15 18:10:06 +00:00
|
|
|
`ACE_key_customKeyMagazine` (should never be manualy added, needs to be "programed" to work on a vehicle, see `ACE_VehicleLock_fnc_addKeyForVehicle`)
|
2015-01-23 22:40:39 +00:00
|
|
|
|
2015-01-24 18:48:28 +00:00
|
|
|
## For Mission Makers:
|
2015-01-23 22:40:39 +00:00
|
|
|
|
2015-01-24 18:45:11 +00:00
|
|
|
#### Modules:
|
2015-03-15 18:10:06 +00:00
|
|
|
* Vehicle Lock Setup - Settings for locking inventory of locked vehicles, default lockpick time, and initial vehicle lock state.
|
|
|
|
* Vehicle Key Assign - Sync with vehicles and players. Will handout custom keys to players for every synced vehicle. Will NOT work for JIP units.
|
2015-01-23 22:40:39 +00:00
|
|
|
|
2015-01-24 18:45:11 +00:00
|
|
|
#### Vehicle setVariables:
|
2015-01-24 18:58:01 +00:00
|
|
|
* `ACE_VehicleLock_lockSide` - SIDE: overrides a vehicle's side, allows indfor to use little-bird's with indp keys
|
|
|
|
* `ACE_vehicleLock_lockpickStrength` - NUMBER: secons, determines how long lockpicking with take, overrides ACE_VehicleLock_DefaultLockpickStrength
|
2015-01-23 22:40:39 +00:00
|
|
|
|
2015-03-15 18:10:06 +00:00
|
|
|
#### Public Functions:
|
2015-05-16 20:42:54 +00:00
|
|
|
`[bob, car1, true] call ACE_VehicleLock_fnc_addKeyForVehicle;` - will add a `ACE_key_customKeyMagazine` to bob and program it to work on car1
|
2015-01-24 18:45:11 +00:00
|
|
|
|
|
|
|
## Maintainers
|
|
|
|
|
|
|
|
The people responsible for merging changes to this component or answering potential questions.
|
|
|
|
|
2015-01-24 18:48:28 +00:00
|
|
|
- [PabstMirror](https://github.com/PabstMirror)
|