mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1df3a73461
* Update documentation guidelines * Add version info part 1 * Add version info part 2 * Add removed in version to frontmatter and tag testmissions as removed * Add version info part 3
33 lines
542 B
Markdown
33 lines
542 B
Markdown
---
|
|
layout: wiki
|
|
title: HuntIR Framework
|
|
description: Explains how to add HuntIR support to a weapon.
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 1
|
|
patch: 0
|
|
---
|
|
|
|
## 1. Config Values
|
|
|
|
```cpp
|
|
class CfgWeapons {
|
|
class MyRifle {
|
|
class MyGL: UGL_F {
|
|
magazines[] = {
|
|
// All default UGL magazines
|
|
"MyFirstMag",
|
|
"MySecondMag",
|
|
"MyLastMag",
|
|
// HuntIR magazine
|
|
"ACE_HuntIR_M203"
|
|
};
|
|
};
|
|
};
|
|
};
|
|
```
|