-
Notifications
You must be signed in to change notification settings - Fork 24
/
CfgLoadouts.hpp
67 lines (52 loc) · 2.23 KB
/
CfgLoadouts.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
class CfgLoadouts {
// Use POTATO to run gear assignment
usePotato = 1;
// Fast, Easy Settings to change loadouts without touching the arrays. For TVT Balancing.
// Allow Zoomed Optics (1 is true, 0 is false) <Anything like a HAMR (4x) optic won't be added, "red dot" would be fine>
allowMagnifiedOptics = 0;
// Allow changeable optics on a global level, note: optic options obey allowMagnifiedOptics rules
allowChangeableOptics = 1;
// Do Vehicle Loadouts
// (1 will run normaly, 0 will leave them to vanilla defaults, -1 will clear and leave empty)
setVehicleLoadouts = -1;
// Do Supply Box Loadouts
// (1 will run normaly, 0 will leave them to vanilla defaults, -1 will clear and leave empty)
setSupplyBoxLoadouts = 0;
class SupplyBoxes {
/* Example:
class B_supplyCrate_F {
TransportWeapons[] = {"arifle_TRG20_F"};
TransportMagazines[] = {"30Rnd_556x45_Stanag_red:8","30Rnd_556x45_Stanag_Tracer_Red:2"};
TransportItems[] = {"ACRE_PRC148:10"};
};
*/
};
// Fallback: use a basic soldiers loadout when the unit's classname isn't found (for Alive spawning random units)
useFallback = 1;
// prefixes to strip from the units classnames
prefixes[] = {"potato_w_", "potato_e_", "potato_i_"};
// Shared defines
#include "Loadouts\common.hpp" // DO NOT COMMENT OUT, WILL BREAK EVERYTHING
// cleanup.bat will delete any loadouts not in active use (so make sure to include before running)
// Blufor/Indfor/Opfor folders are just for organization, they can be used with any faction
// e.g. Blufor\us_mx_mtp.hpp for potato_e is fine
// Loadouts can be either kept in the Loadouts\Blufor\ folders or moved up to Loadouts\
// West factions
#include "Loadouts\west_gear.hpp"
class potato_w { // BluFor
#include "Loadouts\Blufor\us_mx_mtp.hpp"
};
// Indy factions
#include "Loadouts\indy_gear.hpp"
class potato_i { // Indy
#include "Loadouts\Indfor\aaf_f2000_digi.hpp"
};
// East Factions
#include "Loadouts\east_gear.hpp"
class potato_e { // OpFor
#include "Loadouts\Opfor\csat_sama_hex.hpp"
};
// Civilians (mainly for RP missions)
#include "Loadouts\civ_gear.hpp"
#include "Loadouts\civilians.hpp" // Bare example of doing civilian loadouts
};