Difference between revisions of "AI War 2:Test Chamber"
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
'''Question: What's the easiest way to test a ship in game?''' | '''Question: What's the easiest way to test a ship in game?''' | ||
− | At the moment you need to set up some XML | + | ==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). | |
− | <map bind="Debug_StartTestChamber" key=" | + | |
+ | 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. | Then start the game and hit F8 whenever you want. |
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?
Contents
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.