
// Alienbase by alex256, Jochi and sCaSd

// Thanks to Jochi for the viper, Makke for planet models, Kaiser and Fanatic for sounds,
// Blindabuser, Hylke 'gibbie' Beck, Gregor Koch and Philip Klevestav for textures
// and most of all the Sauerbraten devs



// Copyright and Permissions:

// This Sauerbraten map is copyright (c) 2008 alex256, Jochi and sCaSd.
// See also http://www.gnu.org/licenses/gpl2.html

// Contact: kgloge@gmx.de



mapmsg "3Alien Comet Exploration Base2 by alex256, Jochi and sCaSd"



// default music to be played for this map:

loadsky blindabuser/blindasky
cloudbox "scasd/skyboxes/alienbase"
cloudclip 0.0

fogcolour 0 0 0 
fog 10000



// basenames
alias base_1 "the shotgun base"
alias base_2 "the machinegun base"
alias base_3 "the rocket launcher base"
alias base_4 "the rifle base"
alias base_5 "the grenade launcher base"



// mapsounds
mapsound "fanatic/wind" 120
mapsound "ambience/wind" 100 2
mapsound "ambience/fire_light" 250 3
mapsound "ambience/cycadas" 100 2
mapsound "ambience/frogs" 100 2
mapsound "ambience/night_crickets" 100 2
mapsound "fanatic/feeding_room_low" 180 2
mapsound "kaiser/fx/computer1" 120 2
mapsound "kaiser/fx/hum1" 120 2
mapsound "kaiser/fx/hum2" 120 2
mapsound "kaiser/fx/hum3" 120 2
mapsound "kaiser/fx/hum4" 120 2
mapsound "kaiser/fx/hum5" 120 2
mapsound "kaiser/fx/hum6" 120 2
mapsound "kaiser/fx/hum7" 120 2
mapsound "kaiser/fx/warning1" 100 2




mapmodelreset
mmodel "makke/planet"
mmodel "makke/moon"

mmodel "scasd/spaceships"



materialreset

texture water "golgotha/water2.jpg" // water surface
texture 1 "textures/waterfall.jpg"  // waterfall
texture 1 "textures/watern.jpg"     // water normals
texture 1 "textures/waterdudv.jpg"  // water distortion

texture lava "dg/floor_lava2.jpg" 0 0 0 2 // lava surface
texture 1 "dg/floor_lava2.jpg"    0 0 0 2 // falling lava

// texture definitions for the map:

// texture 0 is hardcoded as the sky
// texture 2 is the default wall texture (for new maps)
// texture 3 is the default floor texture
// texture 4 is the default ceiling texture


texturereset    // starts the texture slot/index at 0

setshader stdworld   // use default world shader unless specified otherwise


// ik2k

texture 0 "ik2k/ik_sky_day_back.jpg"     // dummy
texture 0 "golgotha/water2.jpg"

//setshader steepparallaxworld
//texture 0 "textures/steep_fur_d.png"
//texture n "textures/steep_fur_n.png"
//texture z "textures/steep_fur_z.png" 

texture 0 "aard/aardograss_1.jpg"
autograss "textures/grass_aard.png"

//setshader decalworld	// test!
texture 0 "ik2k/ik_floor_brick128a.jpg" 
//texture 1 "models/vegetation/skin.png"
//setshader stdworld

texture 0 "ik2k/ik_floor_wood128b.jpg"  
texture 0 "ik2k/ik_ground_cobbles128.jpg" 
texture 0 "ik2k/ik_brick_3216d.jpg"             // ceil
texture 0 "ik2k/ik_brick_6464c.jpg"             // floor

exec "packages/dg/package.cfg"

exec "packages/tech1soc/package.cfg"

exec "packages/ik2k/package.cfg"
exec "packages/ikbase/package.cfg"

exec "packages/payne/package.cfg"
exec "packages/than_ind/package.cfg"
exec "packages/jf1/package.cfg"

// misc textures (mine/schwenz/some tech1soc)

