Latest Posts

Dither_Layers

Current values for dither_layer from shipped terrains and add-ons, sorted by value.

dither_layers

dither_layer Shipped terrain Addon
10 data/world/terrains/wasteland/lava_stone2/init.lua
13 addons/foreign_planet.wad/terrains/init.lua; Line: 189
17 addons/tropics.wad/terrains/init.lua; Line: 55
20 data/world/terrains/wasteland/lava_stone1/init.lua
23 addons/foreign_planet.wad/terrains/init.lua; Line: 148
30 data/world/terrains/summer/lava/init.lua
33 addons/foreign_planet.wad/terrains/init.lua; Line: 95
34 addons/tropics.wad/terrains/init.lua; Line: 95
40 data/world/terrains/winter/beach/init.lua
50 data/world/terrains/wasteland/beach/init.lua
53 addons/foreign_planet.wad/terrains/init.lua; Line: 55
59 addons/white_summer.wad/terrains/init.lua; Line: 199
60 data/world/terrains/summer/beach/init.lua
61 data/world/terrains/desert/beach/init.lua
65 addons/white_summer.wad/terrains/init.lua; Line: 186
66 addons/white_summer.wad/terrains/init.lua; Line: 113
67 addons/white_summer.wad/terrains/init.lua; Line: 127
68 addons/white_summer.wad/terrains/init.lua; Line: 141
69 data/world/terrains/desert/forested_mountain1/init.lua
70 data/world/terrains/summer/forested_mountain1/init.lua
71 data/world/terrains/summer/forested_mountain2/init.lua
72 data/world/terrains/summer/mountain1/init.lua
73 data/world/terrains/summer/mountain2/init.lua
74 data/world/terrains/summer/mountain3/init.lua
75 data/world/terrains/summer/mountain4/init.lua
76 addons/white_summer.wad/terrains/init.lua; Line: 156
77 addons/white_summer.wad/terrains/init.lua; Line: 171
80 data/world/terrains/wasteland/mountain4/init.lua
81 data/world/terrains/wasteland/forested_mountain1/init.lua
82 data/world/terrains/wasteland/forested_mountain2/init.lua
90 data/world/terrains/wasteland/mountain3/init.lua
91 data/world/terrains/wasteland/mountain2/init.lua
92 data/world/terrains/wasteland/mountain1/init.lua
100 data/world/terrains/winter/mountain3/init.lua
101 data/world/terrains/winter/mountain4/init.lua
105 data/world/terrains/winter/forested_mountain1/init.lua
106 data/world/terrains/winter/forested_mountain2/init.lua
110 data/world/terrains/winter/mountain1/init.lua
111 data/world/terrains/winter/mountain2/init.lua
120 data/world/terrains/desert/mountain1/init.lua
121 data/world/terrains/desert/mountain2/init.lua
130 data/world/terrains/desert/mountain3/init.lua
133 addons/foreign_planet.wad/terrains/init.lua; Line: 108
140 data/world/terrains/desert/mountain4/init.lua
141 data/world/terrains/desert/forested_mountain2/init.lua
150 data/world/terrains/desert/mountainmeadow/init.lua
151 data/world/terrains/desert/highmountainmeadow/init.lua
153 addons/foreign_planet.wad/terrains/init.lua; Line: 42
160 data/world/terrains/summer/mountain_meadow/init.lua
170 data/world/terrains/wasteland/water/init.lua
171 addons/impassable_water.wad/world/terrains/wasteland/algae_slick/init.lua; Line: 12
172 addons/no_default_resources.wad/world/terrains/wasteland/water/init.lua; Line: 11
174 addons/tropics.wad/terrains/init.lua; Line: 108
176 addons/white_summer.wad/terrains/init.lua; Line: 213
177 addons/white_summer.wad/terrains/init.lua; Line: 228
178 addons/white_summer.wad/terrains/init.lua; Line: 243
179 addons/white_summer.wad/terrains/init.lua; Line: 258
180 data/world/terrains/summer/water/init.lua
181 addons/impassable_water.wad/world/terrains/summer/water_lily/init.lua; Line: 13
182 addons/no_default_resources.wad/world/terrains/summer/water/init.lua; Line: 11
184 addons/tropics.wad/terrains/init.lua; Line: 42
190 data/world/terrains/winter/water/init.lua
191 addons/no_default_resources.wad/world/terrains/winter/water/init.lua; Line: 11
200 data/world/terrains/desert/water/init.lua
201 addons/impassable_water.wad/world/terrains/desert/reef/init.lua; Line: 12
202 addons/no_default_resources.wad/world/terrains/desert/water/init.lua; Line: 11
210 data/world/terrains/winter/ice_floes/init.lua
211 data/world/terrains/winter/ice_floes2/init.lua
220 data/world/terrains/summer/snow/init.lua
230 data/world/terrains/winter/tundra_taiga/init.lua
231 data/world/terrains/winter/tundra/init.lua
232 addons/no_default_resources.wad/world/terrains/winter/tundra/init.lua; Line: 11
233 addons/no_default_resources.wad/world/terrains/winter/tundra_taiga/init.lua; Line: 11
240 data/world/terrains/winter/tundra2/init.lua
241 data/world/terrains/winter/tundra3/init.lua
242 addons/no_default_resources.wad/world/terrains/winter/tundra2/init.lua; Line: 11
243 addons/no_default_resources.wad/world/terrains/winter/tundra3/init.lua; Line: 11
250 data/world/terrains/winter/taiga/init.lua
251 data/world/terrains/winter/snow/init.lua
252 addons/no_default_resources.wad/world/terrains/winter/taiga/init.lua; Line: 11
253 addons/foreign_planet.wad/terrains/init.lua; Line: 29
260 data/world/terrains/winter/ice/init.lua
264 addons/tropics.wad/terrains/init.lua; Line: 29
270 data/world/terrains/desert/desert4/init.lua
271 addons/no_default_resources.wad/world/terrains/desert/desert4/init.lua; Line: 11
280 data/world/terrains/desert/desert2/init.lua
281 data/world/terrains/desert/desert3/init.lua
290 data/world/terrains/desert/desert1/init.lua
300 data/world/terrains/desert/drysoil/init.lua
301 addons/no_default_resources.wad/world/terrains/desert/drysoil/init.lua; Line: 11
310 data/world/terrains/desert/meadow/init.lua
311 addons/no_default_resources.wad/world/terrains/desert/meadow/init.lua; Line: 11
320 data/world/terrains/summer/steppe_barren/init.lua
321 addons/no_default_resources.wad/world/terrains/summer/steppe_barren/init.lua; Line: 11
330 data/world/terrains/summer/steppe/init.lua
331 addons/no_default_resources.wad/world/terrains/summer/steppe/init.lua; Line: 11
336 addons/white_summer.wad/terrains/init.lua; Line: 16
337 addons/white_summer.wad/terrains/init.lua; Line: 30
338 addons/white_summer.wad/terrains/init.lua; Line: 44
339 addons/white_summer.wad/terrains/init.lua; Line: 58
340 data/world/terrains/summer/meadow1/init.lua
341 addons/no_default_resources.wad/world/terrains/summer/meadow1/init.lua; Line: 13
347 addons/white_summer.wad/terrains/init.lua; Line: 72
348 addons/white_summer.wad/terrains/init.lua; Line: 85
349 addons/white_summer.wad/terrains/init.lua; Line: 99
350 data/world/terrains/summer/meadow2/init.lua
351 data/world/terrains/summer/meadow3/init.lua
352 data/world/terrains/summer/meadow4/init.lua
353 addons/foreign_planet.wad/terrains/init.lua; Line: 16
354 addons/no_default_resources.wad/world/terrains/summer/meadow2/init.lua; Line: 11
354 addons/tropics.wad/terrains/init.lua; Line: 16
355 addons/no_default_resources.wad/world/terrains/summer/meadow3/init.lua; Line: 11
356 addons/no_default_resources.wad/world/terrains/summer/meadow4/init.lua; Line: 11
360 data/world/terrains/desert/steppe/init.lua
361 data/world/terrains/wasteland/hardlava/init.lua
362 addons/no_default_resources.wad/world/terrains/desert/steppe/init.lua; Line: 11
363 addons/foreign_planet.wad/terrains/init.lua; Line: 68
364 addons/tropics.wad/terrains/init.lua; Line: 68
370 data/world/terrains/wasteland/hardground2/init.lua
371 data/world/terrains/summer/swamp/init.lua
372 addons/no_default_resources.wad/world/terrains/summer/swamp/init.lua; Line: 11
373 addons/no_default_resources.wad/world/terrains/wasteland/hardground2/init.lua; Line: 11
374 addons/tropics.wad/terrains/init.lua; Line: 216
380 data/world/terrains/wasteland/hardground3/init.lua
381 addons/no_default_resources.wad/world/terrains/wasteland/hardground3/init.lua; Line: 11
390 data/world/terrains/wasteland/hardground4/init.lua
391 addons/no_default_resources.wad/world/terrains/wasteland/hardground4/init.lua; Line: 11
400 data/world/terrains/wasteland/ashes1/init.lua
401 addons/no_default_resources.wad/world/terrains/wasteland/ashes1/init.lua; Line: 11
410 data/world/terrains/wasteland/ashes2/init.lua
411 addons/no_default_resources.wad/world/terrains/wasteland/ashes2/init.lua; Line: 11
420 data/world/terrains/wasteland/hardground1/init.lua
421 addons/no_default_resources.wad/world/terrains/wasteland/hardground1/init.lua; Line: 11
433 addons/foreign_planet.wad/terrains/init.lua; Line: 121
434 addons/tropics.wad/terrains/init.lua; Line: 134
443 addons/foreign_planet.wad/terrains/init.lua; Line: 81
444 addons/tropics.wad/terrains/init.lua; Line: 81
474 addons/tropics.wad/terrains/init.lua; Line: 148
484 addons/tropics.wad/terrains/init.lua; Line: 162
494 addons/tropics.wad/terrains/init.lua; Line: 231
564 addons/tropics.wad/terrains/init.lua; Line: 121
623 addons/foreign_planet.wad/terrains/init.lua; Line: 161
683 addons/foreign_planet.wad/terrains/init.lua; Line: 175
714 addons/tropics.wad/terrains/init.lua; Line: 190
724 addons/tropics.wad/terrains/init.lua; Line: 203
924 addons/tropics.wad/terrains/init.lua; Line: 177
943 addons/foreign_planet.wad/terrains/init.lua; Line: 135
944 addons/tropics.wad/terrains/init.lua; Line: 245

Get new values

Copy and paste commands to get a file which contains the markup and values. Just copy the contents of the file d_l_sorted.txt and exchange the values in the table above.

In your fork of the addons-server branch type:

git checkout master
git pull upstream master
grep -rn dither_layer addons/ | awk -F"[: ,]*" '{print $5 " | | " $1 "; Line: "  $2 }' > ~/d_l.txt

In your fork of widelands type:

git checkout master
git pull upstream master
grep -r dither_layer data/ | awk -F"[ ,:]*" '{if ($4 ~ "[0-9]") {print $4 " | " $1}}' >> ~/d_l.txt 

Sort the file by dither_layer (this is the first column in the file):

sort -n -k1 ~/d_l.txt > ~/d_l_sorted.txt
Tagged with: Development, help