Jump to content

"SortingClasses" and "SortingOrder" syntax?


krt0143
 Share

Recommended Posts

It's about unit formations.

I'm looking for a formation which surprisingly doesn't seem to exist: All melee units up front, all archers in the back.
The "Battle Line" formation, which would be a prime candidate for this, has all archers in the middle and melee units on both sides. :blink:
I want all my heavily armored melee units up front, and all my unarmored, vulnerable archers in the back, protected by the melee units. Yes, I'm strange like that.

So, I've found \simulation\templates\special\formations, but the files there don't seem to contain anything useful to me: For instance "Close Order" only says "MinColumns"=3 and "WidthDepthRatio"=4! WTF, is this a parade? :laugh:

Now some formations do have a promising "SortingClasses" and "SortingOrder" setting, but what are my options here?

Link to comment
Share on other sites

8 minutes ago, real_tabasco_sauce said:

close order

:blink:  Say what?...

 

If you mean "Close Order" is what I'm looking for, no, unfortunately there is almost always at least an archer (or even healer) in the front line, usually somewhere in the middle. And I'm talking about groups with more melee units than archers. But I agree it's the one which (strangely) comes closest to what I'm looking for. Close, but no cigar.

I've tried them all, there aren't that many formations anyway. My formation is usually around 24 melee, 15 archers and 6 healers. And I don't want to see a single archer or healer in the front lines (and conversely no melee unit in the back). Shouldn't be that difficult, AoE did it all on its own.

Link to comment
Share on other sites

13 hours ago, wowgetoffyourcellphone said:

Custom unit? Champion?

Both: Custom, champion level units.

For the archers the "VisibleClasses" datatype is "Ranged Archer"
For the pikemen the "VisibleClasses" datatype is "Melee Pikeman"
For the axemen the "VisibleClasses" datatype is "Melee Axeman"

(Actually, to prevent forgetting/omitting some parts I don't know yet is important, I just copy existing units of similar type and edit them. Often the only change is to change civilization and name...)

Link to comment
Share on other sites

On 25/09/2023 at 8:21 PM, wowgetoffyourcellphone said:

Champion?

Your question made me wonder, and I've tried it in a quick test scenario: Indeed, while a group of first age units will form a consistent melee/archer formation, a group of champion units (Kushites have both melee and archer champions) will not properly sort melee and archers, just like in my example above. In other words, "Close Order" doesn't work with champions, even standard ones.

So, it's a bug?

  • Like 1
Link to comment
Share on other sites

9 hours ago, krt0143 said:

Your question made me wonder, and I've tried it in a quick test scenario: Indeed, while a group of first age units will form a consistent melee/archer formation, a group of champion units (Kushites have both melee and archer champions) will not properly sort melee and archers, just like in my example above. In other words, "Close Order" doesn't work with champions, even standard ones.

So, it's a bug?

Technically a bug, but caused by an oversight. 

Are you willing to create a Trac ticket for it? https://trac.wildfiregames.com/newticket

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...