Home › Forums › Destiny of an Emperor › Town and Cave Editing
- This topic has 48 replies, 4 voices, and was last updated 12 years, 2 months ago by
sonic.penguin.
-
AuthorPosts
-
January 30, 2014 at 6:10 pm #53372
MiDKnighT
ModeratorBack on topic… I added a couple more details on how it loads the map. Namely:
1. How it builds the “tiles” from small tiles.
2. How it loads the palette.
That should be everything we need to know to (eventually) get it into DoaEditor. The only problem being the “warp” issue I talked about before.
All the gory details: http://doaerhguide.wikidot.com/start#toc15
January 31, 2014 at 10:19 am #53379MiDKnighT
ModeratorPalettes galore!
Palettes are stored in these locations.
Normal ROM:
0x3C5FF (World Map): 00 0F 27 29 1A 0F 00 30 29 0F 17 37 29 0F 20 31 11
0x3C621 (Inn/House): 01 27 16 00 0F 30 21 00 0F 38 27 00 0F 20 31 11
0x3C632 (Cave): 01 39 28 18 0F 37 27 17 0F 30 2B 1B 0F 20 2C 1C
0x3C643 (Inside Castle): 01 37 27 16 0F 30 25 37 0F 30 2B 27 0F 20 2C 27
0x3C654 (Fortress): 01 17 38 15 0F 17 29 19 0F 17 38 27 0F 20 38 17
0x3C665(Town): 01 27 37 15 0F 19 29 27 0F 20 10 27 0F 20 31 11
0x3C676 (Burnt Luo Yang): 01 27 37 15 0F 27 37 1A 0F 27 37 17 0F 20 10 11Expanded ROM:
0x7C5FF & 0xFC5FF (World Map): 00 0F 27 29 1A 0F 00 30 29 0F 17 37 29 0F 20 31 11
0x7C621 & 0xFC621 (Inn/House): 01 27 16 00 0F 30 21 00 0F 38 27 00 0F 20 31 11
0x7C632 & 0xFC632 (Cave): 01 39 28 18 0F 37 27 17 0F 30 2B 1B 0F 20 2C 1C
0x7C643 & 0xFC643 (Inside Castle): 01 37 27 16 0F 30 25 37 0F 30 2B 27 0F 20 2C 27
0x7C654 & 0xFC654 (Fortress): 01 17 38 15 0F 17 29 19 0F 17 38 27 0F 20 38 17
0x7C665 & 0xFC665 (Town): 01 27 37 15 0F 19 29 27 0F 20 10 27 0F 20 31 11
0x7C676 & 0xFC676 (Burnt Luo Yang): 01 27 37 15 0F 27 37 1A 0F 27 37 17 0F 20 10 11The remaining locations after these are other palettes (officer status screen, text etc…)
January 31, 2014 at 11:46 am #53380MiDKnighT
ModeratorSwtching the graphics/palette for some places to “Burnt Luo Yang” produces interesting results. Now you can burn down whatever town you like :twisted:
Burnt Xu Zhou:
Who burned down Tao Qian’s castle? Those bastards!
Sadly, switching the real burnt Luo Yang’s graphics/palette to a normal town doesn’t really fix it:
January 31, 2014 at 3:05 pm #53381sonic.penguin
Moderator0x7C5FF & 0xFC5FF (World Map): 00 0F 27 29 1A 0F 00 30 29 0F 17 37 29 0F 20 31 11
Can’t wait to play around with this one! Good find.
Looks like burnt Luo Yang is missing a few bridge graphics :P
January 31, 2014 at 3:24 pm #53382MiDKnighT
ModeratorLooks like burnt Luo Yang is missing a few bridge graphics :P
Those bastards burnt the bridge too! :-x
January 31, 2014 at 4:30 pm #53383sonic.penguin
ModeratorThose bastards burnt the bridge too! :-x
January 31, 2014 at 4:38 pm #53384sonic.penguin
ModeratorJanuary 31, 2014 at 4:58 pm #53385sonic.penguin
ModeratorIce Caves!!! :huohu:
What would be awesome is if we could make encounters specific to caves rather than just pulling from the region that the last battle was fought in.
-
This reply was modified 12 years, 2 months ago by
sonic.penguin.
January 31, 2014 at 5:20 pm #53387MiDKnighT
ModeratorWhat would be awesome is if we could make encounters specific to caves rather than just pulling from the region that the last battle was fought in.
I believe this is very doable but I’d have to look at it further. Another idea I had was to allow you to have different colored towns and caves. So maybe your ice cave could be a special once in a game kind of thing.
January 31, 2014 at 5:24 pm #53388sonic.penguin
ModeratorYeah, I did notice how the floor is shared amongst other caves, like as parts of walls and treasure chests and stuff. Making each town unique would certainly require some expansion on the code.
Trying to edit snow on the world map also had this same effect as that palette is also used for castle gfx and mountains.
January 31, 2014 at 5:27 pm #53389MiDKnighT
ModeratorMaking each town unique would certainly require some expansion on the code.
Just colors wouldn’t be so bad I don’t think.
January 31, 2014 at 5:29 pm #53390sonic.penguin
ModeratorJanuary 31, 2014 at 5:48 pm #53391MiDKnighT
ModeratorIt was a shame when that volcano erupted near Xu Zhou
January 31, 2014 at 6:59 pm #53392sonic.penguin
ModeratorIt was a shame when that volcano erupted near Xu Zhou
LOL
February 9, 2014 at 2:28 pm #53482MiDKnighT
ModeratorTowns, Caves, and more can now be edited in DoaEditor! http://www.niahak.org/doaed/DoaEditor.zip
-
This reply was modified 12 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.








