Console Commands

From Dirty Bomb Wiki
Jump to: navigation, search

Please be aware these commands will ONLY work in Single Player Mode. To get into Single Player Mode, please work down from the top of this document to the bottom.

DISCLAIMER: The use of the set / get / getall commands have been blocked and thus rendered useless the lines using them (merc switching, ability, etc..)

Level Switching[edit | edit source]

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_map01 [Tutorial]

obj_bridge

obj_canarywharf [Underground]

obj_dome

obj_trainyard

obj_victoria [Terminal]

obj_whitechapel [Chapel]

obj_dockyard

obj_heist [Vault]

obj_castle

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[edit | edit source]

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[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_01_Gameplay.Pawns.A_CovertOps_01

Aimee[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_02_Gameplay.Pawns.A_CovertOps_02

Phantom[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_03_Gameplay.Pawns.A_CovertOps_03

Redeye[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes CovertOps_04_Gameplay.Pawns.A_CovertOps_04

Proxy[edit | edit source]

set SGPlayerReplicationonfo m_SlotArcheTypes Engineer_01_Gameplay.Pawns.A_Engineer_01

Bushwacker[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_02_Gameplay.Pawns.A_Engineer_02

Fletcher[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_03_Gameplay.Pawns.A_Engineer_03

Turtle[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Engineer_04_Gameplay.Pawns.A_Engineer_04

Skyhammer[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_01_Gameplay.Pawns.A_FieldOps_01

Arty[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_02_Gameplay.Pawns.A_FieldOps_02

Stoker[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_03_Gameplay.Pawns.A_FieldOps_03

Kira[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_04_Gameplay.Pawns.A_FieldOps_04

Sawbonez[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Medic_01_Gameplay.Pawns.A_Medic_01

Aura[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Medic_02_Gameplay.Pawns.A_Medic_02

Phoenix[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Medic_03_Gameplay.Pawns.A_Medic_03

Sparks[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Medic_04_Gameplay.Pawns.A_Medic_04

Fragger[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_01_Gameplay.Pawns.A_Soldier_01

Thunder[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_02_Gameplay.Pawns.A_Soldier_02

Nader[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_03_Gameplay.Pawns.A_Soldier_03

Rhino[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Soldier_04_Gameplay.Pawns.A_Soldier_04

Javelin[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes FieldOps_05_Gameplay.Pawns.A_FieldOps_05

Guardian[edit | edit source]

set SGPlayerReplicationInfo m_SlotArcheTypes Medic_05_Gameplay.Pawns.A_Medic_05

Once you have done that, kill yourself / tap out and your chosen merc will replace the first merc slot.

Weapon Switching[edit | edit source]

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:

Primary Weapons[edit | edit source]

M4A1[edit | edit source]

Set SGPawn PrimaryWeapons (A_AssaultRifle_01)

BR-16[edit | edit source]

Set SGPawn PrimaryWeapons (A_AssaultRifle_02)

Dreiss AR[edit | edit source]

Set SGPawn PrimaryWeapons (A_AssaultRifle_03)

Timik-47[edit | edit source]

Set SGPawn PrimaryWeapons (A_AssaultRifle_04)

Stark AR[edit | edit source]

Set SGPawn PrimaryWeapons (A_AssaultRifle_07)

Hollunds 880[edit | edit source]

Set SGPawn PrimaryWeapons (A_Shotgun_01)

Remburg 7[edit | edit source]

Set SGPawn PrimaryWeapons (A_Shotgun_02)

Ahnuhld-12[edit | edit source]

Set SGPawn PrimaryWeapons (A_Shotgun_03)

SMG-9[edit | edit source]

Set SGPawn PrimaryWeapons (A_SubMachineGun_01)

Hochfir[edit | edit source]

Set SGPawn PrimaryWeapons (A_SubMachineGun_02)

KEK-10[edit | edit source]

Set SGPawn PrimaryWeapons (A_SubMachineGun_03)

Crotzni[edit | edit source]

Set SGPawn PrimaryWeapons (A_SubMachineGun_04)

Blishlok[edit | edit source]

Set SGPawn PrimaryWeapons (A_SubMachineGun_05)

MK46[edit | edit source]

Set SGPawn PrimaryWeapons (A_MachineGun_01)

K-121[edit | edit source]

Set SGPawn PrimaryWeapons (A_MachineGun_02)

MOA SNPR-1[edit | edit source]

Set SGPawn PrimaryWeapons (A_SniperRifle_01)

PDP-70[edit | edit source]

Set SGPawn PrimaryWeapons (A_SniperRifle_02)

Fel-ix[edit | edit source]

Set SGPawn PrimaryWeapons (A_SniperRifle_03)

Granduer SR[edit | edit source]

Set SGPawn PrimaryWeapons (A_SniperRifle_04)

Shar-C[edit | edit source]

Set SGPawn PrimaryWeapons (A_AssaultRifle_06)

Secondary Weapons[edit | edit source]

M9[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_01)

Silenced M9[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_02)

DE.50[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_03)

Simeon .357[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_04)

Caulden[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_05)

Selbstadt .40[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_06)

Smjüth & Whetsman .40[edit | edit source]

Set SGPawn SecondaryWeapons (A_Pistol_07)

MP 400[edit | edit source]

Set SGPawn SecondaryWeapons (A_MachinePistol_01)

Silenced MP 400[edit | edit source]

Set SGPawn SecondaryWeapons (A_MachinePistol_02)

Tølen MP[edit | edit source]

Set SGPawn SecondaryWeapons (A_MachinePistol_03)

Empire-9[edit | edit source]

Set SGPawn SecondaryWeapons (A_MachinePistol_04)

Melee Weapons[edit | edit source]

Beckhill Combat Knife[edit | edit source]

Set SGPawn Meleeweapons (A_Knife_01)

Stilnotto Stiletto[edit | edit source]

Set SGPawn Meleeweapons (A_Knife_02)

Kukri[edit | edit source]

Set SGPawn Meleeweapons (A_Knife_03)

Cricket bat[edit | edit source]

Set SGPawn Meleeweapons (A_CricketBat_01)

Katana[edit | edit source]

Set SGPawn Meleeweapons (A_Katana_01)

Axe[edit | edit source]

Set SGPawn Meleeweapons (A_Tomahawk_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[edit | edit source]

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.

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 feel free to edit this Wiki page.

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.

Update 2018/08-02 none of these commands work!

Teleporting[edit | edit source]

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[edit | edit source]

Feel like recording a demo? These commands have you covered.

Starts recording:[edit | edit source]

DemoRec

Stops recording:[edit | edit source]

DemoStop

Plays demo with indicated filename[edit | edit source]

DemoPlay demofilename.demo

Moves camera into freemode[edit | edit source]

SpectateFreeCam

Cancels previous command[edit | edit source]

DemoViewNextPlayer

Adjusts playback speed[edit | edit source]

SloMo #.#

Adjusts fog density[edit | edit source]

FogDensity #.#

Misc. Commands[edit | edit source]

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 m_currentSpread sgweapon

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)

Modifies game speed

set SGGameInfo Gamespeed 2

Modifies gravity

set SGWorldInfo worldgravityz -700

Single Player Game[edit | edit source]

set SGGameInfo Timelimit 999 | set SGGameInfo m_minplayers 1 | set SGGameInfo m_FriendlyFireEnabled 1 | set SGTeamInfo respawntime 0 | set SGTeamInfo m_minimumrespawnwaittime 0

Extra[edit | edit source]

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:

http://www.mediafire.com/download/igi45w574aeyk7o/DB+dump.rar