mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
27 lines
590 B
Markdown
27 lines
590 B
Markdown
|
---
|
||
|
layout: wiki
|
||
|
title: Common Framework
|
||
|
description: Notes on ACE3 Common.
|
||
|
group: framework
|
||
|
order: 5
|
||
|
parent: wiki
|
||
|
mod: ace
|
||
|
version:
|
||
|
major: 3
|
||
|
minor: 14
|
||
|
patch: 2
|
||
|
---
|
||
|
|
||
|
## 1. Config Values
|
||
|
|
||
|
### 1.1 `CfgWeapons`
|
||
|
|
||
|
```cpp
|
||
|
class CfgWeapons {
|
||
|
class yourWeaponClass {
|
||
|
ACE_unloadAction = "GestureUnloadMyWeaponClass"; // Animation to play when weapon is unloaded with ace_common_fnc_unloadUnitWeapon
|
||
|
ACE_unloadSound = "A3\Sounds_F\arsenal\weapons\Rifles\Katiba\reload_Katiba.wss"; // Sound to play when weapon is unloaded with ace_common_fnc_unloadUnitWeapon
|
||
|
};
|
||
|
};
|
||
|
```
|