Smirftsch wrote on Jun 3
rd, 2016 at 2:14pm:
I'm not willing to add yet another workaround due to some custom map glitch and removed this check again.
The standard classes may spawn smoke underwater too. For example, such weapons as Automag, Minigun, Rifle, and CARifle spawn SpriteSmokePuff (when a bullet is supposed to hit a wall) independently of bWaterZone. Besides, SmokeColumn (which can be spawned by a KraalBolt) is not covered by the given check, because it's not a subclass of SpriteSmokePuff. I think that the check inside SpriteSmokePuff should be removed, but similar checks should be added to some classes that could spawn smoke effects in water zones. And, BTW, I don't see reasons to disallow presence of a WallHitEffect (which is inherited from SpriteSmokePuff) in a fluid.
Another strange change was made in UnrealI.FlakShell:
226b:
function Explode(vector HitLocation, vector HitNormal)
{
local vector start;
HurtRadius(damage, 150, 'exploded', MomentumTransfer, HitLocation);
start = Location + 10 * HitNormal;
Spawn( class'FlameExplosion',,,Start);
Spawn(class 'MasterChunk',,,Start);
Spawn( class 'Chunk2',, '', Start);
Spawn( class 'Chunk3',, '', Start);
Spawn( class 'Chunk4',, '', Start);
Spawn( class 'Chunk1',, '', Start);
Spawn( class 'Chunk2',, '', Start);
Destroy();
}
227i/j:
function Explode(vector HitLocation, vector HitNormal)
{
local vector start;
HurtRadiusProj(damage, 150, 'exploded', MomentumTransfer, HitLocation);
start = Location + 10 * HitNormal;
if (Region.Zone.bWaterZone)
{
Spawn( class'Bubble',,,Start);
PlaySound (Class'FlameExplosion'.Default.EffectSound1,,3.0);//missing from flameexplosion
}
else Spawn( class'FlameExplosion',,,Start);
Spawn( class 'MasterChunk',,,Start);
Spawn( class 'Chunk2',,, Start);
Spawn( class 'Chunk3',,, Start);
Spawn( class 'Chunk4',,, Start);
Spawn( class 'Chunk1',,, Start);
Spawn( class 'Chunk2',,, Start);
Destroy();
}
Why is spawning a FlameExplosion suppressed in water zones? Note that there is no such a suppression for the projectiles of Eightball, CARifle, RocketLauncher, GrenadeLauncher, and for GasbagBelch.