Author Topic: Console and some commands  (Read 44 times)

rararaven

  • Oculite
  • Probably not a Spambot
  • **
  • Posts: 31
  • Karma: +5/-0
    • View Profile
Console and some commands
« on: Today at 06:27:51 pm »
Introduction
Here I will explain some main useful for average player commands, but first I'll start with how to even access the console.
After starting the game or loading a save just press ~ (button usually below your Escape key and no, you can't rebind it), a console will show up, at the bottom of the screen you should see input field. Don't click anywhere as it will close the console.

Commands
Do note that commands have autocompletion (press Tab key to autocomplete).

listCommands
listCommands or list is the most important command to know and remember as it will show every command available.

playerGiveItem
playergiveitem or pgiveitem allows you to give yourself most of the items in the game, you can find all available items by going to game installation folder /Underrail/data/rules/items/.
Full command will look like pgiveitem <item path> <amount> <quality>
Note that amount and quality are optional, if amount is not added it defaults to 1, quality default to 0.

Here's some examples of the command and explanation:
1. pgiveitem consumables\medicine\supersoldierdrug - using a path to the item, gives you SSD.
2. pgiveitem !supersoldierdrug^1 - gives you SSD, a "shortcut", note ^1 at the end, if you're not using full path and there's multiple items with same name (such as the case with most medicine) if you write it without ^1 you will receive its blueprint instead.
3. pgiveitem !supersoldierdrug - gives you SSD blueprint (see explanation above).
4. pgiveitem !softfoampadding 1 50 - grants you one 50 quality soft padding.
5. pgiveitem !rubbersole 2 - grants you 2 rubber soles.

playerGivePsiAbility and playerRemovePsiAbility
playerGivePsiAbility or pgivepsi allows you to learn any psi in the game also skipping their usual requirements (including needing Psi Empathy though you wont be able to use them without it).
playerRemovePsiAbility or prempsi does the opposite and removes the ability.
Notable mention is pgiveallpsi which grants you every psi ability in the game.

Examples:
1. pgivepsi bilocation - grants you Bilocation ability (you still need to innervate it to use it like normally).
2. prempsi bilocation - removes Bilocation.

playerGiveSpecialAbility, playerGiveSpecialAttack, playerRemoveSpecialAbilty and playerRemoveSpecialAttack
playerGiveSpecialAbility or pgivesab and playerGiveSpecialAttack or pgivesatt allows you to get almost any ability in the game, including those used by enemies, but do note that abilities normally granted by items or vehicles wont be usable without meeting their condition e.g. if you give yourself ability to shoot Devastator's fusion cannon you still wont be able to use it when not riding Devastator. If you grant yourself ability that is usually acquired from feat you only get the ability but not related feat (but the ability will be usable). These commands work in similar ways with one notable difference being where your ability will end in quick invoker, see examples for further explanation.
playerRemoveSpecialAbilty or premsab and playerRemoveSpecialAttack or premsatt just do the opposite and remove the ability.

Examples:
1. pgivesab blitz - grants Blitz and it will be put under "Abilities" tab in quick invoker.
2. pgivesatt blitz - grants Blitz and it will be put under "Attacks" tab in quick invoker (it still works normally).
3. premsab blitz - removes Blitz from "Abilities" tab. Note if ability is in "Attacks" tab it will do nothing.
4. premsatt blitz - removes Blitz from "Attacks tab. Note if ability is in "Abilities tab it will do nothing.

playerGiveXP
playerGiveXP or pgivexp grants flat amount of experience, if you're playing in classic amount will be modified by your Intelligence stat as if you got xp normally.

Example:
pgivexp 100 - grants 100 xp.

playerSetBaseAbility
playerSetBaseAbility or psetstat allows you to change any of your base stat abilities like Strength, Agility, etc.

Examples:
1. psetstat strength 15 - changes your Strength to 15.
2. psetstat dexterity -5 - changes your Dexterity to -5, but effectively it will be at 1.

playerSetSkill
playerSetSkill or psetskill allows you to change any of your base skills like Guns, Mechanics, etc. Note that for two word skills like Heavy Guns or Temporal Manipulation you need to put them in quotes (see examples below).

Examples:
1. psetskill guns 100 - sets your base guns skill to 100.
2. psetskill "temporal manipulation" 0 - sets your base TM skill to 0.

setCustomDifficultyParam
setCustomDifficultyParam or setdiffparam - allows to change almost all difficulty parameters you can change when starting game with custom difficulty while midgame (except for encounter and puzzle difficulty). Unlike other commands note that values have to strictly be written in CamelCase or else you'll get an error.

Examples:
1. setdiffparam CarryCapacityMod 10 - changes carry capacity modifier to 1000%.
2. setdiffparam carrycapacitymod 10 - returns error.

Conclusion
That's all the more important commands you're most likely going to use often but not all of them entirely, as mentioned at the start you can use list command to see all of them. There are some other interesting commands like plistcd and prmcd which lists all your current cooldowns (if any) and allows to instantly reset any cooldowns you have respectively.

Thanks to Styg for making the console public.
« Last Edit: Today at 06:42:13 pm by rararaven »