Jessman123
  • Jessman123
  • 51.5% (Neutral)
  • Private Topic Starter
13 years ago
I'm trying to add a new unit by duplicating the Ranger. I have done this all successfully and it can be created at the barracks with its own command button and everything and works great. 🙂 What I would like to do now is change the texture for the new unit ( Elite ). So I would like there two be two rangers essentially. One the normal Ranger, the other the Elite. For the Elite I want a different texture. I have looked and it appears to me that the AIRNGR_SKN.W3D is the file that defines what texture it is looking for. I have already opened it up and changed the material inside RenX, but I have no change in the skin of the Elite.

How would I go about changing the Elite to have it's own texture?

The unit is defined in every other way. I even changed the model to use in the AmericaInfantry.ini ( I believe is the name) , to the model that has the Elites material/texture. It cant be that difficult, as people make new units all the time. But I'm a beginner and any of the tutorials only seem to cover overwriting the originals.

My assumption is that its within the W3D files, but that would seem that I would have to duplicate every one for the ranger, and alter the material in them all, but I thought those were just animation files, so it didn't make a hundred percent sense.

Please let me know, any incite is well appreciated. Thanks.
Sponsor
CommieDog
13 years ago
You're on the right track. You need to copy the Ranger model (AIRNGR_SKN) and edit the copy to use your new texture. Then you give your new unit the edited model.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Jessman123
  • Jessman123
  • 51.5% (Neutral)
  • Private Topic Starter
13 years ago
Ah, thank you for that clarification. Well the way I attempted that was using RenX, I don't know if there is a easier way to alter the texture it looks for.

I opened the file in RenX, then i opened the material editor, clicked get renegade material, went to pass 1, selected the button with the texture name, selected the texture I wanted and applied it. Under the materials with what I had selected, it claimed that was the diffuse something it was attached to. I threw the files in the directory of zero hour under data to test it first, but it didn't work. Ill re-examine my files and make sure I saved everything properly.

Perhaps I exported the model incorrectly ?