[HOW TO]Add group of mobs and deplace it

01/16/2012 22:16 ptifou78#1
Hello everybody firstly i would like to present all my apologies about my english and if i do mistake i'on my phone and i'm french younger who want to learn more english ^^


Firstly open dbo.RoamingPointResource.
Add new line.
Make an unique id into roaming_id (keep it in memory)
In the collumn point_id is the step of the parcour of your mob. Btw is always start at 0 and after 1,2,3....
And in the collumns x/y i think you have understand you must do the position what you want to do.

for exemple for add movement you must do this.(sry i'm on my phone i can't do screen for more explicit information =s)
add 1 line who contening it(is an exemple)
roaming_id = 1
point_id = 0 (the first step is to go at point x/y = 1)
x = 1
y = 1

Add new line
roaming_id = 1 (the same because is the same group)
point_id = 1(Tthe second step is to go at point x/y = 500)
x = 500
y= 500


I think you have understand.
Secondly go on dbo.RoamingResource
Add new line with the same roaming_id for my exemple its 1.
In roaming_type make 1, 1 is for movement group and 0 for static mob like wich in the tower of horizon.
In movement speed i think you understand is the speed of deplacement of the group.
In hate_type make 4 for when you attack someone on the group, all the group atack you.


And for finnish go in you monster_respawn.lua and you just have to add new line.
monster_roaming_mob(the id what you have write into id_roaming, the id of your mob, the respawn time beetwen repop, the min space between mob, the max space between mob)
for exemple if you want to add two mob you must do it.
monster_roaming_mob(for my exemple is 1, 200, 600,10,60)
monster_roaming_mob(1,204,600,10,60)


It's the end for if i'm not clear as i say i'm on my phone and it's hard to write a book xD
I hope i wiil help anybody =)
01/16/2012 22:37 jw988#2
roaming_type 0 = point 0 - 1 - 2 - 0 - 1 - 2 etc
roaming_type 1 = point 0 - 1 - 2 - 2 - 1 - 0 etc

and adding the mobs you are better to do that in NPC Monster Roaming.lua
not monster_respawn.lua, but good work on the guide.

this gives you a boss in middle and four guard layout, if it helps :)

Code:
	respawn_roaming_mob( 6000, 144009, 0, 0, 60 )
	respawn_roaming_mob( 6000, 141004, 0, 2, 60 )
	respawn_roaming_mob( 6000, 141004, 90, 2, 60 )
	respawn_roaming_mob( 6000, 141004, 180, 2, 60 )
	respawn_roaming_mob( 6000, 141004, 270, 2, 60 )
01/16/2012 22:50 ptifou78#3
Ok thanks i edit when i'm on pc beacause i can't edit all this with my phone(i cant select all the text =/)

but thanks =)

Ok thanks i edit when i'm on pc beacause i can't edit all this with my phone(i cant select all the text =/)

but thanks =)

Ok thanks i edit when i'm on pc beacause i can't edit all this with my phone(i cant select all the text =/)

but thanks =)
09/21/2013 18:43 darkangeldu60162#4
Can i add layer (z) position ?
09/22/2013 01:19 gr4ph0s#5
As i know not... but you can try :p
09/23/2013 04:12 Xijezu#6
Next time please use the Helpthread, take a look at the date.

#closed