ShowHealthInSelectionDecal = No
see if this does anything
making Friendly units attack would take some serious coding of the Weapon.ini
RadiusDamageAffects = ALLIES NEUTRALS SELF
and
DamageNugget
Damage = 1
Radius = 25.0
DelayTime = 0
DamageType = CHOP
DamageFXType = FLAME
DeathType = BURNED
SpecialObjectFilter = NONE +Object ALLIES
DamageScalar = 5000% NONE +Object
End
And this would not be done by AI ...unless scripted .
ALSO
you can check out how IsengardBerserker attacks a mine .
I don't think you can give a unit INVULNERABILITY via AttributeModifier AND still attack it .
Try giving it armor that is unattackable , then a special damage type for allied units
;------------------------------------------------------------------------------
Armor MinasTirithGate ;Nigh-invulnerable and ancient walls and wall structures -JBender
Armor = DEFAULT 0% ;this sets the level for all nonspecified damage types
Armor = STRUCTURAL 0% ;structural damage - Grond inflicts this kind of damage
Armor = CHOP 100% ;in case Gandalf or Saruman attack
Armor = LOGICAL_FIRE 0% ;Fire
End