Debris anim in Lightning.Bolts= causes crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
New
|
Medium
|
Unassigned |
Bug Description
More precisely, setting a debris anim in the Lightning.Bolts= tag causes crashes when the "bolt" hits a building, but not if it hits an empty space, a unit or infantry. I suspect that this is somehow caused by the fact that debris anims don't spawn from cells occupied by buildings, but the game tries to draw a bolt there anyway.
Meteors (or any other debri anim spawning from the sky) work without any problems. Only anims that spawn from the ground cause a crash. Debris spawning from weapons and warheads are also free from this (perhaps the game makes some checks before spawning them?).
Didn't check other superweapons.
##### STEPS TO REPRODUCE #####
Set a debris anim in the Lightning.Bolts= tag. It has to spawn from the ground. Use the code below, or try using any animation with Bouncer=yes.
Elasticity=0.0
MinZVel=18.0
MaxXYVel=6.0
LoopStart=0
LoopEnd=14
LoopCount=-1
Rate=300
RandomRate=220,500
Bouncer=yes
##### ADDITIONAL INFORMATION #####
I will provide the crash data if necessary.
Wait, what? You set the superweapons to spawn debris in place of a lightning bolt or other regular animation? To be honest I am not surprised that caused a crash. Why would you want debris flying out from a storm cloud in place of any other bolt anim?