AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Server Addon: Infection Mode 2.0 || Real Infection (https://forums.alliedmods.net/showthread.php?t=142385)

DjReactive 11-05-2010 07:40

[ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
1 Attachment(s)
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.

albert123 11-05-2010 08:47

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
Nice! I'll test it later..

Dabb 11-05-2010 08:53

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
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..."


dias 11-05-2010 09:46

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
Let's Check It

abdul-rehman 11-05-2010 09:56

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
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 !

DjReactive 11-05-2010 10:00

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
Thanks, I know, but for me why that didn't work fashions when I so wrote

abdul-rehman 11-05-2010 10:09

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
Quote:

Originally Posted by DjReactive (Post 1342443)
Thanks, I know, but for me why that didn't work fashions when I so wrote

You need to improve your english dude !! :|

georgik57 11-05-2010 10:18

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
nice job

DarkNill 11-05-2010 15:01

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
DjReactive
Плагин хороший, спасибо! Если ты не против если я у себя на сайте выложу!

Weezer 11-05-2010 16:59

Re: [ZP] Server Addon: Infection Mode 2.0 || Real Infection
 
Awesome!


All times are GMT -4. The time now is 19:35.

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