From 6d84977fd83f2774b9094f70e0488334551a73c2 Mon Sep 17 00:00:00 2001 From: jonpas Date: Tue, 25 Aug 2015 03:28:26 +0200 Subject: [PATCH] Updated huntIR-framework --- documentation/framework/huntIR-framework.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/documentation/framework/huntIR-framework.md b/documentation/framework/huntIR-framework.md index 5004331037..6ed24ad158 100644 --- a/documentation/framework/huntIR-framework.md +++ b/documentation/framework/huntIR-framework.md @@ -1,20 +1,26 @@ --- layout: wiki -title: huntIR framework -description: Explains how to add huntIR support to your weapons +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 +## 1. Config Values ```c++ class CfgWeapons { - class Rifle_Base_F; - class your_rifle_base_class: Rifle_Base_F { - class your_gl_class: UGL_F { - magazines[] = {,"ACE_HuntIR_M203"}; + class MyRifle { + class MyGL: UGL_F { + magazines[] = { + // All default UGL magazines + "MyFirstMag", + "MySecondMag", + "MyLastMag", + // HUntIR magazine + "ACE_HuntIR_M203" + }; }; }; };