From 8fef2c8e712f6784ef1d470d93e27ae528fa7e8a Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Sun, 19 Mar 2023 04:12:53 +0800 Subject: [PATCH] Improve Doom's bullet puff's visuals by only making it translucent when the sprite appears smoke-ey, and also always billboard it --- wadsrc/static/zscript/actors/doom/doommisc.zs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wadsrc/static/zscript/actors/doom/doommisc.zs b/wadsrc/static/zscript/actors/doom/doommisc.zs index a761f94e0..c4e800eba 100644 --- a/wadsrc/static/zscript/actors/doom/doommisc.zs +++ b/wadsrc/static/zscript/actors/doom/doommisc.zs @@ -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; } }