Dev Console (LWR)

From UFOpaedia
Revision as of 15:30, 24 February 2021 by SweetMochi (talk | contribs) (→‎Officer Training School: add closing div)
Jump to navigation Jump to search

Back To Main Page

This is a list of commands, items, perks, research, foundry projects, and others, that can be added/enabled via the developer's console. To activate the dev console, you will need to download the modified Engine.upk file from the Long War Nexus mod page.

Some commands, e.g. TeleportToCursor, can only be used in the tactical game (Battlescape) or . Others, e.g. GiveItem, GiveTech, and GiveFoundry, are part of the strategy game, so they will only work in XCOM HQ (Geoscape).


Perks

To add a perk to one of your units, type GivePerk [array number] in the console while you are in Battlescape and your mouse pointer is over that unit. To remove a perk, add a - (dash) before the perk name.

  • Table columns are sortable, click on the arrows.
  • Adding alien perks to Xcom and vice-versa could have some bizarre effects, mostly due to lack of animations for the unit in question to use the new perk. Some units might also not have their AI programmed to make use of the perks you give them, for example Stealth on a Chrysalid.
  • You can use the command GivePsiPerks to a selected soldier in both Geo- and Battlescape.
  • The command GiveBottomPerks gives the first perks of a soldier's class. (all of them, not just one per promotion)
  • The reverse command, GiveTopPerks, gives the top perks of a soldier's class. (all of them, not just one per promotion)
Perks list
Perk Name Array Number Dev Console name


Items

To add an item to inventory, type GiveItem [name] [amount] in the console while in Geoscape.

  • Table columns are sortable, click on the arrows.
