.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2 > Mods
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old October 4th, 2020, 08:45 PM

76mm 76mm is offline
Private
 
Join Date: Jul 2014
Posts: 23
Thanks: 5
Thanked 1 Time in 1 Post
76mm is on a distinguished road
Default Formation Order in Editor?

Hi, I did a search on this issue on the forum, but couldn't find anything, so wanted to ask here: I'm creating a custom OOB based on an existing OOB, and I'd like for the formations to be displayed in a certain order in the editor--currently formations do not seem to be in any discernable order--not alphabetical, nor based on Formation ID, or anything else that I can figure out.

Basically I want all of the infantry units, Panzer Grenadier units, Motorcycle units, etc. to be displayed together rather than them being scattered throughout the infantry section, as in the original OOB.

Is it possible to arrange formations so that they appear in a certain order in the editor?

Thanks.
Reply With Quote
  #2  
Old October 4th, 2020, 09:15 PM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
Major
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 1,047
Thanks: 365
Thanked 440 Times in 318 Posts
scorpio_rocks is on a distinguished road
Default Re: Formation Order in Editor?

Yes and no...

Yes there is nothing to prevent you putting formations in whatever order you wish in your custom OoB...(or units, or weapons)

BUT

This will completely destroy the ability of the AI to choose a force from it. (the picklists for AI purchase uses the formation id - a pick list telling the AI to choose, for example, formation 7 "Infantry Company" will in your new OOB still choose formation number 7 even if that is now a light truck or Heavy tank company).
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
SPMBT Roundel Objectives Mod
SPMBT Small ID Flags Mod
WW2 Roundel Objectives Mod
Reply With Quote
  #3  
Old October 5th, 2020, 08:58 AM

76mm 76mm is offline
Private
 
Join Date: Jul 2014
Posts: 23
Thanks: 5
Thanked 1 Time in 1 Post
76mm is on a distinguished road
Default Re: Formation Order in Editor?

Thanks for the reply. But actually I'm not worried at all about AI selection, because this OOB will be used to create scenarios in which the opposing forces are determined by an operational layer, and so will be manually selected.

So how do I reorder formations/units in the editor?

[EDIT] Just to be clear, I know how to renumber the formation ID numbers in MOBHACK; the problem is that in the scenario editor formations are not displayed in order of their formation IDs, so I don't understand on which basis the editor orders displayed formations (and units)?

Last edited by 76mm; October 5th, 2020 at 01:06 PM..
Reply With Quote
  #4  
Old October 5th, 2020, 04:25 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Formation Order in Editor?

I haven;t looked into the order display in the game screens but I think it is (at least partly) based on the unit class of the first element?
Reply With Quote
  #5  
Old October 5th, 2020, 05:48 PM

76mm 76mm is offline
Private
 
Join Date: Jul 2014
Posts: 23
Thanks: 5
Thanked 1 Time in 1 Post
76mm is on a distinguished road
Default Re: Formation Order in Editor?

hmmm, hadn't thought of that, will take a look. Thanks for the tip!
Reply With Quote
  #6  
Old October 6th, 2020, 05:45 AM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
Major
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 1,047
Thanks: 365
Thanked 440 Times in 318 Posts
scorpio_rocks is on a distinguished road
Default Re: Formation Order in Editor?

Ah sorry - slightly misunderstood the question.

On the purchase screens they are ordered (at least roughly) by the unit class of the first unit as Mobhack points out. Not sure how they are sorted after that (2nd unit's class?) some experimentation is probably needed.
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
SPMBT Roundel Objectives Mod
SPMBT Small ID Flags Mod
WW2 Roundel Objectives Mod
Reply With Quote
  #7  
Old October 6th, 2020, 09:24 AM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Formation Order in Editor?

Formation number is another sort item. If you want the companies to appear ahead of the platoons, put the platoons lower down the formation list in Mobhack - but if the company has a different unit class in the first slot than the platoons do, then that can affect things.
Reply With Quote
  #8  
Old October 6th, 2020, 09:46 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,960
Thanked 5,694 Times in 2,812 Posts
DRG will become famous soon enough
Default Re: Formation Order in Editor?

The bottom line is there is no way to set the OOB up to display "logically" and still maintain an evolving OOB. As Andy says if the unitclass on the first unit differs that can change how it displays in the game and it will never be attempted in the offical OOB's because formation placement is tied to hard coded AI picks.
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #9  
Old October 6th, 2020, 08:20 PM

76mm 76mm is offline
Private
 
Join Date: Jul 2014
Posts: 23
Thanks: 5
Thanked 1 Time in 1 Post
76mm is on a distinguished road
Default Re: Formation Order in Editor?

Yeah, that's what I figured out...I can't really reorder formations in the purchase screen by changing formation's first unit, so it looks like I've got to work with what I've got. Thanks for the tips.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.