Apply template in all databas?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

Apply template in all databas?

Post 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?
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Apply template in all databas?

Post 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.
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

Re: Apply template in all databas?

Post by alfonso »

great i will test it

thanks :)
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

Re: Apply template in all databas?

Post 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 :)
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Apply template in all databas?

Post 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.
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

Re: Apply template in all databas?

Post by alfonso »

Works so fine men :) thanks for the so quick reply
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Apply template in all databas?

Post 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! :-)
alfonso
Posts: 104
Joined: Mon Jul 13, 2015 6:31 am

Re: Apply template in all databas?

Post 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
Post Reply