Unit (Model) Detail Window - DIY fix for too short data fields
Posted: Fri Apr 04, 2025 6:37 am
... sometimes i'd like to have a little bit more information... don't you?
here's a list of hard-coded keywords (extracted from the EAW.exe):
keywords like 'Very Good' or 'Very Low' get truncated to 'Very'...?! that's because the data fields are too short. only 55px in width doesn't give you the full info.
anyhow, since i seem to have a little problem with my fonts acting weird in this game, i won't upload my fixed and modded file but here's the secret to fix it yourself if you like:
path: EAW/FrontEnd/GUIModelDetail.dfm
open with notepad or the text-editor of your choice and edit the width of 16 objects:
object lbData0 - lbData15 // set width from 55 to 100
save and that's it. ... of course, there may be overlapping text here and there, to fix this you'll have to shift the data-field boxes a little bit. it's the 'Left' position, a few px less should do the trick.
also, you could re-layout the whole window, for the data-fields on the left, this should be the 16 objects 'lbHeader0 - lbHeader15'...
yeah, i know, you could of course just change the font size to something smaller but hey! really?!
enjoy!
here's a list of hard-coded keywords (extracted from the EAW.exe):
Code: Select all
Speed:
Immobile
Very Fast
Fast
Average
Slow
Very Slow
Crawling
Almost Static
strPassNimble
strPassAverage
strPassPoor
strPassShip
Passability:
Impeded
Average
CombatPower:
Nonexistent
Deadly
Superior
Good
Average
Low
Very Low
SupplyLevel:
Depleted
Plentiful
Abundant
Very Good
Good
Average
Low
Almost Depleted
Depleted
AmmoLevel:
Depleted
Plentiful
Abundant
Very Good
Good
Average
Low
Almost Depleted
Depleted
Health:
Full Health
Healthy
Average
Poor
Low
Almost Depleted
Morale:
Routed
Unfaltering
Iron Will
Very High
High
Average
Low
Very Low
-----
Overview - Leader:
strSeniority
strPolitic
strStrategic
strOffensive
strDefensive
Overview - Non-Leader:
strGUIMDL_CombatPower
strGUIMDL_Speed
strGUIMDL_Passability
strGUIMDL_SupplyLevel
strGUIMDL_AmmoLevel
strGUIMDL_Health
strGUIMDL_Morale
Combat - Leader / Non-Leader:
strGUIMDL_Firepower
strRange
strInitiative
strROF
strProtection
strQuality
strDamageRange
strAssault
strDamageClose
strGUIMDL_FrontageOpen
0strGUIMDL_FrontageClosed
0strGUIMDL_Signature
Combat - Extras:
0strGUIMDL_CapturePerc
0strGUIMDL_FirstShock
Mobility - Leader / Non-Leader
0strMoveType
0strMoveRatio
0strDetectLand
0strDetectSea
0strHideValue
0strGUIMDL_Patrol
0strGUIMDL_Evasion
0strWeight
0strGenSupply
0strAmmoSupply
Various - Leader / Non-Leader
0strIsSupport
0strGUIMDL_IsSpawned
0strPolice
0strGUIMDL_Blockade
0strGUIMDL_BuildDays
0strGUIMDL_VP
0strGUIMDL_UpkeepCoeff
Various - Extras
0strGUIMDL_HomeArea
0strGUIMDL_Generation
0strGUIMDL_UpgradeTo
0strGUIMDL_TrainTo
0strGUIMDL_DateIn
0strGUIMDL_DateOut
keywords like 'Very Good' or 'Very Low' get truncated to 'Very'...?! that's because the data fields are too short. only 55px in width doesn't give you the full info.


path: EAW/FrontEnd/GUIModelDetail.dfm
open with notepad or the text-editor of your choice and edit the width of 16 objects:
object lbData0 - lbData15 // set width from 55 to 100
save and that's it. ... of course, there may be overlapping text here and there, to fix this you'll have to shift the data-field boxes a little bit. it's the 'Left' position, a few px less should do the trick.
also, you could re-layout the whole window, for the data-fields on the left, this should be the 16 objects 'lbHeader0 - lbHeader15'...
yeah, i know, you could of course just change the font size to something smaller but hey! really?!
enjoy!
