1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Some Unit Fxsxml Not working

Discussion in 'Civ5 - Unit Graphics' started by Cmski, Oct 9, 2019.

  1. Cmski

    Cmski Chieftain

    Joined:
    Oct 9, 2019
    Messages:
    4
    Hi,

    I've been modding for a while and I've been finding unit models on the forum and using them in a mod I play with some friends.
    Usually the files I use work fine such as the Sandworm, Naga and Drider from 'List of Available Fantasy Units' https://forums.civfanatics.com/threads/list-of-avaliable-fantasy-units.521599/ which is here.

    Some of the Fxsxml files just don't want to work when I import them into my mod, such as the Tyranids or Griffin, and I've found a reason but I can't seem to fix it. The Fxsxml files that aren't working don't point to the .dds art files. Attached is a screenshot of what I mean. When I try to write in the missing code it still doesn't work, does anyone have a solution? Because it seems to work for others and even if I try the original owner's mod the unit art works fine.

    Thanks!
     

    Attached Files:

  2. Nutty

    Nutty Deity

    Joined:
    Mar 9, 2011
    Messages:
    3,169
    Gender:
    Male
    Location:
    Orange County, California, U.S.A.
    [FYI, I was the one who reposted and reskinned those tyranids from Skajaquada's mod.]

    The .dds references in the .fxsxml files don't actually do anything in-game. The true .dds references are actually held in the .gr2 model.

    Can you be clearer about what "don't want to work" means? Are you sure you're importing all of the files into VFS? Have you checked whether all of your data has gotten into the database?
     
  3. Cmski

    Cmski Chieftain

    Joined:
    Oct 9, 2019
    Messages:
    4
    Here's a picture of what I get (Attached). I've imported lots of units before and they all work apart from the ones that don't reference a .dds.
    Am I missing something? All the files are imported into VHS.

    Thanks for helping!
     

    Attached Files:

  4. Nutty

    Nutty Deity

    Joined:
    Mar 9, 2011
    Messages:
    3,169
    Gender:
    Male
    Location:
    Orange County, California, U.S.A.
    Capture 5.JPG doesn't show the actual .dds files, but assuming that they are there, have you turned on logging; and are there errors in your database log? Have you looked at this file:
    Code:
    C:\Users\%username%\My Games\Sid Meier's Civilization 5\cache\Civ5DebugDatabase.db
    in a SQLite Browser (e.g., DB Browser, SQLiteSpy, etc.) to see if your art define entries are there and make sense?

    If everything still looks good, it's much easier to just attach your built mod to help diagnose the issue.
     

Share This Page