After make your sky with terragen (about this exists many tutorials in NET) you need "export" the frames to Q3 engine. See the steps:
1) In Rendering Control window, change the Image Size setting to 512 x 512 pixels
2) You need have a script of terragen to create correctly your frames, for this execute this scripts (save as .tgs file in some folder):
Code: Select all
;By MCunha98
initanim "C:\", 1
; Left
camh 0
camp 0
camb 0
zoom 1
frend
; Back
camh 90
camp 0
camb 0
zoom 1
frend
; Right
camh 180
camp 0
camb 0
zoom 1
frend
; Front
camh 270
camp 0
camb 0
zoom 1
frend
; Top
;camh 0
camh 180
camp 90
camb 0
zoom 1
frend
; Bottom
camh 0
camp -90
camb 0
zoom 1
frend
Code: Select all
cd \
cls
ren 0001.bmp sky_lf.bmp
ren 0002.bmp sky_bk.bmp
ren 0003.bmp sky_rt.bmp
ren 0004.bmp sky_ft.bmp
ren 0005.bmp sky_up.bmp
ren 0006.bmp sky_dn.bmp
move sky_lf.bmp "C:\Arquivos de programas\EA GAMES\MOHAA\main\textures\sky_98wardepot\"
move sky_rt.bmp "C:\Arquivos de programas\EA GAMES\MOHAA\main\textures\sky_98wardepot\"
move sky_bk.bmp "C:\Arquivos de programas\EA GAMES\MOHAA\main\textures\sky_98wardepot\"
move sky_ft.bmp "C:\Arquivos de programas\EA GAMES\MOHAA\main\textures\sky_98wardepot\"
move sky_up.bmp "C:\Arquivos de programas\EA GAMES\MOHAA\main\textures\sky_98wardepot\"
move sky_dn.bmp "C:\Arquivos de programas\EA GAMES\MOHAA\main\textures\sky_98wardepot\"
5) After all, you need create a .shader file for your sky:
Code: Select all
textures/sky_98wardepot/sky_98wardepot
{
qer_editorimage textures/sky_98wardepot/sky_98wardepot.tga
qer_keyword sky
qer_keyword user_98wardepot
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
surfaceparm nomarks
q3map_globaltexture
skyParms textures/sky_98wardepot/sky_98wardepot - -
}