Quote:
|
Originally Posted by DJRowley
You could just use the horde code, but with no bonus or anything... The image it displays is hard-coded, so you will have to replace the actual china horde symbol.
|
Aaah i see. It's hardcoded. Hmm... so is there anyway I'm gonna be able to make it show the housecolor?
Here's the horde update code:
Code:
Behavior = HordeUpdate ModuleTag_04
RubOffRadius = 150 ; if I am this close to a real hordesman, I will get to be an honorary hordesman
UpdateRate = 1000 ; how often to recheck horde status (msec)
Radius = 75 ; how close other units must be to us to count towards our horde-ness (~30 feet or so)
KindOf = VEHICLE ; what KindOf's must match to count towards horde-ness
AlliesOnly = Yes ; do we only count allies towards horde status?
ExactMatch = Yes ; do we only count units of our exact same type towards horde status? (overrides kindof)
Count = 5 ; how many units must be within Radius to grant us horde-ness
Action = HORDE ; when horde-ing, grant us the HORDE bonus
End
I could just change it to this so that is always shows up?
Code:
Behavior = HordeUpdate ModuleTag_04
RubOffRadius = 9999999999999 ; if I am this close to a real hordesman, I will get to be an honorary hordesman
UpdateRate = 1000 ; how often to recheck horde status (msec)
Radius = 75 ; how close other units must be to us to count towards our horde-ness (~30 feet or so)
KindOf = STRUCTURE ; what KindOf's must match to count towards horde-ness
AlliesOnly = No ; do we only count allies towards horde status?
ExactMatch = No ; do we only count units of our exact same type towards horde status? (overrides kindof)
Count = 1 ; how many units must be within Radius to grant us horde-ness
;Action = HORDE ; when horde-ing, grant us the HORDE bonus
End