ACE3/addons/vehiclelock
2024-07-30 20:45:31 -05:00
..
functions All - Fix parentheses around code (#10073) 2024-06-18 14:08:03 +00:00
ui
$PBOPREFIX$
ACE_Settings.hpp
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgMagazines.hpp
CfgVehicles.hpp Cleanup spaces in config macros (#9621) 2023-11-05 12:36:00 -06:00
CfgWeapons.hpp Vehicle Lock - Increase vehicle key mass to 0.1 (#8270) 2021-06-27 15:38:34 -05:00
config.cpp
initSettings.inc.sqf General - Cleaned up cbaSettings_settingChanged (#10050) 2024-05-31 13:20:21 -07:00
readme.md Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
script_component.hpp
stringtable.xml Translations - Add and Improve Portuguese (#10155) 2024-07-30 20:45:31 -05:00
XEH_postInit.sqf General - Change FUNC to LINKFUNC where appropriate (#9882) 2024-03-28 13:57:23 -05:00
XEH_preInit.sqf Tools - Add HEMTT SQF support and fix commas are not semicolons (#9663) 2023-12-07 03:20:47 +00: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