Announcement

Collapse
No announcement yet.

The Switch Switcheroo

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

    The Switch Switcheroo

    Apparently, RPG Maker 3 doesn't read the switches by the order of placement but by their physical position in the dungeons! That would have been good info. for the manual.

    You can test it out for yourself, and I'm sure you'll see what I mean. It'll only take about ten minutes to create and test.

    I created a new 20 block dungeon in the dungeon editor, and placed my switches in this order. The numbers indicate the order of placement. The Xs indicate empty spaces.

    X X X X 3
    X 2 X X X
    4 X X 1 X
    X X X X X

    Okay, then I went to layout mode and created 4 auto events in that dungeon, one to be turned on by each switch.
    AUTO EVENT 1
    2 modes
    MODE 1
    auto
    trigger - switch 1 on
    Event code
    Message Display - "1"
    Modify Mode - to mode 2
    MODE 2
    touch
    Event Code
    blank


    AUTO EVENT 2
    2 modes
    MODE 1
    auto
    trigger - switch 2 on
    Event code
    Message Display - "2"
    Modify Mode - to mode 2
    MODE 2
    touch
    Event Code
    blank



    AUTO EVENT 3
    2 modes
    MODE 1
    auto
    trigger - switch 3 on
    Event code
    Message Display - "3"
    Modify Mode - to mode 2
    MODE 2
    touch
    Event Code
    blank


    AUTO EVENT 4
    2 modes
    MODE 1
    auto
    trigger - switch 4 on
    Event code
    Message Display - "4"
    Modify Mode - to mode 2
    MODE 2
    touch
    Event Code
    blank


    Okay, now I when I flip each switch I will see a number corresponding to the switch that the computer sees being turned on. So, I testplay, and remember
    this is the order of placement of the switches in the dungeon editor:
    X X X X 3
    X 2 X X X
    4 X X 1 X
    X X X X X


    In testplay, these are the switches that the computer reads being turned on

    X X X X 1
    X 2 X X X
    3 X X 4 X
    X X X X X


    So, then, I go back to the dungeon editor and erase the previously placed switches and put down new ones in this order.

    4 X X X X
    3 X X X X
    2 X X X X
    1 X X X X


    In testplay, these are the switches that the computer reads being turned on

    1 X X X X
    2 X X X X
    3 X X X X
    4 X X X X


    So, then, I go back to the dungeon editor and erase the previously placed switches and put down new ones in this order.

    X 4 3 2 1
    X X X X X
    X X X X X
    X X X X X


    In testplay, these are the switches that the computer reads being turned on

    X 1 2 3 4
    X X X X X
    X X X X X
    X X X X X


    So, in game play/test play, the computer is reading the switches not in the order that they were placed in the dungeon editor, but by their physical position in the dungeon, starting in the northwest corner of the dungeon and reading east and going down until the southeast corner of the dungeon.
    Hope this can help future creators.

    And thanks to Zero Down for his previous posts and messages which encouraged me to post this thread.

    Please feel free to submit any thoughts or comments.
    Pagerron
    Last edited by Pagerron; 07-08-2006, 09:47 PM. Reason: trying to be more concise
    " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

    #2
    Re: The Switch Glitch

    You are the man and my hero Pagerron. God bless you! Thanks for the credit!

    Comment


      #3
      Re: The Switch Glitch

      Yeah, I don't like dungeon switches at all. Mainly because I tend to have dungeons that are built to a logical purpose, and having a door designed to keep characters out opened by a switch in the same dungeon is hardly reasonable.

      Comment


        #4
        Re: The Switch Switcheroo

        The current game I'm building uses one switch. The information you posted will certainly prove useful to anyone that needs to use more than one switch on a floor.

        I guess a small tip would be in order here:

        Name your switch events according to how they'll be interpreted, that way you won't have to remember the order in which the CPU reads them.

        Comment


          #5
          Re: The Switch Switcheroo

          Hmm...when I used switches in Series 1, I was under the assumption that the switches "turn on" in the order that you press them. ie-a switch placed in the dungeon fourth can and will be considered switch one assuming that is the one the character presses first. The switch placed first will be switch two if you touch it second, etc. I worked on my game using this assumption, and I had no problems.

          Comment


            #6
            Re: The Switch Switcheroo

            Yeah, I know, and that would be logical too. But then I entered the test dungeon and the first switched I flipped was "3." Try it out, and you'll see what I mean.
            Last edited by Pagerron; 07-10-2006, 01:50 PM.
            " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

            Comment

            Working...
            X