Error Checking

From AHWiki
Revision as of 09:43, 23 April 2008 by Nhawk (talk | contribs) (Intial content created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Prior to building a terrain you should check it for errors.

Checking the Terrain

Click the Objects tab in the Editing Options Area.

Click the Obj Report button at the bottom of the Objects tab. You will be presented with this window: Object Report Window

Make sure "Check terrain for:" shows "All errors" in the dropdown box. Then click the Check Terrain button.

If there are no errors, you will see the results in the area below the Check Terrain button as shown above. If there are errors they will be listed in the same area. The most common errors are listed below.

If you have an unusually large number of errors, you might want to click the Save Full Report button. After clicking the button you will be presented with a box to name the report:

Save Report Box

Give the report a name and click OK. The report will be saved as a text file in your ../HTC/ah2editor folder. You can now open it to view or print it with any text editor.


Checking Spawn Points

Click the Objects tab in the Editing Options Area.

Click the Check Entry button at the bottom of the Objects tab.

After you click the Check Entry button, you will see what amounts to a rapid "slide show" of every spawn point on your terrain. The terrain editor is checking each spawn to be sure the slope is not to steep and if the spawn would be interfered with by an object such as a tree.

If the "slide show" stops without any explanation, it means there is a problem with the spawn in the main editing window that needs to be corrected. Check the area to be sure it is not to steep and that no trees or other objects will interfere with the spawn. Correct the problem, save the terrain, exit and restart the editor. Then run Check Entry again.

Once all spawn point errors are corrected you will be presented with this message:

Checking Complete

Common Errors

<country> do not have an HQ
All countries must have a headquarters.
<country> do not have any fields
Each country must have at least one field.
<object> is on non-flat terrain
The elevation of a portion of the terrain under the <object> is not equal to the rest of the cell(grid)