AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP50] Addon: Day-Night system ( Updated 1.3) (https://forums.alliedmods.net/showthread.php?t=217780)

Catastrophe 06-07-2013 12:12

[ZP50] Addon: Day-Night system ( Updated 1.3)
 
1 Attachment(s)
[ZP50] Addon: Day-Night system (Update 1.3)

Description:-

Well this plugin basically allows u to make your game more INTERESTING and REALISTIC by adding a system that will add day and night to your zombie mod. First of all the round will begin with medium lighting, then after X(CVAR) amount of seconds the light will go bright and again after the same amount of seconds the light will go brighter until it's noon, after that again after X(CVAR) amount of seconds the light will become dim, and then again after the same amount of seconds it will get more darker, this will continue until the night comes. (zp_lighting a).

For a twist i also added another part (Can be enabled by CVAR), that will turn all the zombies or a random zombie (Editable by cvar) into nemesis when there is nightfall. Just to make the game more interesting.

Also there is a power system(update1.2) , Enabled and disabled by cvar. At night zombie will have their damage multiplied (can be edited by Cvar), while in the day humans will have their damage mutiplied (by the same amount which zombies damage is multiplied).

Credits:-

Me:- Code and Idea :D
Wicho (Idea of adding sounds)

To Do: -

Any suggestions ?

Bugs : -

None. Report if u find any.

Authors Note:-

Any suggestions, requests, ideas etc are welcomed, but post them here dont PM me !!!
Hope u all like it :)

I'm posting this here because ppl no longer read the Sub plugin submission section :P

Cvars:-

zp_dns_mode - If it is set to 1 the plugin will use mp_roundtime and do aome calculations for the time to change the light, if it set to anything other than 1 then the plugin will use the below cvar. (Def - 1)

zp_dns_hud_enable - If it is set to 1 the HUD will be shown, else it will disabled.

zp_dns_change_time - It is the duration after which the light will get darker everytime. (Def - 15.0) (I suggest not to edit this cvar unless u knw wht u r doing or your roundtime is not equal to 5 mins)

zp_dns_nem_night - There are two modes for this cvar (Def- 1)(0 = disabled)
Mode 1:- A random zombie after the nightfall will turn into a nemesis.
Mode 2:- All zombies will turn into nemesis after the nightfall

zp_dns_night_zombie_power - will zombies get their damage multiplied at night ? (Def -1)

zp_dns_day_human_power - will humans get their damage multiplied at day ? (Def -0)

zp_dns_power_multiplier - the common damage multiplier for the above cvars.

Change log:-

v1.1
Added a countdown to nightfall & a status message to display current time i.e: Morning, Noon, Evening, Night.

Also made it a little better by starting with "zp_lighting z" (medium darkness[morning]) then it will go to "zp_lighting y" (heavy lighting[noon]) and finally "zp_lighting a" (night) via evening.

v1.2 Added a couple of new cvars, A sound to notify that it's night. Added power system.

v1.3 Added modes for the plugin, if mode is set to 1 it will use zp_roundtime and decide automatically what time to switch the lighting, if mode is set to anything other than that, it will use the zp_dns_change_time , Added a cvar do enable/disable HUD notice.



IMPORTANT NOTE:-

Day remains until there is even a little bit light left.

While night remains only for this "zp_dns_change_time" much time + whatever time is left for the round to finish.

I also could not support zp43 anymore so no zp43 version FOR NOW .... if any1 can keep converting with me for zp43... i'd be grateful

Download Sound Here
And then put it in cstrike/sound/zombie_plague

bat 06-07-2013 13:29

Re: [ZP50 + ZP43] Addon: Day-Night system
 
N1ce work :up:

RateX 06-07-2013 13:48

Re: [ZP50 + ZP43] Addon: Day-Night system
 
Very original, Good Job :)

Copper 06-07-2013 15:40

Re: [ZP50 + ZP43] Addon: Day-Night system
 
nice idea....i will test it

wicho 06-07-2013 16:12

Re: [ZP50 + ZP43] Addon: Day-Night system
 
Gj, just one suggestion: Add sounds, night-wolf sound and day-chicken sound..

Catastrophe 06-08-2013 02:39

Re: [ZP50 + ZP43] Addon: Day-Night system
 
Quote:

Originally Posted by wicho (Post 1966343)
Gj, just one suggestion: Add sounds, night-wolf sound and day-chicken sound..

Sure wicho, but do u have the sounds ? then plzz give , i dont..... or i wud have to search in half life default sounds.

Quote:

Originally Posted by Copper (Post 1966323)
nice idea....i will test it

Sure, and dont forget to tell if u find any bugs.

Quote:

Originally Posted by RateX (Post 1966280)
Very original, Good Job :)

Thank u sooooo much.

Quote:

Originally Posted by bat (Post 1966275)
N1ce work :up:

thnxx ;)

Catastrophe 06-08-2013 11:26

Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
 
Update.

And still need sounds Wicho.

wicho 06-08-2013 12:16

Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
 
ok, i give u later..

Catastrophe 06-08-2013 12:29

Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
 
sure, ty :)

wicho 06-08-2013 14:24

Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
 
Here: http://www.mediafire.com/download/jd...7uh/sounds.rar


All times are GMT -4. The time now is 14:59.

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