Getting Textures into the Game

Post » Mon Sep 16, 2013 3:20 pm

So my latest issue is getting textures into the game to support a few minor model edits I made to Ginny. I figured since I couldn't make Loosum Hagar a companion, at the very least I could make Ginny more interesting to look at:

https://sites.google.com/site/ragecompmod/

Problem is (as show in the link) when I try to build my mod, the new textures don't make it... or the VMTR file is messed up.

Some things I tried:

- Redid the entire mod using the ToolKit instead of editing external files, in case the toolkit was losing track of my edits.

- Followed BarryK's advice and commented out the robocola car skins in decls\skins\vehicle_buggy.skin
and then blew away:

(rageToolKit)/virtualTextures/_vmtr_v23_256_C.pages
(rageToolKit)/virtualTextures/_vmtr_v23_256_C.vmtr
(rageToolKit)/base/vmtr.xml
(rageToolKit)/base/generated

forcing ID Studio to rebuild most assets. I also chose the rebuild virtual textures
menu option in game. (didn't work)

** I will note that this did cause her torso to change... but to different incorrect textures.

- The build log reported that it copied "donottouch_v001.pages" from the toolkits virtualTextures
directory to (mod)\virtualtextures\donottouch.pages"... but this file was not in the finished
mods virtual textures directory. So I tried copying it manually post build incase there was a
dependency.

- Tried using skins (pointing to textures in both the models and textures paths)

- Tried linking directly from the mesh (pointing to textures in both the models and textures paths)

- Tried including a simple map with my new NPC embedded in it, in case the textures require a map specific .pages file.

- Tried about 20 some odd combinations of build and texture metadata setup to no avail

Nothing worked.

I should note that I started a new game with each test since I wasn't sure what was cached by the save game. Between that and the build time, I have been debugging this for about a week at this point.

Finally, my mod adds a new deployable that has an inventory icon. The inventory icon actually makes it. The main difference: It is small (64x64), it goes under the textures/guis directory and I noticed when I looked at the vmtr file, that it is not listed in there. I can only guess it is because of the size.

I am about ready to give up and just stretch some of the original models polys so that I dont have to replace the skin textures (and use the original shirt). Mostly I have pursued this issue this long in hopes of finding a fix for others who may wish to create their own NPCs/Monsters. I figured I would ask here before giving up.

Has anyone reading this ever managed to get a new texture into the game that is attached to an animated model? In other words, through an edited md6mesh. I have read that people can bring .lwo files in, however they don't have the armature or bone information needed by NPCs. That is why I am editing md6mesh files and updating the textures through the internally defined texture paths. Also, I am not talking about running the game from the ID Studio engine tab. Things run fine from there. This problem only manifests when I build and export to the actual Rage game.

I am not sure when the scorchers DLC came out (I own it), but a part of me suspects that the DLC may be the issue. I wish I knew of a way to uninstall the DLC from Rage so that I could test without the DLC. I am going to look into posting both the source code and a current beta of the mod to the mods home page this evening in case there is anyone reading this that does not own the DLC who can confirm that the textures do/don't work without the DLC.

User avatar
patricia kris
 
Posts: 3348
Joined: Tue Feb 13, 2007 5:49 am

Post » Mon Sep 16, 2013 10:42 am

I'd like to test, but I do own Scorchers. Wow so much trouble with simple modding....however let us try your mod, without new textures, doesn't matter really, I mean her hat is ok in game and it looks great, isn't it?

Have you tried just simply remove dlc3 from Rage folder?

User avatar
Enie van Bied
 
Posts: 3350
Joined: Sun Apr 22, 2007 11:47 pm


Return to Othor Games