Game Development Community

Morale

by Mattinn · in RTS Starter Kit · 05/04/2005 (10:02 am) · 1 replies

Well i figured that morale is a big part og rts games today... I was wondering, has anyone experamented with this part, as in making heroes give morale (extra health/attack, other such) to surrounding units in a certain radius, and not only heroes, make trees give soldiers advantage/morale, more attack and damage and stuff like that? and if anyone has made stuff like this what and how do you do it?

#1
05/04/2005 (7:43 pm)
Look at how radiusDamage (script function) works, and do the reverse--give a bonus instead of damage. Also check out the netModifiers (which are a good basic framework, but will need extensive testing to get the effects you want).