Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
arma_editing:missions:framework:gear [2017/11/04 03:39] Theowningone |
arma_editing:missions:framework:gear [2017/11/21 00:47] Theowningone |
||
---|---|---|---|
Line 44: | Line 44: | ||
- Definitions | - Definitions | ||
- ClassMapping | - ClassMapping | ||
+ | |||
+ | But more on those later. | ||
+ | |||
+ | An example of the basic settings: | ||
+ | <sxh c++> | ||
+ | class rhs_usarmy | ||
+ | { | ||
+ | displayName = "RHS US Army"; | ||
+ | |||
+ | replaceGoggles = 0; | ||
+ | |||
+ | medicClasses[] = {}; | ||
+ | doctorClasses[] = {"Medic"}; | ||
+ | |||
+ | engineerClasses[] = {"Vehicle_Commander"}; | ||
+ | repairClasses[] = {"Repairman", "Engineer", "Vehicle_Crew"}; | ||
+ | |||
+ | eodClasses[] = {"Engineer"}; | ||
+ | |||
+ | class Definitions | ||
+ | { | ||
+ | #include "definitions.hpp" | ||
+ | }; | ||
+ | |||
+ | class Loadouts | ||
+ | { | ||
+ | #include "loadouts.hpp" | ||
+ | }; | ||
+ | }; | ||
+ | </sxh> | ||
+ | |||
+ | * **displayName** - This is the name of equipment set that is used in menus, make it pretty! | ||
+ | * **replaceGoggles** - Determines if a user's custom face object (glasses, mask, etc.) should be replaced with the equipment set's values. | ||
+ | * **medicClasses** - An array of classes that will be flagged as medics. Medics have basic field training, and can perform some advanced medical treatment. | ||
+ | * **doctorClasses** - An array of classes what will be flagged as doctors. Doctors can perform all advanced medical treatment. | ||
+ | * **engineerClass** - | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
=== Equipment === | === Equipment === | ||
Line 49: | Line 91: | ||
+ | ==== Property List ==== | ||
+ | === List of properties that support randomization === | ||
+ | |||
+ | Each of these properties are defined as an array, supporting randomization. Some examples and their descriptions: | ||
+ | |||
+ | * ''primaryWeapon[] = {};'' This soldier will not get a primary weapon. | ||
+ | |||
+ | |||
+ | * ''primaryWeapon[] = {"rhs_weap_m16a4_carryhandle"};'' This soldier will get an ''rhs_weap_m16a4_carryhandle'' | ||
+ | |||
+ | |||
+ | * ''primaryWeapon[] = {"rhs_weap_m16a4_carryhandle", "rhs_weap_m16a4_carryhandle_grip"};'' This soldier will get a ''rhs_weap_m16a4_carryhandle'' or a ''rhs_weap_m16a4_carryhandle_grip'' | ||
+ | |||
+ | |||
+ | * ''primaryWeapon[] = {"rhs_weap_m16a4_carryhandle",""};'' This soldier has a chance to not get a primary weapon. | ||
+ | |||
+ | * ''primaryWeapon'' | ||
+ | * ''primaryWeaponMagazine'' | ||
+ | * ''primaryWeaponMagazineSecondary'' | ||
+ | * ''primaryWeaponBipod'' | ||
+ | * ''primaryWeaponMuzzle'' | ||
+ | * ''primaryWeaponOptic'' | ||
+ | * ''primaryWeaponRailAttachment'' | ||
+ | * ''launcher'' | ||
+ | * ''launcherMagazine'' | ||
+ | * ''launcherOptic'' | ||
+ | * ''launcherRailAttachment'' | ||
+ | * ''sidearm'' | ||
+ | * ''sidearmMagazine'' | ||
+ | * ''sidearmMuzzle'' | ||
+ | * ''sidearmOptic'' | ||
+ | * ''sidearmRailAttachment'' | ||
+ | * ''binocular'' | ||
+ | * ''nightVision'' | ||
+ | * ''headgear'' | ||
+ | * ''uniform'' | ||
+ | * ''vest'' | ||
+ | * ''backpack'' | ||
+ | * ''facegear'' |