Difference between revisions of "Map"
(→.KAG files) |
m (→.cfg files) |
||
Line 415: | Line 415: | ||
*Red Trading Post Blue Team Trading Post will not be loaded onto the map unless WARPNGLoader.as or TDMPNGLoader.as is loaded as well, since these object are not part of BasePNGLoader.as | *Red Trading Post Blue Team Trading Post will not be loaded onto the map unless WARPNGLoader.as or TDMPNGLoader.as is loaded as well, since these object are not part of BasePNGLoader.as | ||
− | =. | + | =.CFG Files= |
Another way to create maps is via the use of Generators. This is done via .cfgs that generally found in the "Base\Maps"-directory. The advantage to using a generator over a .png is that while a generator may provide the same map general map every time, exact resource placement and distribution will vary, even if it's loaded more than once. This is primarily useful for competitive gamemodes where memorization can lead to having a advantage. | Another way to create maps is via the use of Generators. This is done via .cfgs that generally found in the "Base\Maps"-directory. The advantage to using a generator over a .png is that while a generator may provide the same map general map every time, exact resource placement and distribution will vary, even if it's loaded more than once. This is primarily useful for competitive gamemodes where memorization can lead to having a advantage. |
Revision as of 22:40, 11 August 2013
Contents
The map is a 2D surface where gameplay takes place. Maps can currently have either a .kag or a .png file extension. Each file type is explained in the paragraphs below.
.PNG files
Maps can use be loaded from PNG files they are usually stored in the "Base\Maps"-directory (additional maps may be found in subfolders of this folder). 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 various paint applications on their computer. While doing this it is recommended to use 24 bit depth PNG files, since since all color values must have an Alpha value of 255 due to the way the BasePNGloader.as works.
If a server is modded, and has an edited BasePNGloader.as to include new blocks or items, you may use those colors found in the edited BasePNGLoader.as to also add these new items to your map. Do note however that these modded colors will only load on said server, and be replaced with air blocks in servers without them, since any unrecognized colors default to Air.
Default PNG Map Color Palette
Natural Blocks
RGB Value | HEX | Item/Block Name |
---|---|---|
165,189,200 | #A5BDC8 | Sky |
132, 71, 21 | #3B1406 | Dirt |
59, 20, 6 | #3B1406 | Dirt Background |
139, 104, 73 | #8B6849 | Stone |
66, 72, 75 | #42484B | Thick Stone |
254, 165, 61 | #FEA53D | Gold |
45, 52, 45 | #2D342D | Bedrock |
236, 213, 144 | #ECD590 | Sand |
46, 129, 166 | #2E81A6 | Water (Air) |
51, 85, 102 | #335566 | Water (Dirt Background) |
100, 155, 13 | #649B0D | Grass |
13, 103, 34 | #0D6722 | Tree |
81, 126, 24 | #5B7E18 | Bush |
162, 183, 22 | #A2B716 | Grain |
255, 102, 255 | #FF66FF | Flower |
44, 175, 222 | #2CAFDE | Shark |
121, 168, 163 | #79A8A3 | Fish |
183, 86, 70 | #B75646 | Bison |
100, 113, 96 | #637160 | Castle Block |
49, 52, 18 | #313412 | Castle Background |
196, 135, 21 | #C48715 | Wood Block |
85, 42, 17 | #552A11 | Wood Background |
66, 36, 11 | #42240B | Ladder |
255, 146, 57 | #FF9239 | Platform |
148, 148, 148 | #949494 | Wooden Door |
160, 160, 160 | #A0A0A0 | Stone Door |
100, 100, 100 | #646464 | Trap Block |
180, 42, 17 | #B42A11 | Spikes |
180, 97, 17 | #B46111 | Spikes (on dirt) |
180, 42, 94 | #B42A5E | Spikes (on castle) |
200, 42, 94 | #C82A5E | Spikes (on wood) |
Shops and Items
RGB Value | HEX | Item/Block Name |
---|---|---|
217, 255, 239 | #D9FFEF | Storage |
217, 218, 255) | #D9DAFF | Barracks |
255, 217, 237 | #FFD9ED | Factory |
243, 217, 254 | #F3D9FE | Tunnel |
255, 217, 217 | #FFD9D9 | Kitchen |
217, 255, 223 | #D9FFDF | Nursery |
0, 255, 0 | #00FF00 | Workbench |
202, 164, 130 | #FBE28B | Campfire |
103, 229, 165 | #67E5A5 | Catapult |
100, 210, 160 | #64D2A0 | Ballista |
56, 232, 184 | #38E8B8 | Mounted Bow |
70, 110, 160 | #466EA0 | Raft |
201, 158, 246 | #C99EF6 | Dinghy |
0, 51, 255 | #0033FF | Long Boat |
50, 140, 255 | #328CFF | War Boat |
255, 175, 0 | #FFAF00 | Air Ship |
255, 190, 0 | #FFBE00 | Bomber |
202, 164, 130 | #CAA482 | Saw |
210, 120, 0 | #D27800 | Drill |
187, 59, 253 | #BB3BFD | Trampoline |
241, 231, 177 | #F1E7B1 | Lantern |
102, 0, 0 | #660000 | Crate |
225, 220, 120 | #FFDC78 | Bucket |
160, 140, 40 | #A08C28 | Log |
161, 149, 133 | #A19585 | Boulder |
200, 210, 70 | #C8D246 | Arrows |
230, 210, 70 | #E6D246 | Fire Arrows |
230, 230, 170 | #E6F0AA | Bolts |
251, 241, 87 | #FBF157 | Bombs |
170, 100, 0 | #AA6400 | Satchel |
160, 30, 30 | #A01E1E | Mini Keg |
220, 60, 60 | #DC3C3C | Keg |
200, 190, 140 | #C8BE8C | Wood Stack |
190, 190, 175 | #BEBEAF | Stone Stack |
255, 240, 160 | #FFF0A0 | Gold Stack |
Team Specific Items
RGB Value | HEX | Item/Block Name |
---|---|---|
0, 255, 255 | #00FFFF | Blue Spawn (Main) |
0, 200, 200 | #00C8C8 | Blue Spawn |
26, 78, 131 | #1A4E83 | Blue Door (Wood) |
80, 90, 160 | #505AA0 | Blue Door (Stone) |
56, 76, 142 | #384C8E | Blue Trap Block |
220, 217, 254 | #DCD9FE | Blue Tunnel |
255, 0, 0 | #FF0000 | Red Spawn (Main) |
200, 0, 0 | #C80000 | Red Spawn |
148, 27, 27 | #941B1B | Red Door (wood) |
160, 90, 80 | #A05A50 | Red Door (Stone) |
142, 56, 68 | #8E3844 | Red Trap Block |
243, 217, 220 | #F3D9DC | Red Tunnel |
136, 136, 255 | #8888FF | Blue Trading Post |
255, 136, 136 | #FF8888 | Red Trading Post |
Scrolls
RGB Value | HEX | Item/Block Name |
---|---|---|
0, 0, 136 | #000088 | Blue Scroll |
136, 0, 0 | #880000 | Red Scroll |
86, 61, 86 | #563D56 | Weak Scroll |
154, 65, 155 | #9A419B | Medium Scroll |
207, 49, 209 | #CF31D1 | Strong Scroll |
NPCs
RGB Value | HEX | Item/Block Name |
---|---|---|
251, 135, 255 | #FB87FF | Princess |
158, 58, 187 | #9E3ABB | Necromancer |
98, 26, 131 | #621A83 | Necromancer (Teleport Location) |
255, 95, 25 | #FF5F19 | Henry (Red Knight) |
25, 255, 182 | #19FFB6 | Lance (Red Archer) |
62, 1, 0 | #3E0100 | Knight Spawner |
86, 6, 44 | #56062C | Knight Spawner x10 |
NOTES:
- Red Scroll, Blue Scroll, Weak Scroll, Medium Scroll and Super Scroll will not be loaded onto the map unless WARPNGLoader.as is loaded as well, since these objects are not part of BasePNGLoader.as
- Red Trading Post Blue Team Trading Post will not be loaded onto the map unless WARPNGLoader.as or TDMPNGLoader.as is loaded as well, since these object are not part of BasePNGLoader.as
.CFG Files
Another way to create maps is via the use of Generators. This is done via .cfgs that generally found in the "Base\Maps"-directory. The advantage to using a generator over a .png is that while a generator may provide the same map general map every time, exact resource placement and distribution will vary, even if it's loaded more than once. This is primarily useful for competitive gamemodes where memorization can lead to having a advantage.