Jump to content

RepairStep: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
This is the number of Strength= points to restore with each step in the repairing process.
|name=RepairStep
|files={{Categ|Rules(md).ini}}
|values={{Values|unsigned integers}}
|default=5
|types={{Categ|General}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
 
{{tt|RepairStep}} specifies the number of hitpoints that are recovered:
* Every {{f|RepairRate|link}} minutes for [[BuildingTypes]] being repaired using a gameplay function (the "wrench" tool).
* Every {{f|URepairRate|link}} minutes for [[VehicleTypes]] and [[AircraftTypes]] being repaired by a {{tt|BuildingType}} with {{f|UnitRepair|yes|link}}.
* Every {{tt|[[TiberiumHeal#For_.5BGeneral.5D|TiberiumHeal]]}}{{Fnl|1}} minutes for [[VehicleTypes]] and [[AircraftTypes]] with {{tt|[[TiberiumHeal#For_InfantryTypes.2C_VehicleTypes.2C_and_AircraftTypes|TiberiumHeal{{equal}}yes]]}} that are positioned above [[OverlayTypes]] with {{tt|[[Tiberium_%28INI_flag%29|Tiberium{{equal}}yes]]}}.
 
=={{bugs}}==
If an object gets damaged, but not killed, and this value is higher than its [[Strength]], then the game will crash once repair starts. This applies all types of repair that make use of the {{tt|RepairStep}} tag.
 
==Footnotes==
{{Fn|1|Note that TiberiumHeal is only parsed in {{Ts}} and will not have any effect in {{Ra2}}.}}

Latest revision as of 17:47, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RepairStep
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 5
Applicable to: General


RepairStep specifies the number of hitpoints that are recovered:

Bugs/Side-Effects/Unexpected Limitations

If an object gets damaged, but not killed, and this value is higher than its Strength, then the game will crash once repair starts. This applies all types of repair that make use of the RepairStep tag.

Footnotes

1 Note that TiberiumHeal is only parsed in Tiberian Sun and will not have any effect in Red Alert 2.