Dirty Bomb

Dirty Bomb

202 ratings
Offline Console Commands
By ~VintagePenny~
This guide is intended as a "one-stop shop" of sorts of the available offline console commands as there is currently no one singular place for them.

I no longer actively play Dirty Bomb and will probably not be keeping this guide updated anymore.
 
Rate  
Favorite
Favorited
Unfavorite
Level Switching
Of course to first start screwing around with all these commands, you need to get yourself into an offline map first. To do this, simply open up your console and type in "switchlevel xxx" with "xxx" being one of the following:

nuf_tut [Tutorial]

shooterentry [Some sort of test map]

obj_bridge
obj_canarywharf [Underground]
obj_dome
obj_trainyard
obj_victoria [Terminal]
obj_whitechapel [Chapel]
obj_dockyard

exe_canal [Market]
exe_overground
exe_gallery

So for example, if you wanted to load into Trainyard, you would type:

switchlevel obj_trainyard

Bear in mind that all of the commands in this guide can be copy and pasted, so you won't have to bother typing out any of these by yourself!
Merc Switching
Now you're in a map, you will only be able to choose from Sawbonez, Proxy or Fragger. If you want to use any of the other mercs you will first have to type in one of the following commands:

Vassili / Aimee / Phantom / Redeye:
set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_01_Gameplay.Pawns.A_CovertOps_01
set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_02_Gameplay.Pawns.A_CovertOps_02
set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_03_Gameplay.Pawns.A_CovertOps_03
set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_04_Gameplay.Pawns.A_CovertOps_04

Proxy / Bushwacker / Fletcher:
set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_01_Gameplay.Pawns.A_Engineer_01
set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_02_Gameplay.Pawns.A_Engineer_02
set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_03_Gameplay.Pawns.A_Engineer_03

Skyhammer / Arty / Stoker / Kira:
set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_01_Gameplay.Pawns.A_FieldOps_01
set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_02_Gameplay.Pawns.A_FieldOps_02
set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_03_Gameplay.Pawns.A_FieldOps_03
set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_04_Gameplay.Pawns.A_FieldOps_04

Sawbonez / Aura / Phoenix / Sparks:
set SGPlayerReplicationInfo m_SlotArcheTypes Medic_01_Gameplay.Pawns.A_Medic_01
set SGPlayerReplicationInfo m_SlotArcheTypes Medic_02_Gameplay.Pawns.A_Medic_02
set SGPlayerReplicationInfo m_SlotArcheTypes Medic_03_Gameplay.Pawns.A_Medic_03
set SGPlayerReplicationInfo m_SlotArcheTypes Medic_04_Gameplay.Pawns.A_Medic_04

Fragger / Thunder / Nader / Rhino:
set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_01_Gameplay.Pawns.A_Soldier_01
set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_02_Gameplay.Pawns.A_Soldier_02
set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_03_Gameplay.Pawns.A_Soldier_03
set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_04_Gameplay.Pawns.A_Soldier_04

Once you have done that, kill yourself / tap out and your chosen merc will replace the first merc slot.
Weapon Switching
You're now in your desired map using your desired merc. But what if you now want to use a different weapon? Want Proxy with an LMG or Sparks with a Katana? Well the following will have you covered:

IMPORTANT - weapon sights will be screwed up, to fix that, spawn the weapon you want, type

restartlevel

then reenter the command for the weapon you want (or press the 'up arrow' key)


Primary Weapons


M4A1 / BR-16 / Dreiss AR / Timik-47 / Stark AR
Set SGPawn PrimaryWeapons (A_AssaultRifle_01)
Set SGPawn PrimaryWeapons (A_AssaultRifle_02)
Set SGPawn PrimaryWeapons (A_AssaultRifle_03)
Set SGPawn PrimaryWeapons (A_AssaultRifle_04)
Set SGPawn PrimaryWeapons (A_AssaultRifle_07)

Hollunds 880 / Remburg 7 / Ahnuhld-12
Set SGPawn PrimaryWeapons (A_Shotgun_01)
Set SGPawn PrimaryWeapons (A_Shotgun_02)
Set SGPawn PrimaryWeapons (A_Shotgun_03)

SMG-9 / Hochfir / KEK-10 / Crotzni / Blishlok
Set SGPawn PrimaryWeapons (A_SubMachineGun_01)
Set SGPawn PrimaryWeapons (A_SubMachineGun_02)
Set SGPawn PrimaryWeapons (A_SubMachineGun_03)
Set SGPawn PrimaryWeapons (A_SubMachineGun_04)
Set SGPawn PrimaryWeapons (A_SubMachineGun_05)

MK46 / K-121
Set SGPawn PrimaryWeapons (A_MachineGun_01)
Set SGPawn PrimaryWeapons (A_MachineGun_02)

MOA SNPR-1 / PDP-70 / Fel-ix / Granduer SR
Set SGPawn PrimaryWeapons (A_SniperRifle_01)
Set SGPawn PrimaryWeapons (A_SniperRifle_02)
Set SGPawn PrimaryWeapons (A_SniperRifle_03)
Set SGPawn PrimaryWeapons (A_SniperRifle_04)


