Thread: PzGren Units
View Single Post
  #10  
Old June 24th, 2019, 10:58 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,929
Thanks: 441
Thanked 1,855 Times in 1,219 Posts
Mobhack is on a distinguished road
Default Re: PzGren Units

Quote:
Originally Posted by chris h View Post
Been tinkering some more and came across this in the MobHack guide.

'It is normal as well to use the first unit of a particular class as the template, and to lay out your OOB units of a class in a linear date oriented fashion. This is because when the code starts a pick, it will start its search from the unit you specifies offset in the OOB, and then move forwards testing each such unit it finds, as and until it actually finds one it likes and stops there. If the pick code reaches the end of the OOB file - it does not always loop round and go from the OOB start to the initial pick position. It tends to like the unit you use as the template, if it is in period at the pick, but units before the one you point at in the OOB will tend to be picked less often as it is not guaranteed to loop around on reaching OOB end. Intelligent picking of the correct unit as a template can have a drastic effect on the AI force buy, as can say, jumbling units up by date - if say you have your OOB laid out - most early tanks, then late war tanks then the in betweenies and use most early tank as the template - because the AI pick code tends to move on, when the late war tank is current, it will often whiz by it, and pick some other intermediate dated tank from the in betweeny dates that is still current. For most OOBS - lay units of a class out in increasing date (and perhaps cost) order in the OOB'

Looking just at the lists posted in this thread they are nowhere near in the chronological order suggested so the posiblities of this happening are likely. Say some idiot, like me, comes along and corrects them according to the rules here then every existing scenario/campaign is likely to be well and truely screwed, especially if you try and keep them number altogether.

Am I correct in this thinking, if so how critical is the above as it seems to work OK as it is.
It works with the mess the OOB is in - but since its not totally chronological, some units will be too "popular" if the picker code decides not to loop round at the end. i.e. the ones appearing last on the OOB. (radio codes can also affect coice as well - radio code is "popularity").

The units should all be laid out in chronological order, but over the decades it gets mixed up. It works fine, just that it may result in stuff not showing up much in AI picks. Its only really of any concern to those with OCD, really.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post: