New Mixed Unit is Invisible...

Enj0y

Chieftain
Joined
Jul 9, 2014
Messages
31
Location
Orange County, CA
Hey Everyone,

I'm having a similar problem that @Rob (R8XFT) had making the Pwenet in this thread. I've got a unit icon but no model. My .artdef is based off a blend of R.E.D and MOAR Units. The goal is to make a hybrid unit that contains both Hoplites and Horsemen. I don't want to mess with the tints or anything. I've been thru Deliverators post a couple times now.

I pulled the basics from MOAR and tried to mess with the formations by working off of R.E.D...but obviously having limited success. Like I said, everything about the unit works, including the icon...there just is no unit. It's invisible.

Here's the .artdef. I'd really appreciate any help. I know @anansethespider and @Wolfdog really helped Rob out.

FYI the unit is called Extraordinarii.

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects::ArtDefSet>
    <m_Version>
        <major>4</major>
        <minor>0</minor>
        <build>234</build>
        <revision>452</revision>
    </m_Version>
    <m_TemplateName text="Units"/>
    <m_RootCollections>
        <Element>
            <m_CollectionName text="Units"/>
            <Element>
                <m_Fields>
                    <m_Values>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text="Extraordinarii"/>
                            <m_RootCollectionName text="UnitFormationTypes"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>false</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="Formation"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text="Swordsman"/>
                            <m_RootCollectionName text="UnitCombat"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>false</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="UnitCombat"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="UnitFormationTypes"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="EscortFormation"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text="UNIT_ANCIENTEMBARK"/>
                            <m_RootCollectionName text="Units"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text="Units"/>
                            <m_ParamName text="EmbarkedUnit"/>
                        </Element>
                        <Element class="AssetObjects::BoolValue">
                            <m_bValue>true</m_bValue>
                            <m_ParamName text="DoNotDisplayCharges"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="UnitCulture"/>
                            <m_ArtDefPath text="Cultures.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="Culture"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="Era"/>
                            <m_ArtDefPath text="Eras.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="Era"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="Units"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="ProxyUnit"/>
                        </Element>
                        <Element class="AssetObjects::BoolValue">
                            <m_bValue>false</m_bValue>
                            <m_ParamName text="PlayDeathOnDestroy"/>
                        </Element>
                        <Element class="AssetObjects::IntValue">
                            <m_nValue>0</m_nValue>
                            <m_ParamName text="DisplayLevel"/>
                        </Element>
                    </m_Values>
                </m_Fields>
                <m_ChildCollections>
                    <Element>
                        <m_CollectionName text="Members"/>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects::FloatValue">
                                        <m_fValue>0.500000</m_fValue>
                                        <m_ParamName text="Scale"/>
                                    </Element>
                                    <Element class="AssetObjects::IntValue">
                                        <m_nValue>8</m_nValue>
                                        <m_ParamName text="Count"/>
                                    </Element>
                                    <Element class="AssetObjects::ArtDefReferenceValue">
                                        <m_ElementName text="Hoplite"/>
                                        <m_RootCollectionName text="UnitMemberTypes"/>
                                        <m_ArtDefPath text="Units.artdef"/>
                                        <m_CollectionIsLocked>false</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Type"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="Members1"/>
                        </Element>
                        <Element>
                            <m_CollectionName text="Members"/>
                            <Element>
                                <m_Fields>
                                    <m_Values>
                                        <Element class="AssetObjects::FloatValue">
                                            <m_fValue>0.500000</m_fValue>
                                            <m_ParamName text="Scale"/>
                                        </Element>
                                        <Element class="AssetObjects::IntValue">
                                            <m_nValue>3</m_nValue>
                                            <m_ParamName text="Count"/>
                                        </Element>
                                        <Element class="AssetObjects::ArtDefReferenceValue">
                                            <m_ElementName text="Horseman"/>
                                            <m_RootCollectionName text="UnitMemberTypes"/>
                                            <m_ArtDefPath text="Units.artdef"/>
                                            <m_CollectionIsLocked>false</m_CollectionIsLocked>
                                            <m_TemplateName text=""/>
                                            <m_ParamName text="Type"/>
                                        </Element>
                                    </m_Values>
                                </m_Fields>
                                <m_ChildCollections/>
                                <m_Name text="Members2"/>
                            </Element>
                        </Element>
                        <Element>
                            <m_CollectionName text="Audio"/>
                            <Element>
                                <m_Fields>
                                    <m_Values>
                                        <Element class="AssetObjects::StringValue">
                                            <m_Value text="Legion"/>
                                            <m_ParamName text="XrefName"/>
                                        </Element>
                                    </m_Values>
                                </m_Fields>
                                <m_ChildCollections/>
                                <m_Name text="LEGION"/>
                            </Element>
                        </Element>
                    </Element>
                </m_ChildCollections>
                <m_Name text="UNIT_EXTRAORDINARII"/>
            </Element>


            <Element>
                <m_CollectionName text="UnitFormationTypes"/>
                <Element>
                    <m_Fields>
                        <m_Values>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>7.500000</m_fValue>
                                <m_ParamName text="SpacingX"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>7.500000</m_fValue>
                                <m_ParamName text="SpacingY"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>1.000000</m_fValue>
                                <m_ParamName text="SpacingMultiplier"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="PerRowIncrement"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="YOffsetIncrement"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>false</m_bValue>
                                <m_ParamName text="YOffsetIsCurved"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="StaggerIncrement"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="MemberRandomness"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="BlockRandomness"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>4</m_nValue>
                                <m_ParamName text="FirstRowWidth"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="XBlockSize"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="XBlockSpacingCount"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="YBlockSize"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="YBlockSpacingCount"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="CenterBlockWidth"/>
                            </Element>
                            <Element class="AssetObjects::ArtDefReferenceValue">
                                <m_ElementName text="Block"/>
                                <m_RootCollectionName text="UnitFormationLayoutTypes"/>
                                <m_ArtDefPath text="Units.artdef"/>
                                <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                <m_TemplateName text=""/>
                                <m_ParamName text="Type"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="MinimumRadius"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="FacingBlend"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>false</m_bValue>
                                <m_ParamName text="MinimizeRows"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="ArcSize"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>true</m_bValue>
                                <m_ParamName text="CanMirrorFrontToBack"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>true</m_bValue>
                                <m_ParamName text="CanFlipLeftToRight"/>
                            </Element>
                        </m_Values>
                    </m_Fields>
                    <m_ChildCollections/>
                    <m_Name text="Extraordinarii"/>
                </Element>
            </Element>
        </Element>
    </m_RootCollections>
