Skip to content

Commit 9c779ef

Browse files
committed
Camel-Case Format
1 parent 1f4e263 commit 9c779ef

File tree

7 files changed

+192
-192
lines changed

7 files changed

+192
-192
lines changed

source/initHQ/fortify.sqf

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,103 +4,103 @@ _hq = _this select 1;
44
_groupGuard = createGroup WEST;
55

66
// AA on the roof
7-
_aapod = createVehicle ["B_static_AA_F", [0,0,0], [], 0, "NONE"];
8-
_aapod allowdamage false;
9-
_aapod setdamage 0;
10-
_aapod setpos [_centerpos select 0, _centerpos select 1,(_centerpos select 2)+3.109];
7+
_aaPod = createVehicle ["B_static_AA_F", [0,0,0], [], 0, "NONE"];
8+
_aaPod allowdamage false;
9+
_aaPod setdamage 0;
10+
_aaPod setpos [_centerPos select 0, _centerPos select 1,(_centerPos select 2)+3.109];
1111

12-
_HQguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
13-
_HQguard1 moveinGunner _aapod;
12+
_hqGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
13+
_hqGuard1 moveinGunner _aaPod;
1414

1515
// GMG
16-
_gl1pod = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
17-
_gl1pod allowdamage false;
18-
_gl1pod setdamage 0;
19-
_gl1pod setpos [(_centerpos select 0)-7, (_centerpos select 1)+5.5];
16+
_gl1Pod = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
17+
_gl1Pod allowdamage false;
18+
_gl1Pod setdamage 0;
19+
_gl1Pod setpos [(_centerPos select 0)-7, (_centerPos select 1)+5.5];
2020

21-
_HQguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
22-
_HQguard1 moveinGunner _gl1pod;
21+
_hqGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
22+
_hqGuard1 moveinGunner _gl1Pod;
2323

2424
// AT
25-
_atpod1 = createVehicle ["B_static_AT_F", [0,0,0], [], 0, "NONE"];
26-
_atpod1 setpos [(_centerpos select 0)-7, (_centerpos select 1)-8];
27-
_atpod1 allowdamage false;
28-
_atpod1 setdamage 0;
29-
_atpod1 setdir 215;
25+
_atPod1 = createVehicle ["B_static_AT_F", [0,0,0], [], 0, "NONE"];
26+
_atPod1 setpos [(_centerPos select 0)-7, (_centerPos select 1)-8];
27+
_atPod1 allowdamage false;
28+
_atPod1 setdamage 0;
29+
_atPod1 setdir 215;
3030

31-
_HQguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
32-
_HQguard1 moveinGunner _atpod1;
31+
_hqGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
32+
_hqGuard1 moveinGunner _atPod1;
3333

3434
// HMG
35-
_atpod2 = createVehicle ["B_HMG_01_high_F", [0,0,0], [], 0, "NONE"];
36-
_atpod2 allowdamage false;
37-
_atpod2 setdamage 0;
38-
_atpod2 setpos [(_centerpos select 0)+8, (_centerpos select 1)-7];
35+
_atPod2 = createVehicle ["B_HMG_01_high_F", [0,0,0], [], 0, "NONE"];
36+
_atPod2 allowdamage false;
37+
_atPod2 setdamage 0;
38+
_atPod2 setpos [(_centerPos select 0)+8, (_centerPos select 1)-7];
3939

40-
_HQguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
41-
_HQguard1 moveinGunner _atpod2;
40+
_hqGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
41+
_hqGuard1 moveinGunner _atPod2;
4242

4343
// GMG
44-
_atpod3 = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
45-
_atpod3 allowdamage false;
46-
_atpod3 setdamage 0;
47-
_atpod3 setpos [(_centerpos select 0)+7, (_centerpos select 1)+8];
44+
_atPod3 = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
45+
_atPod3 allowdamage false;
46+
_atPod3 setdamage 0;
47+
_atPod3 setpos [(_centerPos select 0)+7, (_centerPos select 1)+8];
4848

49-
_HQguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
50-
_HQguard1 moveinGunner _atpod3;
49+
_hqGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
50+
_hqGuard1 moveinGunner _atPod3;
5151

5252
// LIGHTS
5353
_light1 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
5454
_light1 allowdamage false;
5555
_light1 setdamage 0;
56-
_light1 setpos [_centerpos select 0, _centerpos select 1];
56+
_light1 setpos [_centerPos select 0, _centerPos select 1];
5757

5858
_light2 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
5959
_light2 allowdamage false;
6060
_light2 setdamage 0;
61-
_light2 setpos [(_centerpos select 0)+5.5, (_centerpos select 1)-5.5];
61+
_light2 setpos [(_centerPos select 0)+5.5, (_centerPos select 1)-5.5];
6262

6363
_light3 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
6464
_light3 allowdamage false;
6565
_light3 setdamage 0;
66-
_light3 setpos [(_centerpos select 0)-5.5, (_centerpos select 1)+3.5];
66+
_light3 setpos [(_centerPos select 0)-5.5, (_centerPos select 1)+3.5];
6767

