PotterMatrixFan Posted March 6, 2015 Share Posted March 6, 2015 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? Link to comment Share on other sites More sharing options...
Fidooop Posted March 6, 2015 Share Posted March 6, 2015 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 More sharing options...
PotterMatrixFan Posted March 6, 2015 Author Share Posted March 6, 2015 Sorry, but it didn't work. Any ideas? Link to comment Share on other sites More sharing options...
Fidooop Posted March 6, 2015 Share Posted March 6, 2015 not really... I havn't gotten Santiplier working with Together yet! I will let you know as soon as I do though... Link to comment Share on other sites More sharing options...
PotterMatrixFan Posted March 7, 2015 Author Share Posted March 7, 2015 Okay. Link to comment Share on other sites More sharing options...
Corrosive Posted March 7, 2015 Share Posted March 7, 2015 You'd be better served asking in the DST mod forum. Link to comment Share on other sites More sharing options...
Finerlobster Posted March 7, 2015 Share Posted March 7, 2015 local assets = {Asset("ANIM", "anim/beard.zip")}local prefabs = {"beardhair"} inst:AddComponent("beard")inst.components.beard.prize = "beardhair"inst.AnimState:OverrideSymbol("beard", "beard", "beard_long") Link to comment Share on other sites More sharing options...
Recommended Posts
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.