Items list
Item name Array number Dev console name
Motion Tracker 222 END_EXALT_COLLECTIBLES_15
Sawed-Off Shotgun 254 END_VEHICLE_UPGRADES
LMG 246 BEGIN_MEC_ARMOR
Battle Rifle 241 EXALTLoot1
Machine Pistol 236 MecArmor3_Flamethrower_Grenade_Electro
SMG 231 MecArmor2_Flamethrower_Mist
Marksman's Rifle 226 MecArmor1_Kinetic
Assault Carbine 32 SectopodArm
Seraph Armor 67 END_ARMOR
Aurora Armor 68 BEGIN_ITEMS
Vortex Armor 65 ArmorPsi
SHIV Autocannon 109 ShivMinigun
Rocket Launcher 218 ExaltRocketLauncher
MEC Minigun 28 Chaingun
Shotgun 4 Shotgun
Sniper Rifle 213 ExaltSniperRifle
SAW 214 ExaltLMG
Assault Rifle 212 ExaltAssaultRifle
Pistol 2 Pistol
MEC-1 Paladin 193 MecArmor1
MEC-2 Defender 194 MecArmor2
MEC-3 Valiant 145 ZombieCorpse
MEC-4 Dauntless 195 MecArmor3
MEC-5 Devastator 148 END_EXALT_COLLECTIBLES_23
MEC-6 Vanguard 191 END_EXALT_COLLECTIBLES_21
MEC-7 Vindicator 210 END_EXALT_COLLECTIBLES_20
MEC Augments armor 192 MecCivvies
Leather Jacket 66 ArmorCovertOps
SHIV 113 SHIVDeck_I
Alloy SHIV 114 SHIVDeck_II
Hover SHIV 115 SHIVDeck_III
Shadow Armor 64 ArmorGhost
Archangel Armor 63 ArmorArchangel
Titan Armor 62 ArmorTitan
Laser Pistol 8 LaserPistol
Laser Rifle 215 ExaltLaserAssaultRifle
Autolaser 217 ExaltHeavyLaser
Laser Sniper Rifle 216 ExaltLaserSniperRifle
Laser Scatterer 10 LaserAssaultGun
Laser Carbine 251 BEGIN_INTERCEPTOR_CONSUMABLES
Laser Autocannon 149 BEGIN_CORPSES
MEC Laser Lance 29 Railgun
Laser Strike Rifle 227 MecArmor1_Flamethrower
Laser Shatterray 232 MecArmor3_Kinetic_Grenade_Electro
Laster Heater 237 MecArmor3_Flamethrower_Grenade_ProximityMine
Laser Battle Rifle 242 EXALTLoot2
Laser Gatler 247 END_MEC_ARMOR
Arc Rifle 253 END_INTERCEPTOR_CONSUMABLES
Gauss Rifle 3 AssaultRifle
Gauss Autorifle 5 LMG
Gauss Long Rifle 6 SniperRifle
Alloy Cannon 16 AlloyCannon
MEC Railgun 186 XPACK_BEGIN_CORPSES
Recoilless Rifle 7 RocketLauncher
SHIV Sentry Gun 110 ShivSentry
Gauss Carbine 53 SoldierNoWeapon
Alloy Strike Rifle 228 MecArmor2_Kinetic_Grenade
Gauss Stuttergun 233 MecArmor3_Kinetic_Grenade_ProximityMine
Gauss AutoPistol 238 MecArmor3_Flamethrower_Mist_Electro
Heavy Gauss Rifle 243 EXALTLoot3
Gauss Machine Gun 248 CorpsePlaceholder2
Pulse Rifle 9 LaserAssaultRifle
Pulse Autolaser 11 HeavyLaser
Pulse Sniper Rifle 12 LaserSniperRifle
Superheavy Pulser 111 ShivLaser
Pulse Carbine 252 BEGIN_VEHICLE_UPGRADES
Scatter Blaster 1 BEGIN_WEAPONS
MEC Pulse Lance 190 XPACK_END_CORPSES
Blaster Rifle 229 MecArmor2_Kinetic_Mist
Pulse Stengun 234 MecArmor3_Kinetic_Mist_Electro
Blaster 239 MecArmor3_Flamethrower_Mist_ProximityMine
Heavy Pulse Rifle 244 BEGIN_EXALT_WEAPONS
Gatling Pulser 249 END_CORPSES
Plasma Pistol 13 PlasmaPistol
Plasma Carbine 14 PlasmaLightRifle
Plasma Rifle 15 PlasmaAssaultRifle
Plasma Sniper 18 PlasmaSniperRifle
Plasma Novagun 17 HeavyPlasma
MEC Particle Beam 30 ParticleBeam
Blaster Launcher 19 BlasterLauncher
Superheavy Plasma 112 ShivPlasma
Reflex Cannon 99 BEGIN_VEHICLES
Reflex Rifle 230 MecArmor2_Flamethrower_Grenade
Plasma Stormgun 235 MecArmor3_Kinetic_Mist_ProximityMine
Plasma Mauler 240 BEGIN_EXALT_COLLECTIBLES
Heavy Plasma Rifle 245 END_EXALT_WEAPONS
Plasma Dragon 250 BEGIN_CAPTIVES
MEC Flamethrower 23 MecFlameThrower
MEC Kinetic Strike Module 22 MecKineticArm
Mec Proximity Mine Launcher 27 MecProximityMineLauncher
Mec Electro Pulse 26 MecElectroPulse
Mec Grenade Launcher 24 MecGrenadeLauncher
Mec Restorative Mist 25 MecRestorativeMist
HE Grenade 81 FragGrenade
AP Grenade 87 NeedleGrenade
Concussion Grenade 83 FlashBang
Smoke Grenade 82 SmokeGrenade
Battle Scanner 97 BattleScanner
Alien Grenade 84 AlienGrenade
Mimic Beacon 88 MimicBeacon
Chem Grenade 86 GasGrenade
Shadow Device 85 GhostGrenade
Psi Grenade 96 PsiGrenade
Arc Thrower 73 ArcThrower
Medikit 69 Medikit
Combat Stims 70 CombatStims
Grapple 38 Grapple
Chitin Plating 72 ChitinPlating
Alloy Plating 75 ReinforcedArmor
Mind Shield 71 MindShield
Respirator Implant 76 RespiratorImplant
Reaper Rounds 78 ReaperRounds
Marksman's Scope 34 SectopodHeatRay
Rocket 77 BallisticModule
Shredder Rocket 89 BEGIN_ALIEN_GRENADES
Chameleon Suit 94 END_EXALT_COLLECTIBLES_25
Ceramic Plates 95 END_ALIEN_GRENADES
Alloy Bipod 196 END_EXALT_COLLECTIBLES_0
Breaching Ammo 197 END_EXALT_COLLECTIBLES_1
Impact Vest 200 END_EXALT_COLLECTIBLES_4
Walker Servos 202 END_EXALT_COLLECTIBLES_6
Neural Gunlink 203 END_EXALT_COLLECTIBLES_7
Shredder Ammo 204 END_EXALT_COLLECTIBLES_8
Psi Screen 205 END_EXALT_COLLECTIBLES_9
Illuminator Gunsight 209 END_EXALT_COLLECTIBLES_13
Reinforced Armor 220 NullPrereq
Neuroregulator 224 END_EXALT_COLLECTIBLES_17
The Thumper 129 END_EXALT_COLLECTIBLES_28
Tactical Sensors 201 END_EXALT_COLLECTIBLES_5
Incinerator Module 211 END_EXALT_COLLECTIBLES_18
HEAT Ammo 107 END_VEHICLES
Counterfire Pods 123 END_SHIP_WEAPONS
Smartshell Pods 124 END_EXALT_COLLECTIBLES_29
Weapon Supercoolers 128 END_EXALT_COLLECTIBLES_27
Autosentry Turret 130 END_EXALT_COLLECTIBLES_24
Adaptive Tracking Pods 131 CivilianCorpse
Core Armoring 132 TankCorpse
Damage Control Pod 133 SoldierCorpse
Advanced Suppression Module 199 END_EXALT_COLLECTIBLES_3
Elerium Turbos 221 END_EXALT_COLLECTIBLES_14
Battle Computer 90 END_EXALT_COLLECTIBLES
Holo-Targeter 108 END_EXALT_COLLECTIBLES_30
Alloy-Carbide Plating 189 END_EXALT_COLLECTIBLES_22
Fuel Cell 178 DamagedHyperwaveBeacon
Alien Trophy 98 END_GRENADES
Cognitive Enhancer 223 END_EXALT_COLLECTIBLES_16
SCOPE 74 TargetingModule
Alloy Jacketed Rounds 31 BEGIN_SPECIAL_WEAPONS
Enhanced Beam Optics 40 BEGIN_ALIEN_SHARED_WEAPONS
Plasma Stellerator 48 END_ALIEN_SHARED_WEAPONS
Laser Sight 79 END_ITEMS
Hi Cap Mags 80 BEGIN_GRENADES
Armor Piercing Ammo 198 END_EXALT_COLLECTIBLES_2
Targeting Module 219 END_EXALT_COLLECTIBLES_19
Flak Ammo 225 END_EXALT_COLLECTIBLES
Alien Pistol 21 SeekerPlasmaPistol
Alien Pistol 41 SectoidPlasmaPistol
Alien Carbine 52 OutsiderWeapon
Alien Carbine 42 PlasmaLightRifle_ThinMan
Alien Carbine 43 PlasmaLightRifle_Floater
Alien Carbine 44 PlasmaLightRifle_Muton
Alien Rifle 45 PlasmaAssaultRifle_Muton
Alien Rifle 46 HeavyPlasma_Floater
Alien Heavy Weapon 47 HeavyPlasma_Muton
Alien Cannon 20 MechtoidPlasmaCannon
Alien Cannon 185 SectopodChestCannon
Alien Turret 33 SectopodCannon
Sectopod Cluster Bomb 55 SectopodClusterBomb
Drone Beam 36 DroneBeam
Alien Cannon 39 CyberdiscWeapon
Alien Grenade 92 MutonGrenade
Alien Grenade 93 CyberdiscGrenade
Alien Grenade 91 FloaterGrenade
Psi Amp 37 PsiAmp
Psi Locus 50 ElderWeapon
Chryssalid Claw 35 ChryssalidClaw
Seeker Tentacles 56 SeekerTentacles
Zombie Fist 49 ZombieFist
Muton Blade 51 MutonBlade
Acid Spit 54 Plague
Tac Vest 57 END_WEAPONS
Banshee Armor 58 BEGIN_ARMOR
Tac Armor 59 ArmorKevlar
Carapace Armor 60 ArmorCarapace
Corsair Armor 61 ArmorSkeleton
SHIV 100 SHIV
Alloy SHIV 101 SHIV_Alloy
Hover SHIV 102 SHIV_Hover
Interceptor 103 Interceptor
Firestorm 104 Firestorm
Skyranger 105 Skyranger
Satellite 106 Satellite
Stingray Missiles 116 BEGIN_SHIP_WEAPONS
Phoenix Cannon 117 IntWeap_I
Avalanche Missiles 118 IntWeap_II
Laser Cannon 119 IntWeap_III
Plasma Cannon 120 IntWeap_IV
EMP Cannon 121 IntWeap_V
Fusion Lance 122 IntWeap_VI
Defense Matrix (Dodge) 125 IntConsumable_Dodge
UFO Tracking (Boost) 126 IntConsumable_Boost
Uplink Targeting (Aim) 127 IntConsumable_Hit
Sectoid Corpse 134 SectoidCorpse
Sectoid Commander Corpse 135 SectoidCommanderCorpse
Floater Corpse 136 FloaterCorpse
Heavy Floater Corpse 137 FloaterHeavyCorpse
Thin Man Corpse 138 ThinManCorpse
Muton Corpse 139 MutonCorpse
Muton Elite Corpse 140 MutonEliteCorpse
Berserker Corpse 141 BerserkerCorpse
Cyberdisc Wreck 142 CyberdiscCorpse
Ethereal Corpse 143 EtherealCorpse
Cryssalid Carcass 144 CryssalidCorpse
Sectopod Wreck 146 SectopodCorpse
Drone Wreck 147 DroneCorpse
Sectoid Captive 150 SectoidCaptive
Sectoid Commander Captive 151 SectoidCommanderCaptive
Floater Captive 152 FloaterCaptive
Floater Heavy Captive 153 FloaterHeavyCaptive
Thin Man Captive 154 ThinManCaptive
Muton Captive 155 MutonCaptive
Muton Elite Captive 156 MutonEliteCaptive
Berserker Captive 157 BerserkerCaptive
Ethereal Captive 158 EtherealCaptive
Phalanx Armor 159 END_CAPTIVES
Aegis Armor 160 BEGIN_COLLECTIBLES
Elerium 161 Elerium115
Alien Alloys 162 AlienAlloys
Weapon Fragments 163 WeaponFragment
Meld 164 Meld
Alien Entertainment 165 AlienEntertainment
Alien Food 166 AlienFood
Alien Stasis Tank 167 AlienStasisTank
Alien Computer 168 UFONavigation
AlienSurgery 169 AlienSurgery
UFO Power Source 170 UFOPowerSource
Hyperwave Beacon 171 HyperwaveBeacon
Damaged Alien Entertainment 172 DamagedAlienEntertainment
Damaged Alien Food 173 DamagedAlienFood
Damaged Alien StasisTank 174 DamagedAlienStasisTank
Damaged UFO Navigation 175 DamagedUFONavigation
Damaged Alien Surgery 176 DamagedAlienSurgery
Damaged UFO PowerSource 177 DamagedUFOPowerSource
Fusion Core 179 UFOFusionLauncher
Ethereal Device 180 PsiLink
Exalt Intel 181 ExaltIntel
Kestrel Armor 182 END_COLLECTIBLES
Outsider Shard 183 Base_Shard
Skeleton Key 184 Skeleton_Key
Mechtoid Core 187 MechtoidCore
Seeker Corpse 188 SeekerCorpse
Rebuild SHIV 206 END_EXALT_COLLECTIBLES
Rebuild Alloy SHIV 207 END_EXALT_COLLECTIBLES
Rebuild Hover SHIV 208 END_EXALT_COLLECTIBLES
NONE 0 NONE

