Search the web
Sign In
New User? Sign Up
darklands · Darklands - Historical RPG by Microprose
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DC's Character Editor   Message List  
Reply | Forward Message #8880 of 9076 |
Re: [darklands] DC's Character Editor

Interesting idea Jeff.

As Matt and Quadko point out, what we think of as "The Map Data" is
split into two parts. The static map data I think provides the tiles
that define the shape of the world - where cities, roads, water, forests
etc are. I have never worked with that data but Merle has decoded it and
the details are on his website linked by Matt. I think some work has
been done on creating editors for this data but I am not quite sure
exactly what there is.

The data that my tools work with is the second half of the equation: the
list of map locations (cities, villages, caves, mines etc) that is
stored inside a saved game. My character editor already does much of
what you describe (assuming I understand you correctly, and I haven't
had my second coffee yet today so I may be misreading your post!). On
the world tab you can see the whole world and toggle which locations are
displayed, as well as view (and change the party location). You can't
zoom, but resizing the window does resize the map. Once you select a
location you can change any location into any thing else by changing the
"Menu (preset)" and "Icon" properties in the right hand property grid.
That seems pretty close to the "toggles for cities, villages, mines,
dragon lairs, etc" that you mentioned. The downside is that editing a
location through this tool requires some understanding of what all those
different values mean. Maybe all that is required are some preset groups
of settings that will change all the appropriate location values in the
one go, along with a method of defining those presets in a text file
that is loaded up by the tool. So rather than having to remember all the
values required to change a location into something else, you could just
pick "Angry village" from a list. I do have this sort of ability in the
lua system but that doesn't help anyone but me. And that system has no
GUI, it is entirely run from the command line.

The Menu value determines what menu screen appears when you first enter
that location, essentially determining what the location is.

The Icon value determines what image is used for that location on the
world travel map in the game. The Icon and Menu settings don't have to
match.

Note that changing a location to something else may break active quests
that relate to that location.

I have C# and C++ code that parses the location data (and almost
everything else) from the savegame files which I can make available if
it would help. The C++ version builds to a dll that exports all the
functions and types required for working with the save game data. With a
bit of a tidy I could make the C++ source code and dll available on the
files section. The dll could then be used in many other tools from any
language that can import windows dll's. It is what I use as the backend
for the Lua scripting interface that I also need to tidy up and release.
The Lua module would be another path towards the tool you describe by
using one of the Lua GUI packages (such as WxLua) to produce the GUI
front end, and my lua module as the back end to handle reading and
writing the save game data.

By far the simplest approach if you only want to work with the world
locations data would be to use and/or extend the C# Character editor tool.

cheers,
DC



Thu Sep 11, 2008 1:53 am

jugglindan
Offline Offline
Send Email Send Email

Forward
Message #8880 of 9076 |
Expand Messages Author Sort by Date

Hey Dan! First, thanks for your Character Editor and World Regeneration tool. Would it be possible for you to create a standalone World Map application that...
Jeff Donville
jtdonville
Offline Send Email
Sep 10, 2008
9:08 pm

There was some map decoding instruction discussion a few years ago. I think several of the directories in the groups 'files' section have map info and tools. I...
quadkorex
Offline Send Email
Sep 10, 2008
9:51 pm

Jeff, Merle has the file format info on his web-site: http://wallace.net/darklands/ Note that the "map" file itself does not have any of dynamic elements in...
Matt Wirkkala
mwirkk
Offline Send Email
Sep 10, 2008
10:04 pm

Interesting idea Jeff. As Matt and Quadko point out, what we think of as "The Map Data" is split into two parts. The static map data I think provides the tiles...
Daniel Collins
jugglindan
Offline Send Email
Sep 11, 2008
1:53 am

... I am very interested in that if you are willing to make it available. That'd be cool. The C# especially, C++/dll very interesting too. Cheers, Quadko...
quadkorex
Offline Send Email
Sep 11, 2008
3:24 pm

... Regarding the C# code, I used to have the character editor source in the files section but I don't seem to have the latest version there. I will do a bit...
Daniel Collins
jugglindan
Offline Send Email
Sep 12, 2008
2:15 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help