Long War 2 Console Commands List



Console Commands
Code Effect
AiDebugAi [On screen] Shows All AI information for on screen units
AiDebugJobs [On screen] Shows All AI Jobs for on screen units
degugspawningtoggle [spawn points ] Shows All spawn points for current map
[TemplateName] [Team Number] [See Unit Table for Unit Names][TeamNumber is 0 for xcom and 1 for advent]
spawn points [#] [#] is the Fog of War density
GiveEngineer [#] [#] is the level of the Engineer you are adding (not sure what this means, I always set it at 1)
GiveScientist [#] [#] is the level of the Scientist that you are adding (not sure what this means, I always set it at 1)
GiveResource [Resource][#] [Resource] can be [Supplies], [Eleriumdust], [AlienAlloy], [Intel], [Eleriumcore] Increases Resource to this [#] level (you MUST have 1 unit already)
HealAllSoldiers Heals all injured soldiers instantly
KillAllAIExceptClosestUnitToCursor Kills all of the enemies EXCEPT the unit closest to the cursor instantly (this will kill any prisoners/VIPs that you do not control)
KillAllAIs Kills everything on the map except for XCOM instantly (this will kill any mindcontrolled soldiers/prisoners/VIPs that you do not control)
LevelUpBarracks Levels up all soldiers in the Barracks
Doom [#] [#] is the number of Avatar Timer pips you want to remove
RestartLevel Restarts the mission
[WorldRegion_X][#] [See WorldRegion_X Table] Choose [3] to add a Radio Relay to the region (not sure about other Integers)
SkipAi [AI Turn] Skips the AI turn (they freeze in place, but if on OW they will shoot, and reinf will take a their initial turn)
slomo [#] [#] Base is 1.0. Increase/decrease to speed up or slowdown the game (works in tactical, and in the Geoscape)
TakeNoDamage [Units] All units are invincible
TATC [XCOM] Teleports all XCOM controlled units to the current cursor position (make sure that it is on the ground and not over/under a roof or your soldiers can get trapped in the map)
TTC [Cursor Position] Teleports the selected unit to the current cursor position (make sure that it is on the ground and not over/under a roof or your soldiers can get trapped in the map)
Togglefow [on/off] Turns on/off the Fog of War (does not reveal all enemies)
ToggleGodMode XCOM has unlimited moves, ammo, and takes no damage (?) needs verification.
ToggleSquadConcealment [on/off] Turns on/off Squad Concealment
ToggleUnlimitedAmmo; [on/off] Turns on/off unlimited ammo
X2DebugMap Displays the map in Debug mode (you can't really play with this on, but if you run into a bug it can be helpful)
X2Debugvisibility Displays the map in Debug mode (you can't really play with this on, but if you run into a bug it can be helpful)
[HackReward] [See HackReward Table]. Provides this Hack Reward
[ContinentBonus] [See ContinentBonus Table]. Provides this Continent Bonus
[Quality] [PCS] [#] [Quality] is [Common], [Rare], [Epic]. [PCS] is [PCSSpeed], [PCSFocus], [PCSConditioning], [PCSPerception], [PCSAgility], [#] is the quantity
[Addon][Quality][#] [Addon] is [AimUpgrade], [ClipsizeUpgrade], [CritUpgrade], [FreeKillUpgrade], [MissDamageUpgrade], [ReloadUpgrade], [FreeFireUpgrade], [Quality] is [bsc], [adv], [sup]. [#] is the quantity
[ResourceName][Quality][#] [See Item Table]{#] is Quantity, see a complete list of item codes, including those from WOTC at https://commands.gg/xcom2/additem
[Facility][#] [See Facility Table][#] is the location within the Avenger, where 3,4,5 is the top row left to right, 6,7,8 is the second row, 9,10,11 is the third, and 12,13,14 is the bottom row, So the bottom right hand location is number 14
[POI] [WorldRegion_X] [See POI Table][See WorldRegion_X Table]
[eStat][#] closest unit to cursor.[see Stat Table][#] New Stat value
[is faceless?][#][WorldRegion_X] [#] 1 = False, 0= True [See WorldRegion_X Table]
[ActivityTemplate][WorldRegion_X] [See ActivityTemplate Table] [See WorldRegion_X table]
Lwdebugpodjobs [pod] Displays current enemy pod jobs
LWDumpActivityLog Adds all current activity to the log file
LWdumpregioninfo Adds current Region Information to the log file
[Activity][WorldRegion_X] [See Activity Table][See WorldRegion_X Table] Forces an enemy activity in a specific region
LWForceEvac Spawn an immediate Evac
[Mission][WorldRegion_X] [See Mission Table][See WorldRegion_X Table] Forces a mission to occur in a specific region
[#] [#] spawn this number of Recruits
[stringSoldierFirstName][stringSoldierlastName] Gives this soldier a Defensive AWC ability (?) Need to verify this
[stringSoldierFirstName][stringSoldierlastName] Gives this soldier an Offensive AWC ability (?) Need to verify this
[stringSoldierFirstName][stringSoldierlastName] Gives this soldier a Pistol AWC ability (?) Need to verify this
[stringSoldierFirstName][stringSoldierlastName] Levels up this Rebel
[#][WorldRegion_X] Sets the region's Alert level to [#] in [See WorldRegion_X Table]
[#][WorldRegion_X] Sets the region's Force level to [#] in [See WorldRegion_X Table]
[#][WorldRegion_X] Sets the region's Vigilance level to [#] in [See WorldRegion_X Table]
[#] Sets the current Evac counter to [#]
[Activity][WorldRegion_X] Spawns the [Activity] mission in the [WorldRegion_X]
[TechName] [See Tech Table] Completes a project instantly
[string SoldierFirstName][string SoldierLastName][class] Soldier's first and last name spelled EXACTLY as it is in the Barracks, and [Class] which is the class you want the soldier to choose. (See Class table)
[WorldRegion_X] Adds a Resistance Mec to the selected [WorldRegion_X]