2025-09-01 13:54 CEST

spring: develop 7de5af35 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
det det develop 2008-07-16 19:54:38 develop 99c126d2
Changeset Adds the following new tags to modrules.{lua,tdf}

 * repair.energyCostFactor: Used to determine the energy cost used to repair a unit. Defaults to 0.0, which is backwards compatible behavior.
 * capture.energyCostFactor: Used to determine the energy cost used to capture a unit. Defaults to 0.0, which is backwards compatible behavior.
 * resurrect.energyCostFactor: Used to determine the energy cost used to resurrect a unit. Defaults to 0.5, which is backwards compatible behavior.
 * reclaim.unitEnergyCostFactor: Used to determine the energy cost used to reclaim a live or under construction unit. Defaults to 0.0, which is backwards compatible behaviour.
 * reclaim.featureEnergyCostFactor: Used to determine the energy cost used to reclaim a feature. Defaults to 0.0, which is backwards compatible behavior.
 * reclaim.unitMethod: Used to determine the method for reclaiming live units. 0 = Revert to nano-frame and do gradual reclaim. 1 = Old method of subtracting HP. Defaults to 1, which is backwards compatible behaviour.
 * reclaim.unitEfficiency: Used to determine how much metal you get back for reclaiming units (not features, corpses). Defaults to 1.0, which is backwards compatible behaviour.
 * reclaim.allowEnemies: Whether or not you are allowed to reclaim a living enemy unit. Defaults to true, which is backwards compatible behaviour.
 * reclaim.allowAllies: Whether or not you are allowed to reclaim a living ally unit. Defaults to true, which is backwards compatible behaviour.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@6188 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Sim/Features/Feature.cpp Diff ] File ]
mod - rts/Sim/ModInfo.cpp Diff ] File ]
mod - rts/Sim/ModInfo.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/CommandAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/Sim/Units/UnitTypes/Builder.cpp Diff ] File ]