8 |
8 |
9 function spawnTarget() |
9 function spawnTarget() |
10 |
10 |
11 gear = AddGear(0, 0, gtTarget, 0, 0, 0, 0) |
11 gear = AddGear(0, 0, gtTarget, 0, 0, 0, 0) |
12 |
12 |
13 if scored == 0 then x = 1652 end |
13 if scored == 0 then x = 628 end |
14 if scored == 1 then x = 1915 end |
14 if scored == 1 then x = 891 end |
15 if scored == 2 then x = 2333 end |
15 if scored == 2 then x = 1309 end |
16 if scored == 3 then x = 2152 end |
16 if scored == 3 then x = 1128 end |
17 if scored == 4 then x = 1434 end |
17 if scored == 4 then x = 410 end |
18 if scored == 5 then x = 2588 end |
18 if scored == 5 then x = 1564 end |
19 if scored == 6 then x = 2372 end |
19 if scored == 6 then x = 1348 end |
20 if scored == 7 then x = 1193 end |
20 if scored == 7 then x = 169 end |
21 if scored == 8 then x = 2744 end |
21 if scored == 8 then x = 1720 end |
22 if scored == 9 then x = 2465 end |
22 if scored == 9 then x = 1441 end |
23 if scored == 10 then x = 1623 end |
23 if scored == 10 then x = 599 end |
24 if scored == 11 then x = 2662 end |
24 if scored == 11 then x = 1638 end |
25 |
25 |
26 if scored == 6 then |
26 if scored == 6 then |
27 SetGearPosition(gear, 2272, 1500) |
27 SetGearPosition(gear, 1248, 476) |
28 else |
28 else |
29 SetGearPosition(gear, x, 1000) |
29 SetGearPosition(gear, x, 0) |
30 end |
30 end |
31 |
31 |
32 end |
32 end |
33 |
33 |
34 function onGameInit() |
34 function onGameInit() |
44 Explosives = 0 |
44 Explosives = 0 |
45 |
45 |
46 AddTeam("The Hogies", 2850005, "Statue", "Island", "Hog Islands") |
46 AddTeam("The Hogies", 2850005, "Statue", "Island", "Hog Islands") |
47 |
47 |
48 player = AddHog(loc("Private Novak"), 0, 1, "war_desertGrenadier1") |
48 player = AddHog(loc("Private Novak"), 0, 1, "war_desertGrenadier1") |
49 SetGearPosition(player, 1780, 1300) |
49 SetGearPosition(player, 756, 370) |
50 |
50 |
51 end |
51 end |
52 |
52 |
53 function onAmmoStoreInit() |
53 function onAmmoStoreInit() |
54 |
54 |