Problems Adding Unit Graphics

Duque d'Caxias

Great General
Joined
Nov 17, 2006
Messages
102
Location
Brazil
I've got some time to mod Civ 5 now and I'm finding some problems in adding unit graphics. I know this must be a very basic issue but it is really impeding my progress. So, any help would be very welcome.

For the sake of example I tried to add Redcoat graphics to my mod called Tests. Following bellow (in the .jpeg images) the way I configured Modboddy.

After all I saved the changes, rebuilt the mod, ran Civ 5 - Mods - Browse Mods - Tests - etc... And what I've got? SPEARMEN.

Tried the process dozens of times, studied LoneGamer "Merging New Unit Graphics Into 1 Modd", and many other tutorials but with no results. The question is: WHAT AM I DOING WRONG?


____________
 

Attachments

  • Members.jpg
    Members.jpg
    71.7 KB · Views: 68
  • Properties.jpg
    Properties.jpg
    62 KB · Views: 78
  • Actions.jpg
    Actions.jpg
    209.9 KB · Views: 83
  • Art Defines.jpg
    Art Defines.jpg
    221.2 KB · Views: 110
  • Units.jpg
    Units.jpg
    233.4 KB · Views: 54
You don't use OnModActivated/UpdateDatabase for anything other than GameData XML. The art define files are not gamedata. For those, you use the VFS system instead; right-click on the files, select Properties, and at the bottom will be "Import into VFS", defaulting to false. Change it to True for those files.
 
You don't use OnModActivated/UpdateDatabase for anything other than GameData XML. The art define files are not gamedata. For those, you use the VFS system instead; right-click on the files, select Properties, and at the bottom will be "Import into VFS", defaulting to false. Change it to True for those files.

That easy? Good, one step forward but wait... the game is crashing. It goes to the end of the set up process and stop. The cursor goes round and round but the game doesn't begin. And now what?

Exception: System.NullReferenceException ???!!!

OK, let's work a little more... Any idea?


____________
 
set VFS = true for the unit files too (fxsxml, gr2, dds).
 
Back
Top Bottom