Raised This Month: $231 Target: $400
 57% 

set_user_rendering effects


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
walkero
Junior Member
Join Date: Feb 2011
Location: Bulgaria
Old 03-21-2011 , 19:51   set_user_rendering effects
Reply With Quote #1

Hi! I was wondering if it's possible to get some different effects beside the kRenderFxGlowShell. I already tried this:

PHP Code:
set_user_rendering(id,kRenderFxPulseFast,r,g,b,kRenderNormal,25
But it didn't work at all. So far it seems that only GlowShell is working. I appreciate any help. Thanks in advance

btw, I saw this pulsing effect in a kz server like 3 years ago and I'm pretty sure that it's possible..
walkero is offline
Send a message via Skype™ to walkero
gtpunkt
Veteran Member
Join Date: Dec 2008
Location: Berlin
Old 03-22-2011 , 03:07   Re: set_user_rendering effects
Reply With Quote #2

I can show you the kz plugin what you talking about
gtpunkt is offline
Send a message via Skype™ to gtpunkt
walkero
Junior Member
Join Date: Feb 2011
Location: Bulgaria
Old 03-22-2011 , 04:18   Re: set_user_rendering effects
Reply With Quote #3

Quote:
Originally Posted by gtpunkt View Post
I can show you the kz plugin what you talking about
I'd like to see that
__________________
walkero is offline
Send a message via Skype™ to walkero
gtpunkt
Veteran Member
Join Date: Dec 2008
Location: Berlin
Old 03-22-2011 , 18:42   Re: set_user_rendering effects
Reply With Quote #4

here,but Im not 100% sure if that what you talking about.
in this kz mod you have glowmenu
Attached Files
File Type: sma Get Plugin or Get Source (kz_dajrokan.sma - 344 views - 102.0 KB)
gtpunkt is offline
Send a message via Skype™ to gtpunkt
walkero
Junior Member
Join Date: Feb 2011
Location: Bulgaria
Old 03-22-2011 , 18:57   Re: set_user_rendering effects
Reply With Quote #5

Thanks, but I have this plugin for ages and it doesn't rly help. I already checked all of the plugins I got for glowing effects and stuff. My idea is how to set a glowing on player with blinking effect or smth? Is it possible? (even tho I'm sure it is)
__________________
walkero is offline
Send a message via Skype™ to walkero
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 03-22-2011 , 19:06   Re: set_user_rendering effects
Reply With Quote #6

Not all Render effects work with kRenderNormal. You might have to mix and match them.

Code:
/* Render for set_user_rendering() */
enum {
	kRenderNormal = 0,		/* src */
	kRenderTransColor,		/* c*a+dest*(1-a) */
	kRenderTransTexture,		/* src*a+dest*(1-a) */
	kRenderGlow,			/* src*a+dest -- No Z buffer checks */
	kRenderTransAlpha,		/* src*srca+dest*(1-srca) */
	kRenderTransAdd,		/* src*a+dest */
};

/* Fx for set_user_rendering() */
enum {
	kRenderFxNone = 0,
	kRenderFxPulseSlow,
	kRenderFxPulseFast,
	kRenderFxPulseSlowWide,
	kRenderFxPulseFastWide,
	kRenderFxFadeSlow,
	kRenderFxFadeFast,
	kRenderFxSolidSlow,
	kRenderFxSolidFast,
	kRenderFxStrobeSlow,
	kRenderFxStrobeFast,
	kRenderFxStrobeFaster,
	kRenderFxFlickerSlow,
	kRenderFxFlickerFast,
	kRenderFxNoDissipation,
	kRenderFxDistort,		/* Distort/scale/translate flicker */
	kRenderFxHologram,		/* kRenderFxDistort + distance fade */
	kRenderFxDeadPlayer,		/* kRenderAmt is the player index */
	kRenderFxExplode,		/* Scale up really big! */
	kRenderFxGlowShell,		/* Glowing Shell */
	kRenderFxClampMinScale,		/* Keep this sprite from getting very small (SPRITES only!) */
};
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
walkero
Junior Member
Join Date: Feb 2011
Location: Bulgaria
Old 03-23-2011 , 06:01   Re: set_user_rendering effects
Reply With Quote #7

@Emp`: I already tried all of the FX and render effects in all possible ways, but nothing happens except for FxGlowShell. I think Imma giving up this shit cuz it's getting on my nervers, srsly..
__________________
walkero is offline
Send a message via Skype™ to walkero
walkero
Junior Member
Join Date: Feb 2011
Location: Bulgaria
Old 03-24-2011 , 05:05   Re: set_user_rendering effects
Reply With Quote #8

ok, I found some solution (not as expected but..) and here's the code if someone else is interested

PHP Code:
set_user_rendering(idkRenderFxGlowShellREDGREENBLUE,  kRenderTransAdd25
That's very similar to the pulsing effect, which I managed to work, but it changes only the player's transparency. Problem half-solved
__________________
walkero is offline
Send a message via Skype™ to walkero
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 20:38.


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