Home - metallicafan212/HarryPotterUnrealWiki GitHub Wiki

Welcome to HarryPotterUnrealWiki! This is a wiki for both general and Harry Potter Unreal Engine modding information and resources.
The Harry Potter Modding Discord server- https://discord.gg/th3K6Epnug

Helpful Shortcut Commands

These following shortcut commands go at the end of the target bar of a shortcut, you can have one or multiple shortcuts commands.

  • -window/-windowed: Starts the game in windowed mode instead of fullscreen, only -windowed works for UE2 games.
  • -nofrontend: Bypasses the front end and menus for certain games.
  • mapname.unr: Loads the specified map straight away
  • -log: Shows the log window

Debug Mode and Savestate Hotkeys

The User.ini file can be used to add debug and savestate hotkeys which can be used for convenience when modding or even for casual use.
Add the following hotkeys to a key of your choice in User.ini for HP1, HP2 and HP3:

Debug

HP1
To turn on- set HPBase.baseConsole bDebugMode true (or type harrydebugmodeon in game)
To turn off- Press F7in game

HP2
To turn on- set HGame.baseConsole bDebugMode true
To turn off- set HGame.baseConsole bDebugMode false

HP3
To turn on- set KWVersion bDebugEnabled true | set windowconsole bshowconsole true
To turn off- set KWVersion bDebugEnabled false | set windowconsole bshowconsole false

Savestate

Replace X with any number you wish.

HP1
To save- savegame X
To load- open saveX

HP2
To save- savegame X
To load- loadgame X

HP3
To save- savegame X00
To load- loadgame X00

Debug Commands and Hotkeys

Debug commands can be used in the Unreal Engine games. This section will cover useful general UE1 and UE2 commands that work in the stock Harry Potter games.
For the Harry Potter games debug mode needs to be turned on to use them. Debug mode can be turned on by using the methods above. For HP1 and HP2 it can also be turned on by setting bDebugMode to true under HPBase.baseConsole in HP.ini (HP1) or under HGame.baseConsole in Game.ini (HP2).

Console/Command Line Commands

The HP1, HP2 and HP3 consoles can be toggled on/off by using the ~ key or ' key depending on your keyboard type. The HP1 and HP3 command lines can be toggled on/off by using the Tab key.

  • rmode X - Renders a level in a specific mode. Replace X with one of the following numbers; 1 (wireframe mode), 5 (dynamic light mode), 6 (textured mode), 7 (lighting mode, HP3 only). The default rmode is 5.
  • showall- Unhide all actors.
  • showbounds 1 - Displays bounds and collision of actors (HP1). Displays just bounds of actors (HP2). Use showbounds to turn off.
  • showcoll 1 - Displays collision of actors (HP2 only). Use showcoll to turn off.
  • show collision - Toggles displaying collision of actors (HP3 only).
  • showpaths 1 - Displays paths in a level (HP2). Needs to be used first to display paths in a level (HP3). Use showpaths to turn off.
  • show paths 1 - Displays paths in a level after using showpaths 1 (HP3 only). Use showpaths and then show paths to turn off.
  • showactors - Shows actors in a level.
  • hideactors - Hides actors in a level.
  • set ACTORNAME bHidden false - Unhides a specific actor in a level (replace ACTORNAME with name of the actor). Use set ACTORNAME bHidden true to hide the actor.
  • editactor class=CLASSNAME - Shows properties of an actor in the level and these can be changed in game (replace CLASSNAME with name of the class).
  • restartlevel - Restarts the level.

HP Specific Debug Hotkeys

The Harry Potter games also have specific debug hotkeys, these hotkeys are:

HP1

  • F2 - Teleports Harry to a specific bookmark
  • F3 - Teleports Harry to a specific bookmark
  • F4 - Teleports Harry to a specific bookmark
  • F5 - Teleports Harry to a random bookmark
  • F7 - Turns off debug mode
  • F8- Toggles different camera modes
  • F11- Shows fireseeds, challenge stars and Gryffindor house points HUDs

HP2

  • F4 - Toggles level select and bookmarks window
  • F6 - Restores Harrys health
  • F9 - Unlocks all spells
  • Pause - Toggles pausing the game
  • Delete- Toggles free cam
  • Page/Pg Up - Speeds up the game
  • Page/Pg Down - Slows down the game

HP3

  • F2 - Shows a debug menu with a variety of options. Press Esc to hide the debug menu.
  • Pause - Toggles pausing the game

Friends of Harry Potter Modding

Their Discord servers: