Project

General

Profile

NoDraw » History » Version 1

Andreas Schneider, 12/22/2009 09:08 PM

1 1 Andreas Schneider
h1. NoDraw
2
3
The CentrED Client features the ability to hide certain tiles - usually referred to as "nodraw" tiles. Since different shards have different needs, I decided to make the list of nodraw tiles customizable.
4
5
With the client already ships a default @nodraw.txt@, that contains the most prominent tiles to be hidden.
6
7
h2. nodraw.txt
8
9
The CentrED client loads @nodraw.txt@ from it's own application directory (where the executable is), as well as from the user directory (where the config files are) and also from the data directory (where the .mul files are).
10
11
The format is pretty simple:
12
* Each line that starts with @T@ is treated as Terrain tile.
13
* Each line that starts with @S@ is treated as Static tile.
14
* Hexadecimal numbers start with @$@
15
* Ranges are specified by @-@ (without spaces!)
16
17
Example:
18
<pre>
19
T$2
20
S$2198-$21A4
21
</pre>
22
23
This defines the terrain tile 2 as well as all statics between 0x2198 and 0x21A4 as being nodraw tiles.