Page 1 of 1

Null Unit

Posted: Sat Apr 28, 2012 1:57 pm
by Chaplain Lovejoy
Got a "null" unit. See pic.
The attachment NullUnit.jpg is no longer available

Posted: Sat Apr 28, 2012 2:44 pm
by lodilefty
Chaplain Lovejoy wrote:Got a "null" unit. See pic. [ATTACH=CONFIG]18042[/ATTACH]


fixed for next update!

Thanks!

Posted: Sat Apr 28, 2012 10:40 pm
by GraniteStater
I see a pic of a brigade with two Inf regm'ts and a cav troop, that has a PWR of 44/51.

What is a 'null' unit and why is this one?

Posted: Sun Apr 29, 2012 2:29 pm
by soloswolf
GraniteStater wrote:I see a pic of a brigade with two Inf regm'ts and a cav troop, that has a PWR of 44/51.

What is a 'null' unit and why is this one?


The name of the Bde. above the element window is 'NULL.' It likely read the wrong column when naming, or the null was improperly added to the list of unit names.

Posted: Sun Apr 29, 2012 2:39 pm
by GraniteStater
Thanks, Sir Knight.

Posted: Sun Apr 29, 2012 3:13 pm
by lodilefty
soloswolf wrote:The name of the Bde. above the element window is 'NULL.' It likely read the wrong column when naming, or the null was improperly added to the list of unit names.


Actually, it appears that the engine handles this slightly different way now: Unit Shortnames were all "NULL" since the beginning, and the engine apparently did something differently in the past....

So, now defined them in Units, and added to LocalStrings...

The price of an old game with newest engine.

Posted: Thu May 03, 2012 6:16 am
by Captain_Orso
Isn't that text suppose to be the brigade commander's name?

Posted: Thu May 03, 2012 11:59 am
by lodilefty
I'm gonna guess that the unit was a 'purchased' one, which uses a different text than the 'designed-in' units placed in setups or events...

What surprises me is that this is a new thing...

..but that's life with PON, RUS, AJE upgrade spin-offs :)

Posted: Thu May 03, 2012 3:33 pm
by khbynum
Does being a null unit have any effect on play? Are they still useable?

Posted: Thu May 03, 2012 5:42 pm
by Jim-NC
Welcome to the forums khbynum. May you enjoy your stay here, the locals are very helpful.

Posted: Thu May 03, 2012 7:46 pm
by lodilefty
They are fully playable. It's only a 'flavor' thing that is missing.....

Posted: Sat May 05, 2012 1:06 pm
by Captain_Orso
It's definitely a purchased unit of the type uni_USA_Bde3KY. None of those are generated from events as far as I can see.

The unit type has 8 different 'CustomNames = Lauman's Bde.|Rousseau's Bde.|W. S. Smith's Bde.|Boyle's Bde.|Van Cleve's Bde.|Price's Bde.|Harlan's Bde.|Whittaker's Bde.|' and 8 different 'Flavor Commander = Jacob G. Lauman|Lovell H. Rousseau|W. S. Smith|Jeremiah T. Boyle|Horatio P. Van Cleve|Samuel W. Price|John M. Harlan|Walter C. Whittaker|'.

It seems that the engine isn't taking the 'Flavor Commander' name from the unit type file.

With units generated through events, the 'CustomNames' and 'Flavor Commander' are defined in the script command generating the unit.

In a game that I started at 1.16 and then updated to 1.16 RC2, all of the purchased units have the 'CustomNames' used instead of the 'Flavor Commander'. It seems that the 'Flavor Commander names are not being applied.

Posted: Sat May 05, 2012 2:52 pm
by lodilefty
Captain_Orso wrote:It's definitely a purchased unit of the type uni_USA_Bde3KY. None of those are generated from events as far as I can see.

The unit type has 8 different 'CustomNames = Lauman's Bde.|Rousseau's Bde.|W. S. Smith's Bde.|Boyle's Bde.|Van Cleve's Bde.|Price's Bde.|Harlan's Bde.|Whittaker's Bde.|' and 8 different 'Flavor Commander = Jacob G. Lauman|Lovell H. Rousseau|W. S. Smith|Jeremiah T. Boyle|Horatio P. Van Cleve|Samuel W. Price|John M. Harlan|Walter C. Whittaker|'.

It seems that the engine isn't taking the 'Flavor Commander' name from the unit type file.

With units generated through events, the 'CustomNames' and 'Flavor Commander' are defined in the script command generating the unit.

In a game that I started at 1.16 and then updated to 1.16 RC2, all of the purchased units have the 'CustomNames' used instead of the 'Flavor Commander'. It seems that the 'Flavor Commander names are not being applied.


Good catch! We'll put it on the list, but it will not be fixed for quite a while...