ACE3/docs/wiki/framework/huntIR-framework.md

28 lines
491 B
Markdown
Raw Normal View History

---
layout: wiki
title: HuntIR Framework
description: Explains how to add HuntIR support to a weapon.
group: framework
order: 5
parent: wiki
---
## 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"
};
};
};
};
```