HIT Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How do you replace textures for a bsp file?  (Read 2412 times)

0 Members and 1 Guest are viewing this topic.

twitch

  • Snark
  • **
  • Offline Offline
  • Posts: 8
    • View Profile
How do you replace textures for a bsp file?
« on: June 07, 2011, 02:06:52 PM »

Hello,

I am curious how to replace textures for maps.  I know how to extract the textures using wintextract but how would I replace them?  Would I have to include a new wadfile with the map?  And if so, do I just add the name of the new wadfile to the worldspanentity line in the bsp file?  I would rather embed the new textures somehow... but if not, no big deal.

Thanks
Logged

twitch

  • Snark
  • **
  • Offline Offline
  • Posts: 8
    • View Profile
Re: How do you replace textures for a bsp file?
« Reply #1 on: June 08, 2011, 02:16:08 PM »

I figured there would be an expert here for replacing textures based on some of the projects posted or talked about here.  If anyone has some information that might help me, I would really appreciate it.  The texture changes would be for op4ctf or hle ctf maps to be used with a ctf plugin for hldm.
« Last Edit: June 08, 2011, 02:18:10 PM by twitch »
Logged

Joebama

  • Houndeye
  • ****
  • Offline Offline
  • Posts: 64
  • Show them online!
    • View Profile
Re: How do you replace textures for a bsp file?
« Reply #2 on: June 10, 2011, 11:57:27 AM »

As far as I know, you can't re-embed textures into a .bsp, all you can do is extract them. You'd have to decompile the whole map in order to replace the textures.
Logged

twitch

  • Snark
  • **
  • Offline Offline
  • Posts: 8
    • View Profile
Re: How do you replace textures for a bsp file?
« Reply #3 on: June 10, 2011, 01:27:30 PM »

ok, so it would have to be a map that draws its textures from a .wad then?
Logged

tschumann

  • Snark
  • **
  • Offline Offline
  • Posts: 5
    • View Profile
Re: How do you replace textures for a bsp file?
« Reply #4 on: June 12, 2011, 07:53:24 AM »

If you're going to recompile it, it wouldn't necessarily need to fall back on a .wad file, but it would probably more convenient for future changes.
Logged