Official Soldat Forums

Soldat Talk => Game Improvements / Suggestions => Topic started by: nosejj on June 06, 2016, 11:37:45 am

Title: Textures file name
Post by: nosejj on June 06, 2016, 11:37:45 am
So, I was wondering, weapons-gfx folder have it all very organizedly and you know what you edit exactly when you edit it.
But when you want to modify your textures, you're not entirely sure which texture goes for which maps.


Suggesting to make the file names of these files based on the map name "Ash.png" etc...
Title: Re: Textures file name
Post by: darDar on June 06, 2016, 11:42:17 am
Some of the textures are used for different maps so I would rather add a txt file  to the folder which contains the information.
On the other hand; If someone really wants to modify his textures ... He shouldn't be hindered by the texture names...
Title: Re: Textures file name
Post by: nosejj on June 06, 2016, 11:47:30 am
Some of the textures are used for different maps so I would rather add a txt file  to the folder which contains the information.
That or just have it named "Laos-Ash-B2b" for example. But it's a mess right now and I can't be arsed to check.
Title: Re: Textures file name
Post by: Falcon` on June 06, 2016, 01:38:25 pm
What if we decide to remove B2b from default maps and add something else instead? Do we have to rename the texture too? I think that what you want is rather either some sort of register that somebody would maintain (not necessarily a text file, might be forum post for instace) or an app that'd do that for you. I think texture name should tell you how it looks like, not where it's used, which it does, except in wrong language.
Title: Re: Textures file name
Post by: nosejj on June 06, 2016, 02:45:59 pm
Well, I don't think it's such a big deal to rename the textures. Besides having different files (even if similar) to each texture would be the best I'd say. I guess I prefer organization over this...
Title: Re: Textures file name
Post by: machina on June 06, 2016, 04:22:18 pm
I don't think it's a good idea to rename textures names. Many player's maps surely depend on those files.

I wouldn't also increase the Soldat's folder by a single bit to add such information in the text file. If you're requiring such information, why don't you collect the data yourself and eventually post an article on the Soldat Dev's Wiki? I think it far more suitable place for such information instead of adding it into the game's folder.
Title: Re: Textures file name
Post by: urraka on June 06, 2016, 05:17:13 pm
It's true that it's tricky to find out which textures belong with which maps. Same goes for scenery files. I made a couple of small little web tools back then that help with this (both are a blank page where you can drag & drop pms files):

Scenery Info tool (https://dl.dropboxusercontent.com/u/8012562/soldat/scalelist/scalelist.html)
Texture Info tool (https://dl.dropboxusercontent.com/u/8012562/soldat/scalelist/texturelist.html)

Here is an example of the output I had for 1.7.0b1:

Scenery Info (1.7.0b1) (https://dl.dropboxusercontent.com/u/8012562/soldat/scalelist/exported/SceneryInfo-1.7.0b1.html)
Texture Info (1.7.0b1) (https://dl.dropboxusercontent.com/u/8012562/soldat/scalelist/exported/TextureInfo-1.7.0b1.html)

I'm attaching a zip with the source code in case I ever remove that from dropbox.
Title: Re: Textures file name
Post by: nosejj on June 07, 2016, 02:09:23 am
Useful! Thanks. :)