How to make aggro system?

Status
Not open for further replies.
Level 3
Joined
Jan 17, 2009
Messages
41
Hiya!

I'm trying to create simple 4-man dungeon map. It will contain Tank, Healer, and 2 damage dealers that can crowd control.


Only real problem I have, is aggro system. Sure, I can give Tank taunt ability, but, it doesn't work quite well. Enemies change the target only for a second or not at all, it's very random.

I'd like to know how to create as simple system as possible, for aggro. Basicly all it needs to be able to do, is to be able for tank to keep the enemies on him. But more advanced system is welcomed too.

I read up something about variables, that you can make enemy attack that unit that has most variable number(?), and every spell, skill, action(auto-attack) creates X ammount of aggro. For example if Mage deals 100 damage to enemy, it gives her 100 aggro, and if it's most aggro on that enemy, it will attack the Mage.

Warning though, you need to hold my hand if it goes to advanced, I've always been really clueless about anything related to variables and such.


Anyway, hopefully someone is able to help me :) Thanks!
 
Level 2
Joined
Jul 17, 2009
Messages
27
Basically, you can trigger the AI to automatically target the most hated target every x seconds. Then, you have events, such as damage dealt, taunt skills used, threat-evade skills used and the like add or subtract to the hate counter.
 
Level 3
Joined
Feb 13, 2008
Messages
65
You can make a fully functional threat system using simple GUI if you think about threat not as the mob constantly checking who has highest threat, but instead check if everytime someone deals x amount of damage, if that x amount is higher than everyone else's x amount, then force the target being attacked to attack the target thats attacking.
 
Status
Not open for further replies.
Top