ACE3/addons/vehiclelock
Brett 25cc139dba
Vehicle Lock: add events (#7938)
* vehiclelock: events

* Update addons/vehiclelock/functions/fnc_lockpick.sqf

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

* Update addons/vehiclelock/functions/fnc_lockpick.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Update addons/vehiclelock/functions/fnc_lockpick.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2020-10-21 10:38:07 -05:00
..
functions Vehicle Lock: add events (#7938) 2020-10-21 10:38:07 -05:00
ui Normalize to LF line endings 2016-05-30 18:37:03 +02:00
$PBOPREFIX$
ACE_Settings.hpp Vehicle Lock - Convert to cba settings (#6133) 2018-02-10 03:32:14 +01:00
CfgEventHandlers.hpp Vehicle Lock - Enable for planes (#6646) 2018-10-21 16:37:16 -05:00
CfgMagazines.hpp Use new QPATHTOF and QPATHTOEF macros 2016-04-08 20:34:50 +02:00
CfgVehicles.hpp Merge branch 'master' into armake 2018-11-14 18:32:47 +01:00
CfgWeapons.hpp Fix ACE_ItemCore order (#5675) 2017-10-25 23:11:13 -05:00
config.cpp remove deprecated code for 3.8.0 (#4457) 2016-09-24 22:31:10 +02:00
initSettings.sqf Add param for settings that require restart (#6512) 2018-11-02 12:58:57 -05:00
readme.md
script_component.hpp Vehicle Lock - Enable for planes (#6646) 2018-10-21 16:37:16 -05:00
stringtable.xml Update: Minor changes on Simplified Chinese translation. (#7829) 2020-08-04 10:15:03 -05:00
XEH_postInit.sqf Vehicle Lock - Enable for planes (#6646) 2018-10-21 16:37:16 -05:00
XEH_preInit.sqf Vehicle Lock - Convert to cba settings (#6133) 2018-02-10 03:32:14 +01:00
XEH_PREP.hpp
XEH_preStart.sqf

ace_vehiclelock

Adds keys as an item, to lock and unlock vehicles. 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)

Two key modes (can be used together):

  • 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)

Items Added:

ACE_key_lockpick ACE_key_master ACE_key_west ACE_key_east ACE_key_indp ACE_key_civ

Magazine added:

ACE_key_customKeyMagazine (should never be manualy added, needs to be "programed" to work on a vehicle, see ACE_VehicleLock_fnc_addKeyForVehicle)

For Mission Makers:

Modules:

  • 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.

Vehicle setVariables:

  • 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

Public Functions:

[bob, car1, true] call ACE_VehicleLock_fnc_addKeyForVehicle; - will add a ACE_key_customKeyMagazine to bob and program it to work on car1

Maintainers

The people responsible for merging changes to this component or answering potential questions.