.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   TO&Es (http://forum.shrapnelgames.com/forumdisplay.php?f=143)
-   -   PzGren Units (http://forum.shrapnelgames.com/showthread.php?t=52271)

chris h June 18th, 2019 09:51 AM

PzGren Units
 
In the German OOB you have PzGren unit available from 1939. Why is this when the earlist KstN lisitng I can find for PzGren Co is a provisional date Apr 43, the earliest official date being Nov 43. Prior to that they where called Schutzen (mot or gp) Co.

There were some PzGren Bn in existance mid 42 but they still used the Schutzen KstN. Just to confuse the issue, when assigned to PzG Bn these Sch Co were unofficially often referred to as PzGren Co.

DRG June 18th, 2019 03:02 PM

Re: PzGren Units
 
They are infantry in armoured carriers. That is the way they are known in this game since the very beginning so I guess we went with the "unofficial" PzGren usage that everyone has understood for 2+ decades and we are NOT going to build new formations and rewrite game picklist code just to have Schutzen early on then PzGren mid 1943

troopie June 18th, 2019 08:58 PM

Re: PzGren Units
 
I had understood that there was to be no more adjustments to the Orbats in SPWW2. Besides there are only 4 open spots in the German orbat. But make your own mod if you wish.

troopie

DRG June 18th, 2019 11:19 PM

Re: PzGren Units
 
There will not be any further major adjustments. Changing code to allow the AI to buy formations that do all the same things as the old one just under a different formation name is not going to happen.

chris h June 19th, 2019 10:03 AM

Re: PzGren Units
 
Quote:

Originally Posted by DRG (Post 845537)
They are infantry in armoured carriers. That is the way they are known in this game since the very beginning so I guess we went with the "unofficial" PzGren usage that everyone has understood for 2+ decades and we are NOT going to build new formations and rewrite game picklist code just to have Schutzen early on then PzGren mid 1943

I suspected it was historical in game terms. Just re-naming the early PzGren as Schtzen would make the orbats look better but then, the hard work would begin updating all exising scenarios/campaigns etc.

DRG June 19th, 2019 10:28 AM

Re: PzGren Units
 
"Just" re-naming the early PzGren as Schtzen

Really " Just"? You've obviously never done any serious work on an OOB so that it all works not only in the game but also with the picklists the AI uses ( but that is obvious as I am the only one that has to make that all work together )

re-naming the early PzGren as Schtzen what? Units? Formations ?? The units are not dated in a way that would not leave some renamed early and others too late to fit nicely into the new formations and to make it even more interesting there are two unitclasses that make up the units a PzGren formation and the units in each UC do not generally match the start and end dates to fit whatever dividing line created between Schtzen and PzGren and since the changeover date between the two titles is ambiguous it's inevitable that someone, someplace will dig up a book that says whatever date you picked is wrong



So the multitude of units that make up PzGren formations

Searching for Units of class 69 Mechanised Infantry
290 - PzGren Grp - Available 05/044 to 12/046
291 - PzGren Grp - Available 01/044 to 12/046
292 - PzGren Grp - Available 04/043 to 12/043
293 - PzGren Grp - Available 11/043 to 12/046
294 - PzGren Grp - Available 03/044 to 12/046
295 - PzGren Grp - Available 06/038 to 03/042
498 - PzGren Grp - Available 06/034 to 05/038
550 - PzGren Grp - Available 10/038 to 12/043
688 - PzGren Grp - Available 06/034 to 12/038
689 - PzGren Grp - Available 09/043 to 09/044
690 - PzGren Grp - Available 01/044 to 12/046
691 - PzGren Grp - Available 09/044 to 12/045
692 - PzGren Grp - Available 02/043 to 12/046
693 - PzGren Grp - Available 11/043 to 12/046
795 - PzGren Grp - Available 06/041 to 02/042
796 - PzGren Grp - Available 03/042 to 12/043
797 - PzGren Grp - Available 09/043 to 09/044
798 - PzGren Grp - Available 01/044 to 12/046
799 - PzGren Grp - Available 09/044 to 12/045
800 - PzGren Grp - Available 02/045 to 12/046
801 - PzGren Grp - Available 08/043 to 12/046

+++
19 formations found using UC 69
332 PzGrenZug (mot) - Available: 06/34-12/46
333 PzGren Kp (mot) - Available: 06/34-08/43
334 PzGren Kp (mot) - Available: 09/43-12/46
351 PzGrenZug (gep) - Available: 07/44-12/46
352 PzGrenZug (gep) - Available: 06/39-03/40
353 PzGrenZug+(gep) - Available: 04/40-12/46
354 PzGrenZug*(gep) - Available: 11/43-12/46
355 PzGrZug gep (a) - Available: 06/39-12/46
356 PzGren Kp (gep) - Available: 06/39-03/40
357 PzGren Kp (gep) - Available: 04/40-12/46
358 PzGren Kp*(gep) - Available: 11/43-12/46
359 PzGrKp gep (a) - Available: 06/39-12/46
360 PzGren Kp*(gep) - Available: 07/44-12/46
362 PzGrZg (gep) SS - Available: 11/42-12/46
363 PzGrZg (gep)*SS - Available: 11/43-12/46
364 PzGrZg gep(a)SS - Available: 11/42-12/46
365 PzGrKp (gep) SS - Available: 11/42-12/46
366 PzGrKp (gep)*SS - Available: 11/43-12/46
367 PzGrKp gep(a)SS - Available: 11/42-12/46

============================================

Searching for Units of class 70 Heavy Mech Infantry
287 - PzGren SMG Grp - Available 05/042 to 12/043
288 - PzGren SMG Grp - Available 11/043 to 12/046
289 - PzGren SMG Grp - Available 11/041 to 06/044
296 - PzGren StG Grp - Available 01/044 to 12/046
345 - PzGren SMG Grp - Available 06/034 to 10/039
549 - PzGren SMG Grp - Available 01/038 to 12/043
684 - PzGren SMG Grp - Available 01/044 to 12/046
685 - PzGren SMG Grp - Available 07/043 to 08/044
686 - PzGren SMG Grp - Available 08/044 to 12/045
687 - PzGren SMG Grp - Available 01/045 to 12/046
+++
30 formations found using UC 70
332 PzGrenZug (mot) - Available: 06/34-12/46
333 PzGren Kp (mot) - Available: 06/34-08/43
334 PzGren Kp (mot) - Available: 09/43-12/46
335 PzGr s Kp (mot) - Available: 01/38-01/41
336 PzGr s Kp (mot) - Available: 02/41-05/41
337 PzGr s Kp (mot) - Available: 06/41-08/43
338 PzGr s Kp (mot) - Available: 09/43-07/44
339 PzGr s Kp (mot) - Available: 08/44-12/46
351 PzGrenZug (gep) - Available: 07/44-12/46
352 PzGrenZug (gep) - Available: 06/39-03/40
353 PzGrenZug+(gep) - Available: 04/40-12/46
354 PzGrenZug*(gep) - Available: 11/43-12/46
355 PzGrZug gep (a) - Available: 06/39-12/46
356 PzGren Kp (gep) - Available: 06/39-03/40
357 PzGren Kp (gep) - Available: 04/40-12/46
358 PzGren Kp*(gep) - Available: 11/43-12/46
359 PzGrKp gep (a) - Available: 06/39-12/46
360 PzGren Kp*(gep) - Available: 07/44-12/46
362 PzGrZg (gep) SS - Available: 11/42-12/46
363 PzGrZg (gep)*SS - Available: 11/43-12/46
364 PzGrZg gep(a)SS - Available: 11/42-12/46
365 PzGrKp (gep) SS - Available: 11/42-12/46
366 PzGrKp (gep)*SS - Available: 11/43-12/46
367 PzGrKp gep(a)SS - Available: 11/42-12/46
370 PzGrenZug (Ust) - Available: 01/41-12/46
371 PzGrenBtr(sGrW) - Available: 01/41-12/46
372 PzGrenKp (sw) - Available: 01/41-12/46
373 PzGrZug Ust SS - Available: 11/42-12/46
374 PzGrBtr sGrW SS - Available: 11/42-12/46
375 PzGrKp (sw) SS - Available: 11/42-12/46

........And then there are the SS PzGren formations.......they start 11/42


Do not fit nicely into any cut off date between PzGren as Schtzen and it's ALL a waste of time anyway since all that work required would only be to change a unit/formation title.

The only place this might happen is in your personal OOB's.

Have fun.....

chris h June 19th, 2019 12:15 PM

Re: PzGren Units
 
Just been tinkering and yes!, just realised that.

chris h June 24th, 2019 10:07 AM

Re: PzGren Units
 
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.

chris h June 24th, 2019 10:33 AM

Re: PzGren Units
 
I ran the formation date check and these came up. There were some gap problem and the before ERROR are easy to fix. What about the rest, just information or important?

Reading the guide it says '... end of the company time frame - by ensuring that the part time platoons are at the end of the list, and in last start date order.'

These are all companies so the platoon issue is not a problem.

Checking gaps in formations

Formation 246 GebJaeger Zug - Slot 5 Mtn Infantry-AT not available at date 1\1930

============ checking formations =========

225 - PzAufklKp (sw) - Sub Formation Slot 5 => 227 PzAufklZug(Ust) Finishes Before Company End Date
261 - FJg Kompanie - Sub Formation Slot 6 => 117 FJg PzBuechse Starts after Company Start Date
262 - FJg Kompanie + - Sub Formation Slot 8 => 117 FJg PzBuechse Starts after Company Start Date
263 - FJg MG Kp - Sub Formation Slot 6 => 117 FJg PzBuechse Starts after Company Start Date
267 - FJg Kom [A] - Sub Formation Slot 5 => 117 FJg PzBuechse Starts after Company Start Date
273 - FJg Support [A] - Sub Formation Slot 8 => 272 FJg Inf AT [A] Starts after Company Start Date
357 - PzGren Kp (gep) - Sub Formation Slot 4 => 173 SdKfz (Kan) Grp Finishes Before Company End Date
357 - PzGren Kp (gep) - Sub Formation Slot 5 => 181 SdKfz (Kan) Grp Starts after Company Start Date
589 - FJgPzGrKp (gep) - Sub Formation Slot 7 => 173 SdKfz (Kan) Grp Ends BEFORE Company START Date - ERROR!
589 - FJgPzGrKp (gep) - Sub Formation Slot 7 => 173 SdKfz (Kan) Grp Finishes Before Company End Date

============ companies containing companies check =========

============ run complete =========

Mobhack June 24th, 2019 10:58 AM

Re: PzGren Units
 
Quote:

Originally Posted by chris h (Post 845571)
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.

DRG June 24th, 2019 12:30 PM

Re: PzGren Units
 
Quote:

Originally Posted by chris h (Post 845572)
I ran the formation date check and these came up. There were some gap problem and the before ERROR are easy to fix. What about the rest, just information or important?

Reading the guide it says '... end of the company time frame - by ensuring that the part time platoons are at the end of the list, and in last start date order.'

These are all companies so the platoon issue is not a problem.

Checking gaps in formations

Formation 246 GebJaeger Zug - Slot 5 Mtn Infantry-AT not available at date 1\1930

============ checking formations =========

225 - PzAufklKp (sw) - Sub Formation Slot 5 => 227 PzAufklZug(Ust) Finishes Before Company End Date
261 - FJg Kompanie - Sub Formation Slot 6 => 117 FJg PzBuechse Starts after Company Start Date
262 - FJg Kompanie + - Sub Formation Slot 8 => 117 FJg PzBuechse Starts after Company Start Date
263 - FJg MG Kp - Sub Formation Slot 6 => 117 FJg PzBuechse Starts after Company Start Date
267 - FJg Kom [A] - Sub Formation Slot 5 => 117 FJg PzBuechse Starts after Company Start Date
273 - FJg Support [A] - Sub Formation Slot 8 => 272 FJg Inf AT [A] Starts after Company Start Date
357 - PzGren Kp (gep) - Sub Formation Slot 4 => 173 SdKfz (Kan) Grp Finishes Before Company End Date
357 - PzGren Kp (gep) - Sub Formation Slot 5 => 181 SdKfz (Kan) Grp Starts after Company Start Date
589 - FJgPzGrKp (gep) - Sub Formation Slot 7 => 173 SdKfz (Kan) Grp Ends BEFORE Company START Date - ERROR!
589 - FJgPzGrKp (gep) - Sub Formation Slot 7 => 173 SdKfz (Kan) Grp Finishes Before Company End Date

============ companies containing companies check =========

============ run complete =========



They are all OK as they are and perfectly normal way to build formations that exist over a wide time span. I run those checks before every release so if you think you found something it was supposed to be that way. Some formations may have units attached early on that are changed over the lifespan of the formation and removed or replaced with something else later on. And some may have added units tacked on .

263 for example just means the ATR was added to the company formation after it's start date and just means that ATR is not part of it's T0&E before 7/39

chris h June 24th, 2019 12:42 PM

Re: PzGren Units
 
Considering the amount of time you probably spend on it, anything that I find would have been corrected if it didn't work. Thanks

DRG June 24th, 2019 12:45 PM

Re: PzGren Units
 
It has evolved for over 21 years. Rarity codes get a lot of people thinking they have found a problem but sometimes we have to make things rare because of the way the picklist runs through the OOB and depending on where in the OOB that unit is may get picked too often if it's not made rare.

DRG June 24th, 2019 12:49 PM

Re: PzGren Units
 
If you run the USA OOB you will find what seems like endless "errors" if you run the broken links check but they are not.. they are simply sub-formations made nation 99 usually because they are ONLY used as part of a Coy formation usually so not available to buy on their own

chris h June 24th, 2019 01:01 PM

Re: PzGren Units
 
Did find these both German Unit Checks

Foreign uints found:
Unit 917 - >>>>>>>>>>> (class 0 Fortifications) is assigned to nation 0 Unused

====================
Searching for bad ammo assignments
Unit 218 SdKfz 251 m PzB weapon slot 4 - Ammo Issued to null weapon slot

== Run Complete ==

DRG June 24th, 2019 06:28 PM

Re: PzGren Units
 
Quote:

Originally Posted by chris h (Post 845578)
Did find these both German Unit Checks

Foreign uints found:
Unit 917 - >>>>>>>>>>> (class 0 Fortifications) is assigned to nation 0 Unused

NEXT TIME go look at the frigging unit first before running to the forum......it's been removed from use in the OOB and will not show up in the game!

Quote:

Originally Posted by chris h (Post 845578)
====================
Searching for bad ammo assignments
Unit 218 SdKfz 251 m PzB weapon slot 4 - Ammo Issued to null weapon slot

== Run Complete ==

It's an ammo assignment for NO WEAPON and has NO effect on gameplay. That had been where the AAMG was. It's an "error" in the mildest sense of the word

chris h June 27th, 2019 11:16 AM

Re: PzGren Units
 
I've been trying to get the the AI to pick PzG but no matter what time frame or battle type I pick I'm always getting infantry, this is with the original OOBs, nothng I've done.

Can you somehow direct the AI?

DRG June 27th, 2019 12:07 PM

Re: PzGren Units
 
You can buy for it to get a specialized force but Pzgren ARE in the PL's

---------- Find in Files ----------
C:\Users\Don\CODE\WinSPWW2 Code\Mbcamp.cpp(13315,37): ft=357;// later armoured pzgren
C:\Users\Don\CODE\WinSPWW2 Code\Mbcamp.cpp(13317,44): ft=358; // alt later armoured pzgren
C:\Users\Don\CODE\WinSPWW2 Code\Mbcamp.cpp(13462,39): ft=357;// later armoured pzgren
C:\Users\Don\CODE\WinSPWW2 Code\Mbcamp.cpp(13464,46): ft=358; // alt later armoured pzgren
C:\Users\Don\CODE\WinSPWW2 Code\Mbcamp.cpp(13481,58): ft=366; // later alt model of ss armoured pzgren
5 occurrence(s) has been found.

if (remain>30000 && DateInRange(6,41,12,LAST_YEAR))
{
gDoNotLoad=SSI_FALSE;
ft=356; // armoured pz gren
if(DateInRange(4,40,12,LAST_YEAR))
{
ft=357;// later armoured pzgren
if(DateInRange(11,43,12,LAST_YEAR) && Random(99)>50)
ft=358; // alt later armoured pzgren
}

=============

if (remain>1500 && Random(99)>30 && DateInRange(6,39,12,LAST_YEAR))
{
ft=356; // armoured pz gren
if(DateInRange(4,40,12,LAST_YEAR))
{
ft=357;// later armoured pzgren
if(DateInRange(11,43,12,LAST_YEAR) && Random(99)>50)
ft=358; // alt later armoured pzgren
}
}

if (UseSS && DateInRange(1,38,12,LAST_YEAR))
{
ft=343; // SS truck panzergrdr
if(DateInRange(11,43,12,LAST_YEAR))
{
ft=344;; // later ss truck panzergrenadiers
}

if(DateInRange(11,42,12,LAST_YEAR) && remain>1500 && Random(99)>40)
{
ft=365; // SS Armoured pz gren
if (DateInRange(11,43,12,LAST_YEAR) && Random(99)>40)
{
ft=366; // later alt model of ss armoured pzgren
}
}
}
}
}

Mobhack June 27th, 2019 12:18 PM

Re: PzGren Units
 
- are the Germans defending or delaying? - none taken then as they are pointless. More likely if advancing/attacking.

- how many points have you given the Germans? - they are expensive toys, so add say 10,000 if you only have say 2000 or so - need 1500+ free buy points to pick in the AI buy loop. Pzgr are relatively rare things, in any case.

- Sometimes they will be truck-borne, not half-tracked.

- Sometimes a singleton pzgr platoon will be bought as scouts in the armoured cars buy part of the purchase loop as an alternative to the A/C or krads or Cavalry. This is separate from the coy buy.

- turn off AI tank heavy as well. They did not seem to turn up with that on - probably the armour soaked up the free points too quickly - but using 12K points, advance, vs Russia in mid-43 they appeared after about 15 AI picks, once I turned AI tanks heavy off.

chris h June 28th, 2019 03:25 AM

Re: PzGren Units
 
Sorry about all the question got one more about AI pick.

In the mobhack guide it talks about not changing a formations type and gives an example, rifle to tank. That makes sense. I also says that the AI picker uses the formation number not it type, again makes sense.

Does 'type' here mean unit class or more generally rifle/inf etc?

Mobhack June 28th, 2019 06:03 AM

Re: PzGren Units
 
Quote:

Originally Posted by chris h (Post 845586)
Sorry about all the question got one more about AI pick.

In the mobhack guide it talks about not changing a formations type and gives an example, rifle to tank. That makes sense. I also says that the AI picker uses the formation number not it type, again makes sense.

Does 'type' here mean unit class or more generally rifle/inf etc?

Which paragraph of the Mobhack help are you referring to? - it has been years since I wrote it and I cannot be expected to know it off by heart. So a little clue as to where you are looking would help to point me there.

DRG June 28th, 2019 07:42 AM

Re: PzGren Units
 
It's under the "The AI Pick List" section and it means what it says

Quote:


the AI pick code works on absolute formation numbers, and not formation 'types' - it does not look for a 'leg rifle company' - it looks for formation number 6.

When picklist is created and we use a formation to fill a need......it might be a pick used when the AI is defending and in that case mobility is not a high priority so we assign that specific formation to fill that specific need. Problems can arise if someone decides they have better ideas on how the OOB should be laid out and rearranges existing formations so it's all nice and neat and that WILL bugger the AI's picks and you might get a situation where the AI was "expecting" to get a few AT guns but now get a formation of Trucks because someone has re-arranged the formations in the OOB and what was a section of AT guns is now a platoon of trucks using the formation slot or what had been a Company of line infantry has been changed to a battery of off map Hvy Arty.

The bottom line is what is written in that quote is as clear as we could make it..... the AI does not look for the "type" of unit......armour or infantry or artillery etc......it ONLY looks for the formation number. We determine the type of unit it picks

chris h June 29th, 2019 03:09 AM

Re: PzGren Units
 
Quote:

Originally Posted by Mobhack (Post 845588)
Quote:

Originally Posted by chris h (Post 845586)
Sorry about all the question got one more about AI pick.

In the mobhack guide it talks about not changing a formations type and gives an example, rifle to tank. That makes sense. I also says that the AI picker uses the formation number not it type, again makes sense.

Does 'type' here mean unit class or more generally rifle/inf etc?

Which paragraph of the Mobhack help are you referring to? - it has been years since I wrote it and I cannot be expected to know it off by heart. So a little clue as to where you are looking would help to point me there.

It was rule 3 under AI pick list, but DRG answered it.


All times are GMT -4. The time now is 07:54 AM.

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