News: Make your MMO dream a reality! - RPG Maker XP Online System
Pages: [1] 2  All
  Print  
Author Topic: [XP] Day Night Climate System (DNC)  (Read 11618 times)
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« on: January 19, 2009, 10:14:48 PM »

Day Night Climate System (DNC)
Authors: winkio
Version: 1.00
Type: Time and Weather System
Key Term: Custom Environment System

Introduction

This script keeps track of the time of day and tints the screen accordingly.
The user can define the length of the day and night.
Also, the user can create climates which determine the chances of different
types of weather, which are automatically applied to any map through this
script.


Features

  • Creates Day and Night effects
  • Creates weather effects
  • Customize Climates for each of your maps
  • Easy to induce effects with events in-game

Screenshots

Don't really have any.  They would just be tinted screens with and without weather effects.  Not too hard to imagine

Script

(click to show/hide)


Instructions

Make sure that you have a sound effect for wind, rain, and storm in your Audio BGS folder named Wind.ogg, Rain.ogg, and Storm.ogg respectively.
Configure climates in the script.
Place below defaults and above main.  Shouldn't conflict with any other scripts...

Compatibility

No problems so far!
Works independently of fog on map!

Credits and Thanks

  • winkio

Author's Notes

If anybody uses this and wants me to improve/redo the existing effects just let me know.  I'd be happy to.
Planned future updates:
  • enable user to create their own weather effects

This script was my first ALMOST EPIC moment - I coded the whole thing in about an hour without testing, and only had one small error at the end.  I shall keep trying until I get that epic moment.  When I do, you will know it.
« Last Edit: February 18, 2013, 09:36:09 AM by Blizzard » Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Blizzard
This sexy
Administrator
has over 9000 posts
*****

Level: 616
Offline Offline

Gender: Male
Posts: 19148


God created Stan in His own image


View Profile WWW
« Reply #1 on: January 19, 2009, 10:42:46 PM »

That would be ATES with settings that can be changed during gameplay + random weather generator. This was actually supposed to be ATES v1.0. ._.
Logged

Check out Daygames and our games:

King of Booze      Star Doge      Drink or Doom
Drinking Game for Android      Star Doge for Android      Drinking Game for Android
Drinking Game for iOS      Star Doge for iOS           
Drinking Game for PC      Star Doge for PC           
Drinking Game for OUYA                       


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #2 on: January 19, 2009, 10:57:51 PM »

...ok.  I think it has a few more features than you are envisioning, but you'll see when I release it.  Which will be soon, btw.

EDIT: Soon is now.  And as you are reading this, that first now was about 1.6 seconds ago. O.o
« Last Edit: January 20, 2009, 12:55:43 AM by winkio » Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
fugibo
World Conqueror
Chaos User
******

Level: 44
Offline Offline

Posts: 1966



View Profile
« Reply #3 on: January 22, 2009, 02:36:48 AM »

Yeah, sorry about not coming through, Blizz. Kinda out of my scope now.

But, good work on this, winkio. And for YOUR information, every time I read that post two up, now is not 1.6 seconds ago; it is more like 1 minute+ at the time of writing.
Logged
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #4 on: January 22, 2009, 03:05:43 AM »

Actually, the time that you read the first now was about 1.6 seconds ago.  But I don't really care, ambiguosity FTW! :&

EDIT:  If anybody uses this and wants me to improve/redo the existing effects just let me know.  I'd be happy to.
« Last Edit: January 22, 2009, 03:13:11 AM by winkio » Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Blizzard
This sexy
Administrator
has over 9000 posts
*****

Level: 616
Offline Offline

Gender: Male
Posts: 19148


God created Stan in His own image


View Profile WWW
« Reply #5 on: January 22, 2009, 01:19:13 PM »

What do you think about a merged system with ATES? Happy
Logged

Check out Daygames and our games:

King of Booze      Star Doge      Drink or Doom
Drinking Game for Android      Star Doge for Android      Drinking Game for Android
Drinking Game for iOS      Star Doge for iOS           
Drinking Game for PC      Star Doge for PC           
Drinking Game for OUYA                       


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #6 on: January 22, 2009, 04:16:35 PM »

