share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 13103 cf2a58dccc4a
parent 13019 880662cf41ee
child 13104 e0ec37c8104d
equal deleted inserted replaced
13102:a4872ca7f17c 13103:cf2a58dccc4a
   459 	end
   459 	end
   460 end
   460 end
   461 
   461 
   462 function onGameInit()
   462 function onGameInit()
   463 
   463 
   464 	DisableGameFlags(gfKing)
   464 	DisableGameFlags(gfKing, gfAISurvival)
   465 	EnableGameFlags(gfDivideTeams)
   465 	EnableGameFlags(gfDivideTeams)
   466 
   466 
   467 	-- Disable Sudden Death
   467 	-- Disable Sudden Death
   468 	WaterRise = 0
   468 	WaterRise = 0
   469 	HealthDecrease = 0
   469 	HealthDecrease = 0
   521 	--zxc = AddVisualGear(fSpawnX[i],fSpawnY[i],vgtCircle,0,true)
   521 	--zxc = AddVisualGear(fSpawnX[i],fSpawnY[i],vgtCircle,0,true)
   522 
   522 
   523 
   523 
   524 	--SetVisualGearValues(zxc, 1000,1000, 20, 255, 1,    10,                     0,         200,        1,      GetClanColor(0))
   524 	--SetVisualGearValues(zxc, 1000,1000, 20, 255, 1,    10,                     0,         200,        1,      GetClanColor(0))
   525 					--minO,max0 -glowyornot	--pulsate timer	 -- fuckall      -- radius -- width  -- colour
   525 					--minO,max0 -glowyornot	--pulsate timer	 -- fuckall      -- radius -- width  -- colour
       
   526 	for h=1, numhhs do
       
   527 		-- Tardis causes too many unexpected situations, so we forbid it
       
   528 		AddAmmo(hhs[h], amTardis, 0)
       
   529 		-- Hogs are resurrected for free, so this is pointless
       
   530 		AddAmmo(hhs[h], amResurrector, 0)
       
   531 	end
       
   532 
   526 end
   533 end
   527 
   534 
   528 
   535 
   529 function onNewTurn()
   536 function onNewTurn()
   530 
   537