Jump to content

Recommended Posts

Posted

Hi!

Does anyone know how to create a Dune II map from the seed (or field)

value in scenario.pak / the scenario files?

There are some seed2map programs at dune-related sites, but I didn't find

any source code or hints on how the seed value is used to create the map.

I need an algorithm or a description of how it's done.

Thank you!

-MoRgNer

Posted

there was some source about how to create SEED map, but i lost it. I will look at it again when i have time...

there are seed maps for Dunedit, you can use those so you know a map layout for some seed numbers, but a real algorithm is not 100% found yet. The one that was available could only do ROCK and SAND afaik.

EDIT, i found the source files, and a compiled EXE.. in the zip file...[attachment archived by Gobalopper]

Posted

there was some source about how to create SEED map, but i lost it. I will look at it again when i have time...

there are seed maps for Dunedit, you can use those so you know a map layout for some seed numbers, but a real algorithm is not 100% found yet. The one that was available could only do ROCK and SAND afaik.

EDIT, i found the source files, and a compiled EXE.. in the zip file...

Thank you very much! The code works, although I had to change it a little, because

some of the offsets were wrong. Now it uses the right mapping for the icons from

icon.map, looks good! :)

By changing the algorithm a bit, I even got some spice appearing on the map,

but the distribution (which depends on the Field= value in the scenarion files)

was not the same as in Dune II. :(

-MoRgNer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.