How to change default dash key (from shift to space bar)?

Kim_Shyuen

DAYDREAMER乁( ◔ ౪◔)「
Veteran
Joined
Oct 19, 2015
Messages
93
Reaction score
277
First Language
Chinese
Primarily Uses
RMVXA
Hi guys!

In default system, player have to press shift+arrow keys to dash.
How to change it into space bar+arrow keys to dash?

I've tried to modify the script (from :shift into :c )
def dash?
return false if @move_route_forcing
return false if $game_map.disable_dash?
return false if vehicle
return Input.press? (:C)
end
But I only need is space bar , Z or enter key is not included.
*another question, how to unable the space bar as a :C key?

I hope i can get it soon,thanks for reading!
*apologies for my bad english >n<
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
rpg_core.js, mainly Input.keyMapper, holds the answer in MV. Not sure how rgss3.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
I don't think the space bar is mappable.
check the online documentation for Ace, it should be listed, which keys are mappable.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Run the game and press F1. There should be a Keyboard tab there, and under that tab, the first configurable key is the "Spacebar".
You can configure the input keys there if needed, even though it's really a bit confusing for "native" PC users.

To hard-code it in the game's code without touching those F1 settings, that requires a custom input script at least to enable full keyboard control.
You can also try my in-game control configuration system script, but that disables the gamepad input, which can be a bummer for some players.
 

Kim_Shyuen

DAYDREAMER乁( ◔ ౪◔)「
Veteran
Joined
Oct 19, 2015
Messages
93
Reaction score
277
First Language
Chinese
Primarily Uses
RMVXA
@Sixth
Got it,thanks for your reply! I've found a Full Input Keyboard script , will it works? link
How to modify it ?? :kaocry:
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
709
Reaction score
1,194
First Language
English
Primarily Uses
N/A
Under Configuration of Full Input Keyboard script, on line 166: change SHIFT to SPACE for A
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top