2015-08-23 19:03:17 +00:00
|
|
|
---
|
|
|
|
layout: wiki
|
2015-08-25 01:28:26 +00:00
|
|
|
title: HuntIR Framework
|
2015-08-25 01:30:36 +00:00
|
|
|
description: Explains how to add HuntIR support to a weapon.
|
2015-08-23 19:03:17 +00:00
|
|
|
group: framework
|
|
|
|
order: 5
|
|
|
|
parent: wiki
|
|
|
|
---
|
|
|
|
|
2015-08-25 01:28:26 +00:00
|
|
|
## 1. Config Values
|
2015-08-23 19:03:17 +00:00
|
|
|
|
|
|
|
```c++
|
|
|
|
class CfgWeapons {
|
2015-08-25 01:28:26 +00:00
|
|
|
class MyRifle {
|
|
|
|
class MyGL: UGL_F {
|
|
|
|
magazines[] = {
|
|
|
|
// All default UGL magazines
|
|
|
|
"MyFirstMag",
|
|
|
|
"MySecondMag",
|
|
|
|
"MyLastMag",
|
|
|
|
// HUntIR magazine
|
|
|
|
"ACE_HuntIR_M203"
|
|
|
|
};
|
2015-08-23 19:03:17 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
```
|