Raised This Month: $71 Target: $400
 17% 

Realistic FlashBang


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Hawk552 (427)
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 02-12-2010 , 23:15   Realistic FlashBang
Reply With Quote #1

Realistic FlashBang

Version: 1.0.1

Descripcion:
This is a more realistic Flashbang, I add an effect of hallucination and a sound. Which these effects make your stay completely crazy

Video:
Video

cvar:
PHP Code:
FLenable register_cvar("amx_rfl_enable""1")
FLcolor register_cvar("amx_rfl_color""128 128 128")
FLradius register_cvar("amx_rfl_radius","50")
FLlightcolor register_cvar("amx_rfl_lightcolor","255 255 255")
FLsound register_cvar("amx_rfl_sound""1"
Credits:
Asd - Idea
XxAvalanchexX
- Flashbang Dynamic Light plugin
Arkshine - UTIL_FixedUnsigned16 function link
Ciio & IneedHelp - Video
Attached Files
File Type: sma Get Plugin or Get Source (Realistic_FlashBang.sma - 11222 views - 3.7 KB)
File Type: zip Sounds.zip (183.3 KB, 23836 views)
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).


Last edited by gladius; 02-13-2010 at 11:55.
gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 02-12-2010 , 23:37   Re: Realistic FlashBang
Reply With Quote #2

Admin Commands? I was thinking about Gameplay...

PHP Code:
#define TE_DLIGHT 27 
amxmodx.inc -> messages.inc -> message_const.inc, define is already there.

PHP Code:
public plugin_precache() 
{
    if(
get_pcvar_num(FLsound))
        
precache_generic(Sound)

Remember that plugin_precache is called before plugin_init, so the cvar doesn't exists, just do the mp3 play cvar check or create the cvar in plugin_precache.

about flashbang dlight, I don't see why it should be added into this plugin...

css like ;D (well pev_punchangle doesn't recreate the effect from css)
gjj..
__________________

Last edited by IneedHelp; 02-12-2010 at 23:40.
IneedHelp is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 02-12-2010 , 23:54   Re: Realistic FlashBang
Reply With Quote #3

update 1.0.1:
  • fixed FLsound cvar
  • remove #define TE_DLIGHT 27

todo: video
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
(<|o.o|>)
BANNED
Join Date: Feb 2010
Old 02-13-2010 , 00:01   Re: Realistic FlashBang
Reply With Quote #4

Attach .mp3
(<|o.o|>) is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 02-13-2010 , 00:12   Re: Realistic FlashBang
Reply With Quote #5

added
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 02-13-2010 , 00:19   Re: Realistic FlashBang
Reply With Quote #6

Quote:
Originally Posted by gladius View Post
added
I will test this staturday this sounds kewl...
__________________
Doc-Holiday is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-13-2010 , 00:42   Re: Realistic FlashBang
Reply With Quote #7

Make the RAR a ZIP
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
TucanN#
Veteran Member
Join Date: May 2009
Location: Argentina, Mendoza
Old 02-13-2010 , 14:47   Re: Realistic FlashBang
Reply With Quote #8

nice plugin .P
TucanN# is offline
Send a message via MSN to TucanN#
alias_retaer
Member
Join Date: Jul 2009
Old 02-13-2010 , 14:50   Re: Realistic FlashBang
Reply With Quote #9

nicee
alias_retaer is offline
MouseSplash!
Veteran Member
Join Date: Dec 2009
Location: En Tu Mente!
Old 02-13-2010 , 16:00   Re: Realistic FlashBang
Reply With Quote #10

very nice
MouseSplash! 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:27.


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