86 -- Disable Sudden Death |
86 -- Disable Sudden Death |
87 WaterRise = 0 |
87 WaterRise = 0 |
88 HealthDecrease = 0 |
88 HealthDecrease = 0 |
89 |
89 |
90 -- Hog Solo |
90 -- Hog Solo |
91 AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "hedgewars") |
91 AddTeam(teamA.name, teamA.color, "Simple", "Island", "HillBilly", "hedgewars") |
92 hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1") |
92 hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1") |
93 AnimSetGearPosition(hero.gear, hero.x, hero.y) |
93 AnimSetGearPosition(hero.gear, hero.x, hero.y) |
94 -- enemies |
94 -- enemies |
95 local hats = { "Bandit", "fr_apple", "fr_banana", "fr_lemon", "fr_orange", |
95 local hats = { "Bandit", "fr_apple", "fr_banana", "fr_lemon", "fr_orange", |
96 "fr_pumpkin", "Gasmask", "NinjaFull", "NinjaStraight", "NinjaTriangle" } |
96 "fr_pumpkin", "Gasmask", "NinjaFull", "NinjaStraight", "NinjaTriangle" } |
97 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_bars") |
97 AddTeam(teamC.name, teamC.color, "bp2", "Island", "HillBilly", "cm_bars") |
98 for i=1,table.getn(enemiesEven) do |
98 for i=1,table.getn(enemiesEven) do |
99 enemiesEven[i].gear = AddHog(enemiesEven[i].name, 1, 100, hats[GetRandom(table.getn(hats))+1]) |
99 enemiesEven[i].gear = AddHog(enemiesEven[i].name, 1, 100, hats[GetRandom(table.getn(hats))+1]) |
100 AnimSetGearPosition(enemiesEven[i].gear, enemiesEven[i].x, enemiesEven[i].y) |
100 AnimSetGearPosition(enemiesEven[i].gear, enemiesEven[i].x, enemiesEven[i].y) |
101 end |
101 end |
102 AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_bars") |
102 AddTeam(teamB.name, teamB.color, "bp2", "Island", "HillBilly", "cm_bars") |
103 for i=1,table.getn(enemiesOdd) do |
103 for i=1,table.getn(enemiesOdd) do |
104 enemiesOdd[i].gear = AddHog(enemiesOdd[i].name, 1, 100, hats[GetRandom(table.getn(hats))+1]) |
104 enemiesOdd[i].gear = AddHog(enemiesOdd[i].name, 1, 100, hats[GetRandom(table.getn(hats))+1]) |
105 AnimSetGearPosition(enemiesOdd[i].gear, enemiesOdd[i].x, enemiesOdd[i].y) |
105 AnimSetGearPosition(enemiesOdd[i].gear, enemiesOdd[i].x, enemiesOdd[i].y) |
106 end |
106 end |
107 |
107 |