share/hedgewars/Data/Maps/CTF_Blizzard/map.lua
changeset 5821 afb988c1a2fe
parent 5328 81a6f6f29b16
child 7838 5c2337f8dbb2
equal deleted inserted replaced
5819:e23ced69e03d 5821:afb988c1a2fe
     1 --------------------------------
     1 --------------------------------
     2 -- CTF_BLIZZARD 0.8
     2 -- CTF_BLIZZARD 0.9
     3 --------------------------------
     3 --------------------------------
     4 
     4 
     5 ---------
     5 ---------
     6 -- 0.2
     6 -- 0.2
     7 ---------
     7 ---------
    66 
    66 
    67 -- removed branding and version number
    67 -- removed branding and version number
    68 -- removed teleport from starting weapons
    68 -- removed teleport from starting weapons
    69 -- increased captures to 3
    69 -- increased captures to 3
    70 
    70 
    71 -----------
    71 ------------
    72 -- 0.7
    72 -- 0.7
    73 ------------
    73 ------------
    74 
    74 
    75 -- hopefully fixed a bug with the teleporters
    75 -- hopefully fixed a bug with the teleporters
    76 -- added a fix for crate possibly getting imbedded in land when it was near the water line
    76 -- added a fix for crate possibly getting imbedded in land when it was near the water line
    77 
    77 
    78 -----------
    78 ------------
    79 -- 0.8
    79 -- 0.8
    80 ------------
    80 ------------
    81 
    81 
    82 -- fixed version control fail with missing check on onGearDelete
    82 -- fixed version control fail with missing check on onGearDelete
    83 
    83 
    84 -- changed hog placements code so that they start in the same place for both teams
    84 -- changed hog placements code so that they start in the same place for both teams
    85 -- and hogs move in the same order, not backwards to each other.
    85 -- and hogs move in the same order, not backwards to each other.
       
    86 
       
    87 -----------
       
    88 -- 0.9
       
    89 ------------
       
    90 
       
    91 -- add support for more players
       
    92 -- re-enable sudden death, but set water rise to 0
    86 
    93 
    87 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
    94 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
    88 
    95 
    89 ---------------------------------------------------------------
    96 ---------------------------------------------------------------
    90 ----------lots of bad variables and things
    97 ----------lots of bad variables and things
   467 
   474 
   468 function RebuildTeamInfo()
   475 function RebuildTeamInfo()
   469 
   476 
   470 
   477 
   471 	-- make a list of individual team names
   478 	-- make a list of individual team names
   472 	for i = 0, 5 do
   479 	for i = 0, (TeamsCount-1) do
   473 		teamNameArr[i] = i
   480 		teamNameArr[i] = i
   474 		teamSize[i] = 0
   481 		teamSize[i] = 0
   475 		teamIndex[i] = 0
   482 		teamIndex[i] = 0
   476 	end
   483 	end
   477 	numTeams = 0
   484 	numTeams = 0
   564 	CaseFreq = 0 -- The frequency of crate drops
   571 	CaseFreq = 0 -- The frequency of crate drops
   565 	MinesNum = 0 -- The number of mines being placed
   572 	MinesNum = 0 -- The number of mines being placed
   566 	MinesTime  = 2000
   573 	MinesTime  = 2000
   567 	Explosives = 0 -- The number of explosives being placed
   574 	Explosives = 0 -- The number of explosives being placed
   568 	Delay = 10 -- The delay between each round
   575 	Delay = 10 -- The delay between each round
   569 	SuddenDeathTurns = 99 -- suddendeath is off, effectively
   576 	WaterRise = 0 -- I sure hope this works	
       
   577 	--SuddenDeathTurns = 99 -- suddendeath is off, effectively
   570 	Map = "Blizzard" -- The map to be played
   578 	Map = "Blizzard" -- The map to be played
   571 	Theme = "Snow" -- The theme to be used "Nature"
   579 	Theme = "Snow" -- The theme to be used "Nature"
   572 
   580 
   573 end
   581 end
   574 
   582