Astra Cat's Simple Input Settings Plugin (WASD Movement, Disable F2-F4 and Disable Mouse)

● ARCHIVED · READ-ONLY
Started by astracat111 11 posts View original ↗
  1. Hello there again, 

    To go along with my Launcher I've created this input settings plugin.

    This also goes along with my mouse script in order to make a click and point adventure game.

    With all of my scripts, any scripter can come in and make changes and improve them, as I'm not the best to begin with. All free for commercial use.

    It allows you to adjust the following settings:

    WASD movement

    Disable F2, F3 and F4

    Disable mouse input

    Disable gamepad input

    Disable mouse player movement on map

    Here is the link. Just copy and paste into your plugins folder as InputSettings.js or whatever you'd like to be named:

    link

    Updated 1 9 2016 - Added the option to disable player movement with mouse, but not disable it from menus and perhaps a HUD.

    Update 1 13 2016 - rename to "AS" instead of AstraCat because AstraCat is a little long.

    Update 1 15 2016 - fixed the link

    As always my scripts are free for anyone to use commercially or even change, no credit necessary. 

    Thanks, 

    Astra Cat
  2. link to plugin does not exist.

    link is unsatisfied.
  3. Prescott said:
    link to plugin does not exist.

    link is unsatisfied.
    Fixed link, thanks for the heads up Prescott.
  4. link still isnt avalible
  5. It looks like the link destination is formatted improperly but the link display text is not. Since IPB is set to truncate the displayed URL you can't just copy/paste the proper link. However, a little neat trick to get around the truncation is to quote the post as it won't truncate the link until after it's pushed through to the thread.

    Here is the proper link needed:

    https://gist.github.com/markhansaven/d784abc286b2c0bd2d3d

    @Astracat - you'll need to either remove the line and re-add it or click the link (or unlink) BBCode buttons and change it there.

    -@ND
  6. @ND said:
    It looks like the link destination is formatted improperly but the link display text is not. Since IPB is set to truncate the displayed URL you can't just copy/paste the proper link. However, a little neat trick to get around the truncation is to quote the post as it won't truncate the link until after it's pushed through to the thread.

    Here is the proper link needed:

    https://gist.github.com/markhansaven/d784abc286b2c0bd2d3d

    @Astracat - you'll need to either remove the line and re-add it or click the link (or unlink) BBCode buttons and change it there.

    -@ND
    Thank you very much ND. Now I've gotta update my other topics. 
  7. Zortik said:
    Would you consider expanding on this script to also disable Scene_Map.prototype.isFastForward

    It can really muck up move routes at times :/

    Source: http://forums.rpgmakerweb.com/index.php?/topic/54801-game-speeds-up-when-z-is-held/
    I'll look into it, I didn't know it did that. I'll see if I can replicate the problem and fix it.

    Okay, so I don't understand why that's there in the first place (debugging maybe?) but here's the fix. I'm gonna make a new topic for it...it's a simple fix though. Just  copy and paste this into a notepad file, name it and give it the ".js" extension, throw it in the plugins folder and activate the plugin rpg maker mv. (I'm not talking necessarily to you, but to any google.com searches later and everything)

    Code:
    /*: * @plugindesc Deactivates fast forward on events on a map when Z key is held down. *  * @author NA *  */Scene_Map.prototype.isFastForward = function() {    return false;             //($gameMap.isEventRunning() && !SceneManager.isSceneChanging() &&            //(Input.isLongPressed('ok') || TouchInput.isLongPressed()));};
  8. Wow great work on this, it works flawless! i credited you in my credits under scripts.

    astracat111 said:
    As always my scripts are free for anyone to use commercially or even change, no credit necessary. 

    I did because you deserve to get some attention on your work.
  9. Hi there I have a problem. No matter what I try the 'w' key just won't work. And I have no idea why.
    Everything else works great except for going up.
  10. You Clod said:
    Hi there I have a problem. No matter what I try the 'w' key just won't work. And I have no idea why.
    Everything else works great except for going up.
    Hi Clod, I recently teached kids for RMMV at a summer camp, so I got time to debug astra's code a little bit. I came to the conclusion that I can't set the WASDcontrol variable to true in the RMMV editor, so I copied the keycodes to the false block, but the W key didn't work for me either. Then I investigated the codes, and found out that the row 142 the "87" keycode is placed twice. I commented out the pagedown input key, and got the W key working in-game. I'm going to try to fix this code in a more efficent way.