ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

ROF

From ModEnc
Jump to: navigation, search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: ROF
File(s): rules(md).ini
Values: Countries and Difficulty: Floating point values: Any decimal number (clearer range should be added in Template:Values).

For Weapons: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967296.

Default: 1.0 (Countries and Difficulty), 0 for Weapons
Applicable to: Countries (TS-YR), Difficulty(TS- YR), Weapons


In Weapons

Specifies the "Rate of Fire" of this weapon. Measured in frames (15 frames = 1 second at game speed 3). Meaning, a weapon with ROF=90 must wait 90 frames after firing before being able to fire again. Doesn't apply to Burst weapons. If the object has both a primary and a secondary, it will waiting according to the ROF of the last weapon before firing the other. That is to say a Primary with ROF=60 will prevent a Secondary with a ROF=5 from firing for at least 60 frames, and in turn the Primary would need to wait 65 frames if there was that secondary fire inbetween. This is to prevent a ROF cheat by abusing the system. Explicitly, the one weapon cannot, even with target shuffling, fire in a shorter duration than it's ROF dictates.

On AircraftTypes, using greater than 15 as a value for this tag will result in that AircraftType being considered a "helicopter" unit, thus being subject to the logic associated with CurleyShuffle.

In Countries

Specifies the "Rate of Fire" multiplier applied to all weapons owned by that country.

In Difficulty

Specifies the "Rate of Fire" multiplier applied to all weapons in that difficulty.