Skip to content

Commit

Permalink
Use transparency instead of scale for Sunlight Spear carrier
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil25 committed Jan 4, 2024
1 parent 8cf62cc commit 888f33a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripting/rtd/perks/sunlightspear.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 888f33a

Please sign in to comment.