Raised This Month: $12 Target: $400
 3% 

[USEFUL INCLUDE] Rendering


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pRED*
Join Date: Dec 2006
Old 07-01-2007 , 03:56   [USEFUL INCLUDE] Rendering
Reply With Quote #1

Provides the stock set_rendering(index, FX:fx=FxNone, r=255, g=255, b=255, Render:render=Normal, amount=255)

Also has two enums of all the FX and Render options (with comments where I could find them)

Havn't really tested much but I made smurf bots using FxNone, Glow, 0 r & g, 255 b, amount 150.

[IMG]http://img214.**************/img214/6420/smurfsdh3.jpg[/IMG]
Attached Files
File Type: inc rendering.inc (1.7 KB, 432 views)
pRED* is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 07-03-2007 , 13:36   Re: [USEFUL INCLUDE] Rendering
Reply With Quote #2

Nice, though last time i tried to do this, none of the render effects worked, only the colours. Do the effects work for you?
__________________
Tumblr Me: http://raspberryteen.tumblr.com


// Yarrrr!
Olly is offline
Send a message via MSN to Olly
pRED*
Join Date: Dec 2006
Old 07-03-2007 , 17:14   Re: [USEFUL INCLUDE] Rendering
Reply With Quote #3

I havn't tried..

I decided I wanted to figure out set user rendering like amxx had, then I realised I had no use for it.. So I posted it here so someone else could do something with it..
pRED* is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 07-09-2007 , 01:19   Re: [USEFUL INCLUDE] Rendering
Reply With Quote #4

Make sure when you use render effects you use a variable size of 1 and not the default 4.
__________________

Last edited by sslice; 07-09-2007 at 15:38.
sslice is offline
Ice1
Junior Member
Join Date: Jan 2010
Old 07-28-2011 , 11:23   Re: [USEFUL INCLUDE] Rendering
Reply With Quote #5

Thanks you're a life saver! Have some bacon
Ice1 is offline
joshtrav
Senior Member
Join Date: Sep 2009
Old 07-29-2011 , 00:36   Re: [USEFUL INCLUDE] Rendering
Reply With Quote #6

I am curious if anyone has this working on players. We have successfully rendered fx on props but we were never successful with players.
__________________

joshtrav is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-29-2011 , 17:15   Re: [USEFUL INCLUDE] Rendering
Reply With Quote #7

This should not be used any more, it's fucking ancient and became part of SM core.

SetEntityRenderColor
SetEntityRenderMode
SetEntityRenderFx
__________________
asherkin is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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