Scenario design problem

Post your customer scenarios here and ask questions about scenario design and modding.
Post Reply
User avatar
Ironwulf
Posts: 23
Joined: Wed Jan 12, 2011 8:56 pm
Contact:

Scenario design problem

Post by Ironwulf »

I recently designed a late republic ear scenario covering a battle from the roman civil wars. Its on a 40x50 map but it seems to cause a crash when I try to play it.

I'm running into an error where if I zoom way out or scroll off the side of the map with the view zoomed way out that the game errors out during the Free Deployment phase. The screen will suddenly just show the map with no units in a maxxed zoom-out view. At that point the game just freezes.

Here is the error:

OutOfBoundsException
1.5.6 2011 05 19 win
{}
{0}
uiplayer.terrain.HexSideLayer.DrawPerimeter o uiplayer.terrain.HexSideLayer o uiplayer.gl.IGraphics A1o uiplayer.terrain.PerimeterHex
uiplayer.terrain.TiledMapBackground.Draw o uiplayer.terrain.TiledMapBackground o uiplayer.gl.IGraphics t uiplayer.GridRectangle
uiplayer.htk.TMapImp.Event Draw o uiplayer.htk.TMapImp o uiplayer.gl.IGraphics
uiplayer.htk.AbstractControl.DrawNow o uiplayer.htk.AbstractControl o uiplayer.gl.IGraphics
uiplayer.htk.AbstractControl.DrawNow o uiplayer.htk.AbstractControl o uiplayer.gl.IGraphics
uiplayer.htk.TWindowImp.RedrawNow o uiplayer.htk.TWindowImp o uiplayer.gl.IGraphics
uiplayer.htk.GraphicsArea.Paint o uiplayer.htk.GraphicsArea o uiplayer.gl.IGraphics
uiplayer.gl.DrawingArea.Event Render b o uiplayer.gl.DrawingArea
Delegate.IM Invoke
uiplayer.htk.RefreshThread.Event Run o uiplayer.htk.RefreshThread


I've never run into this before until I started testing a new scenario.

I had the map setup, forces in place, then realized that the sides were starting on the wrong sides of the map during Free Placement. Also units would rout in the wrong direction. I could have removed all the units and redone them assigning them to the other team, but I wanted to find an easier way to tell the game that I wanted Red to start on the north side, and blue on the south side.

So i went into the XML scenario file and found the bit that says: "side 1 starts on this side of the board and side 2 starts on this side of the board. Each side of a map has a number from 1-4. The top is 1, bottom is 3. Side 1 usually starts on side 3, or the bottom edge. But I wanted to flip that around.

</hexsideterrains>
<map cols="40" rows="50" oddcolsstarthigher="1" oddcolsendlower="0" side1edge="3" side2edge="1" deployzonesize1="5" deployzonesize2="5" tileset="green">

I altered the values so that Side 1 would start on the north edge and 2 would start on the south during Free Deployment (and probably the rout phase as well).

Thats when I noticed the error during testing - it could be due to my edit of the XML or it may not have anything to do with it.

Anyone have any ideas?
Anonymous

[Deleted]

Post by Anonymous »

[Deleted by Admins]
Post Reply

Return to “Scenario Design and Modding”