Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » GAH!!!!!!!
GAH!!!!!!! [message #35699] Sat, 02 August 2003 16:23 Go to next message
----- is currently offline  -----
Messages: 52
Registered: February 2003
Location: -=RP=- The Great White No...
Karma: 0
Recruit

Does anyone know how to change the texture reference in a w3d file?

See my shadow changing,
Stretching up and over me
Soften this old armor
Hoping I can clear the way
By stepping through my shadow,
Coming out the other side
Step into the shadow
Forty six and two are just ahead of me
GAH!!!!!!! [message #35702] Sat, 02 August 2003 16:29 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Take the texture that is referenced and replace it with the texture you want?

-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
GAH!!!!!!! [message #35703] Sat, 02 August 2003 16:32 Go to previous messageGo to next message
----- is currently offline  -----
Messages: 52
Registered: February 2003
Location: -=RP=- The Great White No...
Karma: 0
Recruit

:/ I dont think that will work its something to do with editing the actual reference in the file itself. You see I am trying to create a new soldier with new textures without replacing the old ones.

See my shadow changing,
Stretching up and over me
Soften this old armor
Hoping I can clear the way
By stepping through my shadow,
Coming out the other side
Step into the shadow
Forty six and two are just ahead of me
GAH!!!!!!! [message #35864] Sun, 03 August 2003 10:12 Go to previous messageGo to next message
SomeRhino is currently offline  SomeRhino
Messages: 260
Registered: February 2003
Karma: 0
Recruit
Fire up a hex editor, search the Ascii data of the W3D file for references to the original texture. It will have a .tga extension. Your new texture filename must be the same amount of characters as the old one. Now, replace every instance of the old name with the new name, do not add or delete any of the information, just overwrite it. Save the file, and it should be good to go. I would recommend just replacing the texture file, because you can't rename W3D files without crashing the engine anyways, since the meshes are name according to the file name. If you want to rename the W3D, you would probably have to replace every instance of the file name contained within the file, and I'm sure that there would be alot of them.

GAH!!!!!!! [message #35959] Sun, 03 August 2003 17:06 Go to previous message
----- is currently offline  -----
Messages: 52
Registered: February 2003
Location: -=RP=- The Great White No...
Karma: 0
Recruit

heh, yeah it sounds like too much work.

See my shadow changing,
Stretching up and over me
Soften this old armor
Hoping I can clear the way
By stepping through my shadow,
Coming out the other side
Step into the shadow
Forty six and two are just ahead of me
Previous Topic: Script that prevents a building from taking further damage..
Next Topic: edit conv10.cdb
Goto Forum:
  


Current Time: Tue Dec 24 18:12:03 MST 2024

Total time taken to generate the page: 0.00516 seconds