Raised This Month: $ Target: $400
 0% 

[ZP50] Addon: Day-Night system ( Updated 1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-07-2013 , 12:12   [ZP50] Addon: Day-Night system ( Updated 1.3)
Reply With Quote #1

[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
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

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
Attached Files
File Type: sma Get Plugin or Get Source (zp50_addon_day-night_system.sma - 1801 views - 6.7 KB)
__________________
You will find everything u need :-

Last edited by Catastrophe; 12-24-2013 at 01:00.
Catastrophe is offline
bat
Veteran Member
Join Date: Jul 2012
Old 06-07-2013 , 13:29   Re: [ZP50 + ZP43] Addon: Day-Night system
Reply With Quote #2

N1ce work
__________________
bat is offline
Send a message via Skype™ to bat
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 06-07-2013 , 13:48   Re: [ZP50 + ZP43] Addon: Day-Night system
Reply With Quote #3

Very original, Good Job
RateX is offline
Copper
Senior Member
Join Date: Feb 2012
Location: California
Old 06-07-2013 , 15:40   Re: [ZP50 + ZP43] Addon: Day-Night system
Reply With Quote #4

nice idea....i will test it
Copper is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 06-07-2013 , 16:12   Re: [ZP50 + ZP43] Addon: Day-Night system
Reply With Quote #5

Gj, just one suggestion: Add sounds, night-wolf sound and day-chicken sound..

Last edited by wicho; 06-07-2013 at 21:12.
wicho is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 02:39   Re: [ZP50 + ZP43] Addon: Day-Night system
Reply With Quote #6

Quote:
Originally Posted by wicho View Post
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 View Post
nice idea....i will test it
Sure, and dont forget to tell if u find any bugs.

Quote:
Originally Posted by RateX View Post
Very original, Good Job
Thank u sooooo much.

Quote:
Originally Posted by bat View Post
N1ce work
thnxx ;)
__________________
You will find everything u need :-
Catastrophe is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 11:26   Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
Reply With Quote #7

Update.

And still need sounds Wicho.
__________________
You will find everything u need :-
Catastrophe is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 06-08-2013 , 12:16   Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
Reply With Quote #8

ok, i give u later..
wicho is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 12:29   Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
Reply With Quote #9

sure, ty
__________________
You will find everything u need :-
Catastrophe is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 06-08-2013 , 14:24   Re: [ZP50 + ZP43] Addon: Day-Night system ( Updated )
Reply With Quote #10

Here: http://www.mediafire.com/download/jd...7uh/sounds.rar
wicho 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 14:59.


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