M.U.G.E.N Documentation:M.U.G.E.N Console

From mugen-net
Jump to navigation Jump to search

New in M.U.G.E.N 1.1 is the Mugen Console (mconsole). It allows users to execute various commands similar to the command prompt in Windows. The mconsole is a tool primarily for testing and debugging and is not intended for normal gameplay.

Usage[edit]

The mconsole can be activated and deactivated by pressing the Control + tilde (Ctrl + ~) keys. Once the console is active, commands can be typed in and executed by M.U.G.E.N. For example, the F12 key will take a screenshot of the current screen. To do the same in the mconsole, just type 'screenshot' (without quotes) and press enter. The result will be the same as hitting the F12 key.

MConsole will will keep track of commands that have been executed. To cycle through the history of commands, press the up or down arrows. The right and left arrows will move the cursor in case corrections or changes to the command are necessary before execution.

The mconsole is still a work in progress and some commands may not work as expected. While the console is activated, player input keys will be disabled.


Commands[edit]

clear[edit]

Clears the console. No parameters.


changestate[edit]

changestate <player #> <state number> Changes the state of a player to the specified state if it exists.

Example: To change player 1 to state 5000 use: changestate 1 5000


clearclipboard[edit]

Clears the debug clipboard. No parameters.


consoletoggle[edit]

Shows or hides the console. No parameters. This is the same as pressing Ctrl+~.


forcestand[edit]

Forces all players into the stand state. No parameters. This is the same as using the Ctrl+I debug key.


fps[edit]

Shows or hides the FPS display in the upper right corner of the screen. No parameters.


framestep[edit]

Shows the next frame of output. Only works when the game is paused.


help[edit]

Displays a list of valid commands.


lifereset[edit]

Resets all players' life and power to full. This is the same as pressing the Space Bar when debug mode is active.


matchreset[edit]

Resets the match back to Round 1. This is the same as using the Shift+F4 debug key.


maxpower[edit]

Increase power meter of all players to max. This is the same as using the F3 debug key.


maxpowermode[edit]

Toggles maximum power mode on and off. This will cause power to always be full for all players while it's on. This is the same as using the Ctrl+Shift+F3 debug key.


pause[edit]

Pauses the game. This is the same as using the pause key except this will pause on any screen. Pausing on screens other than the fight screen may cause graphical issues.


quit[edit]

Immediately quits M.U.G.E.N... no questions asked.


roundreset[edit]

Resets the current round. This is the same as using the F4 debug key.


screenshot[edit]

Takes a screenshot and saves it to the location where the M.U.G.E.N executable is located.


setlife[edit]

Sets the life for a specific player. setlife <player #> <life>

Example: setlife 1 1000


setroundtime[edit]

Sets the round time to the specified time. setroundtime <timeleft>

Example: setroundtime 20


showclsn[edit]

Cycles through the various displays of collision boxes, target data (including remaining juggle points) and NotHitBy attributes. This is the same as using the Ctrl+C debug key.


toggleai[edit]

Turns the specified player's AI on or off. This is the same as using the Ctrl+# debug keys. toggleai <player #>

Example: If player 2's AI is on then "toggleai 2" will turn it off.


togglelifebars[edit]

Hides or shows the lifebars. No parameters. This is the same as using the Ctrl+L debug key.


toggleplayer[edit]

Enables or disables the specified player. This is the same as using the Ctrl+Alt+# debug keys.