I don't think it would be all that difficult to write a separate program that could take the xml file and create text output that could then be copy/paste into the chat window where the API script picks it up and creates a character sheet with macros and attributes.
I would model it on the beautiful work done by others here:
https://app.roll20.net/forum/post/673780/script-cu...
The desktop app would take the xml and create output:
!monster --name|Orc Warrior --Attributes(Dexterity etc) --Powers....
This script could call upon the power card script linked to above for the creation of macros.
The end result would be as a DM in 4e you go into adventure tools, find the monster you want, export it to your desktop, run the desktop app, copy and paste text into roll20 and voila a character sheet complete with macros for all of the powers as well as attributes and stats like HP, initiative, etc. The macros for the powers output beautifully with the power card script linked above.
There would be many cases where the script wouldn't know how to handle certain powers in teh xml. The advanced version could have a UI that allows for the user to edit powers etc before producing the text output. The UI could display sections of XML it doesn't know what to do with and then as the user you could create a power manually or whatever based on the xml.
This is possible right? Am I missing anything?
I don't have a lot of time really but I might work on this. It would be pretty awesome.
I would model it on the beautiful work done by others here:
https://app.roll20.net/forum/post/673780/script-cu...
The desktop app would take the xml and create output:
!monster --name|Orc Warrior --Attributes(Dexterity etc) --Powers....
This script could call upon the power card script linked to above for the creation of macros.
The end result would be as a DM in 4e you go into adventure tools, find the monster you want, export it to your desktop, run the desktop app, copy and paste text into roll20 and voila a character sheet complete with macros for all of the powers as well as attributes and stats like HP, initiative, etc. The macros for the powers output beautifully with the power card script linked above.
There would be many cases where the script wouldn't know how to handle certain powers in teh xml. The advanced version could have a UI that allows for the user to edit powers etc before producing the text output. The UI could display sections of XML it doesn't know what to do with and then as the user you could create a power manually or whatever based on the xml.
This is possible right? Am I missing anything?
I don't have a lot of time really but I might work on this. It would be pretty awesome.