mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
26fe041342
* Move gunbag type from inheritance to config property * Add gunbag framework wiki * Remove _generalMacro from doc * Apply documentation suggestions Co-Authored-By: mharis001 <34453221+mharis001@users.noreply.github.com>
839 B
839 B
layout | title | description | group | parent | order | mod | version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wiki | Gunbag Framework | Explains how to set up gunbags | framework | wiki | 7 | ace |
|
1. Overview
ACE Gunbag provides a framework that allows users to enable putting a gun inside a backpack.
2. Config Values
The ace_gunbag
config entry needs to be set to 1
to enable a backpack to be a gunbag.
class Bag_Base;
class ace_gunbag: Bag_Base {
author = "Ir0n1E";
scope = 2;
displayName = CSTRING(Displayname);
model = QPATHTOF(data\ace_gunbag.p3d);
picture = QPATHTOF(ui\gunbag_ca.paa);
icon = QPATHTOF(ui\gunbag_icon_ca.paa);
hiddenSelections[] = {"Camo", "insignia"};
hiddenSelectionsTextures[] = {QPATHTOF(data\gunbag_co.paa)};
maximumLoad = 80;
mass = 11;
ace_gunbag = 1;
};