6868
_light4 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
6969
_light4 allowdamage false;
7070
_light4 setdamage 0;
71-
_light4 setpos [(_centerpos select 0)+5.5, (_centerpos select 1)+3.5];
71+
_light4 setpos [(_centerPos select 0)+5.5, (_centerPos select 1)+3.5];
7272

7373
_light5 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
7474
_light5 allowdamage false;
7575
_light5 setdamage 0;
76-
_light5 setpos [(_centerpos select 0)-5.5, (_centerpos select 1)-5.5];
76+
_light5 setpos [(_centerPos select 0)-5.5, (_centerPos select 1)-5.5];
7777

7878
_light6 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
7979
_light6 allowdamage false;
8080
_light6 setdamage 0;
81-
_light6 setpos [(_centerpos select 0)+2.75, (_centerpos select 1)-2.75];
81+
_light6 setpos [(_centerPos select 0)+2.75, (_centerPos select 1)-2.75];
8282

8383
_light7 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
8484
_light7 allowdamage false;
8585
_light7 setdamage 0;
86-
_light7 setpos [(_centerpos select 0)-2.75, (_centerpos select 1)+1.75];
86+
_light7 setpos [(_centerPos select 0)-2.75, (_centerPos select 1)+1.75];
8787

8888
_light8 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
8989
_light8 allowdamage false;
9090
_light8 setdamage 0;
91-
_light8 setpos [(_centerpos select 0)+2.75, (_centerpos select 1)+1.75];
91+
_light8 setpos [(_centerPos select 0)+2.75, (_centerPos select 1)+1.75];
9292

9393
_light9 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
9494
_light9 allowdamage false;
9595
_light9 setdamage 0;
96-
_light9 setpos [(_centerpos select 0)-2.75, (_centerpos select 1)-2.75];
96+
_light9 setpos [(_centerPos select 0)-2.75, (_centerPos select 1)-2.75];
9797

9898
sleep 2;
99-
_atpod1 allowdamage true;
100-
_atpod2 allowdamage true;
101-
_atpod3 allowdamage true;
102-
_gl1pod allowdamage true;
103-
_aapod allowdamage true;
99+
_atPod1 allowdamage true;
100+
_atPod2 allowdamage true;
101+
_atPod3 allowdamage true;
102+
_gl1Pod allowdamage true;
103+
_aaPod allowdamage true;
104104
_light1 allowdamage true;
105105
_light2 allowdamage true;
106106
_light3 allowdamage true;
@@ -112,4 +112,4 @@ _light8 allowdamage true;
112112
_light9 allowdamage true;
113113

114114

115-
_hq addAction ["<t color='#ff0066'>Replace Defences (20CP)</t>", "initHQ\refortify.sqf", [_aapod, _gl1pod, _atpod1, _atpod2, _atpod3, _centerpos, _hq], 0, true, true, "", "_this == player"];
115+
_hq addAction ["<t color='#ff0066'>Replace Defences (20CP)</t>", "initHQ\refortify.sqf", [_aaPod, _gl1Pod, _atPod1, _atPod2, _atPod3, _centerPos, _hq], 0, true, true, "", "_this == player"];

source/initHQ/fortifyFOB.sqf

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -17,87 +17,87 @@ playSound "loadgun";
1717
_groupGuard = createGroup WEST;
1818

1919
// AA on the roof
20-
_aapod = createVehicle ["B_static_AA_F", [0,0,0], [], 0, "NONE"];
21-
_aapod allowdamage false;
22-
_aapod setdamage 0;
23-
_aapod setpos [_centerpos select 0, _centerpos select 1,(_centerpos select 2)+3.109];
20+
_aaPod = createVehicle ["B_static_AA_F", [0,0,0], [], 0, "NONE"];
21+
_aaPod allowdamage false;
22+
_aaPod setdamage 0;
23+
_aaPod setpos [_centerPos select 0, _centerPos select 1,(_centerPos select 2)+3.109];
2424

25-
_fobguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
26-
_fobguard1 moveinGunner _aapod;
25+
_fobGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
26+
_fobGuard1 moveinGunner _aaPod;
2727

2828
// GMG
29-
_gl1pod = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
30-
_gl1pod allowdamage false;
31-
_gl1pod setdamage 0;
32-
_gl1pod setpos [(_centerpos select 0)-7, (_centerpos select 1)+5.5];
29+
_gl1Pod = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
30+
_gl1Pod allowdamage false;
31+
_gl1Pod setdamage 0;
32+
_gl1Pod setpos [(_centerPos select 0)-7, (_centerPos select 1)+5.5];
3333

34-
_fobguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
35-
_fobguard1 moveinGunner _gl1pod;
34+
_fobGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
35+
_fobGuard1 moveinGunner _gl1Pod;
3636

