Raised This Month: $100 Target: $400
 25% 

ESF Glow By Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Earth's Special Forces        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-25-2009 , 09:03   ESF Glow By Weapon
Reply With Quote #1

ESF Glow By Weapon

Description:

- I never seen a plugin like this before, in ESF.
- With this plugin you will glow by weapon from your hands.
- Ex: If you hold a kamehameha you will glow in blue.


Cvars:

- esf_glow 1 - enabled / 0 - disabled
- esf_glow_tickness 70 (here set the glow tickness)


Changelog:

- version 2.1 first release
- version 2.2 updated with esf weapons id
- version 3.0 last update


Note:

- You need something please get esf_util.inc from here http://forums.alliedmods.net/showthread.php?t=88720


Credits:

- Special thanks goes to ConnorMcLeod
- Exolent




Screenshots:

[IMG]http://img294.**************/img294/6851/ddd.th.png[/IMG] [IMG]http://img294.**************/img294/426/alb.th.png[/IMG]
[IMG]http://img17.**************/img17/1255/verdej.th.png[/IMG] [IMG]http://img262.**************/img262/75/picologalben.th.png[/IMG]


Attached Files
File Type: sma Get Plugin or Get Source (ESF_Glow_By_Weapon.sma - 860 views - 2.4 KB)
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx


Last edited by tuty; 02-28-2012 at 12:36.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-25-2009 , 13:59   Re: ESF Glow By Weapon
Reply With Quote #2

Wtf, were's my post ? o.O
__________________

anakin_cstrike is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 02-25-2009 , 14:01   Re: ESF Glow By Weapon
Reply With Quote #3

this is a new post
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-25-2009 , 14:04   Re: ESF Glow By Weapon
Reply With Quote #4

PHP Code:
255255255;

// should'nt it be like

255;
255;
255
__________________
xPaw is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-25-2009 , 14:07   Re: ESF Glow By Weapon
Reply With Quote #5

Why are you using player prethink ?
You should only detect weapon change, even if you do this in player prethink (that would really be a bad idea...)
__________________
- tired and retired -
ConnorMcLeod is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-25-2009 , 14:31   Re: ESF Glow By Weapon
Reply With Quote #6

Quote:
Originally Posted by xPaw View Post
PHP Code:
255255255;

// should'nt it be like

255;
255;
255

yes but it works in my method... o.O

@anakin.. the treat was deleted because it was a bug.... is now a new post

@ ConnorMcLeod that thing was in my mind on that time.. wait i will do a update
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2009 , 17:55   Re: ESF Glow By Weapon
Reply With Quote #7

tickness thickness
__________________
fysiks is offline
Old 02-25-2009, 18:17
joaquimandrade
This message has been deleted by joaquimandrade.
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 02-25-2009 , 19:29   Re: ESF Glow By Weapon
Reply With Quote #8

Overall the code looks good, I like how you used fakemeta to take place of the Fun module. The thing I suggest is replace the ForwardPlayerPreThink().
BOYSplayCS is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2009 , 19:48   Re: ESF Glow By Weapon
Reply With Quote #9

rendering should last the lifetime of the entity (right?) so can you use a spawn event to set the rendering instead of prethink?
__________________
fysiks is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 02-25-2009 , 19:50   Re: ESF Glow By Weapon
Reply With Quote #10

I believe rendering only lasts until you die. I'm not sure though.
BOYSplayCS 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 05:16.


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