Jump to content

Recommended Posts

-- You're insane, make stuff happen.
    inst:ListenForEvent("goinsane", function(inst, data)
    inst.AnimState:SetBuild("insane_pandelle") -- Make sure you have texture files for the Insane version of your character

    inst.components.combat.damagemultiplier = 100
    inst.components.sanity.night_drain_mult = 0
    inst.components.sanity.neg_aura_mult = 0 

    inst.components.locomotor.runspeed = 100 * TUNING.WILSON_RUN_SPEED
    end)
    
    -- You're sane, make your stuff stop.
    inst:ListenForEvent("gosane", function(inst, data)
    inst.AnimState:SetBuild("pandelle")

    inst.components.combat.damagemultiplier = 1
    inst.components.sanity.night_drain_mult = 1
    inst.components.sanity.neg_aura_mult = 1

    inst.components.locomotor.runspeed = 1 * TUNING.WILSON_RUN_SPEED
    end)

Put this in your "local master_postinit"   Don't forget to add    your asset ANIM( Your texture file name ) file in  "local assets"  "Asset( "ANIM", "anim/PANDELLE.zip" ),"

All this stuff goes in your character's Prefab file, this isn't a REAL form like Woodie's Beaver form it just changes the textures and change stats kind of form, it works for me I hope it works for you :grin:!

On 2016-03-04 at 8:22 PM, SuperDavid said:

-- You're insane, make stuff happen.
    inst:ListenForEvent("goinsane", function(inst, data)
    inst.AnimState:SetBuild("insane_pandelle") -- Make sure you have texture files for the Insane version of your character

    inst.components.combat.damagemultiplier = 100
    inst.components.sanity.night_drain_mult = 0
    inst.components.sanity.neg_aura_mult = 0 

    inst.components.locomotor.runspeed = 100 * TUNING.WILSON_RUN_SPEED
    end)
    
    -- You're sane, make your stuff stop.
    inst:ListenForEvent("gosane", function(inst, data)
    inst.AnimState:SetBuild("pandelle")

    inst.components.combat.damagemultiplier = 1
    inst.components.sanity.night_drain_mult = 1
    inst.components.sanity.neg_aura_mult = 1

    inst.components.locomotor.runspeed = 1 * TUNING.WILSON_RUN_SPEED
    end)

Put this in your "local master_postinit"   Don't forget to add    your asset ANIM( Your texture file name ) file in  "local assets"  "Asset( "ANIM", "anim/PANDELLE.zip" ),"

All this stuff goes in your character's Prefab file, this isn't a REAL form like Woodie's Beaver form it just changes the textures and change stats kind of form, it works for me I hope it works for you :grin:!

thanks so much!

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
×
  • Create New...