Jump to content

Recommended Posts

Hey there!

I suffer from a tiny bit of headache about adding skins to my custom survivor. He has multiple forms, like Wolfgang has with his mighty and non-mighty forms.

My guy has a perk, that changes his look based on his current sanity level. It looks like this:

Spoiler

 

-- Tentacle function
local function changemymind(inst)
local sanity = inst.components.sanity.current

if inst:HasTag("playerghost") then return end
if inst.components.health:IsDead() then return end

    -- stage I
    if sanity <= 33 then
        inst.AnimState:SetBuild("wolemormnumber3")
    end
    
    -- stage II
    if sanity >= 34 and sanity <= 66 then
        inst.AnimState:SetBuild("wolemormnumber2")        
    end
    
    -- stage III
    if sanity >= 67 then
        inst.AnimState:SetBuild("wolemormnumber1")        
    end
end

 

 -- Event listeners

inst:ListenForEvent("sanitydelta", changemymind)

Said builds are located in my mod's exported folder:

Spoiler

image.png.1704ed95eee6f2239fa3f9fcf03dc5d2.png 

I've followed the skin tutorial of the great Hornet with my previous characters ([Tutorial] Making Custom Skins for Modded Characters! - Tutorials and Guides - Klei Entertainment Forums).

My question is: How should I arrange my folders and files so I can add skins to this survivor?

Thanks in advance guys!

Have a great day!

Edited by C_Thun

@TheSkylarr I feel a bit underinformed about API stuff. Where can I find said read?

Update: Situation solved. I've got private help from the author of the skin tutorial.

Thanks again!

Edited by C_Thun
5 minutes ago, C_Thun said:

@TheSkylarr I feel a bit underinformed about API stuff. Where can I find said read?

I was actually mistaken, the things I was talking about are part of the guide you linked on your post before.

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