Skybox
SuperTeflon
Join Date: 2003-12-31 Member: 24893Banned
<a href='http://cariad.co.za/twhl/tutorial.php?id=6' target='_blank'>http://cariad.co.za/twhl/tutorial.php?id=6</a>
Um, okay, so what wad is this 'sky' texture located in? Because I don't have it in either nswads. Is there supposed to be a 'default halflife wad' I should have?
Um, okay, so what wad is this 'sky' texture located in? Because I don't have it in either nswads. Is there supposed to be a 'default halflife wad' I should have?
Comments
If you have the WON version of Half-Life installed, it will be in halflife.wad (no dash). Other WON games (CS retail, DoD retail) should have it in one of the wads distributed with the game.
If you have Steam installed, read the first few posts in <a href='http://www.unknownworlds.com/forums/index.php?showtopic=61393&hl=halflife\.wad' target='_blank'>this thread</a>. The second post has a link to a tool that allows mappers to get resources they need from the steam cache.
Then I put a light_spotlight (whatever it's called) set the IsSky to true, aimed it down.
Launch the game. The sky is a black and magenta textured... ugliness, and there's absolutely no light...
NOTE: If I texture the outside of the box with sky, i get a bad surface extents error.
Then I put a light_spotlight (whatever it's called) set the IsSky to true, aimed it down.
Launch the game. The sky is a black and magenta textured... ugliness, and there's absolutely no light...
NOTE: If I texture the outside of the box with sky, i get a bad surface extents error. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
For problem #1: Are you using -wadinclude on the wad file containing your sky? If so, turn that off and see if it helps with the ugliness.
For problem #2: The engine doesn't record any light information for sky textures, and model light is the same as floor light -- change your floor texture to something other than SKY and you should have things light up.
For problem #3: The bad surface extents could be related to a -wadincluded sky as well.
No, changing the floor texture didn't change anything :/
No, changing the floor texture didn't change anything :/ <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Even if it couldn't find the sky, it should default to the Half-Life desert environment if the sky texture is being detected properly. Could I see your compile log?
I completely forgot to update my wads.txt file once I put the halflife.wad in it... so basically it didn't know to treat the sky texture special <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo--> Well... I learned something today... thanks for the help, sorry!
You can add anchors to the guide like I did with the FAQ by using an [anchor] tag... let me know if you'd like assistance with that.