How do I ____?
A collection of commonly requested commands. How do I...
When you have launched the game for the first time after installing the mod, either create a new game or load an existing one. Once in control of your character, you can hit the console key (listed here for each keyboard layout) to open the console.
Within here, you can run Lua scripts or engine functions directly to modify your character, decisions you have made in the past, or the game world overall. A list of frequently asked commands can be seen below!
Game.AddToInventory("Items.money",1234) -- Gives 1234 eddies
Game.AddToInventory("Items.BiotechRareMKII", 1) -- Gives you BIOTECH ∑ MK.2 Cyberdeck.
Join the Discord and search for the name of the item you want in #itemname-pics to find its hash name. Then, use the above command to give yourself the item.
Game.SetLevel("Level", 20) -- Sets character level to 20
Game.ModStatPlayer("CarryCapacity", "999")
Game.ModStatPlayer("Health", "99999")
Game.SetAtt("Strength", 15) -- Sets Body to 15
Game.GiveDevPoints("Attribute", 5) -- Attribute (skill) points
Game.GiveDevPoints("Primary", 3) -- Perk points
All vehicle commands are documented on the VehicleSystem page linked below.
Game.InfiniteStamina(true) -- Enables infinite stamina.
Game.InfiniteStamina(false) -- Disables infintie stamina.
Use Game.TeleportPlayerToPosition(x,y,z). You will need to know the coordinates of where you want to go, some popular coordinates are available here.
Game.SetDebugFact("mq007_skippy_aim_at_head", 1)
Game.SetDebugFact("mq007_skippy_goes_emo", 0)
Game.SetDebugFact("sq032_johnny_friend", 1)
Game.SetDebugFact("q005_jackie_to_mama", 1)
Game.SetDebugFact("q005_jackie_to_hospital", 1)
Game.SetDebugFact("q005_jackie_stay_notell", 1)
At this time there is no way of triggering or "fixing" stuck quests with the console.
Game.SetDebugFact("q112_takemura_dead", 0)
This gets rid of the character always wearing underwear in the world. Courtesy of Alacrity#5065 on Discord.
Backups & Game Updates
Before performing these steps it is recommended that you make a backup copy of the
basegame_4_gamedata.archive
file. If the game requires an update, you should restore this original file before updating otherwise the game will download the file from scratch (9GB). After updating, follow the steps below again.
Disclaimer: Modifying game files in this manner is experimental at best and may result in things being broken elsewhere. Perform these actions at your own risk, or alternatively, find a mod for this behavior on Nexus Mods.
- 1.Open
archive/basegame_4_gamedata.archive
in your favorite HexEditor. - 2.Do a Find & Replace All for
underwear
and replace withunderw_ar
. - 3.Save archive file.
- 4.Enjoy not being a never-nude.
Last modified 2yr ago