RMMV Chrono Engine ABS Attacking with left mouse button.

darthbirdy3

Villager
Member
Joined
Feb 6, 2015
Messages
16
Reaction score
2
First Language
English
Primarily Uses
I am using the abs mode of the Chrono Engine and I want to be able to set my attacking button to the left mouse button. I don't know if this is simple and I'm dumb or if it's impossible, but I'm frustrated enough to ask for help. If someone could explain how to do this or write a patch of some kind that would be amazing. The attack button is already set to 'ok' so it bothers me that the mouse button doesn't work to begin with.

EDIT: Getting left click to read as 'ok' with the plugin in general would be even better if possible.
 
Last edited:

darthbirdy3

Villager
Member
Joined
Feb 6, 2015
Messages
16
Reaction score
2
First Language
English
Primarily Uses
Bumparooni ;_;

EDIT: I found a rather impractical solution, but if you change this:

JavaScript:
Game_Player.prototype.commandAttackUsable = function() {
    if (!$gameSystem._chronoCom.attack) {return false};
    if (Input.isTriggered(Moghunter.ras_buttonWeapon)) {return true};
    return false;   
};
To this:

JavaScript:
Game_Player.prototype.commandAttackUsable = function() {
    if (!$gameSystem._chronoCom.attack) {return false};
    if (TouchInput.isPressed()) {return true};
    return false;   
};
Then you will attack with the left mouse button. Not ideal but it works well enough.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

It seems MOG Weather only has a "clear" function to instantly erase a given weather effect. Probably works well if weather only changes at map transfer, etc, but looks very abrupt if weather effects are continuously changing. So my next challenge: script a "fade" function to gradually fade the sprites and wait to "clear" the current weather until the opacity of all its sprites hits zero... or something like that! XD
BRIEF HISTORY OF MY GAME SO FAR
June 2019 - My friend (let's call him G) says he wants to make a game
later- it's really bad and angsty
laterer - He gives up

EARLY 2020 - I suggest trying again, G says yes
slightly later - G gives up and gives me the whole idea
LATE 2020 - I finish the script's first draft. G doesn't like it

And that's where we stand!
To get validation for all your hard work feels amazing.

Studio Blue did a video on Collector and enjoyed it a lot. I expected them to rip it to shreds, but the gameplay went (mostly) well.

There are things I can improve, but they said my game "oozes Mike Pondsmith" (he's the creator of the Cyberpunk 2020 ttrpg, which precedes Cyberpunk 2077). I was shocked to hear such a compliment! :kaopride:
People3_3 and People3_4 added!

Forum statistics

Threads
105,748
Messages
1,016,114
Members
137,431
Latest member
weissblueter
Top