Map

From King Arthur's Gold Wiki
Revision as of 20:01, 12 December 2011 by Illu (Talk | contribs)

Jump to: navigation, search
This page might not be up-to-date (build 228).

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
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
#0d6722
#0d6822
#0d6922
#0d6a22
#0dfe22

X = 102 : Tree Stump,
X = 103 : Tree Trunk,
X = 104 : Tree Fork,
X = 105 : Tree Top,
X = 106 : Damaged Tree Trunk,
X = 254 : ?

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

See also