BurstDelayX: Difference between revisions
mNo edit summary |
Added information about default burst delay. |
||
Line 2: | Line 2: | ||
|name={{PAGENAME}} (substitute X with an integer from 0 to 3) | |name={{PAGENAME}} (substitute X with an integer from 0 to 3) | ||
|values={{Values|unsigned integers}} | |values={{Values|unsigned integers}} | ||
|default= | |default=3–5 [[frames]] | ||
|types=In {{fs}}: {{Categ|Weapons}}, in {{ra2}} and {{yr}}: {{Categ|VehicleTypes}} | |types=In {{fs}}: {{Categ|Weapons}}, in {{ra2}} and {{yr}}: {{Categ|VehicleTypes}} | ||
|fs=yes | |fs=yes | ||
Line 10: | Line 10: | ||
}} | }} | ||
Weapons that have a {{f|Burst|link}} greater than 1 fire that many times at short intervals (as opposed to firing them simultaneously). {{f|{{PAGENAME}} | Weapons that have a {{f|Burst|link}} greater than 1 fire that many times at short intervals (as opposed to firing them simultaneously). The delay between each burst shot is randomly selected from a range of 3–5 [[frames]]. {{f|{{PAGENAME}}}} can be used to override this delay (in FS, this is a per-weapon property, in YR it has been turned into a per-unit one). | ||
The '''X''' should be substituted with an [[Help:Values#Integers|integer]] between 0 and {{f|Burst}}−2 (the game will only parse '''X''' from 0 to 3 inclusive). | The '''X''' should be substituted with an [[Help:Values#Integers|integer]] between 0 and {{f|Burst}}−2 (the game will only parse '''X''' from 0 to 3 inclusive). For example, if '''X''' is 0, the value represents the time in frames between the first and the second burst shots. | ||
Note that setting {{f|{{PAGENAME}}|0}} will remove any delay, allowing the bursts to be fired on consecutive frames. | |||
==In {{ra2}} and {{yr}}== | ==In {{ra2}} and {{yr}}== | ||
Line 21: | Line 23: | ||
In a slightly more complex example, if {{f|Burst|5}} and {{f|BurstDelay2|10}} (other {{f|{{PAGENAME}}}}'s are not defined), burst shots 1 through 3 will fire in 1 frame intervals (the default behavior), however burst shots 4 and 5 will fire 10 frames after the preceding shot. | In a slightly more complex example, if {{f|Burst|5}} and {{f|BurstDelay2|10}} (other {{f|{{PAGENAME}}}}'s are not defined), burst shots 1 through 3 will fire in 1 frame intervals (the default behavior), however burst shots 4 and 5 will fire 10 frames after the preceding shot. | ||
Revision as of 11:17, 30 March 2022
Flag: | BurstDelayX (substitute X with an integer from 0 to 3) |
File(s): | rules(md).ini |
Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
Default: | 3–5 frames |
Applicable to: | In Firestorm: Weapons, in Red Alert 2 and Yuri's Revenge: VehicleTypes |
Weapons that have a Burst greater than 1 fire that many times at short intervals (as opposed to firing them simultaneously). The delay between each burst shot is randomly selected from a range of 3–5 frames. BurstDelayX can be used to override this delay (in FS, this is a per-weapon property, in YR it has been turned into a per-unit one).
The X should be substituted with an integer between 0 and Burst−2 (the game will only parse X from 0 to 3 inclusive). For example, if X is 0, the value represents the time in frames between the first and the second burst shots.
Note that setting BurstDelayX=0 will remove any delay, allowing the bursts to be fired on consecutive frames.
In Red Alert 2 and Yuri's Revenge
If any BurstDelayX is omitted, it will inherit the value of the first numerically preceding one.
For example, if Burst=3, BurstDelay0=5, and BurstDelay1 is not defined, it will inherit the value of BurstDelay0, which is 5. In other words, each burst shot will fire in 5 frame intervals.
In a slightly more complex example, if Burst=5 and BurstDelay2=10 (other BurstDelayX's are not defined), burst shots 1 through 3 will fire in 1 frame intervals (the default behavior), however burst shots 4 and 5 will fire 10 frames after the preceding shot.