Celtx - Actor Fields
Re: Celtx - Actor Fields
The images are named the same in both celtx and unity. However, I cannot find the name of the image at all in the script json that celtx exports.
Re: Celtx - Actor Fields
Sorry, I steered you completely wrong. I was thinking of a different import format. For the Celtx importers, name your portrait images with the same name as the character itself. Put them in a folder inside Assets, and specify that folder in the importer's Portrait Folder field. But there's a bug that's fixed in this patch:
DS_CeltxPatch_2023-02-21.unitypackage
DS_CeltxPatch_2023-02-21.unitypackage
Re: Celtx - Actor Fields
Hi,
The patch throws a compiler error--
Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\Editor\Tools\Importers\Celtx3\CeltxConverterWindow.cs(299,40): error CS1501: No overload for method 'ProcessCeltxGem3DataObject' takes 6 arguments
The patch throws a compiler error--
Assets\Plugins\Pixel Crushers\Dialogue System\Scripts\Editor\Tools\Importers\Celtx3\CeltxConverterWindow.cs(299,40): error CS1501: No overload for method 'ProcessCeltxGem3DataObject' takes 6 arguments
Re: Celtx - Actor Fields
Here's a more complete set of files in case some of your Celtx importer files were from older versions:
DS_CeltxPatch_2023-02-22.unitypackage
DS_CeltxPatch_2023-02-22.unitypackage
Re: Celtx - Actor Fields
I updated to the most recent version & imported the 1st patch you provided, but I cannot get the sprites to attach.
The image is named the same as the character, including case and spacing.
Thoughts?
The image is named the same as the character, including case and spacing.
Thoughts?
Re: Celtx - Actor Fields
Hi,
Does it match the name of the character in Celtx? For example, these are some sample characters in Celtx:
Here are the corresponding images in a Unity project:
Technically capitalization doesn't matter but extra characters (such as spaces) and punctuation must be exact.
Does it match the name of the character in Celtx? For example, these are some sample characters in Celtx:
Here are the corresponding images in a Unity project:
Technically capitalization doesn't matter but extra characters (such as spaces) and punctuation must be exact.
Re: Celtx - Actor Fields
Also, are you importing Celtx GVR2 or Celtx Gem (GVR3)?
Re: Celtx - Actor Fields
The portrait names are identical to the names of the characters in Celtx. I am using Celtx Gem/GVR3.
I also tried making a fresh project and script, but the result was the same-- no portraits were attached.
I also tried making a fresh project and script, but the result was the same-- no portraits were attached.
Re: Celtx - Actor Fields
Are there any errors or warnings in the Console window?
Would it be possible for you to email your Celtx JSON export to tony (at) pixelcrushers.com? If you can't send your original Celtx project, you could make a test project that exhibits the same behavior.
Would it be possible for you to email your Celtx JSON export to tony (at) pixelcrushers.com? If you can't send your original Celtx project, you could make a test project that exhibits the same behavior.
Re: Celtx - Actor Fields
Hi Tony,
I realized I did not properly set the portraits Texture Type, which is what seems to have caused the errors. Fixing that allowed the sprites to import correctly. Apologies on that.
I do have a follow up question, which is if it is possible to attach more than 1 sprite per actor in this way?
Thanks again
I realized I did not properly set the portraits Texture Type, which is what seems to have caused the errors. Fixing that allowed the sprites to import correctly. Apologies on that.
I do have a follow up question, which is if it is possible to attach more than 1 sprite per actor in this way?
Thanks again