103 if checkPointReached > 1 and tonumber(GetCampaignVar("HeroHealth")) then |
103 if checkPointReached > 1 and tonumber(GetCampaignVar("HeroHealth")) then |
104 heroHealth = tonumber(GetCampaignVar("HeroHealth")) |
104 heroHealth = tonumber(GetCampaignVar("HeroHealth")) |
105 end |
105 end |
106 |
106 |
107 -- Hog Solo |
107 -- Hog Solo |
108 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy") |
108 AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "hedgewars") |
109 hero.gear = AddHog(hero.name, 0, heroHealth, "war_desertgrenadier1") |
109 hero.gear = AddHog(hero.name, 0, heroHealth, "war_desertgrenadier1") |
110 AnimSetGearPosition(hero.gear, hero.x, hero.y) |
110 AnimSetGearPosition(hero.gear, hero.x, hero.y) |
111 HogTurnLeft(hero.gear, true) |
111 HogTurnLeft(hero.gear, true) |
112 -- PAotH undercover scientist and chief Sandologist |
112 -- PAotH undercover scientist and chief Sandologist |
113 AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_birdy") |
113 AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_galaxy") |
114 ally.gear = AddHog(ally.name, 0, 100, "Cowboy") |
114 ally.gear = AddHog(ally.name, 0, 100, "Cowboy") |
115 AnimSetGearPosition(ally.gear, ally.x, ally.y) |
115 AnimSetGearPosition(ally.gear, ally.x, ally.y) |
116 -- Smugglers |
116 -- Smugglers |
117 AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_birdy") |
117 AddTeam(teamB.name, teamB.color, "Bone", "Island", "HillBilly", "cm_bloodyblade") |
118 smuggler1.gear = AddHog(smuggler1.name, 1, 100, "hair_orange") |
118 smuggler1.gear = AddHog(smuggler1.name, 1, 100, "hair_orange") |
119 AnimSetGearPosition(smuggler1.gear, smuggler1.x, smuggler1.y) |
119 AnimSetGearPosition(smuggler1.gear, smuggler1.x, smuggler1.y) |
120 smuggler2.gear = AddHog(smuggler2.name, 1, 100, "lambda") |
120 smuggler2.gear = AddHog(smuggler2.name, 1, 100, "lambda") |
121 AnimSetGearPosition(smuggler2.gear, smuggler2.x, smuggler2.y) |
121 AnimSetGearPosition(smuggler2.gear, smuggler2.x, smuggler2.y) |
122 smuggler3.gear = AddHog(smuggler3.name, 1, 100, "beefeater") |
122 smuggler3.gear = AddHog(smuggler3.name, 1, 100, "beefeater") |