texture 0 "aard/aardfdry256_1.jpg"   
texture 0 "tech1soc/spring3.jpg"
texture 0 "tech1soc/sqrlig02wb.jpg"
texture 0 "tech1soc/sqrlig03bc.jpg"
texture 0 "tech1soc/zdetlig01bb.jpg"
texture 0 "tech1soc/zdetlig02bb.jpg"
texture 0 "aard/aardmbr16_2.jpg"
texture 0 "tech1soc/zdetlig04bb.jpg"
texture 0 "tech1soc/zdet_trim2a.jpg"
texture 0 "aard/aardmmet32_1.jpg"
texture 0 "tech1soc/zdet_trim5b.jpg"
texture 0 "schwenz/dt_tile_check.01.jpg"

exec "packages/egyptsoc/package.cfg"
exec "packages/rorschach/package.cfg"
exec "packages/subverse/package.cfg"
exec "packages/g_pack/package.cfg"

// 2 missing jf textures
texture 0 "jf1/jfsquare.jpg"
texture 0 "jf1/jfyellow.jpg"
// 2 missing tech1soc

texture 0 "tech1soc/jp11a.jpg"
texture 0 "tech1soc/flr_tmtl_drk.jpg"

exec packages/lunaran/package.cfg
exec packages/gibbie/package.cfg
exec packages/philipk/package.cfg
exec packages/gor/package.cfg
exec packages/aftas/package.cfg



// extra textures
setshader bumpspecmapparallaxworld

texture 0 lunaran/mech1_d.jpg
texture n lunaran/mech1_local.jpg
texture s lunaran/mech1_s.jpg
texture z lunaran/mech1_h.jpg

setpixelparam 2 0.02 -0.01

texture 0 scasd/bluerock/WT_GK_015_cc.jpg // green rock texture
texture n scasd/bluerock/WT_GK_015_nm.jpg
texture s scasd/bluerock/WT_GK_015_sc.jpg
texture z scasd/bluerock/WT_GK_015_hm.jpg



setshader stdworld // blue neon rotated
setpixelparam 1 1 1 1

texture 0 "than_ind/trlight06.jpg" 3


setshader bumpspecmapparallaxworld // shifted floor tile

texture 0 gibbie/flrtile1_d.jpg 0 0 32
texture n gibbie/flrtile1_local.jpg 0 0 32
texture s gibbie/flrtile1_s.jpg 0 0 32
texture z gibbie/flrtile1_h.jpg 0 0 32

texture 0 gibbie/flrtile2_d.jpg 0 0 32
texture n gibbie/flrtile1_local.jpg 0 0 32
texture s gibbie/flrtile1_s.jpg 0 0 32
texture z gibbie/flrtile1_h.jpg 0 0 32

texture 0 gibbie/flrtile3_d.jpg 0 0 32
texture n gibbie/flrtile1_local.jpg 0 0 32
texture s gibbie/flrtile1_s.jpg 0 0 32
texture z gibbie/flrtile1_h.jpg 0 0 32



setshader bumpspecmapglowworld // shifted computer panel
setpixelparam 1 4 4 4

texture 0 "philipk/pk01_panel_small01_d.jpg" 0 0 192
texture n "philipk/pk01_panel_small01_local.jpg" 0 0 192
texture s "philipk/pk01_panel_small01_s.jpg" 0 0 192
texture g "philipk/pk01_panel_small01_add.jpg" 0 0 192


setshader bumpspecmapparallaxworld // again a shifted floor tile
setpixelparam 1 1 1 1

texture 0 gibbie/flrtile1_d.jpg 0 48 // yellow
texture n gibbie/flrtile1_local.jpg 0 48
texture s gibbie/flrtile1_s.jpg 0 48
texture z gibbie/flrtile1_h.jpg 0 48

texture 0 gibbie/flrtile1_d.jpg 0 32 // yellow
texture n gibbie/flrtile1_local.jpg 0 32
texture s gibbie/flrtile1_s.jpg 0 32
texture z gibbie/flrtile1_h.jpg 0 32

texture 0 gibbie/flrtile2_d.jpg 0 48 //red
texture n gibbie/flrtile1_local.jpg 0 48
texture s gibbie/flrtile1_s.jpg 0 48
texture z gibbie/flrtile1_h.jpg 0 48


