-
Notifications
You must be signed in to change notification settings - Fork 3
/
TERRAIN.txt
197 lines (166 loc) · 3.03 KB
/
TERRAIN.txt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
// Splashes ----------------------------------------------------------------
splash Water
{
smallclass WaterSplashBase
smallclip 12
smallsound world/drip
baseclass WaterSplashBase
chunkclass WaterSplash
chunkxvelshift 8
chunkyvelshift 8
chunkzvelshift 8
chunkbasezvel 2
sound world/watersplash
}
splash Sludge
{
smallclass SludgeSplash
smallclip 12
smallsound world/sludgegloop
baseclass SludgeSplash
chunkclass SludgeChunk
chunkxvelshift 8
chunkyvelshift 8
chunkzvelshift 8
chunkbasezvel 1
sound world/sludgegloop
}
splash Lava
{
smallclass LavaSplash
smallclip 12
smallsound world/lavasizzle
baseclass LavaSplash
chunkclass LavaSmoke
chunkxvelshift -1
chunkyvelshift -1
chunkzvelshift 7
chunkbasezvel 1
sound world/lavasizzle
}
splash WaterSound
{
smallclass None
baseclass None
chunkclass None
sound world/watersplash
noalert
}
ifheretic
splash Water
{
smallclass WaterSplashBase
smallclip 12
smallsound world/drip
baseclass WaterSplashBase
chunkclass WaterSplash
chunkxvelshift 8
chunkyvelshift 8
chunkzvelshift 8
chunkbasezvel 2
sound world/watersplash
noalert
}
splash Sludge
{
smallclass SludgeSplash
smallclip 12
smallsound world/sludgegloop
baseclass SludgeSplash
chunkclass SludgeChunk
chunkxvelshift 8
chunkyvelshift 8
chunkzvelshift 8
chunkbasezvel 1
sound world/sludgegloop
noalert
}
splash Lava
{
smallclass LavaSplash
smallclip 12
smallsound world/lavasizzle
baseclass LavaSplash
chunkclass LavaSmoke
chunkxvelshift -1
chunkyvelshift -1
chunkzvelshift 7
chunkbasezvel 1
sound world/lavasizzle
noalert
}
endif
// Terrain types -----------------------------------------------------------
terrain Water
{
splash Water
footclip 0 //10
liquid
}
terrain Sludge
{
splash Sludge
footclip 0 //10
liquid
}
ifheretic
terrain Lava
{
splash Lava
footclip 0 //10
liquid
}
endif
ifhexen
terrain Lava
{
splash Lava
footclip 0 //10
liquid
damageamount 5
damagetype Magma
damagetimemask 31
}
terrain Ice
{
// A friction > 1 is actually less friction
friction 1.70824008138
// Ice doesn't actually do any damage. This is just so that things
// that freeze to death take longer to melt on this terrain.
damagetype ice
}
endif
terrain JustASound
{
splash WaterSound
liquid
footclip 0 //12
}
// Floor -> terrain mappings -----------------------------------------------
ifheretic
floor FLTWAWA1 Water
floor FLTFLWW1 Water
floor FLTLAVA1 Lava
floor FLATHUH1 Lava
floor FLTSLUD1 Sludge
endif
ifhexen
floor X_005 Water
floor X_001 Lava
floor X_009 Sludge
floor F_033 Ice
endif
ifstrife
floor F_WATR03 JustASound
floor F_WATR02 JustASound
floor F_WATR01 JustASound
floor F_VWATR3 JustASound
floor F_VWATR2 JustASound
floor P_VWATR1 JustASound
floor F_HWATR3 JustASound
floor F_HWATR2 JustASound
floor F_HWATR1 JustASound
floor F_PWATR3 JustASound
floor F_PWATR2 JustASound
floor F_PWATR1 JustASound
endif