• Editor
  • Skin PlaceHolder Name different to attachment from Photoshop

HOLA!
Basically I'm looking for a [skinplaceholder: CustomName] functionality when going from photoshop to spine.

So that I have have attachemnets that have different names to the skinplaceholders that they're attached to.

Is there anyway of doing this ?

Related Discussions
...

¡HOLA!

Yes, you can achieve this by organizing your Photoshop layers and using specific naming conventions. When exporting from Photoshop to Spine, you can use the [skin] tag to define the skin name and the layer name for the attachment. However, the skin placeholder name is typically derived from the layer name. To have different names for the skin placeholder and the attachment, you can manually adjust the names in Spine after importing.

For example, you can use a naming convention like [skin:CustomSkin] CustomAttachment in Photoshop. After importing into Spine, you can rename the skin placeholder to your desired name, such as CustomName, while keeping the attachment name as CustomAttachment.

This approach allows you to have different names for skin placeholders and attachments, but it requires some manual adjustments in Spine after the import.

Misaki yup yup i've had a squiz at that 😃
I was looking to see if anyone had added the functionality of allowing for a different skin placeholder name using the photoshop tags.

thanks for your help!

Just in case anyone else needs this functionality!
I successfully added .... (and by "I" i mean I got Openai's 01-preview model to help me)
add the tag [skinPH] to the photoshop to spine script.

So you can have skin placeholder names that are different to attachment names!
example:
[skinPH: customAttachmentName]

photoshoptospine-withskinplaceholdercustom.txt
57kB
  • Davide ответили на это сообщение.

    ArtizensAnimator

    When we made the import PSD feature, we discussed internally about the possibility of introducing a tag dedicated to placeholders. Right now the rule is:

    Placeholder: values of the [folder] tags from the hierarchy + the layer name.

    The tag should have just replaced <layer name> with the value of the tag.

    After some internal discussions, we did not add it because in most of the cases users wants the attachments and the placeholders to be coherent. Moreover, using this tag is a symptom of not ideal attachment naming.

    For example, in your use case, the attachments have the Eyes_01_ information that might be considered redundant since they already belong to the Eyes_01 skin. If you remove the Eyes_01_ from your attachments, the placeholder will already have the desired name.

    May I ask you why you added the skin name to the attachments? Maybe there's something in your use cases that we are not able to see.

    месяц спустя

    Thanks for the reply 😃

    We were building a character with many different skins, and needed to encode some trait names into the attachments themselves, but still needed the Skin Placeholders to have the same name among multiple differing named attachments.

    I've been using the script above and it's been working a treat 😃