Difference between revisions of "ROF"
EvilRenegade (talk | contribs) m (Replacing Template:TTL with Template:F.) |
|||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
− | |files={{Categ| | + | |files={{Categ|ini=rules}} |
− | |values=unsigned integers | + | |values={{Categ|Countries}} and {{Categ|Difficulty}}: {{values|float}}For {{Categ|Weapon|Weapons}}: {{values|unsigned integers}} |
− | |default= | + | |default=1.0 ({{Categ|Countries}} and {{Categ|Difficulty}}), 0 for {{Categ|Weapon|Weapons}} |
|types={{Categ|Countries}} (TS-YR), {{Categ|Difficulty}}(TS- YR), {{Categ|Weapon|Weapons}} | |types={{Categ|Countries}} (TS-YR), {{Categ|Difficulty}}(TS- YR), {{Categ|Weapon|Weapons}} | ||
|ra=yes | |ra=yes |
Revision as of 19:03, 7 June 2015
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 4294967295. |
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.