Raised This Month: $ Target: $400
 0% 

Timer v16 - includes: Timer, Day/Night, Weather


Post New Thread Reply   
 
Thread Tools Display Modes
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-18-2004 , 12:19  
Reply With Quote #21

You known when you have snow falling you could make the players have less friction, that way they will skid around more. Could be fun.

Code:
EV_FL_friction
Johnny got his gun is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 07-18-2004 , 12:21  
Reply With Quote #22

Quote:
Originally Posted by Johnny got his gun
You known when you have snow falling you could make the players have less friction, that way they will skid around more. Could be fun.

Code:
EV_FL_friction
O god then we need a hospital to send broken bones to ... lol CS related broken limbs lol soon the whole team is sitting in the hospital with different injuries...
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-18-2004 , 12:27  
Reply With Quote #23

Btw you have a lot of stuff to work on in your way of coding:

Code:
   if(day2 >= monthdays[month2]){       month2++;       day2 = 1;    }    if(month2 == 3){     season = 1    }    if(month2 == 5){     season = 2    }    if(month2 == 9){     season = 3    }    if(month2 == 11){     season = 4    }    if(month2 >= 12){       year2++;       month2 = 0;    }

You should replace that with a switch/case construction:

Code:
switch (month2) {     case MONTH_MARS: season = 1     case MONTH_MAY: season = 2 }
Etc... and really, you shouldn't use undefined constants in code. Use defined instead, either through #define or even better through the use of enumerated constants like this:

Code:
enum MONTHS {     MONTH_JANUARY = 1,     MONTH_FEBRUARY,     MONTH_MARS     MONTH_APRIL,     MONTH_MAY,     MONTH_JUNE,     MONTH_JULY,     MONTH_AUGUST,     MONTH_SEPTEMBER,     MONTH_OCTOBER,     MONTH_NOVEMBER,     MONTH_DECEMBER, }
Then you can use those constants instead of the numbers. It will help readability in your code a lot.
Johnny got his gun is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 07-18-2004 , 12:38  
Reply With Quote #24

Actually, I did it like that to IMPROVE readability, because I cant read what the hell you put in there. ^^

But sure, it probably takes up less space and looks better. I just dont know how to do it really well.

I will add the frinction commands tho ^^

What I say is this. If it aint broke, dont fix it. And if you cant fix it, break it more!
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 07-18-2004 , 12:42  
Reply With Quote #25

UPDATE:
Added changing of skybox.

SOON:
Snow and rain have different friction
Lightning could damage
Wind
Hail
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Deagle
Veteran Member
Join Date: Jun 2004
Old 07-18-2004 , 13:48  
Reply With Quote #26

ok mate i added it in moddir/sprites but have no weather changes
de_dust is sunny
and fy_snow got snow...

Deag
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
CNZ
Member
Join Date: Jul 2004
Location: Tucson, AZ
Old 07-18-2004 , 14:27  
Reply With Quote #27

awesome mod twilight!! It's great and lots of fun, I just hate how it resets everymap etc, but I Am sure you are working on that! Keep up the good work!
__________________
War3 1.6 Server - cnz.bounceme.net:27015
Insanity Mod (SAVEXP) - localserver.bounceme.net:27015
Website: http://gk.fearjihad.com/
CNZ is offline
Send a message via ICQ to CNZ Send a message via AIM to CNZ
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 07-18-2004 , 14:29  
Reply With Quote #28

some1 post screenshots
Freecode is offline
narcussist
Senior Member
Join Date: Jul 2004
Location: Canton, Ohio
Old 07-18-2004 , 14:53  
Reply With Quote #29

does this plugin also change the time of day, like your other plugin?

or will i need to get that also for that part.

thanks and i cant wait to go test this
__________________
narcussist is offline
Send a message via AIM to narcussist Send a message via MSN to narcussist Send a message via Yahoo to narcussist
Deagle
Veteran Member
Join Date: Jun 2004
Old 07-18-2004 , 15:09  
Reply With Quote #30

omg thats it im a moron (certified)
sprite goes in cstrike/sprites
whats the timer12.sma about tried compiling that and it returns a bunch of errors
i got no weather what so ever
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle 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 18:49.


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