The XCOM SDK extension provides a set of commands to complement / use tools provided by the XCOM SDK.
XCom-SDK-Create
: choose a modding project template, creates a mod project, opens it in vscodeXCom-SDK-CompileScripts
: compile script code using the XCOM editor-enabled executableXCom-SDK-CompileShaders
: compile shaders for materials in your mod's content packagesXCom-SDK-Editor
: launch the XCOM editorXCom-SDK-Run
: deploy a mod project to the steam installation directories and run the game in a developer mode to test your modXCom-SDK-Publish
: create a steam workshop item for your mod, or update an existing workshop item
XCom-SDK-MakeAll
: Executesmake -final_release -full
, usually for making a highlander.XCom-SDK-CookHighlander
: ExecutesCookPackages -platform=pcconsole -final_release -quickanddirty -modcook -sha -multilanguagecook=INT+FRA+ITA+DEU+RUS+POL+KOR+ESN -singlethread
, usually after running the above command. This is the second part of highlander cooking. The cooked script packages can be found inXComGame/Published/CookedPCConsole
.XCom-SDK-CookPackage
: Cooks a specific package that's inXComGame/Mods/<Workspace>
. The cooked package can be found inXComGame/CookedPCConsole
.
This extension requires an installation of XCOM Game as well as the XCOM SDK Tool
This extension contributes the following settings, which must be set after installing the extension:
Paths.GameInstallPath
: location of the XCom game installtion. Example:C:\Program Files (x86)\Steam\steamapps\common\Dio
Paths.XCOM-SDKInstallPath
: location of the XCom SDK installtion. Example:C:\Program Files (x86)\Steam\steamapps\common\Dio_SDK
Launch.XCOM-ChimeraSquad-GameLaunchPath
: Run command paths to this directory and executes XCOM-ChimeraSquad-LaunchCommand. Example:C:\Program Files (x86)\Steam\steamapps\common\Dio
Launch.XCOM-ChimeraSquad-LaunchCommand
: executes a set of launch commands. Example:xcom.exe -allowconsole -showlog
Compile.QuickScriptCompile
: If set, does not delete native script files (XComGame.u, Engine.u) or other script files not tied to the current workspace when compiling scripts. Set to false to always delete all script files.
To compile and package the extension for VSCode, the following commands need to be ran in order inside the folder with package.json:
- npm install -g vsce
- npm ci
- npm run compile
- vsce package
Enjoy!
- Firaxis Games - Initial implementation
- E3245 - Coding extra addons