Exporting wall data to a text file
Hi everyone. I'm completely new to CC and am trying to set up a way to export map walls.
I've gotten as far as writing a script to list walls within CC:
SELBYL
LIST WALLS
So that works. Now I'd like to be able to save/export that list as an external text file. I've looked around but couldn't find this in the tutorials, and the command lists weren't really explicit on arguments for save file commands and text exports and whatnot.
Thanks in advance!
(By the way, my end goal is to use this data to generate walls in Foundry VTT. If someone else has already written something to do that, it would save me the effort, but from what I've seen in the forums there isn't currently an exporter, so I thought I'd try to write one.)
Tagged:
Answers
You can do it by hand if what you've done there is generate a List window like this one. Click "List" for a dropdown menu to save as a txt file.
I've been working on a VTT export. It's not easy! Good luck with this. It will be a useful tool.
Good luck to both of you! But please make it VTT generic.
Version 0.0.1 of an exporter for Foundry is ready. It's very basic and doesn't do doors, and curved walls break it completely, so I have some improvements to make, and features to add, but I thought I'd share.
https://github.com/panoptical/CC3-to-Foundry-Wall-Export