I'm trying to work with a script I believe is called RGSS3.
http://www.atelier-rgss.com/RGSS/RGSS_VX_ACE.html
The problem is the full demo system uses a chain command with prompts for hitting certain buttons. For example it'll flash on the screen hit 'X'. Well by default 'X' is the 'B' button when using a 360 pad. Can anyone tell me what 360 buttons correspond to the default controls? I'd like to modify the script so when it says hit 'X' is means hit 'X' instead of 'B' and etc.
I think this is the relevant part of the script below.
http://www.atelier-rgss.com/RGSS/RGSS_VX_ACE.html
The problem is the full demo system uses a chain command with prompts for hitting certain buttons. For example it'll flash on the screen hit 'X'. Well by default 'X' is the 'B' button when using a 360 pad. Can anyone tell me what 360 buttons correspond to the default controls? I'd like to modify the script so when it says hit 'X' is means hit 'X' instead of 'B' and etc.
I think this is the relevant part of the script below.
Code:
#-------------------------------------------------------------------------- # ● Update Command #-------------------------------------------------------------------------- def update_command return if @auto if Input.trigger?(Input::X) check_command(0) elsif Input.trigger?(Input::Z) check_command(1) elsif Input.trigger?(Input::Y) check_command(2) elsif Input.trigger?(Input::A) check_command(3) elsif Input.trigger?(Input::C) check_command(4) elsif Input.trigger?(Input:: check_command(5) elsif Input.trigger?(Input::L) check_command(6) elsif Input.trigger?(Input::R) check_command(7) elsif Input.trigger?(Input::RIGHT) check_command(8) elsif Input.trigger?(Input::LEFT) check_command(9) elsif Input.trigger?(Input::DOWN) check_command(10) elsif Input.trigger?(Input::UP) check_command(11) end end #-------------------------------------------------------------------------- # ● command_list_check #-------------------------------------------------------------------------- def command_list_check(command) case command when "A" @com = 0 when "D" @com = 1 when "S" @com = 2 when "Shift" @com = 3 when "Z" @com = 4 when "X" @com = 5 when "Q" @com = 6 when "W" @com = 7 when "Right" @com = 8 when "Left" @com = 9 when "Down" @com = 10 when "Up" @com = 11 else @com = 12 end end