• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

GlobalEvent TFS 1.3 Monster Wave Event

Any update on problems with the code?
 
Last edited:
Question since i never seen system like this. How it works? Is there like any limits how many waves you can survive or it goes until everyone dies? And what happens if you survive first wave does it spawn a some kind of boss and everyone need to kill it, or first wave ends then second wave goes and it can reach like x999999 waves and thats it? and how you determine the amount of monsters it spawns each round does it increase each round or it always stays same?
 
Question since i never seen system like this. How it works? Is there like any limits how many waves you can survive or it goes until everyone dies? And what happens if you survive first wave does it spawn a some kind of boss and everyone need to kill it, or first wave ends then second wave goes and it can reach like x999999 waves and thats it? and how you determine the amount of monsters it spawns each round does it increase each round or it always stays same?
the waves are configurable
Lua:
local MONSTER_WAVES = {
    [1] = {exp = 20000, waitTimeBoss = 60,
        monsters = {
            {"Cyclops", Position(1000, 1000, 7)},
            {"Cyclops", Position(1000, 1000, 7)},
            {"Cyclops", Position(1000, 1000, 7)},
            {"Cyclops Drone", Position(1000, 1000, 7)},
            {"Cyclops Drone", Position(1000, 1000, 7)}
        },
        boss = { -- Boss is spawned after waitTimeBoss seconds after the wave is stated --
            {"Cyclops Smith", Position(1000, 1000, 7)}
        }
        itemRewards = { -- Items rewarded for completing the wave. --
            {2152, 50},
            {2160, 1}
        },
        outfitReward = {male = 260, female = 261, addons = 0, name = "Citizen"}, -- outfit rewards for completing the wave --
        mountReward = {126, "Horse"}
    } -- You can delete any of the values to remove it from the wave. exp, itemreward, boss, outfitreward, mountreward (DO NOT DELETE THE monsters TABLE) --
  
    -- [2]
  
}
 
the waves are configurable
Lua:
local MONSTER_WAVES = {
    [1] = {exp = 20000, waitTimeBoss = 60,
        monsters = {
            {"Cyclops", Position(1000, 1000, 7)},
            {"Cyclops", Position(1000, 1000, 7)},
            {"Cyclops", Position(1000, 1000, 7)},
            {"Cyclops Drone", Position(1000, 1000, 7)},
            {"Cyclops Drone", Position(1000, 1000, 7)}
        },
        boss = { -- Boss is spawned after waitTimeBoss seconds after the wave is stated --
            {"Cyclops Smith", Position(1000, 1000, 7)}
        }
        itemRewards = { -- Items rewarded for completing the wave. --
            {2152, 50},
            {2160, 1}
        },
        outfitReward = {male = 260, female = 261, addons = 0, name = "Citizen"}, -- outfit rewards for completing the wave --
        mountReward = {126, "Horse"}
    } -- You can delete any of the values to remove it from the wave. exp, itemreward, boss, outfitreward, mountreward (DO NOT DELETE THE monsters TABLE) --
 
    -- [2]
 
}
O so basically that [1] = sdfgsdfsdf is a first wave and you can create [2] = which is second wave?
 
So whats the outcome of this system, is it worth using or not? Installed it everything looked fine but shit doesnt teleport you to an event, setuped everything properly with tiles, since it didnt allowed to enter tile when event didnt started but made an talkaction to start an event but after that tiles didnt teleport you anywhere (yes changed x,y,z in lib)
 
Back
Top