Hmm.  What all would that entail?
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Blizzard
This sexy
Administrator
has over 9000 posts
*****

Level: 616
Offline Offline

Gender: Male
Posts: 19148


God created Stan in His own image


View Profile WWW
« Reply #7 on: January 22, 2009, 05:12:02 PM »

All that I originally planned for ATES: Calender, Time, DNS, Temperature, Weather (including fog and maybe wind). Also using ccoa's Weather System it could be extended. Wink
Logged

Check out Daygames and our games:

King of Booze      Star Doge      Drink or Doom
Drinking Game for Android      Star Doge for Android      Drinking Game for Android
Drinking Game for iOS      Star Doge for iOS           
Drinking Game for PC      Star Doge for PC           
Drinking Game for OUYA                       


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #8 on: January 24, 2009, 12:30:54 AM »

That sounds fairly simple.  Calendar would take all of 5 minutes to make.  And temperature wouldn't take too long either.  Do you like the climate setup I have or will I be changing it?  (if we change it, then I will maintain this script separately, otherwise, I'll combine them.)
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Blizzard
This sexy
Administrator
has over 9000 posts
*****

Level: 616
Offline Offline

Gender: Male
Posts: 19148


God created Stan in His own image


View Profile WWW
« Reply #9 on: January 24, 2009, 01:02:25 AM »

Believe me, calender will take more than 5 minutes. Tongue
Logged

Check out Daygames and our games:

King of Booze      Star Doge      Drink or Doom
Drinking Game for Android      Star Doge for Android      Drinking Game for Android
Drinking Game for iOS      Star Doge for iOS           
Drinking Game for PC      Star Doge for PC           
Drinking Game for OUYA                       


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #10 on: January 24, 2009, 01:05:11 AM »

er, array of months, and days per week is all I need for that, right?
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Exiled_by_choise
Trained Member
*

Level: 0
Offline Offline

Posts: 44


View Profile
« Reply #11 on: January 24, 2009, 05:42:10 AM »

Hey guys this merge sounds great can you let me know when it's complete.

Thanx
Logged
Calintz
Guardian of Chaos
********

Level: 108
Offline Offline

Gender: Male
Posts: 3814


A Pixel's Worst Nightmare


View Profile
« Reply #12 on: January 24, 2009, 06:25:35 AM »

Winkio, post some screenshots please...
Logged
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #13 on: January 24, 2009, 06:27:34 AM »

Quote
Screenshots

Don't really have any.  They would just be tinted screens with and without weather effects.  Not too hard to imagine

It doesn't really look like much by itself.  It must be experienced in game.
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Blizzard
This sexy
Administrator
has over 9000 posts
*****

Level: 616
Offline Offline

Gender: Male
Posts: 19148


God created Stan in His own image


View Profile WWW
« Reply #14 on: January 24, 2009, 02:26:11 PM »

er, array of months, and days per week is all I need for that, right?

Data structure is simple, sure, but what about implementation? Correct calculation of seconds, minutes, hours, days, weeks, months (which are independant of weeks) and years? Trust me, it's not as easy as a 5 minute job.
Logged

Check out Daygames and our games:

King of Booze      Star Doge      Drink or Doom
Drinking Game for Android      Star Doge for Android      Drinking Game for Android
Drinking Game for iOS      Star Doge for iOS           
Drinking Game for PC      Star Doge for PC           
Drinking Game for OUYA                       


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #15 on: January 24, 2009, 05:14:28 PM »

wait, I have to get seconds and minutes?  The lowest amount of time I can keep track of is hours...  Would it really be practical to keep track of minutes and seconds?  Because they would be changing so fast...
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
fugibo
World Conqueror
Chaos User
******

Level: 44
Offline Offline

Posts: 1966



View Profile
« Reply #16 on: January 24, 2009, 05:57:35 PM »

Hey, don't for get shadows and reflections that vary by time of day, script checks so certain events only occur at certain times of day, and different enemies depending on month, weather, time, yada yada.

