Merge pull request #3 from nashmuhandes/BetterDoomBulletPuff

Improve Doom's bullet puff's visuals by only making it translucent wh…
This commit is contained in:
Magnus Norddahl 2023-03-18 21:51:40 +01:00 committed by GitHub
commit 46eeadec44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,8 +62,7 @@ class BulletPuff : Actor
+ALLOWPARTICLES
+RANDOMIZE
+ZDOOMTRANS
RenderStyle "Translucent";
Alpha 0.5;
+FORCEXYBILLBOARD
VSpeed 1;
Mass 5;
}
@ -73,7 +72,7 @@ class BulletPuff : Actor
PUFF A 4 Bright;
PUFF B 4;
Melee:
PUFF CD 4;
PUFF CD 4 A_SetRenderStyle(0.7, STYLE_Translucent);
Stop;
}
}