Setting controls for gamepads (custom scripts question)

Ivan_the_Terrible

Devil Hunter
Member
Joined
Mar 20, 2018
Messages
25
Reaction score
3
First Language
English
Primarily Uses
RMVXA
Greetings, fellow bipeds!

I have been experimenting with some of the wonderful scripts created for real-time gameplay in VX Ace (such as Khas' great Sapphire Action System) and I've run into an interesting problem that I have not been able to solve due to my limited knowledge of Ruby.

But the problem isn't with Sapphire; it's actually with Falcao Liquid Pearl. In Pearl, you attack using whatever key is set up in the script, while Sapphire by default uses the A key for attacks. I like Sapphire's setup because I can use a gamepad and the A key can be set to a specific button in gamepad setup under the F1 menu. The same cannot be said for Pearl; even though I have set the script up to use A as the attack key, it will not acknowledge a press of the corresponding button from a gamepad. (Other buttons, such as the interact button, dash and cancel still work just fine.)

Does anyone know a line of code or some command I can drop in there somewhere so that custom keys set up in Pearl will work for a gamepad, or does this require some special script? Is this a very complicated fix? Thanks in advance!

ETA: Pearl is located here so its scripts can be accessed.
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
'Scripts' is where people who have written completed scripts that they want to share with others can post them.

[move]RGSSx Script Support[/move]
It might help if you included a link to the Pearl script so that if anyone needs to check something before giving advice, they won't have to go hunting.
 

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top