Research projects

Type GiveTech [name without eTech sign; array number if no name is present] in the console while in Geoscape.

  • Table columns are sortable, click on the arrows.
  • The command GiveAllTech completes all Research projects and unlocks all Gene mods.
Research projects list
Project Name Array Number Dev Console name
Xenobiology 1 eTech_Xenobiology
Xenoneurology 2 eTech_ArcThrower
Alien Operations 3 eTech_BaseShard
Alien Propulsion 4 eTech_Firestorm
Sectoid Commander Autopsy 5 eTech_AutopsySectoidCommander
Alien Communications 6 eTech_Hyperwave
Alien Command and Control 7 eTech_PsiLink
Xenogenetics 8 eTech_Meld
Elerium 9 eTech_Elerium
Mind And Machine 10 eTech_PsiArmor
Advanced Body Armor 11 eTech_Armor_Carapace
Mobile Power Armor 12 eTech_Armor_Carapace
Advanced Power Armor 13 eTech_Armor_Titan
Stealth Systems 14 eTech_Armor_Ghost
Antigrav Systems 15 eTech_Armor_ArchAngel
Alien Weaponry 16 eTech_WeaponFragments
Alien Materials 17 eTech_AlienMaterials
Experimental Warfare 18 eTech_Exp_Warfare
Beam Lasers 19 eTech_LaserWeapons
Advanced Beam Lasers 20 eTech_PrecisionLasers
Pulse Lasers 21 eTech_HeavyLasers
Compact Plasma Weapons 22 eTech_Plasma_Pistol
Plasma Weapons 23 eTech_Plasma_Light
Advanced Plasma Weapons 24 eTech_Plasma_Rifle
Heavy Plasma Weapons 25 eTech_Plasma_Heavy
Precision Plasma Weapons 26 eTech_Plasma_Sniper
Gauss Weapons 27 eTech_Alloy_Cannon
Vehicular Plasma Weapons 28 eTech_Plasma_Cannon
Fusion Weapons 29 eTech_Fusion_Launcher
Advanced Gauss Weapons 30 eTech_BlasterLauncher
Alien Computers 31 eTech_AlienNavigation
Alien Power Systems 32 eTech_UFOPowerSource
Electromagnetic Pulse Weapons 33 eTech_EMP
Interrogate Sectoid 34 eTech_InterrogateSectoid
Interrogate Floater 35 eTech_InterrogateFloater
Interrogate Muton 36 eTech_InterrogateMuton
Interrogate Sectoid Commander 37 eTech_InterrogateSectoidCommander
Interrogate Berserker 38 eTech_InterrogateBerserker
Interrogate Thin Man 39 eTech_InterrogateThinMan
Interrogate Heavy Floater 40 eTech_InterrogateHeavyFloater
Interrogate Muton Elite 41 eTech_InterrogateMutonElite
Interrogate Ethereal 42 eTech_InterrogateEthereal
Sectoid Autopsy 43 eTech_AutopsySectoid
Floater Autopsy 44 eTech_AutopsyFloater
Thin Man Autopsy 45 eTech_AutopsyThinMan
Muton Autopsy 46 eTech_AutopsyMuton
Chryssalid Autopsy 47 eTech_AutopsyCryssalid
Advanced Pulse Lasers 48 eTech_AutopsyZombie
Cyberdisc Autopsy 49 eTech_AutopsyCyberdisc
Berserker Autopsy 50 eTech_AutopsyBerserker
Heavy Floater Autopsy 51 eTech_AutopsyHeavyFloater
Muton Elite Autopsy 52 eTech_AutopsyMutonElite
Drone Autopsy 53 eTech_AutopsyDrone
Sectopod Autopsy 54 eTech_AutopsySectopod
Ethereal Autopsy 55 eTech_AutopsyEthereal
Mechtoid Autopsy 56 eTech_AutopsyMechtoid
Seeker Autopsy 57 eTech_AutopsySeeker
Xenopsionics 58 eTech_PsiLabs
Advanced Aerospace Concepts 59 eTech_Autopsy_END
Alien Biocybernetics 60 -
UFO Analysis: Scout 61 -
UFO Analysis: Destroyer 62 -
UFO Analysis: Abductor 63 -
UFO Analysis: Transport 64 -
UFO Analysis: Battleship 65 -
UFO Analysis: Overseer 66 -
UFO Analysis: Fighter 67 -
UFO Analysis: Raider 68 -
UFO Analysis: Harvester 69 -
UFO Analysis: Terror Ship 70 -
UFO Analysis: Assault Carrier 71 -
Improved Body Armor 72 -
Improved Combat Exoskeletons 73 -
Mobile Combat Exoskeletons 74 -
Heavy Combat Exoskeletons 75 -


