dhulme Posted September 15, 2007 Share Posted September 15, 2007 Hi, I am currently working on a map, and wanted to use fog to enhance the experience of my map. I added a brush, and covered in many differnet fog textures (yavin, yavin2, hoth, rail etc..) and compiled my level. However, when I then load my level in the game, either the fog does not appear or it shows the missing texture black and white grid. Any help would be appreciated. Thanks in advance, dhulme Link to comment Share on other sites More sharing options...
acdcfanbill Posted September 15, 2007 Share Posted September 15, 2007 If it's going to be everywhere, just add the fog keys to the worldspawn. Link to comment Share on other sites More sharing options...
dhulme Posted September 15, 2007 Author Share Posted September 15, 2007 Well that's the real trouble - sorry I should have mentioned, I only want it at the bottom of one room Link to comment Share on other sites More sharing options...
acdcfanbill Posted September 15, 2007 Share Posted September 15, 2007 did you set sv_pure 0 when you started your game? this generally defaults to 1 and can sometimes cause missing textures. Link to comment Share on other sites More sharing options...
dhulme Posted September 16, 2007 Author Share Posted September 16, 2007 I changed that to 0, but it had no effect. However, I noticed an error message from the console: "WARNING: Shader 'textures/fogs/yavin2' has lightmap but no lightmap stage!". What does this mean? Link to comment Share on other sites More sharing options...
acdcfanbill Posted September 16, 2007 Share Posted September 16, 2007 It means whoever wrote the shader forgot to use 'surfaceparm nolightmap' on it. anyway, I don't really know why your fog doesn't work, I just tested some different ones in a test map,and they all worked fine for me... Maybe you ended up with a bad brush somehow, try deleting it and starting over. Link to comment Share on other sites More sharing options...
dhulme Posted September 16, 2007 Author Share Posted September 16, 2007 I've started over several times but no luck. Could you send me the map please? So I can see if I can get it to work, it could be my compiler, or just my pc... Thanks for all your help, dhulme Link to comment Share on other sites More sharing options...
acdcfanbill Posted September 17, 2007 Share Posted September 17, 2007 k, heres the quick one i was messing with, the fog texture on it currently its yavin2 i believe. I put both the .map and my compiled .bsp into the zip folder. testfog.zip Link to comment Share on other sites More sharing options...
dhulme Posted September 17, 2007 Author Share Posted September 17, 2007 Thanks, it's the weirdest thing. Your map works fine, the fog appears with no problems. I also compiled the map to ceheck it wasn't radiant, and that also worked. I then made a new fog brush in my level, and it worked 100%, so I'm not sure what I was doing wrong! Thanks for your help, dhulme Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.