Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

uncentered box

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

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [Discontinued Games] >> Command Ops Series >> uncentered box Page: [1]
Message << Older Topic   Newer Topic >>
uncentered box - 1/8/2013 1:27:14 AM   


Posts: 59
Joined: 1/23/2012
Status: offline
This is a minor problem, but if you give an order and unclick the auto box, the box becomes "uncentered" unless you move it. This behavior is strictly post beta patch.

Attachment (1)
Post #: 1
RE: uncentered box - 1/8/2013 3:55:21 AM   

Posts: 17785
Joined: 3/31/2003
From: Canberra, Australia
Status: offline
Yep that's right.

First off, the bounding box that you see around the task icon is just a rough estimate if you do not specify frontage, depth or facing. Currently it is using the original code that centred this on the task location. The AI relies on the subject of the taks force group going to that location, so that it can work out when the force has reached it etc. What was happening with the original code was that it was then scaling the formation subGroups to fit within the distance between the task loc and the front. Alas in many cases the guard subGroups represented more than 50% of the force total and so the units were being scrunched up as it were.

So with the new code I have endevoured to ensure that the units are spread out properly, while maintaining the subject at the task location. This has resulted in the subGroups often being located well forward of the front line of the bounding box.

Now if you set a specific frontage, depth or facing, then this will force the UI to draw it with the proper disposition but only after the game starts running. This is so because we only update the task data on which it calcs the proper values once the game is running. In the long term we need to force a TaskData update during a pause at some regular interval. This needs careful consideration though as it can interfere with the thread locking. This is not my area of expertise and so it will have to wait till Paul has some free time to address it.


Dave "Arjuna" O'Connor

(in reply to wdkruger)
Post #: 2
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [Discontinued Games] >> Command Ops Series >> uncentered box 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