Jump to content

LF a little character mod help


cammo8

Recommended Posts

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
Share on other sites

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
Share on other sites

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