Skip to content

Enable a unit to automatically heal allies

Petrenko edited this page Jun 30, 2011 · 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

If you want a unit/structure become a healer edit like this:

  1. Open up mods/ra(or /cnc)/weapons.yaml
  2. Make a heal weapon (if Ra it already exists)
  3. Open up mods/ra(or /cnc)/rules/"".yaml ("" = choose between infantry, structures, aircraft, vehicles etc.)
  4. Add traits
	AutoHeal:

and

	AttackMedic:
		PrimaryWeapon: Heal

Back

Clone this wiki locally