// 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.

// default music to be played for this map:

playasong

exec "data/default_map_models.cfg"

// the skybox for this map:

if (strcmp $skybox "") [
    skybox "skyboxes/remus/sky01"
]

materialreset

loop i 4 [
    texture [water@(+ $i 1)] "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@(+ $i 1)] "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:

texturereset    // starts the texture slot/index at 0

setshader stdworld   // use default world shader unless specified otherwise

texture 0 "textures/sky.png"     // dummy sky texture
texture 0 "textures/default.png" // default geometry texture

texture 0 "aard/aardograss_1.jpg"
autograss "<agrad:0,0.2>textures/grass_aard.png"
texture 0 "ik2k/ik_floor_brick128a.jpg" 
texture 0 "ik2k/ik_floor_wood128b.jpg"  
texture 0 "ik2k/ik_ground_cobbles128.jpg" 
texture 0 "ik2k/ik_brick_3216d.jpg"
texture 0 "ik2k/ik_brick_6464c.jpg"

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

//Misc textures
setshader stdworld
texture 0 "textures/nieb/rock01.jpg"
setshader bumpspecmapworld
setshaderparam "specscale" 0.25 0.25 0.25
texture 0 "ikbase/specialbrick.jpg"
texture n "ikbase/specialbrick_normal.jpg"

exec packages/painkillah/package.cfg
exec packages/tomek/package.cfg
exec packages/textures/nieb/package.cfg
exec packages/trak5/package.cfg
exec packages/textures/nieb/garden/package.cfg
exec packages/textures/medieval_soc/package.cfg
exec packages/textures/terrain_soc/package.cfg
exec packages/textures/nieb/autumn/package.cfg

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