PreD: A DF megaproject layout generator by MagmaMcFry
Current Version:
v0.6Some time ago, in a thread far, far away, I wrote that I had coded an awesome program that you could use to draw DF layout plans for arbitrarily awesome 3D megaproject layouts. But I had lost that program, and could not rewrite it in a way that you could also use it, because the library I was using was taken out of the Perl Standard Library. I therefore wrote a generally more awesome program that can do everything the old program could do, plus some more awesomeness.
Z0 of the Human Castle (ptut2.pl), added in v0.5
Z+5 of the Swiss Cheese (ptut1.pl), added in v0.4
Z+18 of the ptest1.pl layout, rendered in v0.1
Z+24 of the same layout, rendered in v0.3 (the walls are connected now)
- If you don't already have a Perl interpreter (that is, if you're using Windows), then download it from here and install it. Don't worry, it won't hurt you.
- Download the code here.
- Unzip the archive into a new empty folder.
- Run "nlconv.pl".
See CHANGELOG.txt in the archive.
What to do with this:The file "ptut1.pl" is a tutorial explaining the basics of PreD usage. Run it first, then read through it to understand what it did. Optionally run and look at the other .pl files in the archive.
If you have a little programming experience, try to look at the PreD files to see what they do. PreD.pm is the core module that creates your images. PreDFunc.pm is a collection of useful functions to help you make your layout. PreDTiles.pm is a definition of the tiles that PreD.pm uses to create your layouts.
If you don't have any programming experience and still want to have a custom layout, give me a rough sketch or explanation of your layout and I (or somebody else) will post a layout program for you, with lots of comments so you understand what happens and can make your own layouts later.
If you have a layout that doesn't do what you want it to do, post it here and I'll help you fix your mistakes.
If you have a layout that works, feel free to share it!
Add an isometric 3d shot.
Add more PreDFunc'tions.
Any other posted idea that sounds good enough.
Also, a higher version number.