I created a generic general to be used with RUS. The player can purchase this general just like a cavalry regiment or an artillery piece. Everything works fine except the game refuses to use the flavor names. The game also refuses to use the flavor names for the generic generals within the scenario setup files. Basically each general has the title, "Polish Division General" which is acceptable. However it would be much better if the game would use the flavor names. Anyone have any suggestions why the game won't use flavor names for the General unit?
I am beginning to wonder if there is some sort of hard coding preventing the use of flavor names for leader unit/models. I guess I could try converting the model/unit files from leader type to model type and see if they would then accept flavor names. I think the units would still provide leadership values as non-leader units can provide some leader values. Might work.
So any ideas about why the generic general unit does not accept custom/flavor names?
Here is the model file:
UID = 1765
NationTag = POL
Name = Polish Division General
Alias = ldr_Pol_LeaderGen1
ShortName = Polish Divisional General
Text = $ldr_txt_POL_LeaderGen
To&E = Pistol
Family = $famLeader
ImageID = symbol_general_1.png
Color = $colPOLRegular
Sound_FactionTag = FRA
Portrait = Unit_POL_Generic.png
OffFire = 1
DefFire = 1
Initiative = 10
Range = 1
ROF = 1
Protection = 4
TQ = 10
Assault = 2
Hits = 1
MenPerHit = 1
HorsesPerHit = 0
VehiclesPerHit = 0
GunsPerHit = 0
PlanesPerHit = 0
ArmouredPerHit = 0
HitsPerShip = 0
Cohesion = 80
DmgDone = 0
CohDone = 0
AsltDmgDone = 0
AsltCohDone = 0
Move Type = $Ranger
Move Ratio = 100
CohMove = 50
AtrMove = 100
BaseCohLoss = 10
BaseAttrition = 10
DetectLand = 1
DetectSea = 1
Blockade = 0
HideValue = 3
Weight = 0
ProgRate = 10
Police = 0
Patrol = 1
Evasion = 30
CapturePerc = 0
IsSupport = 1
SupplyUsage = 0
SupplyStore = 0
AmmoUsage = 0
AmmoStore = 0
ShareSupply = 1
SupHitPen = 0
SupMovePen = 0
SupCbtPen = 0
VPValue = 3
POLValue = 1
Money = 8
Conscript = 0
WarSupply = 0
Days = 14
Morale = 0
LeaderRank = 1
Seniority = 125
MaxRank = 1
Title = General
LandLeader = 1
Promotable = No
Strategic = 4
Offensive = 1
Defensive = 1
CombatDeathChance = 100
CustomNames = General Wroblewski|General Pogorzelski
And here is the unit file:
UID = 1779
NationTag = POL
Name = Polish Division General
Alias = uni_POL_LeaderGen1
ForcePool = 10
ShortName = Polish Division General
Text = $uni_POL_LeaderGen1_txt
Color = $colPOLRegular
ModelType0 = $ldr_Pol_LeaderGen1|1
FamilyType0 = $famLeader|1
CmdCost = 0
Pillage = 0
BuildRule = $recCity
BuildWeight = 1
Area = $Recruit_Poles
AltArea = $Area_Galicia
Flavor Commander = General Wroblewski|General Pogorzelski