1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Having trouble with Units.artdef

Discussion in 'Mod Creation Help' started by aschulak, Dec 28, 2017.

  1. aschulak

    aschulak Chieftain

    Joined:
    Dec 11, 2010
    Messages:
    92
    Hi all,

    I've followed the guides here, and even looked at the code of some of the mods in the Workshop, but for the life of me I cannot seem to figure out Units.artdef. I have a mod where I am making unique units, but I just want them to look like the normal units -- no new art at all.

    Unfortunately the units show up invisible in game. I should also mention that when I build and use the sample unit mod (Peon) that it too is invisible in game.

    The mod can be found here: https://www.dropbox.com/s/kv66m8fga7coca1/AmericanDomination.rar?dl=0

    The output of the ModBuddy cooker is here:
    Code:
    Starting AssetCooker...
    Opened output file: C:\Users\aschulak\Documents\My Games\Sid Meier's Civilization VI\Mods\AmericanDomination\ArtDefs/Units.artdef
    Cooking ArtDef: (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> Formation references an ArtDef entry (Archer) that does not exist in the ArtDef Collection (UnitFormationTypes) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> Formation has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> EmbarkedUnit references an ArtDef entry (UNIT_ANCIENTEMBARK) that does not exist in the ArtDef Collection (Units) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> EmbarkedUnit has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> Members >> Members1 >> Type references an ArtDef entry (Scout) that does not exist in the ArtDef Collection (UnitMemberTypes) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> Members >> Members1 >> Type has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> Members >> Members2 >> Type references an ArtDef entry (ScoutDog) that does not exist in the ArtDef Collection (UnitMemberTypes) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_SCOUT >> Members >> Members2 >> Type has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> Formation references an ArtDef entry (Warrior) that does not exist in the ArtDef Collection (UnitFormationTypes) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> Formation has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> UnitCombat references an ArtDef entry (Warrior) that does not exist in the ArtDef Collection (UnitCombat) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> UnitCombat has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> EscortFormation references an ArtDef entry (WarriorEscort) that does not exist in the ArtDef Collection (UnitFormationTypes) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> EscortFormation has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> EmbarkedUnit references an ArtDef entry (UNIT_ANCIENTEMBARK) that does not exist in the ArtDef Collection (Units) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> EmbarkedUnit has had its value replaced with its default value.
    
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> Members >> Members001 >> Type references an ArtDef entry (Musketman) that does not exist in the ArtDef Collection (UnitMemberTypes) of ArtDef (Units.artdef).
     >> Units.artdef >> Units >> UNIT_AMERICAN_MUSKETMAN >> Members >> Members001 >> Type has had its value replaced with its default value.
    
    Cook finished for ArtDef at Path: 'Units.artdef' with Template: 'Units'
    ArtDef cook completed.
    Dependencies for file 'Cultures.artdef' will not be included in the dependency data.
    Dependencies for file 'Eras.artdef' will not be included in the dependency data.
    Unable to auto-generate ArtDef dependency information.  This will need to be done manually.Cook completed in 0.017 seconds
    
    Any tips/help would be greatly appreciated.

    Many thanks,
    A
     
    Last edited: Dec 29, 2017
  2. aschulak

    aschulak Chieftain

    Joined:
    Dec 11, 2010
    Messages:
    92
    I finally solved this issue. Apparently I didn't have my Civ VI folders set up properly under Tools -> Options in ModBuddy. That fixed everything, though I have no idea why.
     
  3. JamesRoper1403

    JamesRoper1403 Chieftain

    Joined:
    Mar 7, 2016
    Messages:
    31
    What did you do with the folder setup?
     

Share This Page

Ebates: Get Paid to Shop