</AssetObjects::ArtDefSet>
 
Hey Everyone,

I'm having a similar problem that @Rob (R8XFT) had making the Pwenet in this thread. I've got a unit icon but no model. My .artdef is based off a blend of R.E.D and MOAR Units. The goal is to make a hybrid unit that contains both Hoplites and Horsemen. I don't want to mess with the tints or anything. I've been thru Deliverators post a couple times now.

I pulled the basics from MOAR and tried to mess with the formations by working off of R.E.D...but obviously having limited success. Like I said, everything about the unit works, including the icon...there just is no unit. It's invisible.

Here's the .artdef. I'd really appreciate any help. I know @anansethespider and @Wolfdog really helped Rob out.

FYI the unit is called Extraordinarii.

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects::ArtDefSet>
    <m_Version>
        <major>4</major>
        <minor>0</minor>
        <build>234</build>
        <revision>452</revision>
    </m_Version>
    <m_TemplateName text="Units"/>
    <m_RootCollections>
        <Element>
            <m_CollectionName text="Units"/>
            <Element>
                <m_Fields>
                    <m_Values>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text="Extraordinarii"/>
                            <m_RootCollectionName text="UnitFormationTypes"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>false</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="Formation"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text="Swordsman"/>
                            <m_RootCollectionName text="UnitCombat"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>false</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="UnitCombat"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="UnitFormationTypes"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="EscortFormation"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text="UNIT_ANCIENTEMBARK"/>
                            <m_RootCollectionName text="Units"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text="Units"/>
                            <m_ParamName text="EmbarkedUnit"/>
                        </Element>
                        <Element class="AssetObjects::BoolValue">
                            <m_bValue>true</m_bValue>
                            <m_ParamName text="DoNotDisplayCharges"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="UnitCulture"/>
                            <m_ArtDefPath text="Cultures.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="Culture"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="Era"/>
                            <m_ArtDefPath text="Eras.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="Era"/>
                        </Element>
                        <Element class="AssetObjects::ArtDefReferenceValue">
                            <m_ElementName text=""/>
                            <m_RootCollectionName text="Units"/>
                            <m_ArtDefPath text="Units.artdef"/>
                            <m_CollectionIsLocked>true</m_CollectionIsLocked>
                            <m_TemplateName text=""/>
                            <m_ParamName text="ProxyUnit"/>
                        </Element>
                        <Element class="AssetObjects::BoolValue">
                            <m_bValue>false</m_bValue>
                            <m_ParamName text="PlayDeathOnDestroy"/>
                        </Element>
                        <Element class="AssetObjects::IntValue">
                            <m_nValue>0</m_nValue>
                            <m_ParamName text="DisplayLevel"/>
                        </Element>
                    </m_Values>
                </m_Fields>
                <m_ChildCollections>
                    <Element>
                        <m_CollectionName text="Members"/>
                        <Element>
                            <m_Fields>
                                <m_Values>
                                    <Element class="AssetObjects::FloatValue">
                                        <m_fValue>0.500000</m_fValue>
                                        <m_ParamName text="Scale"/>
                                    </Element>
                                    <Element class="AssetObjects::IntValue">
                                        <m_nValue>8</m_nValue>
                                        <m_ParamName text="Count"/>
                                    </Element>
                                    <Element class="AssetObjects::ArtDefReferenceValue">
                                        <m_ElementName text="Hoplite"/>
                                        <m_RootCollectionName text="UnitMemberTypes"/>
                                        <m_ArtDefPath text="Units.artdef"/>
                                        <m_CollectionIsLocked>false</m_CollectionIsLocked>
                                        <m_TemplateName text=""/>
                                        <m_ParamName text="Type"/>
                                    </Element>
                                </m_Values>
                            </m_Fields>
                            <m_ChildCollections/>
                            <m_Name text="Members1"/>
                        </Element>
                        <Element>
                            <m_CollectionName text="Members"/>
                            <Element>
                                <m_Fields>
                                    <m_Values>
                                        <Element class="AssetObjects::FloatValue">
                                            <m_fValue>0.500000</m_fValue>
                                            <m_ParamName text="Scale"/>
                                        </Element>
                                        <Element class="AssetObjects::IntValue">
                                            <m_nValue>3</m_nValue>
                                            <m_ParamName text="Count"/>
                                        </Element>
                                        <Element class="AssetObjects::ArtDefReferenceValue">
                                            <m_ElementName text="Horseman"/>
                                            <m_RootCollectionName text="UnitMemberTypes"/>
                                            <m_ArtDefPath text="Units.artdef"/>
                                            <m_CollectionIsLocked>false</m_CollectionIsLocked>
                                            <m_TemplateName text=""/>
                                            <m_ParamName text="Type"/>
                                        </Element>
                                    </m_Values>
                                </m_Fields>
                                <m_ChildCollections/>
                                <m_Name text="Members2"/>
                            </Element>
                        </Element>
                        <Element>
                            <m_CollectionName text="Audio"/>
                            <Element>
                                <m_Fields>
                                    <m_Values>
                                        <Element class="AssetObjects::StringValue">
                                            <m_Value text="Legion"/>
                                            <m_ParamName text="XrefName"/>
                                        </Element>
                                    </m_Values>
                                </m_Fields>
                                <m_ChildCollections/>
                                <m_Name text="LEGION"/>
                            </Element>
                        </Element>
                    </Element>
                </m_ChildCollections>
                <m_Name text="UNIT_EXTRAORDINARII"/>
            </Element>


            <Element>
                <m_CollectionName text="UnitFormationTypes"/>
                <Element>
                    <m_Fields>
                        <m_Values>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>7.500000</m_fValue>
                                <m_ParamName text="SpacingX"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>7.500000</m_fValue>
                                <m_ParamName text="SpacingY"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>1.000000</m_fValue>
                                <m_ParamName text="SpacingMultiplier"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="PerRowIncrement"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="YOffsetIncrement"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>false</m_bValue>
                                <m_ParamName text="YOffsetIsCurved"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="StaggerIncrement"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="MemberRandomness"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="BlockRandomness"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>4</m_nValue>
                                <m_ParamName text="FirstRowWidth"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="XBlockSize"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="XBlockSpacingCount"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="YBlockSize"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="YBlockSpacingCount"/>
                            </Element>
                            <Element class="AssetObjects::IntValue">
                                <m_nValue>0</m_nValue>
                                <m_ParamName text="CenterBlockWidth"/>
                            </Element>
                            <Element class="AssetObjects::ArtDefReferenceValue">
                                <m_ElementName text="Block"/>
                                <m_RootCollectionName text="UnitFormationLayoutTypes"/>
                                <m_ArtDefPath text="Units.artdef"/>
                                <m_CollectionIsLocked>true</m_CollectionIsLocked>
                                <m_TemplateName text=""/>
                                <m_ParamName text="Type"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="MinimumRadius"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="FacingBlend"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>false</m_bValue>
                                <m_ParamName text="MinimizeRows"/>
                            </Element>
                            <Element class="AssetObjects::FloatValue">
                                <m_fValue>0.000000</m_fValue>
                                <m_ParamName text="ArcSize"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>true</m_bValue>
                                <m_ParamName text="CanMirrorFrontToBack"/>
                            </Element>
                            <Element class="AssetObjects::BoolValue">
                                <m_bValue>true</m_bValue>
                                <m_ParamName text="CanFlipLeftToRight"/>
                            </Element>
                        </m_Values>
                    </m_Fields>
                    <m_ChildCollections/>
                    <m_Name text="Extraordinarii"/>
                </Element>
            </Element>
        </Element>
    </m_RootCollections>
</AssetObjects::ArtDefSet>

The Unit collection looks alright from what I can see although I have not played around with formations so I am not to sure about that one but it seems alright to me.

I take it you have just snipped these 2 sections out of your artdef file but you have the other collections in your actual file.

Problem may be else where in how you are setting up the mod like in ModBuddy In-Game actions have you got that set to UpdateArt - (Mod Art Dependency File) and have your units.artdef file Build Action set to ArtDef.
 
Back
Top Bottom