mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Docs - Add note in documentation regarding medical internal variables (#9373)
* add note in documentation * Update docs/wiki/framework/medical-framework.md Co-authored-by: jonpas <jonpas33@gmail.com> * Update medical-framework.md --------- Co-authored-by: jonpas <jonpas33@gmail.com>
This commit is contained in:
parent
dbd5fbaf31
commit
81daaba3ea
@ -214,7 +214,7 @@ class ACE_Medical_Injuries {
|
|||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
## 4.4 Wound Handler Function
|
### 4.4 Wound Handler Function
|
||||||
Custom wound handlers should follow the same spec as the built-in handler:
|
Custom wound handlers should follow the same spec as the built-in handler:
|
||||||
|
|
||||||
`ace_medical_damage_fnc_woundsHandlerBase`
|
`ace_medical_damage_fnc_woundsHandlerBase`
|
||||||
@ -236,3 +236,8 @@ The damage elements are sorted in descending order according to how much damage
|
|||||||
0 | `player` | Unit that was hit
|
0 | `player` | Unit that was hit
|
||||||
1 | `[[0.5, "Body", 1], [0.3, "Head", 0.6]]` | 0.5 damage to body (was 1 before armor), 0.3 damage to head (was 0.6 before armor)
|
1 | `[[0.5, "Body", 1], [0.3, "Head", 0.6]]` | 0.5 damage to body (was 1 before armor), 0.3 damage to head (was 0.6 before armor)
|
||||||
2 | `"grenade"` | type grenade (non-selection-specific)
|
2 | `"grenade"` | type grenade (non-selection-specific)
|
||||||
|
|
||||||
|
## 5. Tweaking internal variables
|
||||||
|
Some of ACE Medical's underlying behavior, primarily related to damage handling and the vitals loop, can be fine-tuned by editing `ace_medical_const_` variables, found in [script_macros_medical.hpp](https://github.com/acemod/ACE3/blob/master/addons/medical_engine/script_macros_medical.hpp).
|
||||||
|
|
||||||
|
Modification of those values should be done by advanced users only. Values and variable names are subject to change without prior warning. Modifying values mid-mission may lead to undefined behavior. Expect minimal support.
|
||||||
|
Loading…
Reference in New Issue
Block a user