Jump to content

So, has anyone discovered how to import texture files?


Hell Kitty

Recommended Posts

Well, I wouldn't quite call it a custom uniform. :(

https://www.lotekk.com/files/s2-kickme.jpg

 

Anyways, I owe a great deal of thanks to son_ix for figuring out the fubar'd batch file. Anyways, until the auto-batchfile thing gets fixed, here's the procedure:

 

1. Create/modify texture, save in source folder (specified in editor prefs) as TGA

2. In editor, create new item under "Textures" tab

3. Click "srcname" and locate your TGA file

4. Select image type (dropdown box) *

5. Select format (dropdown) #

6. Right-click on the new texture (left panel) and hit "export".

 

6a-c are for those of you whose path to Silent Storm contains spaces

6a. Go to your system temp folder and locate "texture_export.bat"

6b. Edit the file: enclose all paths in quotes, and change any "" to single backslash. Save and run.

6c. Back to the editor, right click on the texture again, and hit "export (overwrite).

 

7. Et voila. Brand spanking new texture for you to play with. Now in order to use these textures on models and such, you will have to create a new material.

 

* Most times you can get away with "ordinary". The only other one I've played with is "bump". Essentially what that does is convert a greyscale bumpmap into an RGB normal map for use in the game. If the file you're importing is already an RGB normal map, then just import as "ordinary"

 

# The first 4 sets of numbers simply indicate the number of bits per channel of RGBA. The next 5 instruct the editor to convert the textures to DXT before importing

 

 

Cheers, and let me know if you need any clarification.

Link to comment
Share on other sites

Well, unfortunately the original textures aren't actually available (there are no tools to extract them from the .res files). There are a couple of sample textures in the "source" folder, and for the rest you can actually load them up in the editor and take a screenshot of them. Alternatively, create them from scratch. :(
Link to comment
Share on other sites

  • 1 month later...
Ok I am trying to create some textures for some new models I created and everytime I try and create one the image hieght and width are always 0. Even when I try and create a new texture using the example one that came with the game it still says the size is 0. Any know the answer?
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 6 months later...

Well, actually, it is not question of res or what ever, but juste about size;

I explain: you should follow the same steps as LoTek said, however, instead of using TGA, I advise you to use BMP!!!

Enjoy it

PS: I advise you tu use Combat Mission uniforms, they are absolutely "sexy", and suitable for the

Link to comment
Share on other sites

  • 7 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...