Jump to content

Recommended Posts

Hi, so I already made a makeup ítem that buffs my custom character specifically but I want it too to swap my no makeup face that is the base of her so when se is cleaned faced she starts to lose continuously sanity until she puts her makeup back, the buffs should just last 180 seconds but the makeup face should last 2 days until she has to touch up her make up cause if not it’s gonna turn cleaned and she starts losing her sanity again. Any idea on how to swap it?

Link to comment
https://forums.kleientertainment.com/forums/topic/168386-how-to-swap-faces/
Share on other sites

Hi! I know its a really late response but I wanted to suggest a way of doing it.

In one of my mods, I have a character that can shapeshift to take on other character's faces/heads/hair/etc. You could use something like this?

    inst.AnimState:OverrideSymbol("cheeks", "NAMEHERE","cheeks")
    inst.AnimState:OverrideSymbol("face", "NAMEHERE","face")
    inst.AnimState:OverrideSymbol("headbase", "NAMEHERE","headbase")
    inst.AnimState:OverrideSymbol("headbase_hat", "NAMEHERE","headbase_hat")

This basically replaces the current face and head with whatever character you name in it. I used this to change my character from one character's appearance to someone else.
You could basically just make like, a second character with the no makeup face, and put this code into whatever checks for your makeup wearing off, and just change faces to the other character. By replacing NAMEHERE with the nomakeup one, then when she puts makeup on, replace it with the name of the makeup version.

Its probably not the most efficient way, and you'd have to figure out how to make the second character not selectable or something.

 

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...