Jump to content
  • 0

MOBs acting like swarms


telles0808

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   8
  • Joined:  01/08/14
  • Last Seen:  

Hello,

 

I would like know if is possible to make any mob act like that green bug on the Prontera Sewer?

 

His comportment is like a swarm, if you atk one, every other bug near will start to attack you!

 

I'm willing this to make some mobs using the player templates, to make an arena, where they will not attack the player if the player doesn't atk first.

 

If possible, can you give me the direction? What file and documents I have to change and learn?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

MD_ASSIST is probably what you are looking for.

If you look at the mode for Thief Bug Male (1054):

- Aggressive

- Assist

- Detector

- Change Target (Attack)

- Change Target (Chase)

Then looking at the documentation: doc/mob_db_mode_list.txt

MD_AGGRESSIVE | 0x0004 | 4

MD_ASSIST | 0x0008 | 8

MD_DETECTOR | 0x0100 | 256

MD_CHANGETARGET_MELEE | 0x1000 | 4096

MD_CHANGETARGET_CHASE | 0x2000 | 8192

 

Aggressive: normal aggressive mob, will look for a close-by player to attack.

Assist: When a nearby mob of the same class attacks, assist types will join them.

Detector: Enables mob to detect and attack characters who are in hiding/cloak.

Change Target Melee: Enables a mob to switch targets when attacked while

attacking someone else.

Change Target Chase: Enables a mob to switch targets when attacked while

chasing another character.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   8
  • Joined:  01/08/14
  • Last Seen:  

Thank you Brian!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...