mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add repair feature to wiki (#5247)
* Add repair feature to wiki * Add blank lines, use adv engineer * Add repair framework page
This commit is contained in:
parent
6facb9008b
commit
9c3cca3c56
47
docs/wiki/feature/repair.md
Normal file
47
docs/wiki/feature/repair.md
Normal file
@ -0,0 +1,47 @@
|
||||
---
|
||||
layout: wiki
|
||||
title: Repair
|
||||
description: Adds custom repair system.
|
||||
group: feature
|
||||
category: interaction
|
||||
parent: wiki
|
||||
mod: ace
|
||||
version:
|
||||
major: 3
|
||||
minor: 3
|
||||
patch: 0
|
||||
---
|
||||
|
||||
<div class="panel callout">
|
||||
<h5>For information on configuration see [Repair Framework]({{ site.baseurl }}/wiki/framework/repair-framework.html)</h5>
|
||||
</div>
|
||||
|
||||
## 1. Overview
|
||||
|
||||
Adds a more realistic repair system.
|
||||
- Replacing damaged wheels and tracks requires replacement items (using [Cargo System]({{ site.baseurl }}/wiki/framework/cargo-framework.html).
|
||||
- By default vehicles will start with spare parts (1 wheel or 1 track).
|
||||
- Can repair specific hitpoints on vehicles.
|
||||
- Can designate buildings and/or vehicles as repair zones allowing the ability to do a full repair.
|
||||
|
||||
## 2. Repairing
|
||||
|
||||
- Vehicle's engine should be off
|
||||
- A `ToolKit` item may be required based on settings (default: not required for wheels, required for tracks or hitpoint repair)
|
||||
|
||||
### 2.1 Replacing Wheels or Tracks
|
||||
|
||||
- Unload a spare wheel or track (using cargo interaction)
|
||||
- Drag the spare next to the wheel/track that needs replacing
|
||||
- Remove the damaged wheel (not needed for track repair)
|
||||
- Install new wheel or track
|
||||
|
||||
### 2.2 Repairing hitpoints
|
||||
|
||||
- Amount repaired is based on settings and training level
|
||||
- Using the interaction system select the hitpoint to repair
|
||||
|
||||
## 3. Dependencies
|
||||
|
||||
{% include dependencies_list.md component="repair" %}
|
||||
|
40
docs/wiki/framework/repair-framework.md
Normal file
40
docs/wiki/framework/repair-framework.md
Normal file
@ -0,0 +1,40 @@
|
||||
---
|
||||
layout: wiki
|
||||
title: Repair Framework
|
||||
description: Explains how to set-up repair system.
|
||||
group: framework
|
||||
order: 5
|
||||
parent: wiki
|
||||
mod: ace
|
||||
version:
|
||||
major: 3
|
||||
minor: 3
|
||||
patch: 0
|
||||
---
|
||||
|
||||
## 1. Object Variables / Configs
|
||||
|
||||
### 1.1 Unit's Repair Training
|
||||
|
||||
- Determines if a unit can repair damaged hitpoints and if so, how much can be restored.
|
||||
- Can easily be set via 3den attribute.
|
||||
|
||||
SetVar: `"ACE_IsEngineer"` - number 0 - 2 (can also be true/false)
|
||||
- 0 / false: Untrained (by default settings will only be able to replace wheels)
|
||||
- 1 / true: Engineer
|
||||
- 2: Advanced Engineer (allowing a higher level of repairs, based on settings) (by default settings is the only one with access to full repair)
|
||||
|
||||
### 1.2 Repair Vehicles
|
||||
|
||||
- Allows full repair based on setting `fullRepairLocation` (not enabled by default)
|
||||
- Can easily be set via 3den attribute.
|
||||
|
||||
SetVar: `"ACE_isRepairVehicle"` - true or false
|
||||
|
||||
Config: `ace_repair_canRepair` - 0 or 1
|
||||
|
||||
### 1.3 Repair Facilities
|
||||
|
||||
- Allows full repair based on setting `fullRepairLocation` (on by default)
|
||||
|
||||
SetVar: `"ACE_isRepairFacility"` - true or false
|
Loading…
Reference in New Issue
Block a user