share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua
branchspacecampaign
changeset 9582 bf314b2258b3
parent 9574 da3d39667881
child 9639 6b2ae2eaf1b2
equal deleted inserted replaced
9580:49db7a78c2bd 9582:bf314b2258b3
     3 -- Hero has to get to the surface as soon as possible.
     3 -- Hero has to get to the surface as soon as possible.
     4 -- Tunnel is about to get flooded.
     4 -- Tunnel is about to get flooded.
     5 
     5 
     6 HedgewarsScriptLoad("/Scripts/Locale.lua")
     6 HedgewarsScriptLoad("/Scripts/Locale.lua")
     7 HedgewarsScriptLoad("/Scripts/Animate.lua")
     7 HedgewarsScriptLoad("/Scripts/Animate.lua")
       
     8 HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
     8 
     9 
     9 ----------------- VARIABLES --------------------
    10 ----------------- VARIABLES --------------------
    10 -- globals
    11 -- globals
    11 local missionName = loc("Running for survival")
    12 local missionName = loc("Running for survival")
    12 local startChallenge = false
    13 local startChallenge = false
    73 	-- Hog Solo
    74 	-- Hog Solo
    74 	AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_birdy")
    75 	AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_birdy")
    75 	hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
    76 	hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
    76 	AnimSetGearPosition(hero.gear, hero.x, hero.y)
    77 	AnimSetGearPosition(hero.gear, hero.x, hero.y)
    77 	HogTurnLeft(hero.gear, true)
    78 	HogTurnLeft(hero.gear, true)
       
    79 	
       
    80 	initCheckpoint("desert02")
    78 	
    81 	
    79 	AnimInit()
    82 	AnimInit()
    80 	AnimationSetup()
    83 	AnimationSetup()
    81 end
    84 end
    82 
    85