Adding Spawns to a Map

From OuroDev
Revision as of 06:28, 12 June 2021 by Crazyduck33 (talk | contribs) (Created page with "Adding encounter Spawns to a Map using the Map editor is really easy to do. '''Load the Map you want to modify, start the ingame Mapeditor.''' '''After that remember to dis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Adding encounter Spawns to a Map using the Map editor is really easy to do.


Load the Map you want to modify, start the ingame Mapeditor.

After that remember to disable autosave first.


On the right side activate the Spawn layer, on most maps its called grp_spawns_something behind it.

On the left side go to the Category Omni/encounterspawns inside this Category you find all Spawn entries for every map in the game. You can simply place them like any other Object in the world . After you hve the spawngroup in the world place it and use V to lock it in place.


If you want to see if your spawn works , exit Map editor and go to the /mmm menu into the Encouters options and enable Always spawn and after that click on reload spawns.


If you want to expand the level range you need to modify inside /serverdata/defs/villains the .villain file for the group you want to modify. Be careful doing that , or you can use the XLS files if you have them to make the change inside the xls file.

If you want to use your own Spawndefs for your map and do not want to use spawndefs from other maps you can copy spawndef files from /serverdata/scripts.loc/spawndefs.

As example you could copy the spawndef files from /serverdata/scripts.loc/spawndefs/City_01_02 to /serverdata/scripts.loc/spawndefs/City_01_01. After that you should rename the spawndef files so it does no longer has City_01_02 in name or inside the files.

After that to have your new Spawndef files usable in the map editor go to /data/object_Library/encounterspawns and modify the .txt file inside the city folder , in the above example it would be inside City_01_01 .

There you can add your Spawndef files , you can see for the existing spawns how exactly you should do that.