Page 1 of 1

Apply template in all databas?

Posted: Thu Oct 06, 2016 5:42 am
by alfonso
Hi Tony

can i apply a template to all database? for now i only know if i go to the node an in All Field click de template button, but will be great to make that in all database. It is possible?

Re: Apply template in all databas?

Posted: Thu Oct 06, 2016 9:06 am
by Tony Li
Hi Alfonso,

In the next version, I'll add an "Apply To Database" menu item on the Templates tab.

In the meantime, you can export the database as Chat Mapper XML. (Save a copy of your original database just in case something goes wrong.) You don't need Chat Mapper itself to do this. The operation just writes an XML file in Chat Mapper format, which you can delete. Chat Mapper requires that all database elements have the same field definitions. When the Dialogue System exports to Chat Mapper XML, it applies the template to the entire database before exporting.

Re: Apply template in all databas?

Posted: Thu Oct 06, 2016 9:44 am
by alfonso
great i will test it

thanks :)

Re: Apply template in all databas?

Posted: Fri Mar 24, 2017 7:02 am
by alfonso
Hi Tony!

I come back with new doubts haha. Recently i update the Dialogue System to the last version, and i'm trying to update the dbs with the template, i saw the option in the tap Template "Update from Asset", i think this is to update the template with the options of the database, but its already exist any option to update all field with the template setup?

Thanks :)

Re: Apply template in all databas?

Posted: Fri Mar 24, 2017 8:42 am
by Tony Li
Hi Alfonso!
alfonso wrote:I come back with new doubts haha. Recently i update the Dialogue System to the last version, and i'm trying to update the dbs with the template, i saw the option in the tap Template "Update from Asset", i think this is to update the template with the options of the database, but its already exist any option to update all field with the template setup?
You no longer need to do that Chat Mapper XML thing. The "Update from Assets" menu item does 2 things:

1. Scans all assets (actors, quests, dialogue entries, etc.) for custom fields, and adds these custom fields to the template.

2. Applies the updated template to all assets.


The Pixel Crushers customer download site has a patch that adds two new menu items:

- "Update Template From Assets" -- Does only #1 above.

- "Apply Template To Assets" -- Does only #2 above.

If you need access to the Pixel Crushers customer download site, please PM me or email me.

Re: Apply template in all databas?

Posted: Fri Mar 24, 2017 10:44 am
by alfonso
Works so fine men :) thanks for the so quick reply

Re: Apply template in all databas?

Posted: Fri Mar 24, 2017 10:49 am
by Tony Li
Happy to help!

BTW, I played Crossing Souls on my laptop at my local game dev meetup group, and they're all excited to buy a copy of the game when it's released! :-)

Re: Apply template in all databas?

Posted: Tue Mar 28, 2017 7:45 am
by alfonso
Tony Li wrote:Happy to help!

BTW, I played Crossing Souls on my laptop at my local game dev meetup group, and they're all excited to buy a copy of the game when it's released! :-)
wooo thanks you to spread the word we are glad you like it! :D