[Help] Add groups of mobs to the field

07/07/2023 12:05 osomeloso#1
I am trying to add more groups of mobs than the game has and I have followed this manual.



[Only registered and activated users can see links. Click Here To Register...]

It works, the mobs are grouped as patrols of the hidden dungeons like pp. How can you add a group of mobs using the monster_respawn.lua file and have the mobs spawn and respawn independently?


I understand the bottom of the structure. but I don't understand how this is linked to a coordinate and what is the id of the first line. Thank you very much for the help!

Ejem

elseif ID == 1200085 then
monster_ID = { 3052002, 3053002, 3055002, 3056001, 3057002, 0 }
density = { 0.50, 0.30, 0.20, 0.16, 0.12, 0.07 }
interval = { 1000, 1000, 1200, 1500, 2000, 3000 }
07/07/2023 15:42 AziaMafia#2
Quote:
Originally Posted by osomeloso View Post

elseif ID == 1200085 then
monster_ID = { 3052002, 3053002, 3055002, 3056001, 3057002, 0 }
density = { 0.50, 0.30, 0.20, 0.16, 0.12, 0.07 }
interval = { 1000, 1000, 1200, 1500, 2000, 3000 }
Hi :)
elseif ID == 1200085 then

For this ID u can found it in map files
use one map editor like
2D : [Only registered and activated users can see links. Click Here To Register...]
3D : [Only registered and activated users can see links. Click Here To Register...]
In this tool you can see all box areas for spawn monster randomly inside assigned with one trigger lua script : monster_spawn(1200085 , #BoxCoord )
07/08/2023 11:01 osomeloso#3
Quote:
Originally Posted by AziaMafia View Post
Hi :)
elseif ID == 1200085 then

For this ID u can found it in map files
use one map editor like
2D : [Only registered and activated users can see links. Click Here To Register...]
3D : [Only registered and activated users can see links. Click Here To Register...]
In this tool you can see all box areas for spawn monster randomly inside assigned with one trigger lua script : monster_spawn(1200085 , #BoxCoord )
I've been trying the 2d software as 3d is very confusing for now and I haven't managed to open a map yet.

I have managed to open maps and I see that there are spawn spots that always start from 0 onwards, and in each of them there are coordinates.

Likewise, I still do not understand how to identify the ID with the data provided by the map.

I have tried to see if it is a combination of map name plus spawn number but I see that it is not.

Would you be so kind as to tell me how the famous id number is built?

Example:

elseif ID == 1200085 then
07/18/2023 00:05 AziaMafia#4
in ur screen look u have one
Properties->Varios->Script->Collection
clic in Collection (...) for pop-up Script Details and have function for lua