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.

ddc_cl

Fire resistance

5 posts in this topic

Hello i am making a Custom Character, using as base the ETC Template, and need to know how add Fire resistance like willow, no imunity just ressintance

Share this post


Link to post
Share on other sites

inst.components.health.fire_damage_scale = x

where x is the multiplier.

So 0 will make you immune, 1 will be normal, 0.5 will give you 50% resistance.

2 people like this

Share this post


Link to post
Share on other sites
15 hours ago, DarkKingBoo said:

inst.components.health.fire_damage_scale = x

where x is the multiplier.

So 0 will make you immune, 1 will be normal, 0.5 will give you 50% resistance.

ebc8d29af920ca58a7c527f4f7c7e9f4.gif :V

TY but an ask this work for avoid overheating when close to a fire, or that use another Code 

Share this post


Link to post
Share on other sites

I don't think theres an easy way to make it immune to only fire, but you can use this to be completely immune to overheating:

inst.components.temperature.maxtemp = 60 

Share this post


Link to post
Share on other sites