From 888f33a4f733c144c23274258cdd89c731c8c297 Mon Sep 17 00:00:00 2001 From: Phil25 Date: Thu, 4 Jan 2024 07:42:56 +0100 Subject: [PATCH] Use transparency instead of scale for Sunlight Spear carrier --- scripting/rtd/perks/sunlightspear.sp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripting/rtd/perks/sunlightspear.sp b/scripting/rtd/perks/sunlightspear.sp index 4b3c0da..1f4cbcc 100644 --- a/scripting/rtd/perks/sunlightspear.sp +++ b/scripting/rtd/perks/sunlightspear.sp @@ -117,7 +117,9 @@ void SunlightSpear_OnVoice(const int client) SetEntPropEnt(iCarrier, Prop_Send, "m_hOwnerEntity", client); DispatchKeyValue(iCarrier, "model", MODEL_PROJECTILE); - DispatchKeyValue(iCarrier, "modelscale", "0.1"); + + SetEntityRenderMode(iCarrier, RENDER_TRANSCOLOR); + SetEntityRenderColor(iCarrier, .a=0); DispatchSpawn(iCarrier); ActivateEntity(iCarrier);