Jump to content

How to add my own skin color?


Diplodocus

Recommended Posts

Hello!

I want to create mod that will add new skin colors in "Create character" tab, but can't find what method from SurvivorDesc class I should use.

It is quite understandable with adding new hair or trouser colors:
 

BaseGameCharacterDetails.DoHairColorNew = function()
    SurvivorDesc.addHairColor(ColorInfo.new(0.60000000000000000,0.33000000000000000,0.66000000000000000, 1))
    SurvivorDesc.addTrouserColor(ColorInfo.new(0.60000000000000000,0.33000000000000000,0.66000000000000000, 1)) 

end



Events.OnGameBoot.Add(BaseGameCharacterDetails.DoHairColorNew);



But how can I add my own skin body colors? Please, help.

Thank you in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...