UnitCombatTypes ?

jackgames

Warlord
Joined
Aug 10, 2013
Messages
115
Hello,
I was browsing UnitPromotions_UnitCombat table when I wondered where are those UnitCombatTypes defined ? I was expecting to find a UnitCombatTypes table but there's only a UnitCombatInfos...
 

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,604
Location
Near Portsmouth, UK
UnitCombatInfos is the table - see wiki here

If Firaxis kept a consistent naming, the table would be called just "UnitCombats" (unit types are in Units, building types are in Buildings, etc). The reason of the Infos on the end is to do with the C++ class name within the DLL - UnitCombatTypes are hard-coded to a degree, in that you can't add new ones (IIRC) without the animations in the UI breaking.
 

jackgames

Warlord
Joined
Aug 10, 2013
Messages
115
OK. I was just expecting some other variables rather than just the description.
Thank you! :thanx:
 

Danmacsch

Geheimekabinetsminister
Joined
Jan 14, 2014
Messages
1,316
Location
Copenhagen, Denmark
'
UnitCombatTypes are hard-coded to a degree, in that you can't add new ones (IIRC) without the animations in the UI breaking.
Sorry for necroing such an old thread, but do you remember if this is something that is addressed in the VMC DLL?
 

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,604
Location
Near Portsmouth, UK
DLL VMC does nothing with the graphics engine (that's in a different DLL that we don't have the source code for) ...

so "yes" I do remember, but "no" it doesn't address this (as it can't)
 

Danmacsch

Geheimekabinetsminister
Joined
Jan 14, 2014
Messages
1,316
Location
Copenhagen, Denmark
Top Bottom