Tool Posted April 19, 2015 Report Posted April 19, 2015 I created a custom skybox for insurgency which leaks everytime. I tried all sorts of exporting methods. my VMT looks like "UnlitGeneric" { "$basetexture" "skybox/vegas_01bk" "$nofog" 1 "$nomip" 1 $ignorez 1 } Other custom skyboxes work on my map. but the ones I create from scratch just show up as a black leak. I get no errors in compiling or ingame console. I spent 8 hours today trying to fix this to no avail. I tried all sorts of different resolutions, compression methods, clamp on or off, mipmaps on or off. I tried different file names and VMT configs and it would not work. Please someone, tell me what I did wrong or how I can create working skybox textures from scratch with GIMP. Quote
Radix Posted April 19, 2015 Report Posted April 19, 2015 Your vmt seems to be correct. (You don't even need "$nofog" 1, "$nomip" 1 and $ignorez 1 to make it work afaik) The images you want to import should all have the same resolution. 1024x1024 should be fine. They should be simple files like tga or even bmp. No alpha channel needed. Open vtf edit and open your image via "file -> import". The vtf options can be the default settings. Don't forget to flag Clamp S, Clamp T, No Mipmap, (No Level Of Detail (?)) Your 6 vmt files will be vegas_01bk.vmt, vegas_01dn.vmt, vegas_01ft.vmt, vegas_01lf.vmt, vegas_01rt.vmt and vegas_01up.vmt. The vtfs the same with .vtf ending. Be sure to save all the files in the correct folder and set the correct skyname in Hammer editor (vegas_01) Maybe post your settings in vtf edit, if it still doesn't work. Quote
Squad Posted April 20, 2015 Report Posted April 20, 2015 The images you want to import should all have the same resolution. 1024x1024 should be fine. Actually, you can make all of your vtf's (except for the upper one) 1024*512 or 512*256, as the bottom part will probably never be visible and this will lower filesize a bit. The bottom one can be 16*16 or something like that, since you will never see it anyway. Radix 1 Quote
Radix Posted April 20, 2015 Report Posted April 20, 2015 The images you want to import should all have the same resolution. 1024x1024 should be fine. Actually, you can make all of your vtf's (except for the upper one) 1024*512 or 512*256, as the bottom part will probably never be visible and this will lower filesize a bit. The bottom one can be 16*16 or something like that, since you will never see it anyway. Nice to know. Well, I stuck by Valve's recommendation here. Already thought about what you said, because these parts of the skybox are never visible as you said, but unfortunately didn't try it yet. Squad 1 Quote
Radix Posted April 20, 2015 Report Posted April 20, 2015 Well, I gave it a try immediately. (1024*512 resolution except the upper (1024*1024) and bottom (16*16) textures) Found out, that you will have to add $basetexturetransform "center 0 0 scale 1 2 rotate 0 translate 0 0" to the vmt (of ft, bk, lf and rt), if you don't want the images to be stretched vertically. Quote
Tool Posted April 29, 2015 Author Report Posted April 29, 2015 thank you all for the replies, I will give it a try tonight. Quote
Tool Posted April 30, 2015 Author Report Posted April 30, 2015 (edited) just to make sure I have my directory correct can someone please verify for me? C:Program Files (x86)Steamsteamappscommoninsurgency2insurgencymaterialsSkyboxvegas_01fr.vtf same for vmt and do I have to recompile after each vtf or vmt edit? Edited April 30, 2015 by Tool Quote
Tool Posted May 1, 2015 Author Report Posted May 1, 2015 (edited) ok I am an idiot. The whole time I had vegas_01ft misspelled as vegas_01fr watch your r's and t's fellas! This problemo is resolved preview http://images.akamai.steamusercontent.com/ugc/720917455738671532/FFE07F5D0E237F4437E5FF7F0C128563F5525D6E/ Edited May 1, 2015 by Tool Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.