XCOM 2
165 ratings
Set HQ Location
   
Award
Favorite
Favorited
Unfavorite
Tags:  gameplay
File Size
Posted
Updated
767.329 KB
Feb 29, 2016 @ 3:51am
Apr 16, 2016 @ 1:47am
7 Change Notes ( view )

Subscribe to download
Set HQ Location

Description
Description:
This mod allows you to define the starting location for XCOM.
It will only work if you start a new campaign.

Please note that the starting mission will be a random location. This is deliberate.

Known issues:
-Sometimes the first spawned blacksite will be in a random area far from where the player starts.

Compatibility issues:
Confirmed compatibility issue, for some users, with Sadbot's QuickStart mod:
http://steamcommunity.com/sharedfiles/filedetails/?id=624624424
I am trying to find the issue and fix it (if possible).

There seems to be an issue with this mod when enabling the console commands. That is undet Steam's launch options "-allowconsole -log -autodebug".

Configuration:
It's configurable from XComSetHQLocation.ini
For Windows users, this file can be located here:
C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\635253356

The default region has been set to Western Europe (WorldRegion_WestEU), but can be changed to any one of them. All regions from DefaultGameBoard.ini *should* work.

List of regions from vanilla XCOM2:
WorldRegion_EastNA, WorldRegion_WestNA, WorldRegion_SouthNA, WorldRegion_NorthSA, WorldRegion_SouthSA, WorldRegion_WestEU, WorldRegion_EastEU, WorldRegion_NorthAF, WorldRegion_EastAF, WorldRegion_SouthAF, WorldRegion_EastAS, WorldRegion_WestAS, WorldRegion_NorthAS, WorldRegion_SouthAS, WorldRegion_NorthOC, WorldRegion_SouthOC

In depth guide to setting this up in Windows:
Go to the folder:
C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\635253356\Config
Open this file:
XComSetHQLocation.ini
Change this line:
NEW_HQ_LOCATION="WorldRegion_WestEU"
to whatever region you wish to use. The comment lists all regions.
One example would be
NEW_HQ_LOCATION="WorldRegion_EastNA"
for the eastern north american region.
Save and start up XCom2. Your starting region should now be the one you chose.
Note, there is currently a bug where if you choose the same region as the one that is randomly selected by the game, it get's messed up.
If the first mission is set in the region you selected, you should probably just restart right away.

Troubleshooting:
If there are trouble getting a region to work, please check the log-file:
C:\Users\user\Documents\My Games\XCOM2\XComGame\Logs\Launch.txt
This mod's entries start with "SetHQLocation: Mod loaded on new campaign.",
and ends with "SetHQLocation: Setup finished. Enjoy this fantastic game :)".

The most common error is if the region in the config doesn't match the game state, which should now add the following line to the log-file:
SetHQLocation: Failure! Configured region can't be found within the game.
SetHQLocation: Region in config: ***NAME FROM CONFIG FILE HERE***
SetHQLocation: Please check the spelling in XComSetHQLocation.ini.
SetHQLocation: Mod will not change the starting location.
SetHQLocation: Mod terminating.

Also, there seems to be some issues for Mac users to get mods in general to work.

CHANGE NOTES:
16.04.2016 - Update 6: Updated the mod to add the "Gameplay" tag on Steam, to increase visibility for the mod.
13.04.2016 - Update 5: Restructured and optimized the code a lot. The mod will now try to catch and prevent the mod from making changes if there are bad states.
Fixed a bug that caused issues when trying to set the new region to the one created at random by the game.
Fixed a bug (actually bad design here :P) that caused the original HQ location to be deleted, preventing players from getting the continent bonus from that continent.
11.03.2016 - Update 4: Removed previous bug fix, as it caused another bug.
10.03.2016 - Update 2 and 3: Fixed a bug that caused issues when trying to set the new region to the one created at random by the game. Also removed the source classes, taking this mod from 20MB down to 8KB!!!
02.03.2016 - Update 1: Added some additional log file messages to help me debug the problems some of you are having.
142 Comments
Raven Frostborn Dec 17, 2022 @ 5:11am 
Awesome, thank you for the suggestion! Hopefully that'll help fix the issue.
Komissar Gebet Dec 17, 2022 @ 4:20am 
Yes, seems like it!
Raven Frostborn Dec 17, 2022 @ 3:42am 
Yeah I use the Alternate Mod Launcher, the default one destroys my performance. No I haven't used that mod before, but if it might help I'll give it a shot! Is it called "Remove Missing Mods for WotC" on the workshop? That's the only one that pops up when I search for "unbind mods".
Komissar Gebet Dec 17, 2022 @ 1:44am 
Another (stupid) question: you use community mod launcher not the default one, right?
One (more) question: did you try "unbind mods" mod?
Raven Frostborn Dec 16, 2022 @ 8:22pm 
Yep, didn't work for me sadly. I'm going to try completely uninstalling and reinstalling the game and all my mods though, hopefully that'll work.
Komissar Gebet Dec 16, 2022 @ 12:12pm 
@Raven

Did you go through recommended procedures for disabling mods?
Raven Frostborn Dec 16, 2022 @ 3:25am 
Thank you for the great mod, most of the time it works perfectly and it's a must have for me! Unfortunately I've run into an issue that I can't seem to fix, so I'm posting here just in case you or anybody else knows of a fix.

Currently whenever I start a game with this mod active my starting HQ is completely gone on the Geoscape, the icon for waiting at HQ is invisible and can't be selected which makes it impossible to progress the game unless a mission pops up; it still spawns in the correct location but it can't be interacted with at all. I've never had this issue previously and ran a game where it worked perfectly just last week. I read that the QuickStart mod has compatibility issues so I started some games with it disabled, but it seems like that doesn't resolve the issue for me. Has anybody else encountered this before? If so, does anyone know a fix?
Jep™ Nov 8, 2022 @ 10:08pm 
@GazingRhino mind if i ask how you did it?
Romannu Jan 4, 2022 @ 5:44pm 
Sadly that first blacksite spawning issue is a big deal. Got one half across the world which makes the game somewhat more difficult
[RAW]FoxThree Aug 19, 2021 @ 8:46am 
Works for WOTC with some issues. You won't start with your faction hq revealed meaning you will need to use a covert action to get other covert options; And you'll likely get a double chosen revealed at the start.(The one from that games original intended start region and the one from your current region.)