orlyx Posted January 13, 2018 Share Posted January 13, 2018 Hey this again me! Now i have problem with no spawning ghost textures in Dont starve T mod - I add transformation to my character and now when he die Ghost dont spawn My Mod: Basara DST.rar Link to comment https://forums.kleientertainment.com/forums/topic/86389-no-ghost-in-game/ Share on other sites More sharing options...
K1NGT1GER609 Posted January 23, 2018 Share Posted January 23, 2018 Mate... not sure if you read the reply before but don't starve and don't starve together are different coding wise. For your ghost problem your coding in the basara lua is incorrect. It'd be better if you used: local function sanitychange(inst) if (inst.components.sanity:GetPercent() > .4) then inst.AnimState:SetBuild("basara") --STRINGS.CHARACTERS.basara = require "speech_basara" --this is redundant if its already stated in the modmain, unless you plan to change the speech file... else inst.AnimState:SetBuild("vbasara") inst.components.combat.damagemultiplier = 1.75 end end inst:ListenForEvent("sanitydelta", sanitychange) --goes into the master_postinit Link to comment https://forums.kleientertainment.com/forums/topic/86389-no-ghost-in-game/#findComment-995009 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now