Foundry projects

Type GiveFoundry [name without eFoundry sign; array number if no name is present] in the console while in Geoscape.

  • Table columns are sortable, click on the arrows.
Research projects list
Project Name Array Number Dev Console name


Facilities

Type GiveFacility [name without eFacility sign] in the console while in Geoscape.

  • Table columns are sortable, click on the arrows.
Facilities list
Facility Name Dev Console name
Access Lift eFacility_AccessLift
Laboratory eFacility_ScienceLab
Workshop eFacility_Workshop
Satellite Uplink eFacility_SmallRadar
Fission Generator eFacility_Power
Foundry eFacility_Foundry
Officer Training School eFacility_OTS
Alien Containment eFacility_AlienContain
Satellite Nexus eFacility_LargeRadar
Thermo Generator eFacility_ThermalPower
Elerium Generator eFacility_EleriumGenerator
Psionic Labs eFacility_PsiLabs
Hyperwave Relay eFacility_HyperwaveRadar
Gollop Chamber eFacility_DeusEx
Repair Bay eFacility_CyberneticsLab
Genetics Lab eFacility_GeneticsLab

Officer Training School

Type GiveOTSTech [name without eOTS sign] in the console while in Geoscape.

  • Table columns are sortable, click on the arrows.
OTS upgrades
Upgrade name Dev Console name
XTP I eOTS_SquadSize_I
XTP II eOTS_SquadSize_II
Tactical Officers eOTS_XP_II
Company Officers eOTS_HP_I
Field Officers eOTS_Leader
Regiment Officers eOTS_XP_I
Commanding Officers eOTS_Will_I

