forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
Enable a unit to automatically heal allies
Mailaender edited this page Jun 17, 2012
·
10 revisions
Requires:
A "Heal-Weapon" (can be found in mods/ra/weapons.yaml name is "heal")
Conflicts with:
- Units who already got a weapon (even making the heal a secondary weapon results in the unit attack and heal allies at the same time)
- Units who already got a weapontrait (due to engine-limitaitions differentiating between for example an "AttackFrontal" and an "AttackMedic" is not possible yet)
- Structure won't work as they don't have the IFacing and Move.Mobile trait.
If you want a unit become a healer edit like this:
- Open up mods/ra(or /cnc)/weapons.yaml
- Make a heal weapon (in Red Alert it already exists)
- Open up mods/ra(or /cnc)/rules/"".yaml ("" = choose between infantry, structures, aircraft, vehicles etc.)
- Add traits
AutoHeal:
and
AttackMedic:
PrimaryWeapon: Heal