Rune Central
http://runequake.com/forums/

Skybox question
http://runequake.com/forums/viewtopic.php?f=9&t=1054
Page 1 of 1

Author:  LockNLoad [ Sun Feb 05, 2006 12:44 am ]
Post subject:  Skybox question

I just wanted to know if there was a way where skyboxes can automatically load on certain maps when you switch to them. I tried making res files but that didn't work. right now I just have "loadsky dmcw" on my autoexec, but I want to make it so that I can load certain skies on maps without manually doing it. Any help would be much appreciated. :)

Author:  Baker [ Sun Feb 05, 2006 3:38 am ]
Post subject: 

To the best of my knowledge, there isn't a way to do that.

Author:  aguirRe [ Sun Feb 05, 2006 4:15 am ]
Post subject: 

Several other engines support the "sky" key in map worldspawn, which will then load the specified skybox at loadtime.

Author:  yellow#5 [ Mon Feb 06, 2006 4:05 am ]
Post subject:  Re: Skybox question

LockNLoad wrote:
I just wanted to know if there was a way where skyboxes can automatically load on certain maps when you switch to them.



this is something i requested r00k put in qrack about 6 months ago. i think he's planning on doing it at some point :)

Author:  Canadian*Sniper [ Mon Feb 06, 2006 4:29 am ]
Post subject: 

what do you guys have against the trippy purple clouds?

Author:  sputnikutah [ Tue Feb 07, 2006 10:46 pm ]
Post subject: 

Yes, Yellow requested "map-named" skybox loading, but after adding r_skyscroll i just got real lazy with skys ;) IMHO r_skyscroll looks more real than some 16bit png image of the sky that looks like the wallpaper of my dentists waiting room :shock: :)

Author:  yellow#5 [ Wed Feb 08, 2006 1:38 am ]
Post subject: 

so, you're just not gonna add it now!? what about my other 517 feature requests? are you just not gonna add them either!? :shock:

Author:  Canadian*Sniper [ Wed Feb 08, 2006 4:12 am ]
Post subject: 

I'm sure he would be most ablieged if you added a little mula with those requests ^^

Author:  sputnikutah [ Wed Feb 08, 2006 10:59 am ]
Post subject: 

:D
Well, I'll have thursday off to tinker with the code some.
My brain only has 256kb so the other 261 feature requests got lost in the buffer overload. :shock:

Author:  sputnikutah [ Thu Feb 09, 2006 9:54 am ]
Post subject: 

ok Done.

I'll release an update soon!

New cvar:

R_MAPNAME_SKYBOX (0 | 1)

Setting this value to 1 will tell the client to use the MAPNAME as the variable for r_skybox.
your skybox files need to include the sufix "rt", "bk", "lf", "ft", "up", "dn"
for each map u wish to "force" a skybox for
example:

To force a skybox for map DM3...

c:\quake\qrack\textures\env\dm3rt.png
c:\quake\qrack\textures\env\dm3bk.png
c:\quake\qrack\textures\env\dm3lf.png
c:\quake\qrack\textures\env\dm3ft.png
c:\quake\qrack\textures\env\dm3up.png
c:\quake\qrack\textures\env\dm3dn.png


also setting r_skybox "mysky" in your cfg will set the initial skybox
As u go from map to map, if you dont have skybox images for a particular map it uses your default value, or the last loaded skybox.. :)

Author:  RocketGuy [ Thu Feb 09, 2006 1:14 pm ]
Post subject: 

sounds good!

Author:  yellow#5 [ Thu Feb 09, 2006 6:19 pm ]
Post subject: 

:D

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/