mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Documentation: edit Vehiclelock
Improve grammar Add note for users about lock modes Move lock modes description for mission makers
This commit is contained in:
parent
36782c29a5
commit
01e7a0cee4
@ -8,21 +8,18 @@ parent: wiki
|
||||
|
||||
## 1. Overview
|
||||
|
||||
ACE Vehicle Lock is disabled by default. This feature adds the ability to lock and unlock vehicles and their inventory using a key, as well as lock picking locked vehicles.
|
||||
|
||||
### 1.1 Key modes
|
||||
The mission maker can choose one or both methods:
|
||||
- Side based keys - A key is responsible for locking and unlocking every vehicle specific to a side (BLUFOR, OPFOR, INDEP or Civilian).
|
||||
- Custom keys - A key is responsible for locking and unclocking only one specific vehicle, determined by the mission maker.
|
||||
|
||||
### 1.2 Lock picking
|
||||
It is possible to pick a lock of a locked vehicle.
|
||||
ACE Vehicle Lock is disabled by default. This feature adds the ability to lock and unlock vehicles and their inventory using a key, as well as picking locks of locked vehicles.
|
||||
|
||||
|
||||
## 2. Usage
|
||||
|
||||
Locking, unlocking and picking vehicle locks is possible via the ACE Interact menu.
|
||||
|
||||
<div class="panel callout">
|
||||
<h5>Note:</h5>
|
||||
<p>Different locking modes can be set, consult with your mission maker for more information.</p>
|
||||
</div>
|
||||
|
||||
|
||||
## 3. Dependencies
|
||||
|
||||
|
@ -284,8 +284,9 @@ These modules allow you to lock and unlock vehicles and their inventory using a
|
||||
|
||||
#### 1.17.1 Vehicle Key Assign
|
||||
Sync with vehicles and players. Will handout custom keys to players for every synced vehicle. Only valid for objects present at mission start.
|
||||
Example: `[bob, car1, true] call ACE_VehicleLock_fnc_addKeyForVehicle;` - will add a key to bob and program it to work only on car1
|
||||
|
||||
#### 1.17.2 Vehicle Lock Setup
|
||||
#### 1.17.2.1 Vehicle Lock Setup
|
||||
Settings for lockpick strength and initial vehicle lock state. Removes ambiguous lock states.
|
||||
|
||||
**Settings:**
|
||||
@ -300,13 +301,10 @@ Set lock state for all vehicles (removes ambiguous lock states)<br>
|
||||
Default Time to lockpick (in seconds)<br>
|
||||
`Default value: 10`
|
||||
|
||||
#### 1.17.3 Vehicle setVariables:
|
||||
#### 1.17.2.2 Vehicle setVariables
|
||||
* `ACE_VehicleLock_lockSide` - SIDE: overrides a vehicle's side, allowing locking and unlocking using a different side's key. For example: Unlocking INDEP vehicles with a BLUFOR key.
|
||||
* `ACE_vehicleLock_lockpickStrength` - NUMBER: seconds, determines how long lockpicking with take, overrides the value set in the module for a specific vehicle of the mission maker's choice.
|
||||
|
||||
#### 1.17.4 Public functions:
|
||||
Example: `[bob, car1, true] call ACE_VehicleLock_fnc_addKeyForVehicle;` - will add a key to bob and program it to work only on car1
|
||||
|
||||
|
||||
### 1.18 Weather
|
||||
*Part of: ace_weather*
|
||||
|
Loading…
Reference in New Issue
Block a user