mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
28 lines
491 B
Markdown
28 lines
491 B
Markdown
---
|
|
layout: wiki
|
|
title: HuntIR Framework
|
|
description: Explains how to add HuntIR support to a weapon.
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
---
|
|
|
|
## 1. Config Values
|
|
|
|
```c++
|
|
class CfgWeapons {
|
|
class MyRifle {
|
|
class MyGL: UGL_F {
|
|
magazines[] = {
|
|
// All default UGL magazines
|
|
"MyFirstMag",
|
|
"MySecondMag",
|
|
"MyLastMag",
|
|
// HUntIR magazine
|
|
"ACE_HuntIR_M203"
|
|
};
|
|
};
|
|
};
|
|
};
|
|
```
|