share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
changeset 9831 afa4e3e04cc5
parent 9802 00216d609140
child 11697 68eddcdc9f26
equal deleted inserted replaced
9830:397e32abc794 9831:afa4e3e04cc5
    70 guard1.turn = false
    70 guard1.turn = false
    71 guard1.keepTurning = true
    71 guard1.keepTurning = true
    72 guard2.name = loc("Sam")
    72 guard2.name = loc("Sam")
    73 guard2.x = 3400
    73 guard2.x = 3400
    74 guard2.y = 1800
    74 guard2.y = 1800
    75 teamA.name = loc("PAoTH")
    75 teamA.name = loc("PAotH")
    76 teamA.color = tonumber("FF0000",16) -- red
    76 teamA.color = tonumber("FF0000",16) -- red
    77 teamB.name = loc("Guards")
    77 teamB.name = loc("Guards")
    78 teamB.color = tonumber("0033FF",16) -- blue
    78 teamB.color = tonumber("0033FF",16) -- blue
    79 teamC.name = loc("Hog Solo")
    79 teamC.name = loc("Hog Solo")
    80 teamC.color = tonumber("38D61C",16) -- green
    80 teamC.color = tonumber("38D61C",16) -- green
    94 		Map = "cosmos2_map"
    94 		Map = "cosmos2_map"
    95 	else
    95 	else
    96 		Map = "cosmos_map" -- custom map included in file
    96 		Map = "cosmos_map" -- custom map included in file
    97 	end
    97 	end
    98 	Theme = "Nature"
    98 	Theme = "Nature"
    99 	-- I had originally hero in PAoTH team and changed it, may reconsider though
    99 	-- I had originally hero in PAotH team and changed it, may reconsider though
   100 	-- PAoTH
   100 	-- PAotH
   101 	AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy")
   101 	AddTeam(teamC.name, teamC.color, "Bone", "Island", "HillBilly", "cm_birdy")
   102 	hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
   102 	hero.gear = AddHog(hero.name, 0, 100, "war_desertgrenadier1")
   103 	AnimSetGearPosition(hero.gear, hero.x, hero.y)
   103 	AnimSetGearPosition(hero.gear, hero.x, hero.y)
   104 	HogTurnLeft(hero.gear, true)
   104 	HogTurnLeft(hero.gear, true)
   105 	AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_birdy")
   105 	AddTeam(teamA.name, teamA.color, "Bone", "Island", "HillBilly", "cm_birdy")