Raised This Month: $94 Target: $400
 23% 

Glow2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   v3x (159)
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 04-10-2006 , 00:37   Glow2
Reply With Quote #1

Glow2


Remember the old amx_glow command, where you could go invisible and glow any color you want? Well its back.

The glow command I have, is where I have to pick a color, not make my own color. But if I missed something and there is still a glow command like this one, please delete this.


Description
=======

Allows Admins to make players glow any color witch any visibility they want.

Please note the glow wears off every new round.

I don't see why this shouldn't work on any mod, but I've only tested it on CS 1.6

Commands
=======

amx_glow2 <target> <red> <green> <blue> <alpha>

target - Name of the player you want to make glow.
red - How much red you want in the glowing, 0 is none 255 is full effect.
green - How much green you want in the glowing, 0 is none 255 is full effect.
blue - How much blue you want in the glowing, 0 is none 255 is full effect.
alpha - How transperent(invisible) the target is. 0 is completely invisible, 255 is normal.

Ex.
==
amx_glow2 Bob 0 0 0 0 - Makes Bob completly invisible.


Modules
=====

Fun

RGB List
========

Click Here
Attached Files
File Type: sma Get Plugin or Get Source (glow2.sma - 4001 views - 2.6 KB)

Last edited by Kensai; 03-20-2007 at 22:39.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 04-25-2006 , 20:38  
Reply With Quote #2

Does this work okay for everyone?

Bugs? Isssues? Suggestions?
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-25-2006 , 21:12  
Reply With Quote #3

To get rid of the render effects you can simply do:
Code:
set_user_rendering(id);

Also, you do not need that if statement to check if the target is alive. Read more on the cmd_target flags in the funcwiki.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-25-2006 , 21:29  
Reply With Quote #4

There are entirely too many glow plugins already. However, I don't think any of them allow you to set the alpha.

Is anyone aware of one that does? Other than this one, of course.
__________________
Brad is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 04-25-2006 , 21:34  
Reply With Quote #5

I remember the very old one did, which is why I liked it. But it got changed to names of colors only.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-25-2006 , 21:36  
Reply With Quote #6

the "all in one" plugin is the only other glow plugin I've ever used, has this command in it (not saying its same script, but its the same command syntax). Of course that plugin is indeed CS only.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 04-25-2006 , 21:42  
Reply With Quote #7

Ah okay that must have been where I saw it.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 04-26-2006 , 11:56  
Reply With Quote #8

I have a little problem using it. I wanted to add it to the clcmd.ini to be able to use it from the menu. But if i use it from the mene not the suspected player starts glowing, only i glow or get invisible!
Used that code to include it into the clcmd.ini
Code:
"glow red" 		"amx_glow2 #%userid% 255 0 0 255"		 	"bd" "u"
"glow green"		"amx_glow2 #%userid% 0 255 0 255"		 	"bd" "u"
"glow blue"		"amx_glow2 #%userid% 0 0 255 255"		 	"bd" "u"
"invisible"		"amx_glow2 #%userid% 0 0 0 0"				"bd" "u"
Btw, i cannot use it on my own, or better, it looks like i cannot use it on my own as my name is not highlightened in the clientcommand menu due to imunity. How can i override that or do i have to put these command into another menu?
__________________

Mordekay is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-26-2006 , 12:27  
Reply With Quote #9

Kensai
Attached Files
File Type: sma Get Plugin or Get Source (glow2.sma - 1366 views - 1.2 KB)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 04-26-2006 , 21:12  
Reply With Quote #10

Thanks.

New version let's you set glowing on yourself.

Updated****
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
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 23:20.


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