Secondary Weapons


M9 / Silenced M9 / DE .50 / Simeon .357 / Caulden / Selbstadt .40 / Smjüth & Whetsman .40
Set SGPawn SecondaryWeapons (A_Pistol_01)
Set SGPawn SecondaryWeapons (A_Pistol_02)
Set SGPawn SecondaryWeapons (A_Pistol_03)
Set SGPawn SecondaryWeapons (A_Pistol_04)
Set SGPawn SecondaryWeapons (A_Pistol_05)
Set SGPawn SecondaryWeapons (A_Pistol_06)
Set SGPawn SecondaryWeapons (A_Pistol_07)

MP 400 / Silenced MP 400 / Tølen MP / Empire-9
Set SGPawn SecondaryWeapons (A_MachinePistol_01)
Set SGPawn SecondaryWeapons (A_MachinePistol_02)
Set SGPawn SecondaryWeapons (A_MachinePistol_03)
Set SGPawn SecondaryWeapons (A_MachinePistol_04)


Melee Weapons


Beckhill Combat Knife / Stilnotto Stiletto / Kukri / Cricket bat / Katana
Set SGPawn Meleeweapons (A_Knife_01)
Set SGPawn Meleeweapons (A_Knife_02)
Set SGPawn Meleeweapons (A_Knife_03)
Set SGPawn Meleeweapons (A_CricketBat_01)
Set SGPawn Meleeweapons (A_Katana_01)

You will have to kill yourself after each command and respawn to acquire the weapons you want.

Bear in mind that you can use ANY weapon in ANY slot, just change the command around. For example, an Empire-9 in your Primary slot would be:

Set SGPawn PrimaryWeapons (A_MachinePistol_04)
Ability Switching
Now you have your preferred combination of map, merc and weapons, you'll now probably want to try out various abilities. Well never fear, the relevant commands are down here:

Set SGPawn Items (A_ActiveHealingAura_01)
Set SGPawn Items (A_AirstrikeMarker_01)
Set SGPawn Items (A_AirstrikeMarker_02)
Set SGPawn Items (A_AmmoPack_01)
Set SGPawn Items (A_ConcussionGrenade_01)
Set SGPawn Items (A_DeployableCover_01_DeployableItem)
Set SGPawn Items (A_FragGrenade_01)
Set SGPawn Items (A_GrenadeLauncher_01)
Set SGPawn Items (A_HealthPack_01)
Set SGPawn Items (A_HealthPack_02)
Set SGPawn Items (A_HeartbeatSensor_01)
Set SGPawn Items (A_IRGoggles_01)
Set SGPawn Items (A_Martyrdom_01)
Set SGPawn Items (A_Mine_01)
Set SGPawn Items (A_Molotov_01)
Set SGPawn Items (A_OrbitalLaser_01)
Set SGPawn Items (A_RocketLauncher_01)
Set SGPawn Items (A_SelfRevive_01)
Set SGPawn Items (A_SmokeGrenade_01)
Set SGPawn Items (A_StickyBomb_01)
Set SGPawn Items (A_ThirdEyeCam_02)
Set SGPawn Items (A_ThirdEyeDevice_01)
Set SGPawn Items (A_ThrowableKnife_01)

It should be obvious what these all are.

To have two custom items equipped, use a comma to seperate them. The first will occupy your 'Q' slot, the second your 'E' spot. So for example, if you wanted an Airstrike Marker as your Q ability and an Ammo Pack as your E ability, you would type:

Set SGPawn Items (A_AirstrikeMarker_02, A_AmmoPack_01)


The following commands are also available, however I personally could not get any of them to work. If anyone else is able to get these working in some fashion, please tell me then I'll update this guide with how to do so.

Set SGPawn Items (A_ActiveCamo_01)
Set SGPawn Items (A_AmmoStation_01)
Set SGPawn Items (A_Artillery_01)
Set SGPawn Items (A_Blowtorch_01)
Set SGPawn Items (A_C4_01)
Set SGPawn Items (A_C4Wireless_01)
Set SGPawn Items (A_Defibs_01)
Set SGPawn Items (A_DeployableCover_01)
Set SGPawn Items (A_Grenade_01)
Set SGPawn Items (A_HackingDevice_01)
Set SGPawn Items (A_HealingStation_01)
Set SGPawn Items (A_HelpUp_01)
Set SGPawn Items (A_ObjectiveCarryItem)
Set SGPawn Items (A_LaserPainter_01)
Set SGPawn Items (A_PDA_01)
Set SGPawn Items (A_Pliers_01)
Set SGPawn Items (A_ReviveGun_01)
Set SGPawn Items (A_Screwdriver_01)
Set SGPawn Items (A_StickyMine_01)
Set SGPawn Items (A_SupplyCrate_01)
Set SGPawn Items (A_ThirdEyeCam_01)
Set SGPawn Items (A_Tomahawk_01)
Set SGPawn Items (A_Turret_01)

