UnitCombatTypes ?

Discussion in 'Civ5 - Creation & Customization' started by jackgames, Aug 10, 2015.

  1. jackgames

    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...
     
  2. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,590
    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.
     
  3. jackgames

    jackgames Warlord

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

    Danmacsch Geheimekabinetsminister

    Joined:
    Jan 14, 2014
    Messages:
    1,316
    Location:
    Copenhagen, Denmark
    '
    Sorry for necroing such an old thread, but do you remember if this is something that is addressed in the VMC DLL?
     
  5. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,590
    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)
     
  6. Danmacsch

    Danmacsch Geheimekabinetsminister

    Joined:
    Jan 14, 2014
    Messages:
    1,316
    Location:
    Copenhagen, Denmark

Share This Page