Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [ZP] Server Addon: Infection Mode 2.0 || Real Infection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DjReactive
Member
Join Date: Sep 2010
Location: Russia
Old 11-05-2010 , 07:40   [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #1

INFECTION MODE 2.0

This Last Version: 2.0

Discription:
This plugin improves a usual infection, doing by its more realistic. Now except the first zombie, it can appear infected some more (depending on cvars), them in advance warn about that that they are infected.

Cvars:
Quote:
zp_infect_players 12 //the Minimum quantity of players for activation of chance of it a fashion
zp_infect_chance 75 //Chance (in %) that people will be infected still
zp_infect_mintime 12 //the Minimum time of infection (In seconds)
zp_infect_maxtime 25 //the Minimum time of infection (in seconds)
zp_infect_maxplayers 5 //the Maximum number of people which can be infected
zp_infect_screen 1 //Beautiful Effect of infection
zp_infect_hud 1 //to Warn all about the one who will be soon infected?
zp_infect_sound 1 //to Lose a sound before the player will be infected?
Credits:
Re.Act!ve - Created Plugin

Changelog:
Quote:
v. 1.0 - First Plugin Released
v. 1.1 - Added Cvars.
v. 1.2 - Fixed bug on Random HUD Messages to infection
--- Testing plugin. Fixing bugs
v. 1.8 - Full fixed!!! Plugin released.
v. 2.0 - Added Effects and sounds.
Attached Files
File Type: sma Get Plugin or Get Source (zp_addon_infection2.0.sma - 4277 views - 4.3 KB)
__________________
28 Weeks Later | Zombie Plague
IP: 217.199.213.9:27049

DjReactive is offline
Send a message via ICQ to DjReactive
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 11-05-2010 , 08:47   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #2

Nice! I'll test it later..
__________________
albert123 is offline
Dabb
Senior Member
Join Date: Sep 2010
Location: Romania - Hunedoara
Old 11-05-2010 , 08:53   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #3

PHP Code:
show_hudmessage(0"%s has infected^nIt will be fast it the zombie"name); 
i don't understand what you mean
maybe :
PHP Code:
show_hudmessage(0"%s is infected^nHe will be a fast zombie"name); 
or has been infected instead of is infected

and here :
PHP Code:
client_print(idprint_center"You is infected!!! Sorry..."
must be
PHP Code:
client_print(idprint_center"You are infected!!! Sorry..."
Dabb is offline
Send a message via Yahoo to Dabb
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 11-05-2010 , 09:46   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #4

Let's Check It
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-05-2010 , 09:56   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #5

Instead of this in round start forward
Code:
if (!zp_is_swarm_round() && !zp_is_plague_round() && !zp_is_survivor_round() && !zp_is_nemesis_round() ... code)
You can simple check the game mode like this:
Code:
if (gamemode == MODE_INFECTION || gamemode == MODE_MULTI ... code)
so that it will be more effecient

And
Instead of fm_set_user_rendering, you should use set_user_rendering from the fun module since they will be more effecient !
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
DjReactive
Member
Join Date: Sep 2010
Location: Russia
Old 11-05-2010 , 10:00   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #6

Thanks, I know, but for me why that didn't work fashions when I so wrote
__________________
28 Weeks Later | Zombie Plague
IP: 217.199.213.9:27049

DjReactive is offline
Send a message via ICQ to DjReactive
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-05-2010 , 10:09   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #7

Quote:
Originally Posted by DjReactive View Post
Thanks, I know, but for me why that didn't work fashions when I so wrote
You need to improve your english dude !!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-05-2010 , 10:18   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #8

nice job
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
DarkNill
Junior Member
Join Date: Dec 2009
Old 11-05-2010 , 15:01   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #9

DjReactive
Плагин хороший, спасибо! Если ты не против если я у себя на сайте выложу!
__________________

Last edited by DarkNill; 11-05-2010 at 15:06.
DarkNill is offline
Send a message via ICQ to DarkNill Send a message via Skype™ to DarkNill
Weezer
BANNED
Join Date: Oct 2010
Old 11-05-2010 , 16:59   Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
Reply With Quote #10

Awesome!
Weezer is offline
Reply



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 03:46.


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