Having trouble with Units.artdef

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:
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.
 
Top Bottom