Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[HL2] Texture in the Ravenholm vista in d1_eli_01 and d1_canals_10 displaying incorrectly.

Open Gulliblepikmin opened this issue 1 year ago • 1 comments

Since the Half-Life 2 20th Anniversary update, a texture used to represent Ravenholm's buildings in d1_eli_01 "(buildingset056a.vtf) had its size increased by 4x, yet nothing else was updated to account for it, leaving the engine to try and render the texture at 4 times the size.

Original version, before the 20th Anniversary update update. Non-Broken Ravenholm

After the 20th Anniversary update. Due to the way brush textures work in Source, it's now rendering at four times the size as the original texture, leaving only the bottom left part of it to be visible as a weird green blob. Broken Ravenholm

Three possible solutions to this problem would be:

  1. Editing d1_eli_01 to scale the texture correctly.
  2. Adding the line ""$basetexturetransform" "center 0 0 scale 4 4 rotate 0 translate 0.00 0.000" " to the texture's VMT, causing it to render as if it were 4 times smaller.
  3. Simply reverting the change made to buildingset056a.vtf in the 20th Anniversary update.

Gulliblepikmin avatar Dec 05 '24 12:12 Gulliblepikmin

Updating this as it turns out this problem isn't related to one map. This issue is in both d1_eli_01 and d1_canals_10, with d1_canals_13 being the only one with its texture scale modified to match with the larger texture.

This means that the easiest solution would probably be editing the map file of d1_canals_13 to scale it to match with the other maps and their wrongly side textures, and then adding the line ""$basetexturetransform" "center 0 0 scale 4 4 rotate 0 translate 0.00 0.000" " to the texture's VMT, causing it to render as if it were 4 times smaller in resolution.

You could also alternatively modify d1_eli_01 and d1_canals_10 to scale their textures correctly instead.

Also, here's an image of d1_canals_10's skybox following the 20th Anniversary Update, just for the sake of proof. Image

Gulliblepikmin avatar Oct 20 '25 12:10 Gulliblepikmin