Orange Time System - Events

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
Orange Time System Events 1.0
Hudell
Introduction
This plugin will trigger common events every time the clock or calendar of the Orange Time System changes.


Params

onChangeSecond:
The number of the common event to call every second

onChangeMinute:
The number of the common event to call every minute

onChangeHour:
The number of the common event to call every hour

onChangeDay:
The number of the common event to call every day

onChangeMonth:
The number of the common event to call every month

onChangeYear:
The number of the common event to call every year

onChangeDayPeriod:
The number of the common event to call every day period

Plugin
Get it from here

Dependencies
Orange Time System

FAQ
I'll keep a small FAQ here for easy reference.

Credit and Thanks
- Hudell
 
Last edited by a moderator:

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
I'm not sure if this is the right Plugin you got so many good ones around the time system.

But I was wondering if you had an example or lead me to the correct place.

I like to interact with an event and if successful (event triggered) I like it to switch to A and then don't come back for say 100 in game hours in that case I think that is 1 hour rl? time.

Then the event resets. 
 
Last edited by a moderator:

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
I'm not sure if this is the right Plugin you got so many good ones around the time system.

But I was wondering if you had an example or lead me to the correct place.

I like to interact with an event and if successful (event triggered) I like it to switch to A and then don't come back for say 100 in game hours in that case I think that is 1 hour rl? time.

Then the event resets. 
I'll add a feature for that on the main Time System plugin :)
 

Sideroxylon

Veteran
Veteran
Joined
Oct 30, 2015
Messages
29
Reaction score
5
First Language
German
I don't know, if I am doing something wrong, but I have the dependency, which works (I think), though both add ons for the Orange Time System don't work, because they don't have the changeable params, they actually can do nothing, except I can turn them on in the Plugin manager. I also don't know how I am supposed to change the params for the Orange Hud, so it becomes visible or at least make the time permanently visible in one corner of the in-game screen.

Sorry for mixing some plugins here, but I think it wouldn't be so comfortable to answer on every topic separately.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
I fixed both time system add-ons now.

I'll add new features to the Hud plugin to be able to show it on the menu or the main screen or any other place (it currently displays the hud only on the map)
 

Sideroxylon

Veteran
Veteran
Joined
Oct 30, 2015
Messages
29
Reaction score
5
First Language
German
I fixed both time system add-ons now.

I'll add new features to the Hud plugin to be able to show it on the menu or the main screen or any other place (it currently displays the hud only on the map)
Wow, cool, it works now, thanks!
 

Malekorath

Villager
Member
Joined
Oct 11, 2015
Messages
5
Reaction score
2
First Language
English
Not sure if this is something everyone else is experiencing but when this plugin is enabled I don't seem to be able to use common events with items. So for example I have an item that runs a common event when used but when this plugin is enabled it just uses the item but doesn't run the common event.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Hello, I've been referred to this topic for timed events for a business function in my project.


What I have in mind is simple how I intend it to operate- but I don't know how to implement it with this plugin.


Basically you end up running several small businesses that generate money to a cap over time. So for example the player runs a bar- the Cap is 5k but it takes say for example 50 minuets ( real time ) to generate that money. Of course during the course of my game there will be random problems like the bar got taken over by some bad guys and you have to be rid them before the money can be collected. I hope that explains the method intended.
 

Rivingtondown

Villager
Member
Joined
Mar 14, 2016
Messages
13
Reaction score
4
Primarily Uses
Hello, I've been referred to this topic for timed events for a business function in my project.


What I have in mind is simple how I intend it to operate- but I don't know how to implement it with this plugin.


Basically you end up running several small businesses that generate money to a cap over time. So for example the player runs a bar- the Cap is 5k but it takes say for example 50 minuets ( real time ) to generate that money. Of course during the course of my game there will be random problems like the bar got taken over by some bad guys and you have to be rid them before the money can be collected. I hope that explains the method intended.


In your case you would need to create a Variable, let's say Variable #1, then set onChangeHour in your plugin settings for this plugin to fire a Common Event, let's say for example, Common Event #1, that increases that variable's value.


Common Event #1 would have a conditional; if Variable 1 is less than 5000 then Add 50 to Variable 1, else show text "My bank is full". If you want to be in real time that's a parameter you can set in Orange Time System. If you want to literally be every 50 minutes instead of every hour you could use the Variables plugin then set a Common Event onChangeMinute instead of onChangeHour and wrap the above conditional in an additional conditional to check if your Minute Variable is equal to 50 first.


If you want to collect the money, say at your cash register inside your business's map you'd make an actionable event to Gain Gold by the amount in Variable #1. Additionally you could always use other Events to decrease or increase that variable (say a "Theft" Event that decreases Variable #1 by 20%). Anytime you collect your money you'd only collect the amount in Variable #1.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Common Event #1 would have a conditional; if Variable 1 is less than 5000 then Add 50 to Variable 1, else show text "My bank is full". If you want to be in real time that's a parameter you can set in Orange Time System. If you want to literally be every 50 minutes instead of every hour you could use the Variables plugin then set a Common Event onChangeMinute instead of onChangeHour and wrap the above conditional in an additional conditional to check if your Minute Variable is equal to 50 first.
I got a little confused with your last sentence here, could you explain this a bit more clear for my understanding for me :)


Also- if I have multiple businesses set up at different places- how can I multiply this with the plugin? I think the plugin is only compatible with only one common event?


And if possible a screenshot? I'm not sure how to set it up following your statement.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I have downloaded the time variable plugin- and have followed your instructions to the letter and have even minimized the amounts for testing- from minuets to seconds and still no changes to success. Are you certain your formula works and have you tested your formula, I can't seem to understand what is wrong.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
Can you send your plugins.js file?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
You're missing the core Time System plugin:






Without it, the other two will do nothing.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Ah I see- Ok so this plugin handles the time amounts itself like 60 seconds equals 1 in game hour etc.


Since my project uses realtime seconds/minuets/hours for business profit accumilation- Should I leave everything at default?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,546
Reaction score
3,717
First Language
Java's Crypt
Primarily Uses
RMMZ
If you want it to sync the time with the computer clock, you set the param useRealTime to true, if you just want it to use 60 seconds = 1 minute and 60 minutes = 1 hour, you can set "useRealTimeStructure" to true instead.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Ok, I've selected the parameters to useRealTimeStructure and with the guidance of the above steps ( I think it's done how it was spelt out)- I have changed the time requirements on seconds to help with quicker testing-nothing seems to be working as of yet. I have provided screencaps of my common event structure and the event that you collect from.

common event collector.pngCollector Event.png



OrangeTime System Parameters are all default except for useRealtimeStructure which is set on True


OrangeTimeSystemEvents are set on default except for onChangeSecond Value 29


OrangeTimeSystemVariables are also set on default except secondVariable Value 29


I'm happy to be getting help with this, I apologize in advance if i'm being frustraiting to explain to. I hope this problem solving works out :)
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

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!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top