Page 1 of 10 12345 ... LastLast
Results 1 to 10 of 100

Thread: Subterrainian Map Prettier Script

  1. #1

    Post Subterrainian Map Prettier Script

    So I hoped to enter this months challenge. Working with a bunch of maps in the same style seemed an invitation to scripting so I dashed off write a gimp script to take a map template like this:
    template.png

    and running the script creates a map like this:
    output.png

    It works, but I'm still playing with the script and doubt I'll be able to make a token set for the map, unless I just crib from by clip art (which is what I would do for my self).

    One thing to note is that the output has been cropped in by one grid on all sides, a step that was necessary to allow connecting tunnels and shading to work cleanly at the edges, but I'm still not happy about it...

    -Rob A>

  2. #2
    Community Leader Facebook Connected Steel General's Avatar
    Join Date
    Jun 2008
    Location
    Ft. Wayne, IN
    Posts
    9,531

    Default

    That's pretty durn cool stuff Rob!
    My Finished Maps | My Challenge Maps | Still poking around occasionally...

    Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.



  3. #3
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,249
    Blog Entries
    8

    Post

    Quote Originally Posted by RobA View Post
    Working with a bunch of maps in the same style seemed an invitation to scripting...
    Thats what I thought Are you doing it in a similar way - are you blurring and substituting textures for gray levels ?

  4. #4

    Post

    Nope. Just using the B&W to act as a mask defining the "inside" and then building a map (with an optional distortion step).

    Layers generated are (top down):
    -Wall Style (bevel or stroke)
    -Wall Fill
    -Wall Shadows
    -Grid Bump Overlay
    -Grid Stroke
    -Floor Plasma Noise Overlay
    -Floor Texture

    So they can all be tweaked. The floor and wall-fill textures are either procedural (the previous example), or you can specify a Gimp pattern.

    In place of the bevel, the wall style can be a solid wall with a pattern (or solid colour) and optional bevel. It does end up giving you a lot of options though....

    test2.png

    -Rob A>

  5. #5
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,249
    Blog Entries
    8

    Post

    Its very cool and will be very useful. I am planning on using scripts more to generate standard type maps like dungeons. I reckon where you can script its a good idea to try it. Gimp scripting is a very powerful way of making maps.

  6. #6
    Community Leader Torq's Avatar
    Join Date
    Jun 2007
    Location
    Cape Town, South Africa
    Posts
    894

    Post

    That script is a fantastic idea Rob. Any plans on making it available to the circling birds of prey?

    Torq
    The internet! It\'ll never catch on.

    Software Used: Terranoise, Wilbur, Terragen, The Gimp, Inkscape, Mojoworld

  7. #7
    Community Leader Facebook Connected Steel General's Avatar
    Join Date
    Jun 2008
    Location
    Ft. Wayne, IN
    Posts
    9,531

    Post

    Quote Originally Posted by Torq View Post
    That script is a fantastic idea Rob. Any plans on making it available to the circling birds of prey?

    Torq
    If I'm not mistaken, I think once this months contest is done he will make the script available to the masses.
    My Finished Maps | My Challenge Maps | Still poking around occasionally...

    Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.



  8. #8

    Default

    Another teaser is a second script I wrote to batch process. Just point the thing to a folder of templates and it will turn them all into maps having the same settings.

    (I also got rid of the shadow in the doors).

    -Rob A>

  9. #9
    Guild Journeyer Sagenlicht's Avatar
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    249

    Post

    Quote Originally Posted by Torq View Post
    That script is a fantastic idea Rob. Any plans on making it available to the circling birds of prey?

    Torq
    I'll completly agree, thats a nice script for sure. Would save me a ton of work

  10. #10

    Post

    Aaahhh, RobA. You and your teasers...

Page 1 of 10 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •