Archeia

Level 99 Demi-fiend
Staff member
Developer
Joined
Mar 1, 2012
Messages
15,662
Reaction score
16,358
First Language
Filipino
Primarily Uses
RMMZ
Share snippets.
No questions allowed. Just post in the support forum if you need help.

p2mfJ44.png

Add Right Click -> Cancel to Backlog
  • Copy and Paste Template_MessageBacklog
  • Look for this line:
    Code:
    "frame": [0, 0, Graphics.width, Graphics.height]
  • Add this code below it:
    Code:
    "action": { "event": "onCancel", "name": "disposeControl", "params": 'backlog' }
p2mfJ44.png

Disable Escape Key
  • Go to Script Editor and look for: Components > Scenes > Component_GameSceneBehavior
  • Below that, make a new script and add the following code:
Code:
# ===================================================================
#
#   Script: Component_GameSceneBehavior
#
#   $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
    ###*
    * Checks for the shortcut to exit the game. By default, this is the escape-key. You
    * can override this method to change the shortcut.
    *
    * @method updateQuitShortcut
    * @protected
    ###  
    updateQuitShortcut: ->
 
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
It should look like this:
upload_2018-4-25_2-30-2.png

p2mfJ44.png

Disable Settings Shortcut Key
  • Go to Script Editor and look for: Components > Scenes > Component_GameSceneBehavior
  • Below that, make a new script and add the following code:
Code:
# ===================================================================
#
#   Script: Component_GameSceneBehavior
#
#   $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
    ###*
    * Checks for the shortcut to open the Settings menu by Pressing A and disables it.
    * You can override this method to change the shortcut.
    *
    * @method updateSettingsShortcut
    * @protected
    ###    
      updateSettingsShortcut: ->
      # Do nothing
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
It should look like this:
2018-05-04_4-34-26.png

p2mfJ44.png

Disable Settings and Quit Shortcut Keys
Code:
# ===================================================================
#
#   Script: Component_GameSceneBehavior
#
#   $$COPYRIGHT$$
#
# ===================================================================
class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
    ###*
    * Disables shortcut keys for settings and quitting. By default these are the
    * A and ESC keys. You can override this method to change the shortcut.
    *
    * @method updateQuitShortcut
    * @protected
    ###    
      updateQuitShortcut: ->
      # Do nothing
 
    ###*
    * @method updateSettingsShortcut
    * @protected
    ###    
      updateSettingsShortcut: ->
      # Do nothing
vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
It should look like this:
2018-05-04_4-40-49.png
 
Last edited:

KPanda

Villager
Member
Joined
Mar 5, 2020
Messages
13
Reaction score
0
First Language
English
Primarily Uses
VNM
I greatly appreciate this!
 

Latest Threads

Latest Posts

Latest Profile Posts

Making a weapon stronger according to the user level!
God, I wish I could afford a big band for my game. Not like... Foo Fighters or whatever. A big brass band. For ridiculous jazzy nonsense ala
Let it be known that I am very forgetful, and I often forget that I was engaged in conversation with people
here (and every other community I'm on). So if I ever stop replying to PMs or comments, please don't take it personally and just send me a reminder to reply XD
Darklord99 wrote on Restart's profile.
Hi I tried to download the fossil plugin but I got a 404 message from github
I'm preparing a video. In the meantime, here's the new-new save point graphic. It's a sundial with an orb that changes color to represent both the time of day and which of the 3 elements are being boosted at the time.
7TOFvy9.gif

Forum statistics

Threads
125,707
Messages
1,172,933
Members
164,839
Latest member
tdquidley
Top