Difference between revisions of "XCOM developer shell"
(Added screenshot of start screen) |
m |
||
Line 36: | Line 36: | ||
[[Category:XCOM Modding]] | [[Category:XCOM Modding]] | ||
[[Category:XCOM Developer Shell]] | [[Category:XCOM Developer Shell]] | ||
+ | [[Category:Tutorials XCOM Modding]] |
Revision as of 17:32, 17 March 2013
Contents
Overview
The developer shell is a useful tool to quickly test mod changes or discover information. This article will focus on how you as a modder can take advantage of this.
How to Enable the Developer Shell
The easiest way to enable the shell is to use the ToolBoks mod.
Failing that, it is possible to directly modify the upk files and executable.
First Steps
Once the developer shell is enabled, ...
Console Commands
To enable the command line, use the '\' key. The command line features an auto-complete function. A list of possible auto-complete commands will be displayed above the command line. You can use the up/down arrow keys to scroll through the possibilities, then use the TAB key to complete the command. Some commands may require additional parameters to be entered.
This article will focus on the most immediately useful console commands. Here is a a complete list of commands.
- Unlimited Moves
The UnlimitedMoves command lets your character take an unlimited number of moves and actions during your turn.- Parameters
None
- Parameters
- Teleport Alien To Cursor
The TeleportAlienToCursor command moves a designated alien to your current cursor position.
This command is useful to placing aliens in or out of cover, or out of awkward to reach places.- Parameters
XGUnit_## (for example, XGUnit_9 or XGUnit_12). Unit numbers for aliens can be determined using the AIDebugAI command.
- Parameters
- Swap Teams On Nearest Unit
The SwapTeamsOnNearestUnit command switches the team of the unit nearest to the cursor position when the command is executed.- Parameters
None
- Parameters
- Set HP
The SetHP sets the HP (Health Points) of the currently selected target to the supplied value. To change HP of an alien, first switch its team using the SwapTeamsOnNearestUnit command.- Parameters
Integer value. Values greater than the units maximum HP will set to the maximum HP.
- Parameters