// default settings for maps

// on every map load, this file will be executed, followed by
// "package.cfg" in the package dir of the map, and "<mapname>.cfg",
// which you can use to override the settings in this file.

// to make a custom version for your map, DO NOT COPY this file,
// but instead make a .cfg with only those things which are different


// default music to be played for this map:

playasong

exec "data/default_map_models.cfg"

// the skybox for this map:

skybox "ik2k/env/iklake"

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 1 "textures/waterfalln.jpg"    // waterfall normals
texture 1 "textures/waterfalldudv.jpg" // waterfall 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"

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

setshader bumpspecmapparallaxworld

texture 0 "ik2k/ik_floor_brick128a.jpg" 
texture n "ik2k/ik_floor_brick128an.jpg" 
texture z "ik2k/ik_floor_brick128az.jpg" 
texture s "ik2k/ik_floor_brick128as.jpg" 

texture 0 "ik2k/ik_floor_wood128b.jpg"
texture n "ik2k/ik_floor_wood128bn.jpg"
texture z "ik2k/ik_floor_wood128bz.jpg"
texture s "ik2k/ik_floor_wood128bs.jpg"
 
texture 0 "ik2k/ik_ground_cobbles128.jpg"
texture n "ik2k/ik_ground_cobbles128n.jpg"
texture z "ik2k/ik_ground_cobbles128z.jpg"
texture s "ik2k/ik_ground_cobbles128s.jpg"

texture 0 "ik2k/ik_brick_3216d.jpg"
texture n "ik2k/ik_brick_3216dn.jpg"
texture z "ik2k/ik_brick_3216dz.jpg"
texture s "ik2k/ik_brick_3216ds.jpg"

texture 0 "ik2k/ik_brick_6464c.jpg"
texture n "ik2k/ik_brick_6464cn.jpg"
texture z "ik2k/ik_brick_6464cz.jpg"
texture s "ik2k/ik_brick_6464cs.jpg"

setshader stdworld

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)

setshader bumpspecmapparallaxworld

texture 0 "aard/aardfdry256_1.jpg"
texture n "aard/aardfdry256_1n.jpg"
texture z "aard/aardfdry256_1z.jpg"
texture s "aard/aardfdry256_1s.jpg"

texture 0 "tech1soc/spring3.jpg"
texture n "tech1soc/spring3n.jpg"
texture z "tech1soc/spring3z.jpg"
texture s "tech1soc/spring3s.jpg"

setshader bumpspecmapparallaxglowworld

setshaderparam "glowcolor" 0.6 0.6 0.3

texture 0 "tech1soc/sqrlig02wb.jpg"
texture n "tech1soc/sqrlig02wbn.jpg"
texture z "tech1soc/sqrlig02wbz.jpg"
texture s "tech1soc/sqrlig02wbs.jpg"
texture g "tech1soc/sqrlig02wbg.jpg"

setshaderparam "glowcolor" 0.3 0.3 1

texture 0 "tech1soc/sqrlig03bc.jpg"
texture n "tech1soc/sqrlig03bcn.jpg"
texture z "tech1soc/sqrlig03bcz.jpg"
texture s "tech1soc/sqrlig03bcs.jpg"
texture g "tech1soc/sqrlig03bcg.jpg"

setshaderparam "glowcolor" 0.3 0.3 1

texture 0 "tech1soc/zdetlig01bb.jpg"
texture n "tech1soc/zdetlig01bbn.jpg"
texture z "tech1soc/zdetlig01bbz.jpg"
texture s "tech1soc/zdetlig01bbs.jpg"
texture g "tech1soc/zdetlig01bbg.jpg"

setshaderparam "glowcolor" 0.3 0.3 1

texture 0 "tech1soc/zdetlig02bb.jpg"
texture n "tech1soc/zdetlig02bbn.jpg"
texture z "tech1soc/zdetlig02bbz.jpg"
texture s "tech1soc/zdetlig02bbs.jpg"
texture g "tech1soc/zdetlig02bbg.jpg"

setshader bumpspecmapparallaxworld

texture 0 "aard/aardmbr16_2.jpg"
texture n "aard/aardmbr16_2n.jpg"
texture z "aard/aardmbr16_2z.jpg"
texture s "aard/aardmbr16_2s.jpg"

setshader bumpspecmapparallaxglowworld

setshaderparam "glowcolor" 0.3 0.3 1

texture 0 "tech1soc/zdetlig04bb.jpg"
texture n "tech1soc/zdetlig04bbn.jpg"
texture z "tech1soc/zdetlig04bbz.jpg"
texture s "tech1soc/zdetlig04bbs.jpg"
texture g "tech1soc/zdetlig04bbg.jpg"

setshader bumpspecmapparallaxworld

texture 0 "tech1soc/zdet_trim2a.jpg"
texture n "tech1soc/zdet_trim2an.jpg"
texture z "tech1soc/zdet_trim2az.jpg"
texture s "tech1soc/zdet_trim2as.jpg"

texture 0 "aard/aardmmet32_1.jpg"
texture n "aard/aardmmet32_1n.jpg"
texture z "aard/aardmmet32_1z.jpg"
texture s "aard/aardmmet32_1s.jpg"

texture 0 "tech1soc/zdet_trim5b.jpg"
texture n "tech1soc/zdet_trim5bn.jpg"
texture z "tech1soc/zdet_trim5bz.jpg"
texture s "tech1soc/zdet_trim5bs.jpg"

setshader stdworld

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

setshader bumpspecmapparallaxworld

texture 0 "jf1/jfsquare.jpg"
texture n "jf1/jfsquaren.jpg"
texture z "jf1/jfsquarez.jpg"
texture s "jf1/jfsquares.jpg"

texture 0 "jf1/jfyellow.jpg"
texture n "jf1/jfyellown.jpg"
texture z "jf1/jfyellowz.jpg"
texture s "jf1/jfyellows.jpg"

// 2 missing tech1soc

setshader bumpspecmapparallaxworld

texture 0 "tech1soc/jp11a.jpg"
texture n "tech1soc/jp11an.jpg"
texture z "tech1soc/jp11az.jpg"
texture s "tech1soc/jp11as.jpg"

texture 0 "tech1soc/flr_tmtl_drk.jpg"
texture n "tech1soc/flr_tmtl_drkn.jpg"
texture z "tech1soc/flr_tmtl_drkz.jpg"
texture s "tech1soc/flr_tmtl_drks.jpg"

setshader stdworld

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
exec packages/mitaman/package.cfg
exec packages/noctua/package.cfg
exec packages/loopix/package.cfg
exec packages/g_pack/package2.cfg
exec packages/textures/package.cfg
exec packages/painkillah/package.cfg
exec packages/tomek/package.cfg

// for cfgs that don't set shaders...
setshader stdworld
