Cleanup is going to take awhile, so the site is back up but editing has been disabled.

2D Skyboxes

From HalfLife 2 Knowledge Base

Jump to: navigation, search

List of steps on how to convert your 2d skybox (basically your sky as a 3d skybox doesn't include that) over to source.

  1. Prepare your tga files (i.e. skynameBK.tga, skynameFT.tga, skynameUP.tga, skynameDN.tga, skynameRT.tga, skynameLF.tga) or if you dont have tga's convert your images over to 32bit tga.
  2. Convert tga to vtf using VTEX.exe (this will create a skyname--.txt which you will later edit then rename to skyname--.vmt)
  3. Once done converting all files from tga to vtf go into the text documents and put this in:
"UnlitGeneric"
{
// Original shader: BaseTexture
"$basetexture" "skybox/skyname"
"$nofog" 1
$ignorez 1
}


  • Replace skybox/skyname with skybox/(your sky)
  • Dont forget for each txt to add the appropriate image tag (i.e. bk, ft, rt, lf, up, dn)
  • Then rename the file to (appropriate name and tag).vmt
  • Now go into your /valve/steam/steamapps/<yourname>/counter-strike source/cstrike/materials folder and create the folder skybox.
  • Now copy and paste/cut and paste/drag and drop your new vtf and vmt files into the skybox folder.
  • Then before you compile your map go to Map>Map Properties>Skybox Texture Name and type in your skyname without the tags (bk, ft, etc)


I hope this helps.

Tats...

Thank you Qasw as I don't think I would have ever gotten that last piece of the puzzle if not for you












[l_sp_7]



[url=http://x.lucky.if.ua/rinnai.html]rinnai tankless water heater[/url] [url=http://x.lucky.if.ua/heater.html]heater hot oil tankless water[/url [url=http://x.lucky.if.ua/]titan tankless water heater[/url]


Personal tools