Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Scenario design problem

View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Field of Glory Series >> Scenario Design and Modding >> Scenario design problem Page: [1]
Message << Older Topic   Newer Topic >>
Scenario design problem - 7/12/2011 8:15:11 PM   


Posts: 5
Joined: 1/12/2011
Status: offline
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:

1.5.6 2011 05 19 win
uiplayer.terrain.HexSideLayer.DrawPerimeter o uiplayer.terrain.HexSideLayer o A1o uiplayer.terrain.PerimeterHex
uiplayer.terrain.TiledMapBackground.Draw o uiplayer.terrain.TiledMapBackground o t uiplayer.GridRectangle
uiplayer.htk.TMapImp.Event Draw o uiplayer.htk.TMapImp o
uiplayer.htk.AbstractControl.DrawNow o uiplayer.htk.AbstractControl o
uiplayer.htk.AbstractControl.DrawNow o uiplayer.htk.AbstractControl o
uiplayer.htk.TWindowImp.RedrawNow o uiplayer.htk.TWindowImp o
uiplayer.htk.GraphicsArea.Paint o uiplayer.htk.GraphicsArea o Render b o
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.

<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?

< Message edited by Ironwulf -- 7/12/2011 8:21:56 PM >
Post #: 1
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Field of Glory Series >> Scenario Design and Modding >> Scenario design problem Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI