[Rising Tide] Custom Unit-ArtDefines make Unit Plates disappear

Ryika

Lazy Wannabe Artista
Joined
Aug 30, 2013
Messages
9,393
/edit: Ah, NEVERMIND - found the issue just after I posted this - SQLite to the rescue. <3

There is a new <UnitFlagHeightAdjust>-Entry in the ArtDefine_UnitTable that doesn't automatically default to 0 for custom ArtDefines. Added it manualle to the table, now it works.


Just in case someone runs into the same issue - works like this:
Code:
<GameData>
  <ArtDefine_UnitInfos>
    <Row>
      <Type>ART_DEF_UNIT_RYIKA_BARBALIEN</Type>
      <DamageStates>1</DamageStates>
      <Formation>LooseXenoswarm</Formation>
      <UnitFlagAtlas>UNIT_FLAG_ATLAS</UnitFlagAtlas>
      <UnitFlagIconOffset>39</UnitFlagIconOffset>
[B]	  <UnitFlagHeightAdjust>0</UnitFlagHeightAdjust>[/B]
      <PortraitAtlas>UNIT_ATLAS_1</PortraitAtlas>
      <PortraitIndex>39</PortraitIndex>
    </Row>
  </ArtDefine_UnitInfos>
  <ArtDefine_UnitInfoMemberInfos>
    <Row>
      <UnitInfoType>ART_DEF_UNIT_RYIKA_BARBALIEN</UnitInfoType>
      <UnitMemberInfoType>ART_DEF_UNIT_MEMBER_RYIKA_BARBALIEN</UnitMemberInfoType>
      <NumMembers>12</NumMembers>
    </Row>
  </ArtDefine_UnitInfoMemberInfos>
  <ArtDefine_UnitMemberInfos>
    <Row>
      <Type>ART_DEF_UNIT_MEMBER_RYIKA_BARBALIEN</Type>
		<Scale>0.0959999999403954</Scale>
      <Model>Assets/Units/Barbalien/Barbalien/Barbalien.fxsxml</Model>
      <MaterialTypeTag>METAL</MaterialTypeTag>
      <MaterialTypeSoundOverrideTag>EXOSKELETON</MaterialTypeSoundOverrideTag>
    </Row>
  </ArtDefine_UnitMemberInfos>
  <ArtDefine_UnitMemberCombats>
    <Row>
      <UnitMemberType>ART_DEF_UNIT_MEMBER_RYIKA_BARBALIEN</UnitMemberType>
      <EnableActions>Idle Attack RunCharge AttackCity Bombard Death BombardDefend Run Fortify CombatReady Walk AttackCharge Victory AttackSurfaceToAir AttackSurfaceToAir</EnableActions>
      <ShortMoveRadius>12.0</ShortMoveRadius>
      <ShortMoveRate>0.349999994039536</ShortMoveRate>
      <TargetHeight>8.0</TargetHeight>
      <HasRefaceAfterCombat>1</HasRefaceAfterCombat>
    </Row>
  </ArtDefine_UnitMemberCombats>
  <ArtDefine_UnitMemberCombatWeapons>
    <Row>
      <UnitMemberType>ART_DEF_UNIT_MEMBER_RYIKA_BARBALIEN</UnitMemberType>
      <Index>0</Index>
      <SubIndex>0</SubIndex>
      <WeaponTypeTag>BLUNT</WeaponTypeTag>
      <WeaponTypeSoundOverrideTag>BLUNT</WeaponTypeSoundOverrideTag>
    </Row>
  </ArtDefine_UnitMemberCombatWeapons>
</GameData>

______________________
<Original Post>

Hoy.

I'm currently trying to make my Immersive Armies-mod work with rising tide, but I'm not having much success. The problem is this:

attachment.php


UnitIcons of any unit with new ArtDefines don't show up.

Most obvious reason that came to my mind was that the Atlas for the Icons has changed, but as far as I can tell the game still uses the old Unit-ArtDefines found in assets\Units (with the files in dlc\ssets\Units only adding art files for NEW units), so I did check that file for changes and.. well, aside from smaller portrait cam changes there aren't many - especially the FlagAtlas-entries remained unchanged.

The one big change I can are the new "_SEA" ArtDefines for amphibic Units, so I created a separate mod with an ArtDefine just for the Soldier (Marine), but that didn't help either.

So... yeah. That's where my search for a solution ran into deadlock. Obviously -something- has been changed but I'm not able to find it. Does a more experienced modder have a clue what I'm missing?
 

Attachments

  • unitplates.jpg
    unitplates.jpg
    225.3 KB · Views: 226
Back
Top Bottom