This is the beta version of TWHL and is not currently active. Please go to twhl.info if you are looking for resources or information.

2 textures with one name Created 1 year ago2016-06-03 11:16:02 UTC by Cd5ssmffan Cd5ssmffan

Created 1 year ago2016-06-03 11:16:02 UTC by Cd5ssmffan Cd5ssmffan

Posted 1 year ago2016-06-03 11:16:02 UTC Post #330322
What will happen if I have two texture packs each with a file of one name?
Example:

banana.wad >>> poster1941458.bmp
papaya.wad >>> poster1941458.bmp
what happens?

Which texture will be used in the editor? In game?

[purple]Removing your double post. Use the edit button. :D - Urby[/purple]
Posted 1 year ago2016-06-03 11:36:48 UTC Post #330324
Same as the editor. I believe one will be selected at random when you compile the map. Best to rename one of them.
Urby UrbyReally solid dude
Posted 1 year ago2016-06-03 12:27:42 UTC Post #330325
Posted 1 year ago2016-06-03 12:46:08 UTC Post #330326
I never ask that myself ._.
Posted 1 year ago2016-06-03 14:45:28 UTC Post #330327
It accidentally happened to me, when I was making an HD texture of a Half-Life crate. I named it the same as the original one, and I used the HD one in the editor.

I think it depends on the order by which you've added the texture, or it might also depend on the alphabetical order of the wads.
Posted 1 year ago2016-06-03 15:18:22 UTC Post #330328
i seen custom textures named the same as the original ones in halflife.wad for the sake of sounds (dirt/metal etc) and sometimes the map would load with the halflife.wad textures instead of the custom ones
Posted 1 year ago2016-06-03 18:53:38 UTC Post #330330
You need to add ground, metal, rock or brick at the start of the texture for the custom sounds. for example: Metal_sfloor-hl2 is one of my textures, when you walk on a brush with said texture assigned it sounds like "ding ding ding"

Thanks guys, I'll remember to always make up random names for my textures :x
Posted 1 year ago2016-06-03 20:07:56 UTC Post #330331
In GoldSRC, the names of textures (for use with some sounds) are located in materials.txt. I'm unsure about Source.
You must be logged in to post a response.