Custom Skybox texture

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
CypheR
Colour Sergeant
Posts: 84
Joined: Sat Apr 26, 2003 1:16 pm
Contact:

Custom Skybox texture

Post 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
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Maybe you have better luck at mapping forum :wink:
Image
CypheR
Colour Sergeant
Posts: 84
Joined: Sat Apr 26, 2003 1:16 pm
Contact:

Post 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.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post 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)
Last edited by wacko on Sun Sep 28, 2003 12:14 am, edited 1 time in total.
CypheR
Colour Sergeant
Posts: 84
Joined: Sat Apr 26, 2003 1:16 pm
Contact:

Post by CypheR »

ok, i attempt to make it later tonight, thank you so much for taking the time to explain.

CypheR
Post Reply