Jump to content

DST - Help with Full Beard at start


Recommended Posts

I'm new here, so I apologize if there's already a thread about this that I missed.

 

So what my problem is that I'm making a Gandalf character mod, and he needs a full grown beard. I've tried using Wilsons beard code and change it but it never seems to appear or it crashes the game.

Can someone be so kind and help? :wilson_bearded:

Link to comment
Share on other sites

make sure beard.zip (or the beard you are using) is in the assets!

 

want it shaveable?

    inst:AddComponent("beard")
    inst.components.beard.onreset = OnResetBeard
    inst.components.beard.prize = "beardhair"
    inst.components.beard:AddCallback(BEARD_DAYS[1], OnGrowShortBeard)
    inst.components.beard:AddCallback(BEARD_DAYS[2], OnGrowMediumBeard)
    inst.components.beard:AddCallback(BEARD_DAYS[3], OnGrowLongBeard)
    OnGrowLongBeard()
    --this proooobably won't work and might make him grow a beard everytime you start up the server
 
don't want it shaveable?
inst.AnimState:OverrideSymbol("beard", "beard", "beard_long") --this is all you need!
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...