share/hedgewars/Data/Maps/CTF_Blizzard/map.lua
changeset 5325 261b79ba22b1
parent 4953 ebd3dae634ca
child 5328 81a6f6f29b16
equal deleted inserted replaced
5322:1bcc12a30d5d 5325:261b79ba22b1
   283 				fNeedsRespawn[wtf] = true
   283 				fNeedsRespawn[wtf] = true
   284 				fIsMissing[bbq] = false
   284 				fIsMissing[bbq] = false
   285 				fNeedsRespawn[bbq] = true
   285 				fNeedsRespawn[bbq] = true
   286 				fCaptures[wtf] = fCaptures[wtf] +1					--fCaptures[wtf]
   286 				fCaptures[wtf] = fCaptures[wtf] +1					--fCaptures[wtf]
   287 
   287 
   288 				--ShowMission(loc("You have SCORED!!"), "Red Team: " .. fCaptures[0], "Blue Team: " .. fCaptures[1], -amBazooka, 0)
   288 				--ShowMission(LOC_NOT("You have SCORED!!"), "Red Team: " .. fCaptures[0], "Blue Team: " .. fCaptures[1], -amBazooka, 0)
   289 				ShowMission(loc("You have SCORED!!"), GetHogTeamName(CurrentHedgehog) .. ": " .. fCaptures[wtf], loc("Opposing Team: ") .. fCaptures[bbq], 0, 0)
   289 				ShowMission(loc("You have SCORED!!"), GetHogTeamName(CurrentHedgehog) .. ": " .. fCaptures[wtf], loc("Opposing Team: ") .. fCaptures[bbq], 0, 0)
   290 
   290 
   291 				PlaySound(sndVictory)
   291 				PlaySound(sndVictory)
   292 				--SetEffect(fThief[bbq], hePoisoned, false)
   292 				--SetEffect(fThief[bbq], hePoisoned, false)
   293 				fThief[bbq] = nil -- player no longer has the enemy flag
   293 				fThief[bbq] = nil -- player no longer has the enemy flag
   573 end
   573 end
   574 
   574 
   575 
   575 
   576 function onGameStart()
   576 function onGameStart()
   577 
   577 
   578 	--ShowMission(loc(caption), loc(subcaption), loc(goal), 0, 0)
       
   579 	ShowMission(loc("CTF_BLIZZARD"), "", loc(" - Return the enemy flag to your base to score | - First team to 3 captures wins | - You may only score when your flag is in your base | - Hogs will drop the flag if killed, or drowned | - Dropped flags may be returned or recaptured | - Hogs respawn when killed"), 0, 0)
   578 	ShowMission(loc("CTF_BLIZZARD"), "", loc(" - Return the enemy flag to your base to score | - First team to 3 captures wins | - You may only score when your flag is in your base | - Hogs will drop the flag if killed, or drowned | - Dropped flags may be returned or recaptured | - Hogs respawn when killed"), 0, 0)
   580 
   579 
   581 
   580 
   582 	-- initialize teleporters
   581 	-- initialize teleporters
   583 	redTel = CreateZone(342,1316,42,449)	-- red teleporter
   582 	redTel = CreateZone(342,1316,42,449)	-- red teleporter