]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/ct_opium.shader
When I was redoing my level design project archive, I noticed that the screenshots...
[xonotic/xonotic-maps.pk3dir.git] / scripts / ct_opium.shader
1 //TELEPORTER 
2
3 textures/ct_opium/opium_teleporter_beam
4 {
5         surfaceparm nonsolid
6         surfaceparm nomarks
7         cull none
8         q3map_surfacelight 500
9         {
10                 map textures/ct_opium/opium_teleporter_beam.tga
11                 blendfunc GL_SRC_ALPHA GL_ONE
12         }
13 }
14
15 //PIPE LIQUID
16
17 textures/ct_opium/lava0_blue_flow_pipe
18 {
19         qer_editorimage textures/liquids_lava/lava0_blue.tga
20         surfaceparm lava
21         surfaceparm noimpact
22         surfaceparm trans
23         cull disable
24         //deformVertexes wave 2 sin 1 2 0.25 0.1
25         q3map_surfacelight 400
26         q3map_lightSubdivide 64
27         {
28                 map textures/liquids_lava/lava0_blue.tga
29                 blendfunc GL_SRC_ALPHA GL_ONE
30                 tcMod scroll 0 -0.25
31         }
32 }
33
34 textures/ct_opium/lava0_blue_flow_pipe_100
35 {
36         qer_editorimage textures/liquids_lava/lava0_blue.tga
37         surfaceparm lava
38         surfaceparm noimpact
39         surfaceparm trans
40         cull disable
41         //deformVertexes wave 2 sin 1 2 0.25 0.1
42         q3map_surfacelight 100
43         q3map_lightSubdivide 64
44         {
45                 map textures/liquids_lava/lava0_blue.tga
46                 blendfunc GL_SRC_ALPHA GL_ONE
47                 tcMod scroll 0 -0.25
48         }
49 }
50
51 textures/ct_opium/lava0_flow_pipe_100
52 {
53         qer_editorimage textures/liquids_lava/lava0.tga
54         surfaceparm lava
55         surfaceparm noimpact
56         surfaceparm trans
57         cull disable
58         //deformVertexes wave 2 sin 1 2 0.25 0.1
59         q3map_surfacelight 100
60         q3map_lightSubdivide 64
61         {
62                 map textures/liquids_lava/lava0.tga
63                 blendfunc GL_SRC_ALPHA GL_ONE
64                 tcMod scroll 0 -0.25
65         }
66 }
67
68 //SKY 
69
70 textures/ct_opium/opium_heaven
71 {
72         qer_editorimage textures/ct_opium/opium_heaven.tga
73         
74         surfaceparm noimpact
75         surfaceparm nolightmap
76         surfaceparm nomarks
77         surfaceparm sky
78         
79         //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
80         q3map_sun .3803921568627451 .7176470588235294 .9607843137254902 250 90 10
81         q3map_skylight 200 4
82         skyparms textures/ct_opium/env/opium_heaven - -
83 }
84
85 textures/ct_opium/heaven
86 {
87         qer_editorimage textures/skies/heaven.tga
88         
89         surfaceparm noimpact
90         surfaceparm nolightmap
91         surfaceparm nomarks
92         surfaceparm sky
93         
94         //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
95         q3map_sun .9607843137254902 .7176470588235294 .3803921568627451 250 270 30
96         q3map_skylight 200 4
97         skyparms env/heaven/heaven - -
98 }
99
100 //WIRES NONSOLID
101
102 textures/ct_opium/floor-simplines
103 {
104         qer_editorimage textures/exx/floor/floor_simplines.tga
105         q3map_bounceScale  0.75
106         dpoffsetmapping - 1 match8 244
107         dpglossintensitymod  3
108         dpglossexponentmod  4
109         surfaceparm nonsolid
110         {
111                 map textures/exx/floor/floor_simplines.tga
112         }
113         {
114                 map $lightmap
115                 rgbGen identity
116                 tcGen lightmap
117                 blendfunc filter
118         }
119 }
120
121 //AD BOARD SCANLINES
122
123 textures/ct_opium/opium_scanlines
124 {
125         qer_editorimage textures/ct_opium/opium_scanlines.tga
126         surfaceparm noimpact
127         surfaceparm trans
128         cull disable
129         surfaceparm nonsolid
130         qer_trans 0.25
131         {
132                 map textures/ct_opium/opium_scanlines.tga
133                 blendfunc GL_SRC_ALPHA GL_ONE
134                 tcMod scroll 0 -0.75
135         }
136 }
137
138 //AD BOARDS
139
140 textures/ct_opium/ad_msg
141 {
142       surfaceparm nomarks 
143       qer_editorimage textures/ct_opium/ad_msg.tga 
144       nopicmip 
145    {
146       map textures/ct_opium/ad_msg.tga 
147    }
148 }
149
150 textures/ct_opium/ad_sapphire
151 {
152       surfaceparm nomarks 
153       qer_editorimage textures/ct_opium/ad_sapphire.tga 
154       nopicmip 
155    {
156       map textures/ct_opium/ad_sapphire.tga 
157    }
158 }
159
160 textures/ct_opium/ad_esrepublic
161 {
162       surfaceparm nomarks 
163       qer_editorimage textures/ct_opium/ad_esrepublic.tga 
164       nopicmip 
165    {
166       map textures/ct_opium/ad_esrepublic.tga 
167    }
168 }