summaryrefslogtreecommitdiff
path: root/data/default_map_settings.cfg
blob: 589f6503e237d10318132f1b54b99373e43aba9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// 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.

// the skybox for this map:
if (strcmp $skybox "") [
    skybox "skyboxes/black"
]

materialreset
texture water "textures/water2.png"    // water surface
texture 1 "textures/waterfall.png"     // waterfall
texture 1 "textures/watern.png"        // water normals
texture 1 "textures/waterdudv.png"     // water distortion
texture 1 "textures/waterfalln.png"    // waterfall normals
texture 1 "textures/waterfalldudv.png" // waterfall distortion

texture lava "textures/floor_lava2.png" 0 0 0 2 // lava surface
texture 1 "textures/floor_lava2.png"    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

    exec "packages/textures/ex/package.cfg"

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