Help! Changing skin color

Hello !

I have a character that has several outfits. And for a particular outfit, I want a different skin color. I’ve changed the skin color of the character (in the outfit I want) several times but it still isn’t working.

Am I doing something wrong or…?

Thank you so much for your time.

1 Like

You can’t do that. You’d have to make a new character, use the code:
@NEWCHAR becomes GIRL
And then use the code to change the skin colour and the outfit.

1 Like

Thank you, at least I now know I can’t do that… I must have tried like 5 times :joy: I thought I was crazy.
I am not familiar with those codes… Where would I put it?

Thank you so much :relaxed:

1 Like

It’ll be complicated because if you choose that outfit with a different skin tone, have a separate code for it altogether. If you’re newer to coding this can make things more confusing than they already get.

What I’d do is, when doing an outfit choice game is:

“Wear this outfit”{
gain skinoutfit
@NEWCHAR becomes GIRL
@NEWCHAR changes skinColor to (color)
@NEWCHAR changes into OUTFIT (this is the outfit you made specifically for this skin tone)
}
From then on, you’d need to use the if/else branch every time the character is on screen.

if (skinoutfit){
@NEWCHAR enters from screen left
NEWCHAR
Hi, this is me!
} else {
@GIRL enters from screen left
GIRL
Hi, this is me!
}

Let me know if you get an error, I’m doing this from memory so I could’ve made a typo.

1 Like

OMG this seems absolutely terrifying! I started a story a while ago but never ended it. Now I’m improving it and rewriting on Limelight version so my coding is a bit rusty, especially since a few things have changed.
Thank you so much though!

I love the episode community, everyone is always so nice and helpful! :blush:

1 Like

Of course, glad to help! In the future, you can get help by going to Creator’s Corner > Directing Help & Tips since this is just a casual chat. More people are there to help with coding.

1 Like

Thank you so much! I used the forum for the first time 2 days ago so I’m still a bit lost here and I appreciate all the help :slight_smile:
Once again, thank you :slight_smile:

1 Like

or she could just change the skin color and then change it back after. in the script, and drop the entire secondary charatere part

But that would require knowing what skin colour was originally picked in CC. As far as I know, there’s no command to reverse the skin colour change.

Update: I did some researching, and I’m correct. There’s no memorization in CC, so any changes that are made to be reversed should be done through the gains system.

well OP didn’t mention the charatere is CC did she.

I assume that most people who are programming are using CC, If not, then yes, your method would work, but I assumed it was a CC story because almost all are.

but who says that charatere is CC, I have a charatere I change hair on all the time its not a cc charatere.

You are welcome to post the code for non-CC characters, then.

this is it, and then when you need to change it back its the same code name of the other skin color

Thank you both, I ended up creating a new character and then I changed the skin tone the one I wanted.
It’s really okay, no need to be upset. :slight_smile:
Thank you :slight_smile:

Moved to Directing Helps and Tips since this is about coding. Make sure to check out our Forum Tutorial for more info about creating topics, and feel free to PM me if you’ve got questions. :smiley:

1 Like

Thank you so much, there are some things I still don’t know about the forum.
I will, I’m sure I will need future advice or explanation :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.