RPG Maker Forums

What do you think, is this going into the correct direction, or do you know Time Scripts with cool functions at which i could/should take a look?
 
Whats going on:
I decided to Event a Timesystem, i Evented one and because i wanted to make it easier to implement into existing Games
i made a Eventscript combination of it.
 
How does it Work:
You have a Paralell Common Event with a Loop and a 60Frames Wait and the Time Code into Eventcommand Script.
 
Features:
1. Add/Sub Time like you want, secs,mins,hours,days,weeks,month and years just set a variable to the value and its done.
2. Set Time  Set the Total time Variable (= ts_secs) directly all other total Time values convert properly.
3. Total time Values for secs,mins,hours,days,weeks,month and years. Used for Timestamps in Quests.
4. Ingame Clock and Calendar Values, for showing those in Textbox (or Hud) and for easier Eventsetup
 
More Content:
Iam not sure if iam missing Functions at the moment? Was thinking about switches for Weekdays, for more Eventpage setup
possibilities.
 
Bugs:
None are known
 
Code for Eventcommand Script:

# Add/SubTime Variable Idssecs = 1 ; mins = 2 ; hours = 3 ; days = 4 ; weeks = 5 ; month = 6 ; years = 7# Total Time Variable Idsts_secs = 8 ; t_mins = 9 ; t_hours = 10 ; t_days = 11 ; t_weeks = 12 ; t_month = 13t_years = 14# Ingame Time/Calendar Variable Idsig_sec = 15 ; ig_min = 16 ; ig_hour = 17 ; ig_day = 18 ; ig_week = 19 ; ig_month = 20ig_year = 21var = $game_variablesaddsub_time = (((((var[years]*12+var[month])*4+var[weeks])*7+var[days])*24 \+var[hours])*60+var[mins])*60+var[secs]if addsub_time != 0 ; var[ts_secs] += addsub_time ; else ; var[ts_secs] += 1 ; endvar[years] = 0 ; var[month] = 0 ; var[weeks] = 0 ; var[days] = 0var[hours] = 0 ; var[mins] = 0 ; var[secs] = 0var[t_mins] = var[ts_secs]/60 ; var[t_hours] = var[t_mins]/60var[t_days] = var[t_hours]/24 ; var[t_weeks] = var[t_days]/7var[t_month] = var[t_weeks]/4 ; var[t_years] = var[t_month]/12var[ig_sec] = var[ts_secs]%60 ; var[ig_min] = var[t_mins]%60var[ig_hour] = var[t_hours]%24 ; var[ig_day] = (var[t_days]%28)+1var[ig_week] = (var[t_weeks]%48)+1 ; var[ig_month] = (var[t_month]%12)+1var[ig_year] = var[t_years]
I know for someone not rusty in math this must look poor, but iam relearning.

If you can do this even shorter with all functionality, i would be interested. Just to see other Ways, too.

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,035
Messages
1,018,459
Members
137,821
Latest member
Capterson
Top