ACE3/addons/vehiclelock
2015-01-27 20:11:06 -06:00
..
functions VehLock - canInteract check 2015-01-27 20:11:06 -06:00
ui Port Vehicle Lock Inital 2015-01-23 16:14:22 -06:00
$PBOPREFIX$ First Pass 2015-01-23 16:40:39 -06:00
CfgEventHandlers.hpp First Pass 2015-01-23 16:40:39 -06:00
CfgMagazines.hpp First Pass 2015-01-23 16:40:39 -06:00
CfgVehicles.hpp First Pass 2015-01-23 16:40:39 -06:00
CfgWeapons.hpp First Pass 2015-01-23 16:40:39 -06:00
config.cpp First Pass 2015-01-23 16:40:39 -06:00
readme.md setVariable names 2015-01-24 12:58:01 -06:00
script_component.hpp First Pass 2015-01-23 16:40:39 -06:00
stringtable.xml First Pass 2015-01-23 16:40:39 -06:00
XEH_preInit.sqf First Pass 2015-01-23 16:40:39 -06:00

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

For Mission Makers:

Modules:

  • Vehicle Lock Setup - Settings for lockpick strength and initial vehicle lock state.
  • Vehicle Key Assign - Sync with vehicles and players. Will handout custom keys to players for every synced vehicle.

Global Variable:

  • ACE_VehicleLock_DefaultLockpickStrength - Time in seconds to lock pick globaly, can also set per-vehicle (-1 would disable)

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
  • ACE_VehicleLock_customKeys - ARRAY: array of strings of magazinesDetails, use the following function to modify

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

Maintainers

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