Customized Menu - requesting

Evan Finkel

Modeling Beholder
Veteran
Joined
Mar 6, 2014
Messages
1,076
Reaction score
320
Primarily Uses
Can I have a menu script with this features?

  • Weather (with icon and text)
  • Time (with text, including AM and PM)
  • Date (e.g 26-Aug-14)
  • Day number (e.g Day 1, Day 2, Day 3)
Project non-commercial, thank you.

~Best Regards

Justin Zalett
 

Evgenij

Veteran
Veteran
Joined
Aug 28, 2013
Messages
349
Reaction score
100
First Language
German
Primarily Uses
N/A
So where do the scripter gets the information for the time, date and daynumber? All of these are no default features of the maker.
 

Evan Finkel

Modeling Beholder
Veteran
Joined
Mar 6, 2014
Messages
1,076
Reaction score
320
Primarily Uses
So where do the scripter gets the information for the time, date and daynumber? All of these are no default features of the maker.
I am asking for a custom script to enable this features, not asking if these features can be enabled from the maker.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,351
Reaction score
8,532
First Language
English
Primarily Uses
RMMV
It might help if you gave a bit more detail about some of the features you are wanting. For example:

Weather - Do you want the scripter to make it competely random? Or is there some "pattern" that you need the weather to follow? Will the weather displayed also be shown in game with weather affects?

Time - Do you want it to follow the player's computer clock, if possible? Is it a standard time system - 24 hours? Or is it some other time system based on your game's world? Or do you want 10 mn real time to equal 1 hour or whatever?

Day Number - Again, what time frame are you using? Are these real days or based on some game time frame? Does it start the second the player starts the game, or after some introduction? (Here I'm thinking of many farming type games I've played.)

Just some things to think about so that the scripter who might take this on has a better idea of how to help you.
 

Evan Finkel

Modeling Beholder
Veteran
Joined
Mar 6, 2014
Messages
1,076
Reaction score
320
Primarily Uses
It might help if you gave a bit more detail about some of the features you are wanting. For example:

Weather - Do you want the scripter to make it competely random? Or is there some "pattern" that you need the weather to follow? Will the weather displayed also be shown in game with weather affects?

Time - Do you want it to follow the player's computer clock, if possible? Is it a standard time system - 24 hours? Or is it some other time system based on your game's world? Or do you want 10 mn real time to equal 1 hour or whatever?

Day Number - Again, what time frame are you using? Are these real days or based on some game time frame? Does it start the second the player starts the game, or after some introduction? (Here I'm thinking of many farming type games I've played.)

Just some things to think about so that the scripter who might take this on has a better idea of how to help you.
Weather - Should follow the switches, like.. e.g switch "stormy" is on, then weather icon and text shall change to stormy.

Time - Standard time.

Day Number - Based on the game. When player starts the game it shall be Day 1, not sure about maximum.. alike.. 100/1000?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
Zalett, you haven't given enough information for a scripter to solve this, that's why you didn't get a solution.


For example, if you want a weather display based on switches set somewhere else, then you need to list all possible weathers and their switches, not just a single example.


Same goes for time and date - if you want the script to only display the time based on variables, then you need to tell the scripter from which variable to get what data - if you want them to create the time structure, then you need to tell them how your time should work in your game.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
Hey.  I've been working on something very similar to what you're requesting, as you can see below:



I would be happy to send you the code that I used to implement this system into my menu (and when I get around to adding things like icons or backgrounds based on the weather, I can give that to you as well).

However, I need to emphasize that what I created was for the purposes of my own game, so it's not easily customizable, it's not truly a "script" in the purest sense of the word, and it assumes that you have the proper eventing in your game to make time pass.  What my coding does is convert abstract numbers into a readable "clock/calendar" string format, and write those strings to the menu screen.  So you will need to create the actual passage of time in your game (including logic like increase the hours counter when the minutes counter is 60 or more), and you will also need to go into my code and make any necessary changes.  For example, here's probably the trickiest part of my code:

#-------------------------------------------------------------------------- # * Draw Time for the Menu Screen #-------------------------------------------------------------------------- def menu_draw_time change_color(normal_color) if $game_variables[1022] < 12 meridian = "AM" if $game_variables[1022] == 0 hour = 12.to_s else hour = $game_variables[1022].to_s end else meridian = "PM" hour = ($game_variables[1022] - 12).to_s end if $game_variables[1021] < 10 minute = "0" + $game_variables[1021].to_s else minute = $game_variables[1021].to_s end string = hour + ":" + minute + " " + meridian draw_text(-8, 24, 152, line_height, string, 1) endYou would need to create two variables in your game that accurate track the current Minute and Hour, and change the code above so that it uses those two variables instead of 1021 and 1022.  That's not real hard to do, but if you haven't worked with this kind of thing before, it could get tricky.  So if you're not comfortable with doing those parts yourself, you might be better off looking for a script that does most of what you want already, and then commission or ask someone to modify that script to add in the extra things you want (like Weather).

If you do want to use my code for your game so that you can have a similar window to mine, though, and you're comfortable with the bit of challenge it will entail, PM or Email me and I will provide you with all of the code.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top