Event System Support (expert users only)

Status
Not open for further replies.

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Actually, just using the wait commands to create your own in-game time system is far, far easier, than to mess around with player time and such, since you need a starting time, and then you need to compare it to see how much time has passed ... etc ... etc.

You can download my VX project if you want to see how I made my time system (it's all in the common events). Here's the one without RTP, and one with the RTP. If you don't have VX installed, please click on the latter download link!

Edit: well that's stupid of me, if you don't have VX, you can't open it. Sorry guys, I pulled an iEntry. Err, you can download a free trial of VX then!
 
Last edited by a moderator:

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
Lmao wow...so now my wait command method IS the easier way to go? If so then plz show me what to add to my event that iv already mentioned cuz i cant make a wait for 216,000 frames .....and btw im gonna DL ur demo u posted me in my other post that was about adding an in game clock thing with seasons...i just need u to show me how to add night/day and possibly weather effects?
 

Des

timefantasy.net
Veteran
Joined
Mar 2, 2012
Messages
1,371
Reaction score
510
First Language
American
Primarily Uses
N/A
Use a loop. Something like this might work:



obviously you'd add other stuff to—but it's important to keep track of the timer with variables rather than just a huge wait command. if the player saves and quits, the variable method will keep the "timer" updated, but otherwise he'd need to wait all over again.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Yeah, which is why I recommend using your own game-time, instead of actual hours.

Once you decide on which method to go with, then it's easy adding a tint. So long as you've got a variable, everything becomes easy.
 

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
Ok needles do i put your variable event above at the bottom of my tint thing or is that in the middle?
 

Des

timefantasy.net
Veteran
Joined
Mar 2, 2012
Messages
1,371
Reaction score
510
First Language
American
Primarily Uses
N/A
If you can't follow the flow of the event commands, you might not be ready for this, bro. Take some time and make something simpler to get used to the way the program works.
 

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
i'm not ready for it, thats why i'm trying to learn it, i'm not gonna make a bunch of crap projects first lol, i'm just using a bunch

of experimental maps to test on then when i get everything down i'm gonna plug it into the main game, ... this part right here

is the only big complicated event trigger that i'm confused on, it would really be nice if someone "havn't looked at cel's demo yet" has a worked out event that does day/night i'm sure i'm not the only person in ace history to wanna do day/night lol so if anyone has a worked out event log for this i would like to see it, of course i will put in my own numbers for time wise but atleast i could see how the finished

code is supposed to look...
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Falados, this thread is for helping out with your event system - it is not for people to create one for you.

Why don't you post what you have already? Just give us a demo, and then we can really help you out. To be fair, a DNS system is something you should easily be able to make if you understand basic variables, switches, common events and conditional branches. That's all you really need.
 

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
Im not tryin to be a pain or anything, i posted what i have so far with the tint fade,wait,fade,wait stuff ..i just need someone to tell

Me "ok you need to put, this, here" or not just say u need a variable in it, thats obvious :) but idk wat variable to add or if i need 2 or 3 different pages on the event to make it work like needles treasure chest event or wat i need to add or change is all...idk how to make a copy/paste of my event code to here or id paste it sorry
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Actually, you haven't posted anything.

Please post screenshots :)

If you're asking what variable to add, then I'm sure you need to learn the basics first ...
 

seiyamihara

Lurker
Member
Joined
Mar 17, 2012
Messages
11
Reaction score
1
First Language
English
Primarily Uses
[DELETED]

Oh dear. I've got to stop leaving pages open like that. My post was incredibly late. But yeah, in actual response, you may need to make a bunch of 'crap projects' (as you call them) first before you tackle the big stuff. A DNS system is something you'll really want to make yourself, otherwise you're going to have a devil of a time actually manipulating it for anything.
 
Last edited by a moderator:

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
Ok does anyone think this might work?

Tint sepia

Wait 400

Variable +2000

Tint normal

Wait 400

Variable +2000

Tint sunset

Wait 400

Variable +2000

Tint night

Wait 400

Variable +2000

Loop

Im not home to test this but is this close or on the right track maybe?

and celianna, i got your time system demo, but umm... cant figure out how to play it? it gave me a folder named "timesystem" but when i open it, its a hundred different folders and stuff and none of them open... i tried making a screenshot but have NO idea how to upload a screenshot to this forum
 
Last edited by a moderator:

Physeter

