Jump to content

Help with perks


Recommended Posts

You want permanent increase speed or you want something else ?

 

If you want permanent increase speed, just change this line i think

 


-- When the character is revived from human
local function onbecamehuman(inst)
	-- Set speed when reviving from ghost (optional)
	inst.components.locomotor:SetExternalSpeedMultiplier(inst, "yourcharacter_speed_mod", 1)
end

 

 

Edited by Lumina
Link to comment
Share on other sites

4 minutes ago, Lumina said:

You want permanent increase speed or you want something else ?

 

If you want permanent increase speed, just change this line i think

 


-- When the character is revived from human
local function onbecamehuman(inst)
	-- Set speed when reviving from ghost (optional)
	inst.components.locomotor:SetExternalSpeedMultiplier(inst, "yourcharacter_speed_mod", 1)
end

 

 

Permanent, you know how to make no damage from fire and warm?

Link to comment
Share on other sites

I would have answered if yes. I know willow have a kind of fire immunity but don't know how it works exactly. Warm immunity is possible but i don't know what to change exactly either, so i hope someone else will be able to help with theses things.

Link to comment
Share on other sites

I think putting these in YOURCHARACTER.lua inside the master_postinit will make your character not overheat or take fire damage, maybe!

Spoiler

inst.components.health.fire_damage_scale = 0
inst.components.health.fire_timestart = 999
inst.components.temperature.inherentsummerinsulation = 999

 

 

Edited by SuperDavid
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...