For the coders:
On line 816 in CobInstance.cpp, add the line
Code: Select all
unit->health = ((param/100.0f)*unit->maxHealth);
For the modders:
Use the syntax
Code: Select all
set HEALTH to 25;
Code: Select all
set HEALTH to 300;
IMHO, this should be made a part of standard/regular Spring, since it in no way breaks the old units, but really extends modding potential.