ACE3/addons/vehiclelock
KoffeinFlummi 761e23001f Merge https://github.com/Dimaslg/ACE3 into spanish-merge
Conflicts:
	addons/medical/stringtable.xml
	addons/missileguidance/stringtable.xml
	addons/optionsmenu/stringtable.xml
2015-05-01 16:51:20 +02:00
..
functions Fix init order problem 2015-04-28 13:26:52 -05:00
ui
UI
$PBOPREFIX$
CfgEventHandlers.hpp Opps 2015-04-28 13:31:47 -05:00
CfgMagazines.hpp
CfgVehicles.hpp Set Lock on postInit so spawned vehicles are set 2015-04-28 00:08:28 -05:00
CfgWeapons.hpp Revert "remove author from items inheriting ACE_ItemCore" 2015-04-21 19:07:42 -03:00
config.cpp Fix init order problem 2015-04-28 13:26:52 -05:00
readme.md
script_component.hpp vehLock disable debug rpt spam 2015-03-24 04:01:20 -05:00
stringtable.xml Merge https://github.com/Dimaslg/ACE3 into spanish-merge 2015-05-01 16:51:20 +02:00
XEH_postInit.sqf
XEH_preInit.sqf Set Lock on postInit so spawned vehicles are set 2015-04-28 00:08:28 -05: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 [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_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.