Fix ridiculously oversized smoke from lava terrain.
This commit is contained in:
parent
0cbf90423d
commit
23492b8e62
2 changed files with 18 additions and 15 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1159 \cu(Wed Nov 6 15:33:00 CET 2024)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r1159 \cu(2024-11-06 15:33:00)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1160 \cu(Fri Nov 8 23:33:38 CET 2024)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r1160 \cu(2024-11-08 23:33:38)\c-";
|
||||
|
|
|
|||
|
|
@ -1927,7 +1927,7 @@ Class SWWMSizzleSmoke : SWWMBaseSplash
|
|||
{
|
||||
double ang, pt, str;
|
||||
Vector3 dir;
|
||||
for ( int i=0; i<2; i++ )
|
||||
for ( int i=0; i<4; i++ )
|
||||
{
|
||||
ang = FRandom[ExploS](0,360);
|
||||
pt = FRandom[ExploS](-90,-30);
|
||||
|
|
@ -1936,7 +1936,7 @@ Class SWWMSizzleSmoke : SWWMBaseSplash
|
|||
let s = SWWMAnimSprite.SpawnAt("SWWMSmallSmoke",pos);
|
||||
s.vel = dir*str+(0,0,.4);
|
||||
s.scolor = Color(1,1,1)*Random[ExploS](192,224);
|
||||
s.scale *= 40.;
|
||||
s.scale *= 8.;
|
||||
s.alpha *= .4;
|
||||
s.SetRenderStyle(STYLE_AddShaded);
|
||||
s.framestep = Random[ExploS](1,3);
|
||||
|
|
@ -1950,17 +1950,20 @@ Class SWWMSizzleSmoke2 : SWWMBaseSplash
|
|||
{
|
||||
double ang, pt, str;
|
||||
Vector3 dir;
|
||||
ang = FRandom[ExploS](0,360);
|
||||
pt = FRandom[ExploS](-90,-30);
|
||||
dir = SWWMUtility.Vec3FromAngles(ang,pt);
|
||||
str = FRandom[ExploS](.25,1.);
|
||||
let s = SWWMAnimSprite.SpawnAt("SWWMSmallSmoke",pos);
|
||||
s.vel = dir*str+(0,0,.15);
|
||||
s.scolor = Color(1,1,1)*Random[ExploS](192,224);
|
||||
s.scale *= 20.;
|
||||
s.alpha *= .3;
|
||||
s.SetRenderStyle(STYLE_AddShaded);
|
||||
s.framestep = Random[ExploS](1,2);
|
||||
for ( int i=0; i<2; i++ )
|
||||
{
|
||||
ang = FRandom[ExploS](0,360);
|
||||
pt = FRandom[ExploS](-90,-30);
|
||||
dir = SWWMUtility.Vec3FromAngles(ang,pt);
|
||||
str = FRandom[ExploS](.25,1.);
|
||||
let s = SWWMAnimSprite.SpawnAt("SWWMSmallSmoke",pos);
|
||||
s.vel = dir*str+(0,0,.15);
|
||||
s.scolor = Color(1,1,1)*Random[ExploS](192,224);
|
||||
s.scale *= 4.;
|
||||
s.alpha *= .3;
|
||||
s.SetRenderStyle(STYLE_AddShaded);
|
||||
s.framestep = Random[ExploS](1,2);
|
||||
}
|
||||
A_AlertMonsters(swwm_uncapalert?0:300,AMF_EMITFROMTARGET);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue