Page 1 of 1
Custom Skybox texture
Posted: Sat Sep 27, 2003 7:56 pm
by CypheR
Ooook. i wanna use another sky texture then those offered in MoH. i have my six images to make it... but thats all. i'd like an easy to follow guide to teach me how to script everything so it shows ok into game. if anyone got a link to some tutorial, or has the time to explain all i would greatly apreciate. thnaks to all.
CypheR
Posted: Sat Sep 27, 2003 9:06 pm
by jv_map
Maybe you have better luck at mapping forum

Posted: Sat Sep 27, 2003 9:44 pm
by CypheR
since it riquires a script file. i tought that the scripting section would have been more apropriate. but whatever. i simply need the help.
Posted: Sat Sep 27, 2003 9:58 pm
by wacko
okay.
make your textures 512x512 pixels sized jpegs
name your textures:
mysky_bk.jpg backside
mysky_dn.jpg bottom side
mysky_ft.jpg frontside
mysky_lf.jpg left side
mysky_rt.jpg right side
mysky_up.jpg top
(just the orange part...)
put them in a folder
main/textures/mymap
write (in notepad...) a shader for them:
Code: Select all
textures/mymap/mysky
textures/mymap/mysky
{
qer_keyword utility
qer_keyword sky
qer_editorimage textures/mymap/mysky.tga
surfaceparm nolightmap
surfaceparm noimpact
surfaceparm sky
skyParms textures/mymap/mysky 512 -
}
save this as
mymap.shader in
main/scripts
open your map in mohradiant, look up the texturefolder mymap, and texture your sky with mysky
always distribute your map WITH the textures and the shader.
there was a typo (red)
Posted: Sat Sep 27, 2003 11:53 pm
by CypheR
ok, i attempt to make it later tonight, thank you so much for taking the time to explain.
CypheR