And a changing color scheme would be cool too, though that would take a lot of effort.
Logged
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #17 on: January 24, 2009, 08:53:35 PM »

shadows and reflections just sound like extra lag not needed on an RMXP game.  Everything else I agree with.
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Blizzard
This sexy
Administrator
has over 9000 posts
*****

Level: 616
Offline Offline

Gender: Male
Posts: 19148


God created Stan in His own image


View Profile WWW
« Reply #18 on: January 25, 2009, 01:44:14 PM »

wait, I have to get seconds and minutes?  The lowest amount of time I can keep track of is hours...  Would it really be practical to keep track of minutes and seconds?  Because they would be changing so fast...

You need at least minutes. ATES does that without problems.

Hey, don't for get shadows and reflections that vary by time of day

Could be optional using Rataime's script.

script checks so certain events only occur at certain times of day, and different enemies depending on month, weather, time, yada yada.

Not necessary. The day/night switches allow the user to simply make enemies and put conditions into their attacks. The only thing would be day/night enemy troop encounters.

And a changing color scheme would be cool too, though that would take a lot of effort.

It would complicate things but not really add that much to the system. Better not. xD
Logged

Check out Daygames and our games:

King of Booze      Star Doge      Drink or Doom
Drinking Game for Android      Star Doge for Android      Drinking Game for Android
Drinking Game for iOS      Star Doge for iOS           
Drinking Game for PC      Star Doge for PC           
Drinking Game for OUYA                       


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.
winkio
Epiq
Administrator
Guardian of Chaos
*****

Level: 195
Offline Offline

Gender: Male
Posts: 4396


I am lying.


View Profile
« Reply #19 on: January 25, 2009, 04:18:27 PM »

I don't think you understand Blizz: the system keeps track of real-time seconds, but depending on how long the days/nights are, those could be either minutes or hours in game.  Perhaps I should add a conversion factor?
Logged

I am currently working on Blizz-ABS, since Blizzard has retired.  If you have any suggestions, post them here: http://forum.chaos-project.com/index.php/topic,6164.msg104939.html#msg104939
Pages: [1] 2  All
  Print  
 
Jump to:  


*
*
Shoutbox
Latest Shouts
View All
Today at 04:56:16 AM KK20: Oh god that picture. It's beautifully horrifying.
Today at 12:01:59 AM Wecoc
(click to show/hide)
Today at 12:01:27 AM Wecoc: "VX mapping is much better than XP"
December 20, 2014, 07:32:04 PM Wecoc: XP's map is more understandable because it's more complete. Yet it's true that some features are not in XP, such as Area. But I still prefer XP's mapping because it's less limited.
December 20, 2014, 05:11:19 PM soulshaker3: Not only that, the mapping in XP is so much more understandable then Vx/vxa the down side is that most XP resource sites are off which kindda sucks
December 20, 2014, 04:34:26 PM 1supermiguel: And on the category of RMXP vs RMVX and RMVX Ace, though RMVX and RMVX Ace do have more options, I still prefer classic XP. Side's can't make an Action RPG so easily on VX and VX Ace after all like you can on XP. Plus I prefer the sprite style on XP to the others as well. Can't beat the classics! Tongue
December 20, 2014, 04:32:38 PM 1supermiguel: I'LL SHOW YOU QUIET!O_O CAPS LOCK INITIATE! CAPPPPPPPSSSSSSSSSSS!!!!!!!!!!!!!!!!!! There. Told you i'd show you guy quiet. Tongue
December 20, 2014, 01:34:12 PM soulshaker3: I got vxa for like $1 so for that price is a good product
December 20, 2014, 09:05:09 AM KK20: It's probably been said before. XP is built around the SNES/GBA style. VX/A is like the mobile games style. But considering VX/A is for the computer--you're kinda shooting yourself in the foot (unless, of course, you break the system's intended convention).
December 20, 2014, 06:45:09 AM Zexion: I like that it has steam workshop. For you to upload you project to steam, but aside from that, I hate the map editor :p

View All


HB Games RpgMaker.org