Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma_editing:missions:framework:gear [2017/11/04 03:30]
Theowningone
arma_editing:missions:framework:gear [2017/11/22 14:57]
Line 1: Line 1:
-~~Title: Gear~~ 
- 
-==== The Basics ==== 
- 
-All gear config data is lies inside of the ''​Gear''​ class inside of the ''​CBB_Framework''​ config class. 
- 
-The gear system has 2 major components those components being: 
-  - The class mapping 
-  - Equipment sets 
- 
-\\ 
-\\ 
- 
-==== Class Mapping ==== 
-For each unit in Arma 3, vanilla or otherwise, the framework contains a mapping of what a certain unit's role is. For example, ''​rhsusf_army_ocp_rifleman''​ is of type ''​Rifleman''​. All class mapping data exists inside of the ''​ClassMapping''​ class, inside of the ''​Gear''​ class. ​ Units are defined via their classname as a property name, with their value being the role they are. An example: 
- 
-<sxh c++> 
-    /** 
-     * 
-     ​* ​ [RHS] US Army OCP 
-     * 
-    **/ 
-    rhsusf_army_ocp_aa = "​AntiAir";​ 
-    rhsusf_army_ocp_autorifleman = "​AutomaticRifleman";​ 
-    rhsusf_army_ocp_autoriflemana = "​AutomaticRifleman_Assistant";​ 
-    rhsusf_army_ocp_combatcrewman = "​Vehicle_Commander";​ 
-    rhsusf_army_ocp_crewman = "​Vehicle_Crew";​ 
-    rhsusf_army_ocp_driver = "​Vehicle_Crew";​ 
-    rhsusf_army_ocp_driver_armored = "​Vehicle_Commander";​ 
-    rhsusf_army_ocp_engineer = "​Engineer";​ 
-    rhsusf_army_ocp_explosives = "​Engineer";​ 
-    rhsusf_army_ocp_fso = "​JTAC";​ 
-</​sxh>​ 
- 
-Class mappings can be overridden in an equipment set, but more on that later. 
- 
-\\ 
-\\ 
- 
-==== Equipment Sets ==== 
- 
-Equipment sets are a set of rules with which to regear players. They exist inside of the ''​Sets''​ class inside, of the ''​Gear''​ config class. Each set is it's own subclass of the set's class. That subclass then contains some basic settings about said equipment set. The classname for the equipment set should only contain lowercase letters, numbers, underscores. For example, ''​rhs_usarmy''​. It also contains 2 (or 3) subclasses, those being: 
-  - Equipment 
-  - Definitions 
-  - ClassMapping 
- 
  
  • Last modified: 7 years ago
  • (external edit)