Files

> > Stranded II > Maps (for the original SII) > Bio-Generated map
Files overviewStranded II overviewMaps (for the original SII) overview

English Bio-Generated map >

6 comments1.29 mb, 877 Downloads

old Bio-Generated map

JConfide
User Off Offline

I created this map with the help of a tool I wrote in Java.

This tool loads an existing (empty) map file and an existing "biomap", then fills the map with objects, items and units according to the biome at the coordinates (one pixel on the biomap is a 64 by 64 square in game). It then writes the generated map, ready to be loaded in the editor.

Palm tree forest, desert, meadow, ocean, bank, mountain, ... I tried to gather "biome-like entities" in sets, and gave them a probability to appear within the given biome.

In the first example picture, deep blue is ocean, yellow is palm beach, green is forest, dark green is fir forest, light green is meadow, light blue is bank, ...

Last steps are done within the editor, where one has to put objects on the ground and energies to defined values.

I haven't dealt yet with infos or states, so there's no logic in the generated map: no spawn, no triggers, ...

The reason behind this, is I couldn't find such consistency with random maps generated by the game, and as there are maps for height, grass and color, I wanted a map for these "biomes".

For java source code, it is included in the zip file. Feel free to explore, add new features, ... Or reuse the classes that read and write map files. I tried to code as clean as possible, but I didn't take the time to make it a full app that you can run with args or config files.

Zip file content:
- S2MapEdit folder: java source code for biomes generator
- maps folder contains two maps:
--- BioGenerated.s2 and its biomap, for 3 islands and mixed biomes
--- Biomes-Isles.s2 and its biomap, for separated biomes (aka proof of concept)

Enjoy!
edited 3×, last 25.04.11 12:41:51 am
Approved by DC

Download Download

1.29 mb, 877 Downloads

Comments

6 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

benbuild123
User Off Offline

how in the world do u play after downloading

old

Espyro
User Off Offline

Thanks! This is making Stranded II much more exciting. I don't wonder about the rating of five stars.
But one mistake in your last reply: the plural is sheep, not sheeps :D.

old

JConfide
User Off Offline

Well, different kind of things, depending on the place you are.

Many many firs if you're in that forest, sand and palms if you're on the beach, sheeps and other nice stuff if you're in the middle of a meadow, rocks if you're in a mountain zone, ...

The point is not really to make a fully playable map, but to enhance map using a "biomap" instead of placing objects and items one by one. Luckily, I think one could manage to survive on such island.

Still, there's no logic, no scenario, and that wasn't my point here. If you want so, it's up to you to get the code, adapt it to make biomes populated the way you want, and then add script according to your story. Again, my point is about populating a map with a tool rather than by hand, and populating it in some kind of consistent way.

You won't find scorpions elsewhere than in a desertic biome for example; sheeps won't be on the beach but placed in a meadow biome; palms won't appear in a mountain biome.

I hope I answered your question.

old

Jawohl
User Off Offline

dont know sounds abit nooby...
whats on this random map?

old

JConfide
User Off Offline

Beware that you'll need to do the following :
- create an empty map with Stranded 2 editor
- create the according biomes map
- edit a little bit, compile and run java code (I use eclipse)

The source code is complete, but I didn't make a user-friendly tool out of it. You're warned

Thanks for your vote!

old

Yates
Reviewer Off Offline

Thanks man. I can play stranded again without getting bored on the random maps!
I like it!
To the start Previous 1 Next To the start