author | Wuzzy <almikes@aol.com> |
Tue, 11 Apr 2017 02:44:59 +0200 | |
changeset 12224 | d62d6f8ebef1 |
parent 12078 | 99bfd35b3924 |
child 12351 | 62b935bec899 |
permissions | -rw-r--r-- |
10017 | 1 |
-------------------------------------- |
2 |
-- NOBODY LAUGH |
|
3 |
-- a hilarious (not really) adventure |
|
4 |
-------------------------------------- |
|
5 |
||
6 |
HedgewarsScriptLoad("/Scripts/Locale.lua") |
|
7 |
HedgewarsScriptLoad("/Scripts/Tracker.lua") |
|
8 |
||
9 |
local hhs = {} |
|
10 |
||
11 |
function onGameInit() |
|
12 |
||
13 |
Seed = 0 |
|
14 |
GameFlags = gfInfAttack + gfPerHogAmmo +gfDisableWind |
|
12224
d62d6f8ebef1
Disable Sudden Death consistently in all missions which don't require it
Wuzzy <almikes@aol.com>
parents:
12078
diff
changeset
|
15 |
-- Disable Sudden Death |
d62d6f8ebef1
Disable Sudden Death consistently in all missions which don't require it
Wuzzy <almikes@aol.com>
parents:
12078
diff
changeset
|
16 |
HealthDecrease = 0 |
d62d6f8ebef1
Disable Sudden Death consistently in all missions which don't require it
Wuzzy <almikes@aol.com>
parents:
12078
diff
changeset
|
17 |
WaterRise = 0 |
10017 | 18 |
TurnTime = 180000 |
19 |
CaseFreq = 0 |
|
20 |
MinesNum = 0 |
|
21 |
Explosives = 0 |
|
22 |
Map = "Bath" |
|
23 |
Theme = "Nature" |
|
24 |
||
12049
030464f34d47
Tweak flags used in all missions to fit more to the theme
Wuzzy <almikes@aol.com>
parents:
11968
diff
changeset
|
25 |
AddTeam(loc("Nameless Heroes"), 14483456, "eyecross", "Wood", "HillBilly", "cm_crossedswords") |
10017 | 26 |
hhs[1] = AddHog(loc( "Hunter" ), 0, 1, "Skull") |
27 |
SetGearPosition(hhs[1], 1267, 451) |
|
28 |
hhs[2] = AddHog(loc("Drowner"), 0, 31, "mp3") |
|
29 |
SetGearPosition(hhs[2], 1332, 451) |
|
30 |
||
12049
030464f34d47
Tweak flags used in all missions to fit more to the theme
Wuzzy <almikes@aol.com>
parents:
11968
diff
changeset
|
31 |
AddTeam(loc("Clowns"), 1175851, "Duck2", "Tank", "Mobster", "cm_face") |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
32 |
hhs[3] = AddHog(loc("Poison"), 5, 100, "WhySoSerious") |
10017 | 33 |
SetGearPosition(hhs[3], 1133, 446) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
34 |
hhs[4] = AddHog(loc("Bobo"), 5, 100, "clown") |
10017 | 35 |
SetGearPosition(hhs[4], 1215, 553) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
36 |
hhs[5] = AddHog(loc("Copper"), 5, 10, "clown-copper") |
10017 | 37 |
SetGearPosition(hhs[5], 414, 376) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
38 |
hhs[6] = AddHog(loc("Derp"), 5, 100, "clown-crossed") |
10017 | 39 |
SetGearPosition(hhs[6], 1590, 886) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
40 |
hhs[7] = AddHog(loc("Eckles"), 5, 100, "clown-copper") |
10017 | 41 |
SetGearPosition(hhs[7], 772, 754) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
42 |
hhs[8] = AddHog(loc("Frank"), 5, 50, "clown-copper") |
10017 | 43 |
SetGearPosition(hhs[8], 1688, 714) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
44 |
hhs[9] = AddHog(loc("Harry"), 5, 50, "clown-copper") |
10017 | 45 |
SetGearPosition(hhs[9], 1932, 837) |
11262
6e1aa1144a2b
- Finally added rus localization for all User Missions
antonc27 <antonc27@mail.ru>
parents:
10893
diff
changeset
|
46 |
hhs[10] = AddHog(loc("Igmund"), 5, 50, "WhySoSerious") |
10017 | 47 |
SetGearPosition(hhs[10], 1601, 733) |
48 |
||
49 |
end |
|
50 |
||
51 |
function onGameStart() |
|
52 |
||
53 |
AddAmmo(enemy, amAirAttack, 100) |
|
54 |
||
55 |
ShowMission( loc("Nobody Laugh"), |
|
12077
ce3860c82c8b
Rewrite 2nd line of mission panel of most missions for consistency
Wuzzy <almikes@aol.com>
parents:
12049
diff
changeset
|
56 |
loc("Scenario"), |
12078
99bfd35b3924
Fix misleading scenario desciptions regarding time limit / no time limit
Wuzzy <almikes@aol.com>
parents:
12077
diff
changeset
|
57 |
loc("Eliminate the enemy.") |
10017 | 58 |
, 0, 0 |
59 |
) |
|
60 |
||
61 |
-- GIRDERS |
|
62 |
PlaceGirder(1212, 710, 7) |
|
63 |
PlaceGirder(1215, 570, 4) |
|
64 |
PlaceGirder(1288, 520, 2) |
|
65 |
PlaceGirder(1184, 468, 4) |
|
66 |
PlaceGirder(1344, 468, 4) |
|
67 |
PlaceGirder(1247, 346, 4) |
|
68 |
||
69 |
PlaceGirder(667, 438, 4) |
|
70 |
PlaceGirder(507, 438, 4) |
|
71 |
PlaceGirder(434, 487, 2) |
|
72 |
PlaceGirder(505, 537, 4) |
|
73 |
PlaceGirder(665, 537, 4) |
|
74 |
PlaceGirder(737, 487, 2) |
|
75 |
||
76 |
PlaceGirder(416, 465, 6) |
|
77 |
PlaceGirder(1415, 378, 6) |
|
78 |
PlaceGirder(1300, 625, 3) |
|
79 |
PlaceGirder(1359, 566, 3) |
|
80 |
PlaceGirder(1436, 538, 0) |
|
81 |
PlaceGirder(1505, 468, 4) |
|
82 |
||
83 |
------ AMMO CRATE LIST ------ |
|
84 |
tempG = SpawnAmmoCrate(1242, 315, amBaseballBat) |
|
85 |
tempG = SpawnAmmoCrate(1309, 315, amAirAttack) |
|
86 |
tempG = SpawnAmmoCrate(144, 895, amAirAttack) |
|
87 |
tempG = SpawnAmmoCrate(664, 699, amIceGun) |
|
88 |
tempG = SpawnAmmoCrate(1572, 444, amFirePunch) |
|
89 |
tempG = SpawnAmmoCrate(1574, 382, amDynamite) |
|
90 |
||
91 |
------ UTIL CRATE LIST ------ |
|
92 |
tempG = SpawnUtilityCrate(654, 513, amParachute) |
|
93 |
tempG = SpawnUtilityCrate(1569, 413, amParachute) |
|
94 |
||
95 |
-- HOG AMMO |
|
96 |
AddAmmo(hhs[1],amParachute,1) |
|
97 |
AddAmmo(hhs[1],amHammer,1) |
|
98 |
AddAmmo(hhs[2],amWhip,1) |
|
99 |
||
100 |
for i = 3, 10 do |
|
10893 | 101 |
AddAmmo(hhs[i], amDEagle, 100) |
10017 | 102 |
AddAmmo(hhs[i], amShotgun, 100) |
103 |
AddAmmo(hhs[i], amGrenade, 100) |
|
104 |
AddAmmo(hhs[i], amBazooka, 100) |
|
105 |
AddAmmo(hhs[i], amDrill, 100) |
|
106 |
end |
|
107 |
||
108 |
end |
|
109 |
||
110 |
function onNewTurn() |
|
111 |
SetWind(100) |
|
112 |
end |
|
113 |
||
114 |
function onAmmoStoreInit() |
|
115 |
||
116 |
SetAmmo(amBaseballBat, 0, 0, 0, 1) |
|
117 |
SetAmmo(amAirAttack, 0, 0, 0, 1) |
|
118 |
SetAmmo(amFirePunch, 0, 0, 0, 1) |
|
119 |
SetAmmo(amDynamite, 0, 0, 0, 1) |
|
120 |
SetAmmo(amHammer, 0, 0, 0, 1) |
|
121 |
SetAmmo(amIceGun, 0, 0, 0, 1) |
|
122 |
||
123 |
SetAmmo(amParachute, 0, 0, 0, 1) |
|
124 |
||
125 |
SetAmmo(amSwitch, 9, 0, 0, 0) |
|
126 |
SetAmmo(amSkip, 9, 0, 0, 0) |
|
127 |
||
128 |
end |
|
129 |
||
130 |
------------------------------ |
|
131 |
-- I'm in whitesppaaaaaaaaaacceeeee :D |
|
132 |
------------------------------ |