[ Mapping ] Aggro vs Fleeing

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

[ Mapping ] Aggro vs Fleeing

Postby Eudes » Tue Jan 20, 2015 10:20 am

Hello DOL,

Is there a trick to make some mobs fleeing instead of aggro the players or is that something to script?

Thanks!
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: [ Mapping ] Aggro vs Fleeing

Postby HunabKu » Tue Jan 20, 2015 10:29 am

Hi !
I think you want fear like in Guild Wars 2 for example.
Is not mobs fleeing code to my knowledge.
In my opinion, you can do it about creating a path started mob position, direction inverted about mob heading, and finish mob position to along of. Make also a timer.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [ Mapping ] Aggro vs Fleeing

Postby Eudes » Tue Jan 20, 2015 10:39 am

Hi Hunab,

Yes but I can not make that for each mob on the server. In fact I'm willing to create spots with animals, adults will aggro the player, but youth will flee... so I can not manage a path for each of them because it is about a few hundreds!
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: [ Mapping ] Aggro vs Fleeing

Postby HunabKu » Tue Jan 20, 2015 1:45 pm

What your search is brains.
A Brain is the comportment of the mob.

Create the brain YourMobBrain where you define the fleeing comportment.
Make a scripted mob YourMobScript and attribute the brain.
Create in game ith /mob create DOL.GS.YourMobScript
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [ Mapping ] Aggro vs Fleeing

Postby Eudes » Tue Jan 20, 2015 2:46 pm

So it takes some scripting. I was hoping for some trick to avoid that point :)

Thanks
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest