Difference between revisions of "AI War 2:Test Chamber"

From Arcen Wiki
Jump to navigation Jump to search
(Expanded the entry to describe the process more.)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
==Setup The Test Chamber==
 
==Setup The Test Chamber==
 
At the moment you need to set up some XML by editing the file: GameData/Configuration/TestChamber/Example.xml (to say which ships you want to spawn and where).
 
At the moment you need to set up some XML by editing the file: GameData/Configuration/TestChamber/Example.xml (to say which ships you want to spawn and where).
 +
 +
The example file at this location contains a number of examples. You can also find similar files for the equivalent file paths for the expansions The Spire Rises, The Zenith Onslaught and The Neinzul Abyss, if they are installed.
 +
 +
If you are a modder and wishing to test units for a mod, you may wish to create an equivalent test chamber file in your mod folder at ...XMLMods\YourModName\TestChamber  , rather than using the path in the basegame files, in order to avoid the need to replace files every time you activate or deactivate the mod.
  
 
==Enable the Test Chamber Hotkey==
 
==Enable the Test Chamber Hotkey==

Latest revision as of 07:22, 6 July 2022

This page is mostly a stub, and needs to be developed out further. For now, here's some useful information:

The test chamber is a way to start a One Planet game for test purposes. It is used to simulate a small battle, look at some particular models in game, and for other generic test purposes.

Question: What's the easiest way to test a ship in game?

Setup The Test Chamber

At the moment you need to set up some XML by editing the file: GameData/Configuration/TestChamber/Example.xml (to say which ships you want to spawn and where).

The example file at this location contains a number of examples. You can also find similar files for the equivalent file paths for the expansions The Spire Rises, The Zenith Onslaught and The Neinzul Abyss, if they are installed.

If you are a modder and wishing to test units for a mod, you may wish to create an equivalent test chamber file in your mod folder at ...XMLMods\YourModName\TestChamber , rather than using the path in the basegame files, in order to avoid the need to replace files every time you activate or deactivate the mod.

Enable the Test Chamber Hotkey

There are two methods to set the hotkey to start the Test Chamber: use manual editing of your input mapping or use the GUI hotkey Controls. You'll want a hotkey that you don't use for anything else. F9 is a good choice. Additionally F8 (by default) allows you to reload XML.

Manual Editing

Add the following line to your PlayerData/inputmappings.dat: <map bind="Debug_StartTestChamber" key="F9" />

GUI Method

Open Controls from the main menu. Under Debug subsection, change the Start Test Chamber to F9.

Then start the game and hit F8 whenever you want.