cammo8 Posted January 15, 2016 Share Posted January 15, 2016 hey all, I recently started trying my hand at this mod stuff. I've got my first character down with the very basics. I am now trying to do some fiddling around with traits for this new character. I've got it so hes got more insulation for winter since hes Canadian already. I want to make it so that if he is around other players his damage and sanity increase and both go down if hes alone. Any help would be much appreciated. Link to comment https://forums.kleientertainment.com/forums/topic/62540-lf-a-little-character-mod-help/ Share on other sites More sharing options...
cammo8 Posted January 18, 2016 Author Share Posted January 18, 2016 welp, i've broke my mod about 6 different ways trying to get this working lol I've reverted to an older copy that worked so all good. would really like to get these proximity if statements working. Any insight would be awesome. Link to comment https://forums.kleientertainment.com/forums/topic/62540-lf-a-little-character-mod-help/#findComment-711016 Share on other sites More sharing options...
MF99K Posted February 9, 2016 Share Posted February 9, 2016 for insulation put this code under masterpostinit inst.components.temperature.inherentinsulation = # replace the # with whatever number you want. the multiple player effect is a lot more complicated, but it's going to involve a playerprox component or an event listener ("playerjoined/left") I know some prefabs have player-based listener effects but I don't remember which ones Link to comment https://forums.kleientertainment.com/forums/topic/62540-lf-a-little-character-mod-help/#findComment-719869 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