Event System Support (expert users only)

Discussion in 'RPG Maker VX Ace' started by Lunarea, Mar 5, 2012.

Thread Status:
Not open for further replies.
  1. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    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: Mar 25, 2012
    #21
  2. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    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?
     
    #22
  3. Des

    Des timefantasy.net Veteran

    Messages:
    1,365
    Likes Received:
    492
    Location:
    Dixie
    First Language:
    American
    Primarily Uses:
    N/A
    Use a loop. Something like this might work:

    [​IMG]

    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.
     
    #23
  4. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    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.
     
    #24
  5. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    Ok needles do i put your variable event above at the bottom of my tint thing or is that in the middle?
     
    #25
  6. Des

    Des timefantasy.net Veteran

    Messages:
    1,365
    Likes Received:
    492
    Location:
    Dixie
    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.
     
    #26
  7. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    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...
     
    #27
  8. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    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.
     
    #28
  9. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    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
     
    #29
  10. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    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 ...
     
    #30
  11. seiyamihara

    seiyamihara Lurker Member

    Messages:
    11
    Likes Received:
    1
    Location:
    East Coast, United States
    First Language:
    English
    [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: Mar 26, 2012
    #31
  12. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    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: Mar 26, 2012
    #32
  13. Physeter

    Physeter Villager Member

    Messages:
    71
    Likes Received:
    2
    Location:
    Berlin
    First Language:
    German
    @ 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:
     
    #33
  14. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    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
     
    #34
  15. Physeter

    Physeter Villager Member

    Messages:
    71
    Likes Received:
    2
    Location:
    Berlin
    First Language:
    German
    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? :)

     
    #35
  16. kirinelf

    kirinelf *Stare* Veteran

    Messages:
    64
    Likes Received:
    26
    First Language:
    Hakka
    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.
     
    #36
  17. Falados

    Falados Apprentice Member

    Messages:
    152
    Likes Received:
    5
    First Language:
    English
    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 :)
     
    #37
  18. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    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: Mar 26, 2012
    #38
  19. arcana23

    arcana23 Villager Member

    Messages:
    74
    Likes Received:
    6
    Location:
    Durham, UK
    First Language:
    English
    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.

    [​IMG]

    [​IMG]

    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.

    [​IMG]

    Actually I think I should offset it by an hour or two... but it works great!
     
    Last edited by a moderator: Mar 27, 2012
    #39
    Jetstopia likes this.
  20. Celianna

    Celianna Tileset artist Global Mod

    Messages:
    10,520
    Likes Received:
    5,531
    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: Mar 27, 2012
    #40
Thread Status:
Not open for further replies.

Share This Page