Virus SmokeNade [1.3]
2 Attachment(s)
Changelog: * [ 1.3 ] - added screenshake - added infection command * [ 1.2 ] - changing player's view angles at infection - added new model to smoke - change method of setting player's health * [1.1] - removed cstrike module * [ 1.0 ] - first released Description: General - this is a 'new' smoke grenade...wich "contains" a virus - trail and dynamic light effects - the nade has a green glow - at explosion, if you are in the radius zone...you will be infected with the virus and every x seconds, your hp begins to decrease with y...also your screen starts to fade and an icon apears and flashes on the left of the screen...oh, and you'll glow in green for x seconds. (all setable ) - the smokegrenade has a explosion damage - you maxspeed wil be changed depending on the seconds that have passed after you've been infected - if you thuch/touched by a player that is infected...you will be infected too - if you kill a player with the smokenade, he will explode forming 3 red cylinders. - player infection can be announced - when a player is infected, his screen will go in a wierd angle (thanks v3x for angle values) - the nade has a new mode - NEW! Version 1.3: at infection, the player's screen will shake Antidote - you can buy an antidot for a specific amount of $ (cvar) - the antidote is taken in x seconds (cvar) - a bar appears on the players screen, and disappears when the antidote is taken Installation: 1. Copy virusnade.sma to amxmodx/scripting 2. Copy virusnade.amxx to amxmodx/plugins 3. Extract 'model.rar' to cstrike/models dir. Cvars: virusnade_plugin 1/0 - enable/disable plugin (default 1) virusnade_impactdamage - damage for smokenade at impact (default 10) virusnade_damageinterval - interval in seconds for hp decreasing (default 3) virusnade_intervaldamage - damage done at interval seconds, every x seconds (default 5) virusnade_glow 1/0 - enable/disable glowing player when infected (default 1) virusnade_glowduration - duration in seconds for glow effect (default 2) virusnade_trail1/0 - enable/disable nade trail (default 1) virusnade_touch 1/0 - enable/disable infection at player touch (default 1) virusnade_changespeed 1/0 - enable/disable changing speed (default 1) virusnade_announce 1/0 - enable/disable player infection annoucement (default 1) virusnade_antidote 1/0 - enable/disable the possibility to buy antidote (default 1) virusnade_antidotecost - the cost for the antidote (default 1500) virusnade_antidoteduration - duration in seconds before the antidote is taken (default 10) virusnade_antidoteonlyknife 1/0 - enable/disable option that allows the player to play only with the knife while taking the antidote (default 1) virusnade_antidotebuyzone 1/0 - enable/disable buying the antidote only in the buyzone (default 1) virusnade_angles 1/0 -- enable/disable changing player's view angles at infection (default 1 ) virusnade_newmodel 1/0 -- enable/disable changing smoke model (default 1 ) radius can be changed from here: Code:
#define radius 200.0 Code:
new const g_Colors[ g_NadeColors ] = { 0, 255, 0 }; PHP Code:
amx_infect <player> <hp> - infect a player with a specific amount of hp Clients command: say & say_team /antidote Modules: Fakemeta Screenshots: [IMG]http://img225.**************/img225/498/ss2ti2.th.jpg[/IMG] [IMG]http://img211.**************/img211/8052/ss3ua7.th.jpg[/IMG] [IMG]http://img352.**************/img352/5076/ss5az4.th.jpg[/IMG] [IMG]http://img527.**************/img527/2525/ss7bq5.th.jpg[/IMG][IMG]http://img527.**************/images/thpix.gif[/IMG][IMG]http://img406.**************/img406/1488/60320678bw1.th.jpg[/IMG][IMG]http://img406.**************/images/thpix.gif[/IMG] [IMG]http://img150.**************/img150/7254/ssww0.th.jpg[/IMG] [IMG]http://img527.**************/images/thpix.gif[/IMG] |
Re: Virus SmokeNade
WOW
Those screenshots look good! I might have to test this later :) |
Re: Virus SmokeNade
The screenshots look cool + the script looks clean. Someone ought to change the announcements to proper English though.
Anywho, if I did this, I'd call it a radioactive grenade, because it would make more sense to me, but taking antidote to that would be ridicolous. :D All and all, nice effort, gj. :) |
Re: Virus SmokeNade
I like 'virus' more...but 'radioactiv' sounds owesome too:)
Post the parts where i've wrote with mistakes. |
Re: Virus SmokeNade
Good job, interacts with the ZP?
Sweet dude. nice compilation. |
Re: Virus SmokeNade
Looks Great! tested on my Alienated Raptor Server and it kicks a**
|
Re: Virus SmokeNade
Quote:
Code:
You are not virused! ==> You don't have the virus! ... or ... You're not infected with the virus! |
Re: Virus SmokeNade
Done...i know they were bad writen.
|
Re: Virus SmokeNade
This plugin is so cool. I will test it now. :)
|
Re: Virus SmokeNade
Also need confirmation.
|
All times are GMT -4. The time now is 17:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.