2 textures with one name Created 7 years ago2016-06-03 11:16:02 UTC by seedee seedee

Created 7 years ago2016-06-03 11:16:02 UTC by seedee seedee

Posted 7 years 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?

Removing your double post. Use the edit button. :D - Urby
Posted 7 years 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.
monster_urby monster_urbyGoldsourcerer
Posted 7 years ago2016-06-03 12:27:42 UTC Post #330325
Posted 7 years ago2016-06-03 12:46:08 UTC Post #330326
I never ask that myself ._.
REBELVODKA REBELVODKASemper fidelis
Posted 7 years 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.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 7 years 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 7 years 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 7 years 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.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 7 years ago2016-06-04 12:50:16 UTC Post #330336
Cool admer!
IIRC in Source, each texture has a .vmt file in which you can edit the material type and specify hightmaps etc.
Posted 7 years ago2016-06-04 14:37:44 UTC Post #330341
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"
Yeah, that's wrong. You just need to add the texture name to materials.txt
monster_urby monster_urbyGoldsourcerer
You must be logged in to post a response.