Jump to content

Reverse Batch Processing and Layer Arrangement


Recommended Posts

Background:  I've been getting into print & play card/tabletop games, and one thing I'm interested in is fan made armies for Neuroshima Hex.  The hexes generally have different artwork and iconography for various abilities.  I have a prototype hex file designed for easily making new hex tiles(it has the iconography in layers), and I have a layout file where the hexes are to be placed for easy printing.

 

Goal #1:  I want to be able to save a new hex from my prototype paint file as a new layer in my layout file without opening or messing with the layout file.  Sort of like batch processing in reverse.

Goal #2:  And ideally, the layers would be automatically positioned according to a grid pattern I specify.

 

Are there plugins that would help with either of these, or that I could possibly modify to handle this?  

Link to comment
Share on other sites

Hi sparkest - welcome to the forum :)

 

2 hours ago, sparkest said:

I want to be able to save a new hex from my prototype paint file as a new layer in my layout file without opening or messing with the layout file.  

 

Can't be done. You'll have to open the layout file and import (or paste) the new layer in as a minimum.

 

2 hours ago, sparkest said:

ideally, the layers would be automatically positioned according to a grid pattern I specify.

 

Layers are positioned top left when they are imported. The only way around this is to pre-position the graphic within an appropriately sized layer and then import the entire thing.

Link to comment
Share on other sites

Thanks for the reply and the welcome.

 

hmm.

what about doing this through a macro and a VB script?

 

I run a macro through vTask that imports a bunch of images within a folder.  Then a run a VB script that parses the layer location information and changes it according to a text file of xy coordinates.

 

If this is doable, is there a keyboard shortcut for the 'import from file...' command and where can I find info about .pdn file structure?

Link to comment
Share on other sites

There is no keyboard shortcut for 'import from file...'. It's one of those lesser used features and hasn't had a keyboard shortcut assigned.

 

Honestly, I have no idea where you'd find info on the PDN file structure. Rick serializes the structure and pixel data to create the file, but I've never seen anything more specific than that.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...