Page 1 of 9 123 ... LastLast
Results 1 to 10 of 88

Thread: Subterrainian Map Prettier Script

  1. #1
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,567

    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:
    Click image for larger version. 

Name:	template.png 
Views:	681 
Size:	7.4 KB 
ID:	6018

    and running the script creates a map like this:
    Click image for larger version. 

Name:	output.png 
Views:	404 
Size:	581.5 KB 
ID:	6019

    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,464

    Default

    That's pretty durn cool stuff Rob!
    My Finished Maps | My Challenge Maps | Ghoraja Juun, my largely stagnated campaign setting.

    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
    Software Dev/Rep Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    4,807
    Blog Entries
    4

    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
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,567

    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....

    Click image for larger version. 

Name:	test2.png 
Views:	228 
Size:	1,017.7 KB 
ID:	6025

    -Rob A>

  5. #5
    Software Dev/Rep Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    4,807
    Blog Entries
    4

    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
    902

    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,464

    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 | Ghoraja Juun, my largely stagnated campaign setting.

    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
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,567

    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...

Posting Permissions

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