Announcement

Collapse
No announcement yet.

"Action Button"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "Action Button"

    I was thinking of using Draygone's "Button Mapping" trick (in the RPGM2 Tips and Tricks thread). Three questions...

    01: All of these commands DO override the default controls, right?

    02: Would it be possible to make another "Action Button" (like default Triangle)? I was thinking of making its Script flip on a Flag called "Action" (the "Action Flag") and letting events on the map take care of the rest? As in having an Equal event in front of a door the has the Conditions of: Facing towards the door and having the "Action Flag" on. The whole map would have an Auto event that turns off the "Action Flag" when it's on. Which brings me to my third question...

    03: If an Auto event and an Equal event trigger at the same time, which takes priority?

    Thank you all.
    Final Exams are not a good time to attempt to get back into a site. ^_^;

    #2
    Re: "Action Button"

    1) Yup - It would override a lot.



    2) Is your [] button script otherwise occupied?

    I used that to make the Naughty Cow fire his Horn Beams on command. There was a flag set to tell the system whether or not to place the fire effect permanently when he fired.

    I used a set of invisible events set to equal surrounding the event that turns on the flag to turn the flag back off.

    There is no password on the Naughty Cow game, so if you download it, you can see how it was all done...

    But it was a garbage game and I am naturally disorganized...

    So it may be hard to follow. Just rename scripts and events and sort the database until it makes sense to you!



    3) I believe the "equals" event would execute when you hit it and hold up any action scripts or auto events on the map. Test and find out!



    I hope that helps.

    Peace

    MOO!




    Comment


      #3
      Re: "Action Button"

      1) Well not really, the happen in conjunction with them. However, if you use the command that limits rotate and set it to E-E (meaning no rotate), then the shoulder buttons won't have the default action anymore (rotate), for the X button you have to turn off the menu by having the no menu flag set to on (note: this means there is no way to bring up the default menu without setting the flag back on). O will always be run unless you use Nash's trick. Start will always be reset camera so that will always happen even if you 'Override' it. Triangle will always be the action button, but you can make none of your event trigger by action or talk so this can also be disabled.

      So that means technically for Select, Square, Triangle, Circle, X, and the Shoulder buttons, and L3, R3 yes. By default, only Select, L3, R3, and Square (as you set what that does), and Triangle when not in front of an Event that can be activated.

      2 - You and Rodak answered pretty well.

      3) Auto events to my knowledge only happen when you enter a map, and possibly when a page change is forced to happen (which means a content script for another event has run, page changes will not happen due to the events of an action script or a content script run from an action script). So my guess is Auto events would take priority.

      Now if you mean an event with an Action script, then the Equal event will have priority as content scripts can pretty much always interrupt action scripts. If you know anything about programming, action scripts are like a child thread and content scripts are functions that run from main(), or the main/parent thread. So when a content script is running all action scripts stop (at least I think so it's been a while).
      はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
      http://www.thetruecoolness.com/

      5198-2124-7210 Smash

      Comment


        #4
        Re: "Action Button"

        Originally posted by thetruecoolness View Post
        1) Well not really, the happen in conjunction with them. However, if you use the command that limits rotate and set it to E-E (meaning no rotate), then the shoulder buttons won't have the default action anymore (rotate), for the X button you have to turn off the menu by having the no menu flag set to on (note: this means there is no way to bring up the default menu without setting the flag back on). O will always be run unless you use Nash's trick. Start will always be reset camera so that will always happen even if you 'Override' it. Triangle will always be the action button, but you can make none of your event trigger by action or talk so this can also be disabled.

        So that means technically for Select, Square, Triangle, Circle, X, and the Shoulder buttons, and L3, R3 yes. By default, only Select, L3, R3, and Square (as you set what that does), and Triangle when not in front of an Event that can be activated.

        2 - You and Rodak answered pretty well.

        3) Auto events to my knowledge only happen when you enter a map, and possibly when a page change is forced to happen (which means a content script for another event has run, page changes will not happen due to the events of an action script or a content script run from an action script). So my guess is Auto events would take priority.

        Now if you mean an event with an Action script, then the Equal event will have priority as content scripts can pretty much always interrupt action scripts. If you know anything about programming, action scripts are like a child thread and content scripts are functions that run from main(), or the main/parent thread. So when a content script is running all action scripts stop (at least I think so it's been a while).

        1) Wow. Thanks, that helps a lot!

        2) Thank you.

        3) Oops. It appears I forgot my RPGM2 terminology! I said Auto event, but I think I meant Action script... As in an event set to whatever with an Action script inside! I don't know much about programming, but when you explain it that way, it makes lots more sense...

        On a side note, WOW! Replies from thetruecoolness and Rodak! I feel honoured.

        On another side note, is a Tactical battle system possible with RPGM2? I imagine it sorta like Rhaphsody: A Musical Adventure for those who have played that...
        Final Exams are not a good time to attempt to get back into a site. ^_^;

        Comment


          #5
          Re: "Action Button"

          Ack! Sorry, double post.
          Last edited by Hikari no Kaze; 07-08-2007, 02:40 PM. Reason: See Post.
          Final Exams are not a good time to attempt to get back into a site. ^_^;

          Comment


            #6
            Re: "Action Button"

            Yes, TRPGs are possible. With more work than you'll probably find worth it.
            "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

            Comment


              #7
              Re: "Action Button"

              Originally posted by Draygone View Post
              Yes, TRPGs are possible. With more work than you'll probably find worth it.

              Heh heh... I'll do my best!

              This'll be a hard game to make, but I hope it'll be worth it! (I need a Max Drive... *sob*)

              I plan to post more about this game (in RPGM General) once I have more of the story planned...
              Final Exams are not a good time to attempt to get back into a site. ^_^;

              Comment


                #8
                Re: "Action Button"

                This sounds interesting. Id like to hear about the game. And help from those guys is more than an honor. anyways, if you happen to figure out about that tactical battle system could you help me as I am trying to put one together as well.
                Lunchbox

                Comment

                Working...
                X