What is the UnitArtInfo of the Atomic era caravan?

LivingLikeLogan

Chieftain
Joined
Sep 14, 2015
Messages
80
Hello! I'm working on a unit and i was wanting to use the UnitArtInfo for the Atomic era caravans (AKA Caravan trucks). When i use the standard caravan UnitArtInfo, They are camels instead on trucks in the atomic era. I was wondering if there was a special UnitArtInfo for just the trucks caravan instead of the camels.

Moderator Action: Moved as requested. Thanks.
 
Hello! I'm working on a unit and i was wanting to use the UnitArtInfo for the Atomic era caravans (AKA Caravan trucks). When i use the standard caravan UnitArtInfo, They are camels instead on trucks in the atomic era. I was wondering if there was a special UnitArtInfo for just the trucks caravan instead of the camels.
I just realized i posted in the wrong area. Can the mods move it to the Civ5 - Creation & Customization area?
 
I just realized i posted in the wrong area. Can the mods move it to the Civ5 - Creation & Customization area?

You need to click the exclamation mark in the red triangle at the bottom left of the first post and ask them to move it in the "report" section
 
I was wondering if there was a special UnitArtInfo for just the trucks caravan instead of the camels.

Yes. The truck art define is ART_DEF_UNIT_CARAVAN_POSTMODERN (see the ArtDefine_UnitInfos table).

For your edification: With UnitArtInfoEraVariation enabled in the Units table, the game checks if there is an art define with an added suffix for the current or a prior era (in that table [i.e., ArtDefine_UnitInfos] there is also a place where alternative icons can be defined when that era is found). POSTMODERN is the game's internal name for the Atomic Era (see the Eras table). For historical reasons, _LATE is equivalent to _INDUSTRIAL.

However, you can ignore all that and just use the ART_DEF_UNIT_CARAVAN_POSTMODERN art define for your new unit without having UnitArtInfoEraVariation enabled (if you did, it would be looking to see whether there was, e.g., an art define called ART_DEF_UNIT_CARAVAN_POSTMODERN_CLASSICAL or ART_DEF_UNIT_CARAVAN_POSTMODERN_POSTMODERN).

[EDIT: Also see UnitArtInfoCulturalVariation, which is how the settler units (and ethnic diversity mods) work. Unfortunately, you can't have BOTH Cultural and Era variation.]
 
Yes. The truck art define is ART_DEF_UNIT_CARAVAN_POSTMODERN (see the ArtDefine_UnitInfos table).

For your edification: With UnitArtInfoEraVariation enabled in the Units table, the game checks if there is an art define with an added suffix for the current or a prior era (in that table there is also a place where alternative icons can be defined when that era is found). POSTMODERN is the game's internal name for the Atomic Era (see the Eras table). For historical reasons, _LATE is equivalent to _INDUSTRIAL.

However, you can ignore all that and just use the ART_DEF_UNIT_CARAVAN_POSTMODERN art define for your new unit without having UnitArtInfoEraVariation enabled (if you did, it would be looking to see whether there was, e.g., an art define called ART_DEF_UNIT_CARAVAN_POSTMODERN_CLASSICAL or ART_DEF_UNIT_CARAVAN_POSTMODERN_POSTMODERN).

Thank you so much! The community here is so nice and helpful :)
 
Back
Top Bottom