Again, these can be used in whatever slot you wish, so you can have IR Goggles in your melee slot if you so desire.
Teleporting
A few maps have routes you cannot pass normally, such as the first objective on Trainyard or the Last stage on Underground. Though these can both be bypassed by other commands, it is much easier to just teleport yourself, and to do that, simply type "set SGPawn Location (x x x)", with "x" being the x, y and z coordinates respectively.

For example, say you wanted to get to the bridge on the last stage of Trainyard, you would type:

set SGPawn Location (x=3723, y=-2867, z=2895)

The following Pastebin has examples of other useful locations:

http://pastebin.com/7CbSAEiP

That Pastebin is formatted for the 'bugitgo' command, which has now been disabled. Simply ignore 'bugitgo' and '1 1 1 1' as these are not required for this method.
Demo Recording
Feel like recording a demo? These commands have you covered.

Starts recording
DemoRec

Stops recording
DemoStop

Plays demo with indicated filename
DemoPlay demofilename.demo

Moves camera into freemode
SpectateFreeCam

Cancels previous command
DemoViewNextPlayer

Adjusts playback speed
SloMo #.#

Adjusts fog density
FogDensity #.#
Misc. Commands
The rest of these are various little things you can change:

Will change your movement speed
set SDPawn groundspeed 100000

Will change your jump height
set SGPawn jumpz 1500

Will change your max health
set SDPawn health 1000

Toggles HUD on and off
togglehud

Gives inifinite ammo for both your guns and abilities, as well as no ability cooldown
set SGPlayerSetCooldown m_AbilityCoolDowns (m_autorate=10) | set SGCooldownComponent m_energycost (0) | set SGInventoryManager bInfiniteAmmo true

Infinite health (also disables explosive knockback)
set SGPlayerController bgodMode true

Displays weapon spread
DisplayAll SGStandardPistol m_currentSpread
And replace "Pistol" with whatever weapon class you want to look at spread for, however, for the SMGs it is SGStandardSMG.

These show the name of an object you are looking at and change it's position, rotation and scale
ShowDebug INPUT
set objname location (x=0, y=0, z=0)
set objname Rotation (yaw=0, pitch=0, roll=0)
set objname DrawScale3D (x=1, y=1, z=1)

Begins a single-player game
set SGGameInfo Timelimit 999 | set SGGameInfo m_minplayers 1 | set SGTeamInfo respawntime 0 | set SGTeamInfo m_minimumrespawnwaittime 0

Modifies game speed
[Enter the speed you want, then enter restartlevel for this to work]
set SGGameInfo Gamespeed 2

Modifies gravity
set SGWorldInfo worldgravityz -700
Dirty Bomb Single Player Utilities
"Dirty Bomb Single Player Utilities" is a neat little program made by Simple_AOB which allows for multiple commands to be easily copied over in one go.

The latest version can be downloaded from here:

https://simpleaob.com/software/dbspu/latest.zip

Source code for the latest version is available here:

https://github.com/SimpleAOB/Dirty-Bomb-Singleplayer-Utils

Original Reddit post

Here are some screenshots of the, as of the time of writing this, current build:




Extra
Remember, Dirty Bomb uses Unreal Engine 3 and as such, you can screw around with default UE3 commands and see which work and which don't. I'm personally not an expert with UE3, but a command list can be found here:

https://udn.epicgames.com/Three/ConsoleCommands.html

With a list of Pawn variables here:

http://web.archive.org/web/20150709071206/http://wiki.beyondunreal.com/UE3:Pawn_(UT3)

/u/fr0sz has also provided a dump of the classes and variables, which you can use to test out various commands:

{LINK REMOVED}

I take no credit for "discovering" any of these, I'm merely putting them all into one place.
< >
76 Comments
I BEARly Survived Oct 7 @ 7:30am 
K THX
湘楚小书童 Sep 25 @ 3:45am 
6666666666666666666666666666
how to start game in the offline mode?i want to do the obj
Dr.Rogue69™ Aug 28 @ 12:36am 
made an updated guide since this one is not
http://steamcommunity.com/sharedfiles/filedetails/?id=1121982768
Arsonist Cow Aug 27 @ 5:09pm 
You can check the movement speed with a weapon by using the command:
DisplayAll SDPawn Velocity
It shows X and Y though, so line up so that mostly only one of them is affected when moving.
Dr.Rogue69™ Aug 22 @ 4:10am 
The command for The new dome is: switchlevel OBJ_DomeRedux
The command for Javelin is: set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_05_Gameplay.Pawns.A_FieldOps_05
The command for Axe is: Set SGPawn Meleeweapons (A_Tomahawk_01)
The command for Shar-Cis: Set SGPawn PrimaryWeapons (A_AssaultRifle_06)
Dr.Rogue69™ Aug 14 @ 12:11am 
Turtle is set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_04_Gameplay.Pawns.A_Engineer_04
I BEARly Survived Jul 21 @ 3:19am 
you have not included turtle
CombatMist May 24 @ 4:57pm 
Can you add command for dockyard please.
Khint May 22 @ 11:31pm 
switch mercs via the commands of course