mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
huntir framework
This commit is contained in:
parent
46eee0d368
commit
2e291c39cf
21
documentation/framework/huntIR-framework.md
Normal file
21
documentation/framework/huntIR-framework.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
layout: wiki
|
||||
title: huntIR framework
|
||||
description: Explains how to add huntIR support to your weapons
|
||||
group: framework
|
||||
order: 5
|
||||
parent: wiki
|
||||
---
|
||||
|
||||
## 1. Adding huntIR support for your weapons
|
||||
|
||||
```c++
|
||||
class CfgWeapons {
|
||||
class Rifle_Base_F;
|
||||
class your_rifle_base_class: Rifle_Base_F {
|
||||
class your_gl_class: UGL_F {
|
||||
magazines[] = {<all of your other UGL mags>,"ACE_HuntIR_M203"};
|
||||
};
|
||||
};
|
||||
};
|
||||
```
|
Loading…
Reference in New Issue
Block a user