Villager
Member
Joined
Mar 14, 2012
Messages
71
Reaction score
2
First Language
German
Primarily Uses
@ Faladoy: Just try a Fatique system or a hunger system. After every 10 seconds you get a message: "Hungry!" That's the way I started to figure this out. :) Its nothing you can sell as a game, but its useful for learning. And just maybe you don't actually NEED a day night system for your first game, hm? ;) Or just make first the events, which not depend on the DNS, thus learning eventing.

I'm giving you a link for a textfile in which a timer system by Tufuiegoeris is explained: http://www.mediafire.com/?colve6obll7w67m

To another question:

It was a problem in VX too, I guess. If I create a monster event, how can I make it run over another event? Since it is a monster, it would be silly to choose the option "Through", cause I don't want it running through the walls.

Ah, well, I was creating such a fine monster approaching event system with battle crys while only in range of view of the player... :unsure:
 

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
if i dont play with it now then i'll never learn how to do it, i really would like to see an example from someone who has done

day/night before so i can see how its done, i dont understand variables or any of that stuff yet and i cant learn without seeing

the event done, reading it with all the jargon confuses me, i tried plugging in some variables in spots on the above event code but they didnt do anything at all so obviously i'm not using them correctly, i just wanna see a finished day/night system so i can learn how it was done and what it took to get the events to work properly... i also dont see why what i'm doing is wrong, i got the game to go day to night and it loops but i just cant get the frames between each transition long enough, 999 is the longest wait time and i dont wanna put a million wait timers in 1 event as that will lag the game probably, if it wont lag then heck i'll put in a million wait timers lol if it works it works
 

Physeter

Villager
Member
Joined
Mar 14, 2012
Messages
71
Reaction score
2
First Language
German
Primarily Uses
I'm sorry, I don't have a DNS at hand, I've never created one for me. I tried one in my VX trial version last year but that's long gone.

What about my other hint, learning the first step first and then the second one? :)

Or just make first the events, which not depend on the DNS, thus learning eventing.
 

kirinelf

*Stare*
Veteran
Joined
Mar 18, 2012
Messages
64
Reaction score
28
First Language
Hakka
Primarily Uses
I remember there being a script command for waiting. Don't remember what it actually is though, just that it exists. Maybe someone could help you there.
 

Falados

Apprentice
Member
Joined
Mar 14, 2012
Messages
152
Reaction score
5
First Language
English
Primarily Uses
that would work, i'm down for any ideas and physeter.. i have learned the first steps lol tinting and waiting, now its getting them

to work together :)
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Falados, I am trying to help you - but you need to learn the basics first. Please play the RPG Maker VX School, or even my Beginner's Guide to Variables.

However, they're VX projects. Please go to the main website and download the VX trial, it's all you really need it for anyway. Once you have it installed, you can open up the project and poke around. Then you can also see my time system demo.

Also, to upload screenshots, you must first have an image taken of your screen (press Prt Scr, next to your F12 key), then paste this (ctrl+v or right click and click 'paste') into any image editing software (even MS Paint would work) then save it as a PNG or JPG (please make it a PNG). Go to any image uploading website, such as photobucket, imageshack, tinypic, whatever, and upload it there. They'll give you a direct link to the image, and then you use that link between IMG tags like so:



Code:
[img]put link here[/img]
It's as simple as that.

Please learn the basics, thank you.
 
Last edited by a moderator:

arcana23

Villager
Member
Joined
Mar 13, 2012
Messages
74
Reaction score
6
First Language
English
Primarily Uses
Here's an idea you guys gave me for my game, at it's a 12 hour day, but I haven't added tinting yet, not sure I want it.

I used facebook to host my images.





I decided to add an event for the world map to change daylight, I just have to reset the screen to normal when I enter anything that has no daylight.



Actually I think I should offset it by an hour or two... but it works great!
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
There is no need to loop something that is already in a parallel process. Also, 1 frame is not 1 second, 60 frames is 1 second, you might want to change that.

There's also no need for the exit event processing at the bottom of your second event ... the event has already reached the end, so really, no need for it.

Personally, I'd add the second event inside the common event, and then if the conditional branches are true, call another common event that tints the screen.
 
Last edited by a moderator:
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

"You can thank my later", "But you haven't done anything", "Well, that's why ..."
Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

Forum statistics

Threads
105,884
Messages
1,017,242
Members
137,609
Latest member
shododdydoddy
Top