AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Non Sprite Set To Glow ? [SOLVED] (https://forums.alliedmods.net/showthread.php?t=48171)

The Specialist 12-06-2006 15:29

Non Sprite Set To Glow ? [SOLVED]
 
in my "Bullet Glow Effects " plugin , i use set_rendering to make my bulelt entitys glow . But then the console gets spammed with "non-sprite set to glow " . Now its pretty self explanatory , but why cant i use set_renderign to make an enity glow ? how else can i make the bullets glow with out usign a sprite ? :|

dutchmeat 12-06-2006 15:49

Re: Non Sprite Set To Glow ?
 
change the set_rendering argument, like this;

Code:


set_user_rendering(entity,kRenderFxGlowShell,255,0,0,kRenderNormal,100) //100 to test


The Specialist 12-06-2006 16:05

Re: Non Sprite Set To Glow ?
 
:up: holy fuck shit that worked . thanks ++karma you ll get credit for help

dutchmeat 12-06-2006 16:07

Re: Non Sprite Set To Glow ?
 
offcourse it works :)
Decrease 100 (last argument) to decrease the size of the shell.
and ",255,0,0," are color codes, but you already knew :)


All times are GMT -4. The time now is 07:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.