1
1
class CfgVehicles {
2
2
class ACE_Module ;
3
3
class GVAR (createIed): ACE_Module {
4
- author = " STR_ACE_common_ACETeam " ;
4
+ author = ACECSTRING (common,ACETeam) ;
5
5
category = " ACE_missionModules" ;
6
6
displayName = CSTRING (Module);
7
7
function = QFUNC (moduleInit);
@@ -10,37 +10,64 @@ class CfgVehicles {
10
10
isTriggerActivated = 0 ;
11
11
isDisposable = 0 ;
12
12
// icon = ""; // TODO add module icon
13
- class Arguments {
13
+ class Arguments {
14
14
class typeOfIED {
15
- displayName = " Type" ;
16
- description = " The Type of the IED " ;
15
+ displayName = CSTRING( Type) ;
16
+ description = CSTRING(Type_Description) ;
17
17
typeName = " NUMBER" ;
18
18
class values {
19
- class land {name=" Normal" ; value=0 ; default =1 ; };
20
- class urban {name=" Urban" ; value=1 ; };
19
+ class land {
20
+ name = CSTRING(Type_Normal);
21
+ value = 0 ; default = 1 ;
22
+ };
23
+ class urban {
24
+ name = CSTRING(Type_Urban);
25
+ value = 1 ;
26
+ };
21
27
};
22
28
};
23
-
24
29
class sizeOfIED {
25
- displayName = " Size" ;
26
- description = " The size of the IED " ;
30
+ displayName = CSTRING( Size ) ;
31
+ description = CSTRING(Size_Description) ;
27
32
typeName = " NUMBER" ;
28
33
class values {
29
- class small {name=" Small" ; value=1 ; default =1 ; };
30
- class large {name=" Large" ; value=0 ; };
34
+ class small {
35
+ name = CSTRING(Size_Normal);
36
+ value = 0 ; default = 1 ;
37
+ };
38
+ class large {
39
+ name = CSTRING(Size_Urban);
40
+ value = 1 ;
41
+ };
31
42
};
32
43
};
33
44
34
45
class heightOfIED {
35
- displayName = " Height" ;
36
- description = " The height that the IED is burried " ;
46
+ displayName = CSTRING( Height) ;
47
+ description = CSTRING(Height_Description) ;
37
48
typeName = " NUMBER" ;
38
49
class values {
39
- class Above {name=" Above Ground" ; value=0 ; default =1 ; };
40
- class slightly {name=" Slightly burried" ; value=1 ; };
41
- class medium {name=" Medium burried" ; value=2 ; };
42
- class almost {name=" Almost burried" ; value=3 ; };
43
- class fully {name=" Fully burried" ; value=4 ; };
50
+ class Above {
51
+ name = CSTRING(Height_AboveGround);
52
+ value = 0 ;
53
+ default = 1 ;
54
+ };
55
+ class slightly {
56
+ name = CSTRING(Height_SlightlyBurried);
57
+ value = 1 ;
58
+ };
59
+ class medium {
60
+ name = CSTRING(Height_MediumBurried);
61
+ value = 2 ;
62
+ };
63
+ class almost {
64
+ name = CSTRING(Height_AlmostBurried);
65
+ value = 3 ;
66
+ };
67
+ class fully {
68
+ name = CSTRING(Height_FullyBurried);
69
+ value = 4 ;
70
+ };
44
71
};
45
72
};
46
73
0 commit comments