Raised This Month: $12 Target: $400
 3% 

Virus SmokeNade [1.3]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-01-2008 , 11:44   Virus SmokeNade [1.3]
Reply With Quote #1

Virus SmokeNade
1.3
Translations: Click!

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
color for light, trail and player glow:
Code:
new const g_Colors[ g_NadeColors ] = { 0, 255, 0 };
PHP Code:
// access needed to use the command
#define ACCESS                ADMIN_BAN
// comand this if you don't want an information message at infection by command
#define COMMAND_INFO

// new smoke models
#define V_MODEL         "models/v_virusnade.mdl"
#define W_MODEL            "models/w_virusnade.mdl" 
Admin command:
amx_infect <player> <hp> - infect a player with a specific amount of hp


Clients command:

say & say_team /antidote

Modules: Fakemeta

Screenshots:

Attached Files
File Type: sma Get Plugin or Get Source (virusnade.sma - 9416 views - 29.1 KB)
File Type: rar models.rar (305.2 KB, 6966 views)
__________________


Last edited by anakin_cstrike; 01-01-2009 at 09:59. Reason: Version 1.3
anakin_cstrike is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 10-01-2008 , 11:50   Re: Virus SmokeNade
Reply With Quote #2

WOW
Those screenshots look good!
I might have to test this later
__________________
minimiller is offline
Send a message via MSN to minimiller
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 10-01-2008 , 11:57   Re: Virus SmokeNade
Reply With Quote #3

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. All and all, nice effort, gj.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-01-2008 , 12:01   Re: Virus SmokeNade
Reply With Quote #4

I like 'virus' more...but 'radioactiv' sounds owesome too
Post the parts where i've wrote with mistakes.
__________________

anakin_cstrike is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 10-01-2008 , 13:39   Re: Virus SmokeNade
Reply With Quote #5

Quote:
Originally Posted by anakin_cstrike View Post
I like 'virus' more...but 'radioactiv' sounds owesome too
Post the parts where i've wrote with mistakes.
Well yeah, I really don't have anything better to do right now, so here goes:

Code:
You are not virused! ==> You don't have the virus!  ... or ... You're not infected with the virus!

You've allready bought an antidote! ==> You've already bought the antidote! 

%s is virused ! ==> %s has the virus ... or... %s has been infected with the virus! (the latter would be better, IMO)

Also, you should refer to the antidote as "the antidote", rather than "an antidote."
That's all I can come up with right now, remember that English isn't my Mother's Tonque either, so I am expecting a shitstorm and alot more grammar nazis
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
ENNEk
Junior Member
Join Date: Aug 2008
Old 10-01-2008 , 12:14   Re: Virus SmokeNade
Reply With Quote #6

Good job, interacts with the ZP?
Sweet dude. nice compilation.
__________________
Something else will...

ENNEk is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 10-01-2008 , 12:33   Re: Virus SmokeNade
Reply With Quote #7

Looks Great! tested on my Alienated Raptor Server and it kicks a**
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-01-2008 , 13:58   Re: Virus SmokeNade
Reply With Quote #8

Done...i know they were bad writen.
__________________

anakin_cstrike is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 10-01-2008 , 14:43   Re: Virus SmokeNade
Reply With Quote #9

Quote:
Originally Posted by anakin_cstrike View Post
Done...i know they were bad writen.
Well, that really isn't something to be ashamed about (not saying you are). A lot of people in this community are from non-English-speaking areas, and that's just something we have to live with. Besides, that's why we also can teach and help eachother.

Anyhow, as I said, otherwise good job with this plugin, hopefully someone confirms that my English translations are correct, and also more people confirm that this plugin works.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-01-2008 , 16:46   Re: Virus SmokeNade
Reply With Quote #10

Thanks for confirmation, also for approval.
__________________

anakin_cstrike 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 21:52.


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