AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Glow plugin (https://forums.alliedmods.net/showthread.php?t=51165)

gorgon 02-12-2007 19:32

Glow plugin
 
i want to build a mod like this

amx_glow red green blue aplha

there is the glow2 in the forums but its not working good
only admins can glow them self,
there is someone can help me build this little plugin?

stigma 02-12-2007 20:01

Re: Glow plugin
 
Use the
Code:
set_user_rendering(index,kRenderFxGlowShell,255,0,0,kRenderNormal,25)

Then make some variables called red, green, yellow etc. with the color information in it.

Lord_Destros 02-13-2007 00:17

Re: Glow plugin
 
Whats wrong with the other 50 glow plugins?

EDIT:
http://forums.alliedmods.net/showthread.php?p=26978 Not exactly what you want but its menu based and works.
http://forums.alliedmods.net/showthread.php?p=171724 More than what you want.
http://forums.alliedmods.net/showthread.php?p=149464 Kind of what you want.
http://forums.alliedmods.net/showthread.php?p=143067 Lots of colors but still not what you want.
http://forums.alliedmods.net/showthread.php?p=12894 Not what you want.

It would probably be easier simply modifying one of those to fit your needs (admin access, etc).

REEDIT:

Errrm, noticed one thats exactly like your request inside one of the all in one plugin packages (lol noticed it on my server).

tripc 02-13-2007 02:00

Re: Glow plugin
 
but i want choose the alpha
you gave me the command, but i want to do it like this in game

amx_glow <name/#userid> Red Green Blue Alpha

this what i'm looking for

stigma 02-13-2007 08:32

Re: Glow plugin
 
Aah okay.. Yhen you could might look for diablo mod, if that still exsists ^^

http://forums.alliedmods.net/showthread.php?p=173021 - (The Stalkers Ring)

But the function your going to use is:

Code:
set_user_rendering(index,kRenderFxNone,255,255,255,kRenderTransAlpha,10)



You can change the transparency by changeing the ammount (The last number, 10).


All times are GMT -4. The time now is 00:40.

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