For my campaign framework, I decided to build a table automatically, but users encounter problems after an autosave of the campaign.
I used md5 for creating the name of the images in a table:
Code: Select all
asset_name = md5(asset_id)
for instance:
asset_id == "1" => asset_name = md5(1)
I understand this might look very deep in the code, but this would help me automate the creation of a table containing roughly 1,000 images with a simple (?) script.
Table in its current "buggy" status is available here: https://github.com/stephanepjeannin/maptool-mod
Thank you for your answers!
~Red/Stéphane
EDIT: I just looked at my post and found it might not be explaining enough HOW I'm building the table:
- I create the table using the method I explained in one of my previous subjects (http://forums.rptools.net/viewtopic.php?f=3&t=25134)
- I add images and assets, then I give them names
- I add the XML details on the table in the correct file
- I zip the file and change the extention to a MapTool table.
So yeah, if you need any further explanation on my "framework" for building tables automatically, I'd be pleased to share such information here