Difference between revisions of "Map"
Line 5: | Line 5: | ||
Map files are PNG files and they are stored in the "Maps"-directory. Every pixel in a map file corresponds to a particular [[items|item]] or [[blocks|block]] and is drawn in a specific color. Because of this pixel based mapping system, users are able to create a variety of maps using paint applications on their computer. | Map files are PNG files and they are stored in the "Maps"-directory. Every pixel in a map file corresponds to a particular [[items|item]] or [[blocks|block]] and is drawn in a specific color. Because of this pixel based mapping system, users are able to create a variety of maps using paint applications on their computer. | ||
+ | While doing this it is advisable to use 24 bit depth PNG files, since especially different shades of green ([[Trees]]) will not be saved with the correct RGB values and thus not display correctly on the map. | ||
There also is an ingame mapeditor which enables the user to create maps more easily. To gain access to the mapeditor you have to [http://kag2d.com/premium buy] the "Premium edition" of KAG. | There also is an ingame mapeditor which enables the user to create maps more easily. To gain access to the mapeditor you have to [http://kag2d.com/premium buy] the "Premium edition" of KAG. | ||
+ | |||
+ | Some blocktypes leave backgrounds while others won't, for example the dirt block leaves a dirt background after being destroyed, a teamdoor will leave "sky". Currently there is no way of changing this. Workshops can't be saved either for the time being. | ||
{| class="wikitableShiny" border="1" | {| class="wikitableShiny" border="1" |
Revision as of 12:25, 10 November 2011
The map is a 2D surface where gameplay takes place.
Map files are PNG files and they are stored in the "Maps"-directory. Every pixel in a map file corresponds to a particular item or block and is drawn in a specific color. Because of this pixel based mapping system, users are able to create a variety of maps using paint applications on their computer. While doing this it is advisable to use 24 bit depth PNG files, since especially different shades of green (Trees) will not be saved with the correct RGB values and thus not display correctly on the map.
There also is an ingame mapeditor which enables the user to create maps more easily. To gain access to the mapeditor you have to buy the "Premium edition" of KAG.
Some blocktypes leave backgrounds while others won't, for example the dirt block leaves a dirt background after being destroyed, a teamdoor will leave "sky". Currently there is no way of changing this. Workshops can't be saved either for the time being.
RGB Value | HEX | Item/Block Name |
---|---|---|
165,189,200 | #a5bdc8 | Sky |
0,255,255 | #00ffff | Blue tent |
0,235,235 | #00ebeb | Blue outpost |
26,78,131 | #1a4e83 | Blue door |
50,105,135 | #326987 | Blue drawbridge |
50,100,115 | #326473 | Blue drawbridge placed on background dirt |
255,0,0 | #ff0000 | Red tent |
235,0,0 | #eb0000 | Redoutpost |
148,27,27 | #941b1b | Red door |
135,105,50 | #876932 | Red drawbridge |
115,100,50 | #736432 | Red drawbridge placed on background dirt |
132,71,21 | #844715 | Dirt |
59,20,6 | #3b1406 | Background dirt |
43,21,9 | #2b1509 | Ladder |
66,36,11 | #42240b | Ladder placed on background dirt |
67,47,17 | #432f11 | Ladder placed on wall |
139,104,73 | #8b6849 | Rock |
66,72,75 | #42484b | Thick rock |
45,52,45 | #2d342d | Bedrock |
100,113,96 | #647160 | Stone |
49,52,18 | #313412 | Wall |
180,42,17 | #b42a11 | Spikes |
180,97,17 | #b46111 | Spikes placed on background dirt |
180,42,94 | #b42a5e | Spikes placed on wall |
13,X,34 |
#0d6622
|
102 : Tree Stump,
|
254,165,61 | #fea53d | Gold |
213,196,9 | #d5c409 | Gold bulion (blue team) |
196,213,9 | #c4d509 | Gold bulion (red team) |
235,100,0 | #eb6400 | Catapult |
200,30,30 | #c81e1e | Heart |