Felipe93
Ghost Member
Hello
Can somebody please help me with this, I need to know Which or where is the code or file c++ in charge of re-spawn monsters after death? In tfs 1.5
i have scrub up something maybe in sources files because i've checked my config.lua file and my spawn.xml file and everything seems to be good in there.
I've made a lot of source changes, so i might scrub something inside c++ files. Can somebody tell me where to look for in order to solve this, please?
config.lua
world-spawn.xml
Thanks in advance
Can somebody please help me with this, I need to know Which or where is the code or file c++ in charge of re-spawn monsters after death? In tfs 1.5
i have scrub up something maybe in sources files because i've checked my config.lua file and my spawn.xml file and everything seems to be good in there.
I've made a lot of source changes, so i might scrub something inside c++ files. Can somebody tell me where to look for in order to solve this, please?
config.lua
Lua:
rateSpawn = 1
-- Monster Despawn Config
-- despawnRange is the amount of floors a monster can be from its spawn position
-- despawnRadius is how many tiles away it can be from its spawn position
-- removeOnDespawn will remove the monster if true or teleport it back to its spawn position if false
-- walkToSpawnRadius is the allowed distance that the monster will stay away from spawn position when left with no targets, 0 to disable
deSpawnRange = 2 --2
deSpawnRadius = 50 --50
removeOnDespawn = true
walkToSpawnRadius = 15
world-spawn.xml
Code:
<?xml version="1.0"?>
<spawns>
<spawn centerx="32355" centery="31646" centerz="1" radius="5">
<monster name="valkyrie" x="1" y="-2" z="1" spawntime="60" />
<monster name="valkyrie" x="-1" y="-1" z="1" spawntime="60" />
<monster name="valkyrie" x="-1" y="0" z="1" spawntime="60" />
<monster name="amazon" x="1" y="0" z="1" spawntime="60" />
</spawn>
<spawn centerx="32536" centery="31772" centerz="1" radius="1">
<npc name="Thanita" x="0" y="0" z="1" spawntime="60" />
</spawn>
<spawn centerx="32583" centery="31924" centerz="1" radius="1">
<monster name="dwarf guard" x="1" y="0" z="1" spawntime="60" />
Thanks in advance