A Hat in Time

A Hat in Time

Ocen: 498
Developer Console Commands
Autorzy: Xetam i 1 innych współtwórców
List of commands to use with the Developer Console. Please use them with caution, I am not responsible if you break your game.

Please contribute any commands you know that aren't already on this list, I created this guide for the community and having them all compiled in one place helps everyone.
6
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Setting up Developer Console
To use the Developer Console functions you first need to activate it in Game Settings.
Then restart the game.
After restarting you can activate the command prompt with ~ or tab
Type in enablecheats and enter.
Now you can enter in any of the commands from the list to activate them.
Press ~ or tab again to exit out of the command prompt.
Command List
enablecheats (necessary to use the commands)

Summon HatinTimeGameContent.Hat_Collectible_RouletteToken – Creates a rift token (warning, be careful using this command if you haven't done any time rifts; your game will softlock)
fly – Similar to ghost, but the player is able to collide with geometry (interestingly, touching a tightrope disables flying)
ghost – Puts the player into a ‘ghostly’ state where they can fly, pass through geometry, and are not affected by damage
walk – Disables fly/ghost Mode
changesize [number] – 1 is default, changes the size of Hat Kid
god – Toggles God Mode, making Hat Kid lose no health when attacked or damaged
slomo [number] – 1 is default, modifies the games speed (seems to reset when using the time stop hat)
cammode – Toggles a freecam similar to the camera badge, however it isn't tied to Hat Kid (note: The camera will still collide with geometry and the field of view will change to something lower, but this can be fixed with the command fov 90)
teleport – Teleports the player to the surface they are looking at
setspeed [number] – Modifies Hat Kids ground speed and water speed (only seems to work in water)
setgravity [number] – Changes the gravity (default is -750 – Jammy)
open [mapname] – Loads the inputted map (check HatinTimeGame\CookedPC\Maps) for maps.
startfire – Causes Hat Kid to attack with her umbrella or use the hookshot when available (equivalent of holding down attack button)
stopfire – Equivalent of releasing attack button
togglefirstperson – Toggles first person (you cannot move while in first person)
playercamerazoomin – Zooms the camera in
playercamerazoomout – Zooms the camera out
oncameraplayerfocus – Centres the camera
say [message] – Outputs the message on screen
teamsay – Functions identically to "say" command
setjumpz [number] – Changes your jump height (default is 540 - Thanks =RED=)
playersonly – Set the world to only update players, ignoring all other actors
killparticles – Deactivates particle systems and destroys all particles
FOV [number] – Changes FOV to given number (max 170, min 1, default 90)
suicide – Kills Hat Kid
showdebug – Toggles the overall display of properties of the player’s current ViewTarget
restartlevel – Restarts the level
invertmouse – Inverts the mouse vertically
invertturn – Inverts the mouse horizontally
jump – Makes Hat Kid jump (pretty obvious)
duck – Makes Hat Kid duck (pretty obvious)
unduck – Makes Hat Kid unduck
pause – Pauses the game
showmenu – Functions identically to pause
use – Makes Hat Kid interact, or attempt to interact.
freezeframe [number] – Forces the game to pause for the specified delay time (when tested escape immediately resumes the game)
stat fps – Toggles display of frames per second
stat unit – Toggles display of overall frame time as well as the game thread, rendering thread, and GPU times
stat levels – Toggles display of a list of currently active levels and displays their status through colour coding (See here [docs.unrealengine.com] for colour codes)
showhud – Toggles the visibility of all HUD items.
togglehud – Toggles the visibility of all HUD items.
show particles – Toggles display of particle geometry
show rigidbody – Toggles visibility of rigid bodies and their collision points.
show collision – Toggle display of collision primitives
show postprocess – Toggle display of post process effects
show staticmeshes – Toggle display of static mesh geometry
show skelmeshes – Toggles skeletal mesh rendering
show paths – Toggles display of paths or navigation meshes
show volumes – Toggles display of volumes
show depthoffield – Toggles the depth of field
show fog – Toggles rendering of fog
viewmode unlit – Renders scene with flat shading, i.e., no lighting
viewmode wireframe – Renders scene in a wireframe view
viewmode brushwireframe – Renders scene in a wireframe view showing brush edges
viewmode lightingonly – Renders scene using only the lighting information on the geometry
viewmode lightcomplexity – Renders scene using a special shader that displays the complexity of the lighting on (number of dynamic lights affecting) each surface using specific colors to denote the number of lights
viewmode texturedensity – Renders scene using a special shader that displays the density of texels for the diffuse channel on each surface using specific colors to indicate the density
viewmode shadercomplexity – Renders scene using a special shader that displays the complexity of the material being used by each surface using specific colors to denote ranges of shader instructions
viewmode litlightmapdensity – Renders scene fully lit using a special shader that displays the density of texels for the lightmap on each surface.
viewmode – Returns render mode to normal
SCALE SET bAllowPostProcessing false – Disables all post processing effects e.g. depth of field, motion blur, etc.
SCALE SET bAllowPostProcessing true – Enables all post processing effects
listconsoleevents – Displays a list of all console events on the HUD
toggleui – Toggles updating and display of the UI
exit – Closes the game (duh)
disconnect – Takes you back to the main menu
quit – Same as exit
openhud Hat_HUDMenuTimeRiftRoulette – Opens roulette

summon In older versions of the game, summonable objects can be found in HatinTimeGame\Script\Manifest.txt.
For those who don't have a manifest.txt file, go here https://mega.nz/#!E7pUhADD!s7bFkmM00FxsUUX-20JdPcP0DxXZNaa4QjEbZI1MfsE

These commands no longer work on newer versions of the game, including the modding beta.
openoldmenu – Opens an old menu which has blank options (to access co-op from this menu, input the command and a menu will open with blank text boxes. Go down twice and press (or spam) the button. Apparently this is kind of difficult to do and the current state of co-op breaks a lot of things but it does work. To close the menu, input the command again) - Thanks to steam user Frust for discovering this
debugcreateplayer – Creates another controllable player (only works after opting into the modding beta support branch of a hat in time, use at your own risk)


Notes
Using the command enablecheats will not disable achievements.
Console commands are not case sensitive.
Cheats will disable upon death or loading, you will have to type enablecheats again to start using the cheat commands again.
On older versions of the game, completing a time rift after collecting all the roulette items can cause the game to softlock, however you can escape this by exiting to the hub via the pause menu.
On older versions of the game, please use the "openoldmenu" command at your own risk. Because the menu options are blank, it's near impossible to tell what they do and you are ultimately responsible if anything goes wrong.
Using the command enablecheats in the new deathwish mode will not work. You will take damage and a cheeky message appears where console command messages usually appear.
Frequently requested commands
Ice hat: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_StatueFall
Sprint hat: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_Sprint
Dweller mask: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_FoxMask
Time stop hat: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_TimeStop
Brewing hat: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_Chemical
Mumble badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_Mumble
No bonk badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_NoBonk
Hover badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_NoFallDamage
1-hit hero badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_OneHitHero
Projectile badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_Projectile
Relic finder badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_RelicFinder
Scooter badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_Scooter
Item magnet badge: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_SuckInOrbs
Fast hatter: Summon HatinTimeGameContent.Hat_Collectible_BadgePart_HatCooldownBonus
Hookshot badge Summon HatinTimeGameContent.Hat_Collectible_Hookshot
Closing Notes
Thanks for reading this guide, if you have any commands that we missed and you'd like to see added to this list, please feel free to leave a comment detailing the command and a description of it and we'll add it to the list. Feel free to leave any suggestions or questions as well.

This is the original, any other website displaying the same information in the same way as this guide is plagiarised. (excluding my sources) Be original, "magicgameworld" and anyone who copy and pastes this list without crediting me you lazy hacks >:c

Please keep in mind that a lot of these commands were tested before the modding beta and some of them might not work anymore!

Special thanks to Xetam for the introduction and helping me create the guide. (I couldn't at the time as I had the GOG version of AHiT)
Komentarzy: 209
LordMiniVader 20 października o 17:03 
━━━━╮ This is memedog. Help
╰┃ ┣▇━▇ memedog take over
 ┃ ┃  ╰━▅╮ Steam Guides by pasting
 ╰┳╯ ╰━━┳╯ him in other
  ╰╮ ┳━━╯ Guides or he
 ▕▔▋ ╰╮╭━╮ will never be a meme dog
╱▔╲▋╰━┻┻╮╲╱▔▔▔╲
▏  ▔▔▔▔▔▔▔  O O┃
╲╱▔╲▂▂▂▂╱▔╲▂▂▂╱
 ▏╳▕▇▇▕ ▏╳▕▇▇▕
 ╲▂╱╲▂╱ ╲▂╱╲▂╱
lotrtrey 4 września o 13:53 
Thanks!
edude :D 12 maja o 6:25 
can you spawn the bucket of crab
Gatu ! ★ 14 kwietnia o 6:05 
viewmode unlit
Time_pug 16 lutego o 8:53 
Is there a fullbright command like in the source engine? I cant seem to find anything about disabling lighting via commands
BigBuggyGaming56 3 lipca 2023 o 12:59 
for some reason, when i enabled the dev console i didn't need to restart my game. IDK if they updated it so you don't, or i bugged it, either way, still nice to not have to restart the game!
wooperisgod 6 lutego 2023 o 1:13 
is there a way to summon time pices
兀Drin 7 stycznia 2023 o 6:53 
Is the any chegar Code that gives you yarn and another one that delete a certain ammount ?
druidfan36 27 grudnia 2022 o 19:04 
if u type in "suicide all" in an online party match (using mods to use console in online party) only u will die
FSMcas 23 października 2022 o 6:04 
Do cheats disable achievements? You write that "enablecheats" does not but I used "fly" in one level and did not get achievements after that, not sure if this was a bug or if the cheat disabled them