Jump to content

LightningScatterDelay: Difference between revisions

From ModEnc²
en>DeathFish
Type Error and Another Effect
m 3 revisions imported
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
|name=LightningScatterDelay
|name=LightningScatterDelay
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=integer
|values={{Values|integer}}
|default=0 (?)
|default=0
|types={{Categ|General}}
|types={{Categ|General}}
|ra2=yes
|ra2=yes
Line 9: Line 9:
|rp=yes
|rp=yes
}}
}}
The delay in frames between random lightning bolts from a Super Weapon with [[Type]]=LightningStorm. Decreasing this appears to inflict a serious hit on game speed and performance as the game has to perform many calculations for each shot - slowing this process down will thus slow the game down.
The delay in frames between random lightning bolts from a Super Weapon with {{f|Type|LightningStorm|link}}. Decreasing this appears to inflict a serious hit on game speed and performance as the game has to perform many calculations for each shot - slowing this process down will thus slow the game down.
*It not only controls the interval, but also the number of clouds generated each time.
*It not only controls the interval, but also the number of clouds generated each time.
**Of course, under [[Ares]], you can use the '''Lightning.ScatterDelay''' and '''Lightning.ScatterCount''' statements to define them separately.
**Of course, under [[Ares]], you can use the [[Lightning.ScatterDelay]] and [[Lightning.ScatterCount]] statements to define them separately.

Latest revision as of 21:56, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: LightningScatterDelay
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: General


The delay in frames between random lightning bolts from a Super Weapon with Type=LightningStorm. Decreasing this appears to inflict a serious hit on game speed and performance as the game has to perform many calculations for each shot - slowing this process down will thus slow the game down.