summaryrefslogtreecommitdiff
path: root/data/default_map_settings.cfg
blob: 706ee0a2fb13c547587dc07371d4dbcaca1fea58 (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.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 "textures/floor_lava2.jpg" 0 0 0 2 // lava surface
texture 1 "textures/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

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

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