Zombiegod
Member
- Joined
- Oct 22, 2009
- Messages
- 198
- Solutions
- 1
- Reaction score
- 24
The name kinda explains it.
While adding in a bit a C++ code for neutral monsters(will only attack you if you attack them). I thought it would be cool too have a system where monsters would prioritize players based on level.
how it would work would be.
If you add the bit of code to the monster like
<targetlevel="XXX">
and replace the xxx with the level.
If the player was x% higher then the monsters target level, the monster would be passive, if the player was x% lower level then the target level they would be a low threat so it would only target them if they attacked them.
To let the player know if they were passive, hostile, or neutral, you could use something like a aura, skull, or name system. To do the names it would add one of these based on the aggression. [P], [H], or [N].
While adding in a bit a C++ code for neutral monsters(will only attack you if you attack them). I thought it would be cool too have a system where monsters would prioritize players based on level.
how it would work would be.
If you add the bit of code to the monster like
<targetlevel="XXX">
and replace the xxx with the level.
If the player was x% higher then the monsters target level, the monster would be passive, if the player was x% lower level then the target level they would be a low threat so it would only target them if they attacked them.
To let the player know if they were passive, hostile, or neutral, you could use something like a aura, skull, or name system. To do the names it would add one of these based on the aggression. [P], [H], or [N].