Difference between revisions of "Console commands"

From UnderWiki
Jump to navigation Jump to search
(Create page.)
 
m (→‎Dev Console Instructions: add in info about moddable version)
Line 38: Line 38:
 
* <code>basketball</code> - Makes some basketballs. For physics testing, sure.
 
* <code>basketball</code> - Makes some basketballs. For physics testing, sure.
 
* <code>smokeybear</code> - Extinguish all active combustibles.
 
* <code>smokeybear</code> - Extinguish all active combustibles.
 +
 +
== Moddable version ==
 +
 +
<blockquote>
 +
Will was gracious enough to spend some time recompiling UA into C# for us on a mod-branch which is now actively accessible on the main Underworld Ascendant app. You can switch to this at any time by right-clicking Underworld Ascendant on Steam, selecting “Properties,” then the “Betas” tab, selecting “mod-friendly” and then the Close button.
 +
 +
He also put the Challenge of Ishtass and the Split Ruins of Gwern level back in for your purposes, since some of the larger levels were harder to decompile.
 +
 +
Note that to access those two latter levels, you’ll need to be able to use the dev console.
 +
 +
When launching Underworld Ascendant from Steam, you’ll need to set your launch options to “-console” from Properties and then play the game. While ingame, you’ll now be able to access a dev console by pressing the Shift and ~ keys simultaneously. There are a couple of mod menus we’ll let you browse. @Dewi_Morgan, you’re free to distribute the mod commands we taught you if you need them as well.
 +
</blockquote>

Revision as of 17:22, 8 September 2021

Dev Console Instructions

WARNING: If you use the console, it locks your current save file so you can’t receive Achievements with that save file.

You will need to reload from a previous save file and continue from there, in order for achievements to trigger.

Enabling the console

When launching the game from Steam, right click on the game and select “Properties”.

Under the GENERAL tab, click on “SET LAUNCH OPTIONS”, and type in:

-console

and select “OK”. This will permanently allow you to access the console at any point during your game.

Bringing up the console

Once ingame, press the apostrophe key on your keyboard (' on American keyboards, ö for EU) to bring up the console. Note: not the backtick!

Console commands

  • cheats 1 - enable the other console commands, as well as the menu-driven cheat interface.
The menu-driven interface will do almost everything you want, including spawning objects, teleporting you between maps, etc. To open it, exit the console and press Shift + ~ which is the backtick on US keyboards.
From there, you’ll see a handy set of shortcuts. The most important one is “End”, which will always bring you to the “end” of a level / area, so you can quickly bypass levels.
  • commands - List all available console commands. Some interesting ones are listed below.
  • loc - display your current coordinates, eg the beginning of the Challenge of Ishtass is (314.3, 43.2, 113.4)
  • teleport X Y Z - Teleport within a level, to the coordinates that you put in place of X, Y, and Z. Note that commas are not needed. So if you are in the Challenge of Ishtass, teleport 314.3 43.2 113.4 will send you to the start of the level. If you’re in another level, those coordinates are likely to be off the map.
  • teleport "Board" marcaul_MASTER - There’s another version of the teleport command that will send you to other maps, but I don’t know the syntax, and you’d need to know the name of the levels. For this, you’re probably just better off using the graphical cheat interface instead.
  • kill - Instantly kill whatever your cursor is over.
  • kill all - Instantly kill everything other than yourself.
  • death - Instantly kill yourself.
  • save - Save your game.
  • iddqd - Invincibility: a DOOM reference :)
  • speedometer [on/off] - Shows a speedometer on screen. (doesn’t work - command no longer exists?)
  • dotbunny - Bestow upon the player the one sword. (doesn’t work - tries to create an object pr_sword_bunny which does not exist)
  • basketball - Makes some basketballs. For physics testing, sure.
  • smokeybear - Extinguish all active combustibles.

Moddable version

Will was gracious enough to spend some time recompiling UA into C# for us on a mod-branch which is now actively accessible on the main Underworld Ascendant app. You can switch to this at any time by right-clicking Underworld Ascendant on Steam, selecting “Properties,” then the “Betas” tab, selecting “mod-friendly” and then the Close button.

He also put the Challenge of Ishtass and the Split Ruins of Gwern level back in for your purposes, since some of the larger levels were harder to decompile.

Note that to access those two latter levels, you’ll need to be able to use the dev console.

When launching Underworld Ascendant from Steam, you’ll need to set your launch options to “-console” from Properties and then play the game. While ingame, you’ll now be able to access a dev console by pressing the Shift and ~ keys simultaneously. There are a couple of mod menus we’ll let you browse. @Dewi_Morgan, you’re free to distribute the mod commands we taught you if you need them as well.