forked from IDI-Systems/acre2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSPE_Wheeled.hpp
120 lines (107 loc) · 3.93 KB
/
SPE_Wheeled.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// see SPE_Tanks.hpp for explanation of values
class Car_F;
class SPE_Car_base: Car_F { // Get rid of any inherited values ACRE may have added for modern vehicles
acre_hasInfantryPhone = 0;
acre_infantryPhoneDisableRinging = 1;
acre_infantryPhonePosition[] = {0, 0, 0};
acre_infantryPhoneControlActions[] = {};
acre_infantryPhoneintercom[] = {};
class AcreIntercoms {};
class AcreRacks {};
};
class Truck_F;
class SPE_Truck_base: Truck_F { // Get rid of any inherited values
acre_hasInfantryPhone = 0;
acre_infantryPhoneDisableRinging = 1;
acre_infantryPhonePosition[] = {0, 0, 0};
acre_infantryPhoneControlActions[] = {};
acre_infantryPhoneintercom[] = {};
class AcreIntercoms {};
class AcreRacks {};
};
class Wheeled_APC_F;
class SPE_ArmoredCar_base: Wheeled_APC_F { // Get rid of any inherited values
acre_hasInfantryPhone = 0;
acre_infantryPhoneDisableRinging = 1;
acre_infantryPhonePosition[] = {0, 0, 0};
acre_infantryPhoneControlActions[] = {};
acre_infantryPhoneintercom[] = {};
class AcreIntercoms {};
class AcreRacks {};
};
class SPE_Halftrack_base;
class SPE_WheeledTracked_APC_base;
//American
class SPE_M8_LAC_base: SPE_ArmoredCar_base {
class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet);
shortName = CSTRING(RadioSetShort);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver", {"turret", {1}}}; // radio operator is in the front with the driver.
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};
class SPE_M20_AUC_Base: SPE_ArmoredCar_base {
class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet1_US);
shortName = CSTRING(RadioSet1_Short);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver", {"turret", {1}}}; // radio operator is in the front with the driver.
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
class Rack_2 {
displayName = CSTRING(RadioSet2_US);
shortName = CSTRING(RadioSet2_Short);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {{"turret", {0}}, {"cargo", 0, 1, 2, 3}}; // Command radio accessible to the gunner and those around him
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};
class SPE_US_M16_Halftrack_base: SPE_Halftrack_base {
class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet);
shortName = CSTRING(RadioSetShort);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver", {"cargo", 0}}; // driver, and the passenger next to the driver can all probably reach the radio
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};
// German
class SPE_SdKfz250_base;
class SPE_SdKfz250_1: SPE_SdKfz250_base {
class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet);
shortName = CSTRING(RadioSetShort);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver", "commander", {"cargo", 0}}; // driver, commander (who is the gunner), and the passenger next to the driver can all probably reach the radio
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};