Shirotora Kenshin
King
- Joined
- Apr 26, 2014
- Messages
- 667
i have never done ethnicity portraits, but if i remember correct in „New Unit - Example“ template of ModBuddy, you can find the necessary entries in the Icons.xml
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="256" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait256.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="200" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait200.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="95" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait95.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="70" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait70.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="50" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait50.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="38" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait38.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="256" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait256.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="200" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait200.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="95" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait95.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="70" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait70.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="50" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait50.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="38" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait38.dds"/>
<IconTextureAtlases>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" IconSize="256" IconsPerRow="1" IconsPerColumn="1" Filename="HvySpearmanFlag256.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" IconSize="80" IconsPerRow="1" IconsPerColumn="1" Filename="HvySpearmanFlag80.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" IconSize="50" IconsPerRow="1" IconsPerColumn="1" Filename="HvySpearmanFlag50.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" IconSize="38" IconsPerRow="1" IconsPerColumn="1" Filename="HvySpearmanFlag38.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" IconSize="32" IconsPerRow="1" IconsPerColumn="1" Filename="HvySpearmanFlag32.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" IconSize="22" IconsPerRow="1" IconsPerColumn="1" Filename="HvySpearmanFlag22.dds."/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="256" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait256.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="200" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait200.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="95" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait95.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="70" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait70.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="50" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait50.dds"/>
<Row Name="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="38" IconsPerRow="2" IconsPerColumn="1" Filename="HvySpearmanPortrait38.dds"/>
<Row Name="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="256" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait256.dds"/>
<Row Name="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="200" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait200.dds"/>
<Row Name="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="95" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait95.dds"/>
<Row Name="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="70" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait70.dds"/>
<Row Name="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="50" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait50.dds"/>
<Row Name="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" IconSize="38" IconsPerRow="2" IconsPerColumn="1" Filename="HastatiPortrait38.dds"/>
</IconTextureAtlases>
<IconDefinitions>
<!-- This is the unit icon for the unit. -->
<Row Name="ICON_UNIT_HEAVY_SPEARMAN" Atlas="ICON_ATLAS_UNIT_HEAVY_SPEARMAN" Index="0"/>
<!-- This is the portrait of the unit. -->
<Row Name="ICON_UNIT_HEAVY_SPEARMAN_PORTRAIT" Atlas="ICON_ATLAS_UNIT_HEAVY_SPEARMAN_PORTRAITS" Index="0"/>
<!-- Ethnic specific portrait of the unit. This changes based on the leader. -->
<Row Name="ICON_ETHNICITY_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAIT" Atlas="ICON_ATLAS_MEDIT_UNIT_HEAVY_SPEARMAN_PORTRAITS" Index="1"/>
</IconDefinitions>
Congrats! Nice.
for the Slasher Unit i can take a look tomorrow i hope.
but then, after that i believe you must know something:
And what did you see any wrongs in Slasher ?
Is this process applied to the downloaded assets like what Deliverator made too as well? Right now i'm yet to learn how to make an entirely new 3d model for games. But sooner or later i've gotta do this too.The process for custom assets should be: when you have set the .ast file, then 1. the xlp, 2. the Unit_Bins.artdef, 3. Units.artdef
With this, everything inside 'Unit Attachment Bins' directory should be relocated from Units.artdef to Unit_Bins.artdef with the former files had all these directories emptied ?
Is this process applied to the downloaded assets like what Deliverator made too as well? Right now i'm yet to learn how to make an entirely new 3d model for games. But sooner or later i've gotta do this too.