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!
If you have any problems getting to this stage, please take a look at the troubleshooting page.
Use Game.AddToInventory
Game.AddToInventory("Items.money",1234) -- Gives 1234 eddiesGame.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.
If it's not there, then you can try looking on the external List Items spreadsheet.
Use Game.SetLevel
Game.SetLevel("Level", 20) -- Sets character level to 20
Game.ModStatPlayer("CarryCapacity", "999")Game.ModStatPlayer("Health", "99999")
Use Game.SetAtt
Game.SetAtt("Strength", 15) -- Sets Body to 15
Use Game.GiveDevPoints
Game.GiveDevPoints("Attribute", 5) -- Attribute (skill) pointsGame.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.
Open archive/basegame_4_gamedata.archive
in your favorite HexEditor.
Do a Find & Replace All for underwear
and replace with underw_ar
.
Save archive file.
Enjoy not being a never-nude.