Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Random Mapzoid - Libtcod, Noise, Python-based BMP generator  (Read 1965 times)

mendonca

  • Bay Watcher
  • [CLIVE]
    • View Profile
Random Mapzoid - Libtcod, Noise, Python-based BMP generator
« on: November 14, 2013, 08:18:54 am »

Random Mapzoid: NONSENSE SUBTITLE v0.60
 
I started a project a few months ago, with the intention of creating random 'world-scapes' consisting of BMP files, based on Libtcod's built in noise generator and some additional hand-drawn algorithms and other stuff.

This program is developed solely with the intention of creating BMP / PNG files which can be interpreted by a secondary program (WorldEd) which is used for creating Project Zomboid maps.

Only a few people have access to these mapping programs at the mo, they are subject to release reasonably shortly once the Zomboid devs have cracked all the recent Steam-based furore, re-done the engine, and a few other things. Basically, I don't know when general mod tools release is, but I expect it's fairly soon (maybe this year, probably early 2014).

But I'm not posting it for that reason, basically I thought a few people here might be interested in this program, as it is nothing more than a means of painting a pair of 'noisy' PNG files, based on arbitrary noise parameters, and it is built up of 10 or 11 'height' layers which can be altered and tweaked and stuff to suit your own needs.

It creates some fun little town shapes as well, can fill in these towns with externally set colours, can dress roads to arbitrary patterns with arbitrary colours, and is coded in Python.

It's also all BSD'd, for much the same reason as my other project. Not so much that I think it should be held up as a paragon of programming, but just because I think it would be better to be open than closed. Fun to share, and all that stuff.

I've set it up with the premise that most of the inputs are generally changeable by external text files, with the possibility that it will do some weird stuff (if tested) that it isn't designed to do, and it generally fits in with some of the stuff that some of you fine folk would be interested in playing about with.

I don't know, have a look, play around, have fun and all that good stuff :)


  
The Python Code, or Windows Executable Package, can be found in the links below.
 
EXECUTABLE
SOURCE (Python 2.7)
 
SOURCE NOTES:
Spoiler (click to show/hide)
 
Current Change List:
 
Spoiler (click to show/hide)
 
Read the readme.txt for some instructions on how to work the program, or just ask here.
 

 
EXAMPLE OUTPUT:
 
Spoiler (click to show/hide)
 
IN WORLDED (perhaps explaining slightly the reason for starting this project):
Spoiler (click to show/hide)
 
This program is released open source under a permissive BSD license. Contributions or wholesale rip-offs are more than welcome, if you should so desire to join in.
Logged