3737
// AT
38-
_atpod1 = createVehicle ["B_static_AT_F", [0,0,0], [], 0, "NONE"];
39-
_atpod1 setpos [(_centerpos select 0)-7, (_centerpos select 1)-8];
40-
_atpod1 allowdamage false;
41-
_atpod1 setdamage 0;
42-
_atpod1 setdir 215;
38+
_atPod1 = createVehicle ["B_static_AT_F", [0,0,0], [], 0, "NONE"];
39+
_atPod1 setpos [(_centerPos select 0)-7, (_centerPos select 1)-8];
40+
_atPod1 allowdamage false;
41+
_atPod1 setdamage 0;
42+
_atPod1 setdir 215;
4343

44-
_fobguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
45-
_fobguard1 moveinGunner _atpod1;
44+
_fobGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
45+
_fobGuard1 moveinGunner _atPod1;
4646

4747
// HMG
48-
_atpod2 = createVehicle ["B_HMG_01_high_F", [0,0,0], [], 0, "NONE"];
49-
_atpod2 allowdamage false;
50-
_atpod2 setdamage 0;
51-
_atpod2 setpos [(_centerpos select 0)+8, (_centerpos select 1)-7];
48+
_atPod2 = createVehicle ["B_HMG_01_high_F", [0,0,0], [], 0, "NONE"];
49+
_atPod2 allowdamage false;
50+
_atPod2 setdamage 0;
51+
_atPod2 setpos [(_centerPos select 0)+8, (_centerPos select 1)-7];
5252

53-
_fobguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
54-
_fobguard1 moveinGunner _atpod2;
53+
_fobGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
54+
_fobGuard1 moveinGunner _atPod2;
5555

5656
// GMG
57-
_atpod3 = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
58-
_atpod3 allowdamage false;
59-
_atpod3 setdamage 0;
60-
_atpod3 setpos [(_centerpos select 0)+7, (_centerpos select 1)+8];
57+
_atPod3 = createVehicle ["B_GMG_01_high_F", [0,0,0], [], 0, "NONE"];
58+
_atPod3 allowdamage false;
59+
_atPod3 setdamage 0;
60+
_atPod3 setpos [(_centerPos select 0)+7, (_centerPos select 1)+8];
6161

62-
_fobguard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
63-
_fobguard1 moveinGunner _atpod3;
62+
_fobGuard1 = _groupGuard createUnit ["B_Soldier_F", _centerPos, [], 0, "FORM"];
63+
_fobGuard1 moveinGunner _atPod3;
6464

6565
// LIGHTS
6666
_light1 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
6767
_light1 allowdamage false;
6868
_light1 setdamage 0;
69-
_light1 setpos [_centerpos select 0, _centerpos select 1];
69+
_light1 setpos [_centerPos select 0, _centerPos select 1];
7070

7171
_light2 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
7272
_light2 allowdamage false;
7373
_light2 setdamage 0;
74-
_light2 setpos [(_centerpos select 0)+5.5, (_centerpos select 1)-5.5];
74+
_light2 setpos [(_centerPos select 0)+5.5, (_centerPos select 1)-5.5];
7575

7676
_light3 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
7777
_light3 allowdamage false;
7878
_light3 setdamage 0;
79-
_light3 setpos [(_centerpos select 0)-5.5, (_centerpos select 1)+3.5];
79+
_light3 setpos [(_centerPos select 0)-5.5, (_centerPos select 1)+3.5];
8080

8181
_light4 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
8282
_light4 allowdamage false;
8383
_light4 setdamage 0;
84-
_light4 setpos [(_centerpos select 0)+5.5, (_centerpos select 1)+3.5];
84+
_light4 setpos [(_centerPos select 0)+5.5, (_centerPos select 1)+3.5];
8585

8686
_light5 = createVehicle ["Land_Camping_Light_F", [0,0,0], [], 0, "NONE"];
8787
_light5 allowdamage false;
8888
_light5 setdamage 0;
89-
_light5 setpos [(_centerpos select 0)-5.5, (_centerpos select 1)-5.5];
89+
_light5 setpos [(_centerPos select 0)-5.5, (_centerPos select 1)-5.5];
9090

9191
sleep 2;
92-
_atpod1 allowdamage true;
93-
_atpod2 allowdamage true;
94-
_atpod3 allowdamage true;
95-
_gl1pod allowdamage true;
96-
_aapod allowdamage true;
92+
_atPod1 allowdamage true;
93+
_atPod2 allowdamage true;
94+
_atPod3 allowdamage true;
95+
_gl1Pod allowdamage true;
96+
_aaPod allowdamage true;
9797
_light1 allowdamage true;
9898
_light2 allowdamage true;
9999
_light3 allowdamage true;
100100
_light4 allowdamage true;
101101
_light5 allowdamage true;
102102

103-
_fob addAction ["<t color='#ff0066'>Replace FOB Defences (15CP)</t>", "initHQ\refortifyFOB.sqf", [_aapod, _gl1pod, _atpod1, _atpod2, _atpod3, _centerpos, _fob], 0, true, true, "", "_this == player"];
103+
_fob addAction ["<t color='#ff0066'>Replace FOB Defences (15CP)</t>", "initHQ\refortifyFOB.sqf", [_aaPod, _gl1Pod, _atPod1, _atPod2, _atPod3, _centerPos, _fob], 0, true, true, "", "_this == player"];

0 commit comments

Comments
 (0)