# HG changeset patch # User Wuzzy # Date 1479962997 -3600 # Node ID 797d1236a56bb607a9dc7ef4cc5289fba9398014 # Parent 3d03e9294633aef50386b2f72cb30ac353fd63bf Disable world edge in Space Invasion diff -r 3d03e9294633 -r 797d1236a56b share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua Thu Nov 24 05:41:50 2016 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua Thu Nov 24 05:49:57 2016 +0100 @@ -33,14 +33,13 @@ You CANNOT use any other of the on/off options in the game scheme. Those settings are simply discarded by the script. -You also can change the following settings in the game scheme +You also can change the following settings in the game scheme: - time per round (very important) - script parameters, see below -- terrain edge other than none (they kinda work, but they aren’t well supported by the script either) The other settings are technically possible, but their effect is limited: - damage percentage -- mines (they don’t harm the active hedgehog, however) +- mines/air mines (they don’t harm the active hedgehog, however) - number of barrels All other variables are discarded, the script forces its own settings. @@ -247,6 +246,8 @@ -------------------------- -- imitate winning animation at end instead of just ending the game +-- add support for other world edges (they are currently disabled) + -- maybe add a check for a tie, IMPOSSIBRU THERE ARE NO TIES -- more achievements? -- more just-for-fun awards (for stats screen) @@ -1206,6 +1207,7 @@ SuddenDeathTurns = 50 WaterRise = 0 HealthDecrease = 0 + WorldEdge = weNone for i = 0, 4 do vTag[0] = AddVisualGear(0, 0, vgtHealthTag, 0, false)