En Svensk Man
New Member
- Joined
- Nov 11, 2016
- Messages
- 6
- Reaction score
- 1
Is there any way to change spawn times by specific monsters? Or do I have to manually change it on all monsters on the map?
(name="Ice Golem".*)spawntime="\d+"
\1spawntime="60"
<monster name="Ice Golem" x="0" y="0" z="0" spawntime="60" />
<monster name="Ice Golem" x="0" y="0" z="0" spawntime="30" />
(name="Ice Golem".*)spawntime="\d+"
\1spawntime="60"
If you use Notepad++ (or Sublime Text) open the spawn.xml file which belongs to your map.
Run Search & Replace (Or Find & Replace or something like that) and enable REGULAR EXPRESSION!
In search field write (replace ONLY monster name you wish to search for but don't remove the parantheses or anything else):
Code:(name="Ice Golem" x="\d+" y="\d+" z="\d+") spawntime="\d+"
In replace field write (same here replace ONLY spawntime to the new number you want):
Code:\1 spawntime="60"
I updated try the new ones.It's not replacing the spawns that have - on the x y z coordinates.![]()