khanghugo / gchimp

A collection of GoldSrc mapping tools in one application
GNU General Public License v3.0
4 stars 1 forks source link

Any texture with weird suffix will prevent studiomdl.exe from compiling #5

Closed khanghugo closed 1 month ago

khanghugo commented 1 month ago

If there is transparent texture with "{" suffix exported and included in a Qc/Smd file, studiomdl would not compile.

This affects Map2Mdl because a brush with transparent texture will not compile.

On this, Map2Mdl should also mask texture transparent. If anything, Map2Mdl should also re-process texture file to make sure it is compliant. Maybe that re-process part is unnecessary but still, Map2Mdl should do mask texture.

khanghugo commented 1 month ago

This is misinformation. The error is related to $texrendermode requiring ".bmp" suffix for the texture.

khanghugo commented 1 month ago

Transparent texture is supported as of 64ca6bd

To have the best result aka the texture is actually transparent, TexTile can convert to the format to use.