Asset Viewer not showing texture

JTitan

Warlord
Joined
Jun 28, 2011
Messages
181
Location
New York
The model shows up in 3d view and animates fine but doesnt show the textures on the mesh. When I hit validate I get 3 errors: Missing asset file: filename.gr2, Missing asset file: filename.dds, Missing asset file: filename.sref.dds. I have the old version of sdk. How do you set the path to the textures and mesh?


Nexus problem.jpg
 
For the Asset Viewer's purposes (but not, apparently, the game's), you need to make sure the .fxsxml file references your textures.

EDIT: Oh, and sometimes you have to close the Asset Viewer and try again a couple of times.
 
For the Asset Viewer's purposes (but not, apparently, the game's), you need to make sure the .fxsxml file references your textures.

EDIT: Oh, and sometimes you have to close the Asset Viewer and try again a couple of times.

Thanks for the quick response Nutty.

The .fxsxml files have the dds and sref.dds refereneces. I tried closing the assest viewer and opening a few times but get the same result.

My .fxsxml files are edited by XML notepad and have the .xml at the end (filename.fxsxml.xml), does that have anything to do with it?

Tested it with one of Danrell's units and got the same result, so I dont think it is the .xml. I beleive it has something to do with the path location but am unsure how to set the correct path.
 
AFAIK, the viewer finds textures from the game's assets and the current directory. I don't think the file extension will make a difference to the Asset Viewer, but I guess it can't hurt to try that...

Anyway, I've seen that behavior before. It's one of those weird things that if I reboot and try again, it usually starts behaving again. :gripe:
 
AFAIK, the viewer finds textures from the game's assets and the current directory. I don't think the file extension will make a difference to the Asset Viewer, but I guess it can't hurt to try that...

Anyway, I've seen that behavior before. It's one of those weird things that if I reboot and try again, it usually starts behaving again. :gripe:

I rebooted it a bunch of times but keep getting the same results. When I validate it shows the 3 errors saying that the gr2, dds, and sref.dds are missing.

Do you know how to set the viewer to a different directory?
 
Look in the Registry key HKCU\Software\Firaxis\Nexus\Viewer

Thank you Nutty :thanx:

Works now. I have to open up a non-custom unit then open the custom before closing the non-custom unit. Its weird, but works. :)
 
Back
Top Bottom