Difference between revisions of "Map"
Line 96: | Line 96: | ||
| #647160 | | #647160 | ||
| [[Stone]] | | [[Stone]] | ||
+ | |- | ||
+ | | style="background-color: rgb(59,64,21); color: #fff" | 59,64,21 | ||
+ | | #3b4015 | ||
+ | | [[Mossy Stone]] | ||
|- | |- | ||
| style="background-color: rgb(49,52,18); color: #fff" | 49,52,18 | | style="background-color: rgb(49,52,18); color: #fff" | 49,52,18 | ||
| #313412 | | #313412 | ||
| [[Wall]] | | [[Wall]] | ||
+ | |- | ||
+ | | style="background-color: rgb(67,47,17)" | 67,47,17 | ||
+ | | #432f11 | ||
+ | | [[Rubble]] | ||
|- | |- | ||
| style="background-color: rgb(180,42,17); color: #fff" | 180,42,17 | | style="background-color: rgb(180,42,17); color: #fff" | 180,42,17 | ||
Line 128: | Line 136: | ||
<br />X = 106 : Damaged [[Tree]] Trunk, | <br />X = 106 : Damaged [[Tree]] Trunk, | ||
<br />X = 254 : ?'' | <br />X = 254 : ?'' | ||
+ | |- | ||
+ | | style="background-color: rgb(100,155,13)" | 100,155,13 | ||
+ | | #649b0d | ||
+ | | [[Grass]] | ||
|- | |- | ||
| style="background-color: rgb(254,165,61)" | 254,165,61 | | style="background-color: rgb(254,165,61)" | 254,165,61 |
Revision as of 03:33, 15 March 2012
Needs .KAG file type explanation (new in build 262)
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 (This also includes Workshops that have been placed on the map through the editor).
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 | Red outpost |
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 |
59,64,21 | #3b4015 | Mossy Stone |
49,52,18 | #313412 | Wall |
67,47,17 | #432f11 | Rubble |
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
|
X = 102 : Tree Stump,
|
100,155,13 | #649b0d | Grass |
254,165,61 | #fea53d | Gold |
213,196,9 | #d5c409 | Gold Bullion (blue team) |
196,213,9 | #c4d509 | Gold Bullion (red team) |
235,100,0 | #eb6400 | Catapult |
200,30,30 | #c81e1e | Heart |