Difference between revisions of "Map"

From King Arthur's Gold Wiki
Jump to: navigation, search
(.KAG files)
(update map page version)
 
(32 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Build
 
{{Build
|Version = 507
+
|Version = 2536
 
}}
 
}}
The map is a 2D surface where gameplay takes place.Maps can be .kag or .png currently.
+
__TOC__
 +
The map is a 2D surface where gameplay takes place. Maps can currently have either a .cfg or a .png file extension. Each file type is explained in the paragraphs below.
  
 
=.PNG files=
 
=.PNG files=
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.
+
[[File:Ommadawn.png|frame|alt=Ommadawn|One of the default RTDM maps as a .png file]]
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.
+
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 [[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 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.
  
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/en/buy buy] the "Premium edition" of KAG. You can save the maps in .PNG file by going Escape>Editor>Save Map.
+
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.
 
+
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. [[Blocks#Buildable Blocks|Workshops]] can't be saved either for the time being (This also includes [[Blocks#Buildable Blocks|Workshops]] that have been placed on the map through the editor).
+
  
 +
=Default PNG Map Color Palette=
 +
==Natural Blocks==
 
{| class="wikitableShiny" border="1"
 
{| class="wikitableShiny" border="1"
 
! '''RGB Value'''
 
! '''RGB Value'''
Line 17: Line 19:
 
! '''Item/Block Name'''
 
! '''Item/Block Name'''
 
|-
 
|-
| style="background-color: rgb(165,189,200)" | 165,189,200
+
| style="background-color: rgb(165, 189, 200)" | 165, 189, 200
|  #a5bdc8
+
|  #A5BDC8
 
| Sky
 
| Sky
 
|-
 
|-
| style="background-color: rgb(0,255,255)" | 0,255,255
+
| style="background-color: rgb(132, 71, 21)" | 132, 71, 21
| #00ffff
+
| #844715
| Blue [[tent]]
+
| Dirt
 
|-
 
|-
| style="background-color: rgb(0,235,235)" | 0,235,235
+
| style="background-color: rgb(59, 20, 6); color: #fff" | 59, 20, 6
| #00ebeb
+
| #3B1406
| Blue [[outpost]]
+
| Dirt Background
 
|-
 
|-
| style="background-color: rgb(26,78,131); color: #fff" | 26,78,131
+
| style="background-color: rgb(139, 104, 73); color: #fff" | 139, 104, 73
| #1a4e83
+
| #8B6849
| Blue [[door]]
+
| Stone
 
|-
 
|-
| style="background-color: rgb(50,105,135); color: #fff" | 50,105,135
+
| style="background-color: rgb(66, 72, 75); color: #fff" | 66, 72, 75
| #326987
+
| #42484B
| Blue [[drawbridge]]
+
| Thick Stone
 
|-
 
|-
| style="background-color: rgb(50,100,115); color: #fff" | 50,100,115
+
| style="background-color: rgb(254, 165, 61); color: #fff" | 254, 165, 61
| #326473
+
| #FEA53D
| Blue [[drawbridge]] placed on background [[dirt]]
+
| Gold
 
|-
 
|-
| style="background-color: rgb(255,0,0)" | 255,0,0
+
| style="background-color: rgb(45, 52, 45); color: #fff" | 45, 52, 45
| #ff0000
+
| #2D342D
| Red [[tent]]
+
| Bedrock
 
|-
 
|-
| style="background-color: rgb(235,0,0)" | 235,0,0
+
| style="background-color: rgb(236, 213, 144); color: #fff" | 236, 213, 144
| #eb0000
+
| #ECD590
| Red [[outpost]]
+
| Sand
 
|-
 
|-
| style="background-color: rgb(148,27,27); color: #fff" | 148,27,27
+
| style="background-color: rgb(46, 129, 166); color: #fff" | 46, 129, 166
| #941b1b
+
| #2E81A6
| Red [[door]]
+
| Water (Air)
 
|-
 
|-
| style="background-color: rgb(135,105,50); color: #fff" | 135,105,50
+
| style="background-color: rgb(51, 85, 102); color: #fff" | 51, 85, 102
| #876932
+
| #335566
| Red [[drawbridge]]
+
| Water (Dirt Background)
 
|-
 
|-
| style="background-color: rgb(115,100,50); color: #fff" | 115,100,50
+
| style="background-color: rgb(100, 155, 13)" | 100, 155, 13
| #736432
+
| #649B0D
| Red [[drawbridge]] placed on background [[dirt]]
+
| Grass
 
|-
 
|-
| style="background-color: rgb(132,71,21); color: #fff" | 132,71,21
+
| style="background-color: rgb(13, 103, 34); color: #fff" | 13, 103, 34
| #844715
+
| #0D6722
| [[Dirt]]
+
| Tree
 
|-
 
|-
| style="background-color: rgb(59,20,6); color: #fff" | 59,20,6
+
| style="background-color: rgb(91, 126, 24)" | 91, 126, 24
| #3b1406
+
| #5B7E18
| Background [[dirt]]
+
| Bush
 
|-
 
|-
| style="background-color: rgb(43,21,9); color: #fff" | 43,21,9
+
| style="background-color: rgb(162, 183, 22)" | 162, 183, 22
| #2b1509
+
| #A2B716
| [[Ladder]]
+
| Grain
 
|-
 
|-
| style="background-color: rgb(66,36,11); color: #fff" | 66,36,11
+
| style="background-color: rgb(255, 102, 255)" | 255, 102, 255
| #42240b
+
| #FF66FF
| [[Ladder]] placed on background [[dirt]]
+
| Flower
 
|-
 
|-
| style="background-color: rgb(67,47,17); color: #fff" | 67,47,17
+
| style="background-color: rgb(44, 175, 222)" | 44, 175, 222
| #432f11
+
| #2CAFDE
| [[Ladder]] placed on [[Castle Back Wall|wall]]
+
| Shark
 
|-
 
|-
| style="background-color: rgb(69,57,17); color: #fff" | 69,57,17
+
| style="background-color: rgb(121, 168, 163)" | 121, 168, 163
| #453911
+
| #79A8A3
| [[Ladder]] placed on [[Wooden Back Wall]]
+
| Fish
 
|-
 
|-
| style="background-color: rgb(139,104,73); color: #fff" | 139,104,73
+
| style="background-color: rgb(183, 86, 70)" | 183, 86, 70
| #8b6849
+
| #B75646
| [[Rock]]
+
| Bison
 
|-
 
|-
| style="background-color: rgb(66,72,75); color: #fff" | 66,72,75
+
| style="background-color: rgb(141, 38, 20)" | 141, 38, 20
| #42484b
+
| #8D2614
| [[Thick Rock]]
+
| Chicken
 
|-
 
|-
| style="background-color: rgb(45,52,45); color: #fff" | 45,52,45
+
| style="background-color: rgb(100, 113, 96); color: #fff" | 100, 113, 96
| #2d342d
+
| #637160
| [[Bedrock]]
+
| Castle Block
 
|-
 
|-
| style="background-color: rgb(100,113,96); color: #fff" | 100,113,96
+
| style="background-color: rgb(49, 52, 18); color: #fff" | 49, 52, 18
| #647160
+
| [[Castle Wall]]
+
|-
+
| style="background-color: rgb(49,52,18); color: #fff" | 49,52,18
+
 
| #313412
 
| #313412
| [[Castle Back Wall]]
+
| Castle Background
 
|-
 
|-
| style="background-color: rgb(196,135,21); color: #fff" | 196,135,21
+
| style="background-color: rgb(100, 143, 96)" | 100, 143, 96
 +
| #648F60
 +
| Mossy Castle Block
 +
|-
 +
| style="background-color: rgb(49, 82, 18)" | 49, 82, 18
 +
| #315212
 +
| Mossy Castle Background
 +
|-
 +
| style="background-color: rgb(196, 135, 21)" | 196, 135, 21
 
| #C48715
 
| #C48715
| [[Wooden Wall]]
+
| Wood Block
 
|-
 
|-
| style="background-color: rgb(85,42,17); color: #fff" | 85,42,17
+
| style="background-color: rgb(85, 42, 17); color: #fff" | 85, 42, 17
 
| #552A11
 
| #552A11
| [[Wooden Back Wall]]
+
| Wood Background
 
|-
 
|-
| style="background-color: rgb(59,64,21); color: #fff" | 59,64,21
+
| style="background-color: rgb(66, 36, 11); color: #fff" | 66, 36, 11
| #3b4015
+
| #42240B
| [[Rubble]]
+
| Ladder
 
|-
 
|-
| style="background-color: rgb(180,42,17); color: #fff" | 180,42,17
+
| style="background-color: rgb(255, 146, 57)" | 255, 146, 57
| #b42a11
+
| #FF9239
| [[Spikes]]
+
| Platform
 
|-
 
|-
| style="background-color: rgb(180,97,17); color: #fff" | 180,97,17
+
| style="background-color: rgb(148, 148, 148)" | 148, 148, 148
| #b46111
+
| #949494
| [[Spikes]] placed on background [[dirt]]
+
| Wooden Door
 
|-
 
|-
| style="background-color: rgb(180,42,94); color: #fff" | 180,42,94
+
| style="background-color: rgb(160, 160, 160)" | 160, 160, 160
| #b42a5e
+
| #A0A0A0
| [[Spikes]] placed on [[Castle Back Wall|wall]]
+
| Stone Door
 
|-
 
|-
| style="background-color: rgb(13,102,34); color: #fff" | 13,X,34
+
| style="background-color: rgb(100, 100, 100)" | 100, 100, 100
|  
+
| #646464
#0d6622
+
| Trap Block
<br />&#35;0d6722
+
<br />&#35;0d6822
+
<br />&#35;0d6922
+
<br />&#35;0d6a22
+
<br />&#35;0dfe22
+
|
+
X = 102 : [[Tree]] Stump, 
+
<br />X = 103 : [[Tree]] Trunk, 
+
<br />X = 104 : [[Tree]] Fork, 
+
<br />X = 105 : [[Tree]] Top,
+
<br />X = 106 : Damaged [[Tree]] Trunk,
+
<br />X = 254 : ?''
+
 
|-
 
|-
| style="background-color: rgb(100,155,13)" | 100,155,13
+
| style="background-color: rgb(180, 42, 17)" | 180, 42, 17
| #649b0d
+
| #B42A11
| [[Grass]]
+
| Spike
 
|-
 
|-
| style="background-color: rgb(254,165,61)" | 254,165,61
+
| style="background-color: rgb(180, 97, 17)" | 180, 97, 17
| #fea53d
+
| #B46111
| [[Gold]]
+
| Spike (on Dirt)
 
|-
 
|-
| style="background-color: rgb(213,196,9)" | 213,196,9
+
| style="background-color: rgb(180, 42, 94)" | 180, 42, 94
| #d5c409
+
| #B42A5E
| [[Gold_Bullion|Gold Bullion]] (blue team)
+
| Spike (on Castle)
 
|-
 
|-
| style="background-color: rgb(196,213,9)" | 196,213,9
+
| style="background-color: rgb(200, 42, 94)" | 200, 42, 94
| #c4d509
+
| #C82A5E
| [[Gold_Bullion|Gold Bullion]] (red team)
+
| Spike (on Wood)
 +
|}
 +
 
 +
==Shops and Items==
 +
{| class="wikitableShiny" border="1"
 +
! '''RGB Value'''
 +
! '''HEX'''
 +
! '''Item/Block Name'''
 
|-
 
|-
| style="background-color: rgb(235,100,0)" | 235,100,0
+
| style="background-color: rgb(211, 249, 193)" | 211, 249, 193
| #eb6400
+
| #D3F9C1
| [[Catapult]]
+
| Hall
 
|-
 
|-
| style="background-color: rgb(200,30,30)" | 200,30,30
+
| style="background-color: rgb(217, 255, 239)" | 217, 255, 239
| #c81e1e
+
| #D9FFEF
| [[Heart]]
+
| Storage
 +
|-
 +
| style="background-color: rgb(217, 218, 255)" | 217, 218, 255)
 +
| #D9DAFF
 +
| Barracks
 +
|-
 +
| style="background-color: rgb(255, 217, 237)" | 255, 217, 237
 +
| #FFD9ED
 +
| Factory
 +
|-
 +
| style="background-color: rgb(243, 217, 254)" | 243, 217, 254
 +
| #F3D9FE
 +
| Tunnel
 +
|-
 +
| style="background-color: rgb(255, 217, 217)" | 255, 217, 217
 +
| #FFD9D9
 +
| Kitchen
 +
|-
 +
| style="background-color: rgb(217, 255, 223)" | 217, 255, 223
 +
| #D9FFDF
 +
| Nursery
 +
|-
 +
| style="background-color: rgb(225, 225, 225)" | 225, 225, 225
 +
| #E1E1E1
 +
| Research
 +
|-
 +
| style="background-color: rgb(0, 255, 0)" | 0, 255, 0
 +
| #00FF00
 +
| Workbench
 +
|-
 +
| style="background-color: rgb(240, 190, 255)" | 240, 190, 255
 +
| #F0BEFF
 +
| Quarters
 +
|-
 +
| style="background-color: rgb(251, 226, 139)" | 251, 226, 139
 +
| #FBE28B
 +
| Campfire
 +
|-
 +
| style="background-color: rgb(103, 229, 165)" | 103, 229, 165
 +
| #67E5A5
 +
| Catapult
 +
|-
 +
| style="background-color: rgb(100, 210, 160)" | 100, 210, 160
 +
| #64D2A0
 +
| Ballista
 +
|-
 +
| style="background-color: rgb(56, 232, 184)" | 56, 232, 184
 +
| #38E8B8
 +
| Mounted Bow
 +
|-
 +
| style="background-color: rgb(70, 110, 160)" | 70, 110, 160
 +
| #466EA0
 +
| Raft
 +
|-
 +
| style="background-color: rgb(201, 158, 246)" | 201, 158, 246
 +
| #C99EF6
 +
| Dinghy
 +
|-
 +
| style="background-color: rgb(0, 51, 255); color: #fff" | 0, 51, 255
 +
| #0033FF
 +
| Long Boat
 +
|-
 +
| style="background-color: rgb(50, 140, 255)" | 50, 140, 255
 +
| #328CFF
 +
| War Boat
 +
|-
 +
| style="background-color: rgb(255, 175, 0)" | 255, 175, 0
 +
| #FFAF00
 +
| Air Ship
 +
|-
 +
| style="background-color: rgb(255, 190, 0)" | 255, 190, 0
 +
| #FFBE00
 +
| Bomber
 +
|-
 +
| style="background-color: rgb(202, 164, 130)" | 202, 164, 130
 +
| #CAA482
 +
| Saw
 +
|-
 +
| style="background-color: rgb(210, 120, 0)" | 210, 120, 0
 +
| #D27800
 +
| Drill
 +
|-
 +
| style="background-color: rgb(187, 59, 253)" | 187, 59, 253
 +
| #BB3BFD
 +
| Trampoline
 +
|-
 +
| style="background-color: rgb(241, 231, 177)" | 241, 231, 177
 +
| #F1E7B1
 +
| Lantern
 +
|-
 +
| style="background-color: rgb(102, 0, 0); color: #fff" | 102, 0, 0
 +
| #660000
 +
| Crate
 +
|-
 +
| style="background-color: rgb(255, 220, 120)" | 225, 220, 120
 +
| #FFDC78
 +
| Bucket
 +
|-
 +
| style="background-color: rgb(160, 140, 40)" | 160, 140, 40
 +
| #A08C28
 +
| Log
 +
|-
 +
| style="background-color: rgb(161, 149, 133)" | 161, 149, 133
 +
| #A19585
 +
| Boulder
 +
|-
 +
| style="background-color: rgb(200, 210, 70)" | 200, 210, 70
 +
| #C8D246
 +
| Arrows
 +
|-
 +
| style="background-color: rgb(230, 210, 70)" | 230, 210, 70
 +
| #E6D246
 +
| Fire Arrows
 +
|-
 +
| style="background-color: rgb(200, 160,  10)" | 200, 160,  10
 +
| #C8A00A
 +
| Water Arrows
 +
|-
 +
| style="background-color: rgb(200, 180,  10)" | 200, 180,  10
 +
| #C8B40A
 +
| Bomb Arrows
 +
|-
 +
| style="background-color: rgb(230, 230, 170)" | 230, 230, 170
 +
| #E6E6AA
 +
| Bolts
 +
|-
 +
| style="background-color: rgb(251, 241, 87)" | 251, 241, 87
 +
| #FBF157
 +
| Bombs
 +
|-
 +
| style="background-color: rgb(210, 200, 120)" | 210, 200, 120
 +
| #D2C878
 +
| Water Bombs
 +
|-
 +
| style="background-color: rgb(170, 100, 0)" | 170, 100, 0
 +
| #AA6400
 +
| Satchel
 +
|-
 +
| style="background-color: rgb(160, 30, 30)" | 160, 30, 30
 +
| #A01E1E
 +
| Mini  Keg
 +
|-
 +
| style="background-color: rgb(220, 60, 60)" | 220, 60, 60
 +
| #DC3C3C
 +
| Keg
 +
|-
 +
| style="background-color: rgb(200, 190, 140)" | 200, 190, 140
 +
| #C8BE8C
 +
| Wood Stack
 +
|-
 +
| style="background-color: rgb(190, 190, 175)" | 190, 190, 175
 +
| #BEBEAF
 +
| Stone Stack
 +
|-
 +
| style="background-color: rgb(255, 240, 160)" | 255, 240, 160
 +
| #FFF0A0
 +
| Gold Stack
 +
|-
 +
| style="background-color: rgb(255, 40, 80)" | 255, 40, 80
 +
| #FF2850
 +
| Heart
 +
|-
 +
| style="background-color: rgb(205,142, 75)" | 205, 142, 75
 +
| #CD8E4B
 +
| Burger
 +
|-
 +
| style="background-color: rgb(215,  75, 255)" | 215,  75, 255
 +
| #D74BFF
 +
| Mine (no team)
 
|}
 
|}
  
=.KAG files=
+
==Team Specific Items==
Kag maps also can be saved as .kag files. This is a special file made for King Arthurs Gold. With the in-game editor and commands via consol you can summon different objects and blobs. Opening the consol and saving the map via the command "/savemap name" saves the map in .kag format. Later on you can use the command /loadmap "name" to open the .kag file map. Stuff like zombies, lanterns and catapults will be saved unlike it would be for .png format (in which that stuff is deleted).
+
{| class="wikitableShiny" border="1"
 +
! '''RGB Value'''
 +
! '''HEX'''
 +
! '''Item/Block Name'''
 +
|-
 +
| style="background-color: rgb(0, 255, 255)" | 0, 255, 255
 +
| #00FFFF
 +
| Blue Spawn (Main)
 +
|-
 +
| style="background-color: rgb(0, 200, 200)" | 0, 200, 200
 +
| #00C8C8
 +
| Blue Spawn
 +
|-
 +
| style="background-color: rgb(26, 78, 131); color: #fff" | 26, 78, 131
 +
| #1A4E83
 +
| Blue Door (Wood)
 +
|-
 +
| style="background-color: rgb(80, 90, 160); color: #fff" | 80, 90, 160
 +
| #505AA0
 +
| Blue Door (Stone)
 +
|-
 +
| style="background-color: rgb(56, 76, 142); color: #fff" | 56, 76, 142
 +
| #384C8E
 +
| Blue Trap Block
 +
|-
 +
| style="background-color: rgb(220, 217, 254)" | 220, 217, 254
 +
| #DCD9FE
 +
| Blue Tunnel
 +
|-
 +
| style="background-color: rgb(255, 0, 0)" | 255, 0, 0
 +
| #FF0000
 +
| Red Spawn (Main)
 +
|-
 +
| style="background-color: rgb(200, 0, 0)" | 200, 0, 0
 +
| #C80000
 +
| Red Spawn
 +
|-
 +
| style="background-color: rgb(148, 27, 27); color: #fff" | 148, 27, 27
 +
| #941B1B
 +
| Red Door (wood)
 +
|-
 +
| style="background-color: rgb(160, 90, 80); color: #fff" | 160, 90, 80
 +
| #A05A50
 +
| Red Door (Stone)
 +
|-
 +
| style="background-color: rgb(142, 56, 68); color: #fff" | 142, 56, 68
 +
| #8E3844
 +
| Red Trap Block
 +
|-
 +
| style="background-color: rgb(243, 217, 220)" | 243, 217, 220
 +
| #F3D9DC
 +
| Red Tunnel
 +
|-
 +
| style="background-color: rgb(136, 136, 255)" | 136, 136, 255
 +
| #8888FF
 +
| Blue Trading Post
 +
|-
 +
| style="background-color: rgb(255, 136, 136)" | 255, 136, 136
 +
| #FF8888
 +
| Red Trading Post
 +
|-
 +
| style="background-color: rgb(157, 202,  34)" | 157, 202,  34
 +
| #9DCA22
 +
| Green Spawn (main)
 +
|-
 +
| style="background-color: rgb(100, 155,  13)" | 100, 155,  13
 +
| #649B0D
 +
| Green Spawn
 +
|-
 +
| style="background-color: rgb(211, 121, 224)" | 211, 121, 224
 +
| #D379E0
 +
| Purple Spawn (main)
 +
|-
 +
| style="background-color: rgb(158, 58, 204)" | 158, 58, 204
 +
| #9E3ACC
 +
| Purple Spawn
 +
|-
 +
| style="background-color: rgb(205, 97, 32)" | 205, 97, 32
 +
| #CD6120
 +
| Orange Spawn (main)
 +
|-
 +
| style="background-color: rgb(132, 71, 21)" | 132, 71, 21
 +
| #844715
 +
| Orange Spawn
 +
|-
 +
| style="background-color: rgb(46, 229, 162)" | 46, 229, 162
 +
| #2EE5A2
 +
| Aqua Spawn (main)
 +
|-
 +
| style="background-color: rgb(79, 155, 127)" | 79, 155, 127
 +
| #4F9B7F
 +
| Aqua Spawn
 +
|-
 +
| style="background-color: rgb(95, 132, 236)" | 95, 132, 236
 +
| #5F84EC
 +
| Teal Spawn (main)
 +
|-
 +
| style="background-color: rgb(65,  73, 240)" | 65,  73, 240
 +
| #4149F0
 +
| Teal Spawn
 +
|-
 +
| style="background-color: rgb(196, 207, 161)" | 196, 207, 161
 +
| #C4CFA1
 +
| Gray Spawn (main)
 +
|-
 +
| style="background-color: rgb(151, 167, 146)" | 151, 167, 146
 +
| #97A792
 +
| Gray Spawn
 +
|}
  
Recently a 2 map tools has been developed by players,for more information please look at the link.
+
==Scrolls==
https://forum.kag2d.com/threads/kag-map-editor-developement.7866/
+
{| class="wikitableShiny" border="1"
https://forum.kag2d.com/threads/dev-log-kag-map-creator.8896/
+
! '''RGB Value'''
 +
! '''HEX'''
 +
! '''Item/Block Name'''
 +
|-
 +
| style="background-color: rgb(0, 0, 136); color: #fff" | 0, 0, 136
 +
| #000088
 +
| Blue Scroll
 +
|-
 +
| style="background-color: rgb(136, 0, 0); color: #fff" | 136, 0, 0
 +
| #880000
 +
| Red Scroll
 +
|-
 +
| style="background-color: rgb(86, 61, 86); color: #fff" | 86, 61, 86
 +
| #563D56
 +
| Weak Scroll
 +
|-
 +
| style="background-color: rgb(154, 65, 155); color: #fff" | 154, 65, 155
 +
| #9A419B
 +
| Medium Scroll
 +
|-
 +
| style="background-color: rgb(207, 49, 209)" | 207, 49, 209
 +
| #CF31D1
 +
| Strong Scroll
 +
|}
 +
==NPCs==
 +
{| class="wikitableShiny" border="1"
 +
! '''RGB Value'''
 +
! '''HEX'''
 +
! '''Item/Block Name'''
 +
|-
 +
| style="background-color: rgb(251, 135, 255)" | 251, 135, 255
 +
| #FB87FF
 +
| Princess
 +
|-
 +
| style="background-color: rgb(158, 58, 187); color: #fff" | 158, 58, 187
 +
| #9E3ABB
 +
| Necromancer
 +
|-
 +
| style="background-color: rgb(98, 26, 131); color: #fff" | 98, 26, 131
 +
| #621A83
 +
| Necromancer (Teleport Location)
 +
|-
 +
| style="background-color: rgb(255, 95, 25)" | 255, 95, 25
 +
| #FF5F19
 +
| Henry (Red Knight)
 +
|-
 +
| style="background-color: rgb(25, 255, 182)" | 25, 255, 182
 +
| #19FFB6
 +
| Lance (Red Archer)
 +
|-
 +
| style="background-color: rgb(62, 1, 0); color: #fff" | 62, 1, 0
 +
| #3E0100
 +
| Knight Spawner
 +
|-
 +
| style="background-color: rgb(86, 6, 44); color: #fff" | 86, 6, 44
 +
| #56062C
 +
| Knight Spawner x10
 +
|}
 +
==Tutorial==
 +
{| class="wikitableShiny" border="1"
 +
! '''RGB Value'''
 +
! '''HEX'''
 +
! '''Item/Block Name'''
 +
|-
 +
| style="background-color: rgb(231, 140,  67)" | 231, 140,  67
 +
| #E78C43
 +
| Dummy
 +
|}
 +
'''NOTES:'''
 +
*Halls, 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
  
==See also==
+
=.CFG Files=
*[[Blocks]]
+
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 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.
*[[Objects]]
+

Latest revision as of 20:43, 4 April 2018

This page is in line with the latest build 2536.

The map is a 2D surface where gameplay takes place. Maps can currently have either a .cfg or a .png file extension. Each file type is explained in the paragraphs below.

.PNG files

Ommadawn
One of the default RTDM maps as a .png file

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 #844715 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
91, 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
141, 38, 20 #8D2614 Chicken
100, 113, 96 #637160 Castle Block
49, 52, 18 #313412 Castle Background
100, 143, 96 #648F60 Mossy Castle Block
49, 82, 18 #315212 Mossy 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 Spike
180, 97, 17 #B46111 Spike (on Dirt)
180, 42, 94 #B42A5E Spike (on Castle)
200, 42, 94 #C82A5E Spike (on Wood)

Shops and Items

RGB Value HEX Item/Block Name
211, 249, 193 #D3F9C1 Hall
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
225, 225, 225 #E1E1E1 Research
0, 255, 0 #00FF00 Workbench
240, 190, 255 #F0BEFF Quarters
251, 226, 139 #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
200, 160, 10 #C8A00A Water Arrows
200, 180, 10 #C8B40A Bomb Arrows
230, 230, 170 #E6E6AA Bolts
251, 241, 87 #FBF157 Bombs
210, 200, 120 #D2C878 Water 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
255, 40, 80 #FF2850 Heart
205, 142, 75 #CD8E4B Burger
215, 75, 255 #D74BFF Mine (no team)

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
157, 202, 34 #9DCA22 Green Spawn (main)
100, 155, 13 #649B0D Green Spawn
211, 121, 224 #D379E0 Purple Spawn (main)
158, 58, 204 #9E3ACC Purple Spawn
205, 97, 32 #CD6120 Orange Spawn (main)
132, 71, 21 #844715 Orange Spawn
46, 229, 162 #2EE5A2 Aqua Spawn (main)
79, 155, 127 #4F9B7F Aqua Spawn
95, 132, 236 #5F84EC Teal Spawn (main)
65, 73, 240 #4149F0 Teal Spawn
196, 207, 161 #C4CFA1 Gray Spawn (main)
151, 167, 146 #97A792 Gray Spawn

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

Tutorial

RGB Value HEX Item/Block Name
231, 140, 67 #E78C43 Dummy

NOTES:

  • Halls, 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 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.