Other commands

Tactical (Battlescape):

  • AIShowNames -- Uncover unit names. Names appear above units even in FOW.
  • CaptureAndKillAliens [num] -- Captures [num] aliens and kills the remainder. Applies to current wave only.
  • KillAliens -- Instantly kill all enemies on the map. On standard missions (e.g. abductions, UFOs, terror, etc.) this will end the mission automatically. On council/EXALT missions the command will not end the mission as long as additional enemies are expected to spawn.
  • KillNearestAlien -- Kills alien nearest to mouse pointer.
  • SetHP [num] -- Sets the HP of a unit under the cursor to [num], including armor. Does not remove wounded status.
  • Slomo [num] -- Changes game speed by a factor of [num]. e.g. Slomo 1.5 gives 1.5x faster camera and unit motion. Higher values can be unstable.
  • TakeNoDamage -- GOD Mode (applies to whole squad).
  • ToggleFOW -- Removes fog of war.
  • ToggleRain -- Turns off rain. Use SetStormIntensity 0 to stop lightning flashes.
  • TeleportToCursor -- Teleport selected unit to mouse pointer location.
  • TeleportAllToCursor -- Teleport the entire squad to mouse pointer location.
  • UnlimitedMoves -- Grants unlimited moves & attacks (applies to whole squad), until the player ends the turn manually.



Strategy (Geoscape):

  • FinishAllProjects -- Immediately finish all items in foundry and workshop queue.
  • ForceFCMission [mission] -- Forces Funding Council mission once you enter Mission Control. If [mission] is omitted, gives a random valid FC mission. Mission strings are in DefaultMaps.ini.
  • GiveResource [resource] [amount] -- Add specified resource amount to inventory. Resource types: money, elerium, alloys, meld, engineers, scientists. Note: this command cannot be used to add weapon fragments (use GiveItem for that). On the other hand, elerium, alloys, and meld can be added using either GiveItem or GiveResource command (see items table).
  • GiveMeTonsOfResources [amount] -- Add the specified amount to all resource types listed above, except fragments. If you don't specify the amount, a default value of 9,999 will be added to each resource.
  • GiveItem WeaponFragment [amount] -- Add specified amount of fragments to inventory.
  • LevelUpBarracks [num] -- Promotes all soldiers in barracks by [num] ranks.
  • SetMonth [num] -- Sets month to [num]. Takes effect in Mission Control and launches the monthly report if new month is greater than current. Game starts on month 1.