Rosten Posted March 16, 2014 Share Posted March 16, 2014 So, a little while back i made this suggestion thread about willow's pyromania, it includes some of the details so i'll just discuss here what i'd actually like to do - http://forums.kleientertainment.com/topic/33020-willows-pyromania/ Number 1, I'd like to create an invisible meter, similar to woodies beaver-meter, in which, once a certain action is performed, said meter rises,Number 2, occasionally, (not after an action is completed like woodies) the character would make a remark that would differ depending on the fullness of the meterNumber 3, Have negative effects when the meter is low, and positive ones when its highNumber 4, Take out a certain action that the character performs (Willow's lighting fires when she's insane) and transfer it over as a negative effect, I'm currently studying woodies code for an idea on how to do this, any help would be appreciated though, (partially im not sure of what files i should put where) Link to comment https://forums.kleientertainment.com/forums/topic/33032-mod-helpwip-willows-pyromania/ Share on other sites More sharing options...
Rosten Posted March 16, 2014 Author Share Posted March 16, 2014 (edited) This looks as if to be the code in which, upon chopping, adds a value to the beaverness ----local function onworked(inst, data)if not inst.components.beaverness:IsBeaver() and data.target and data.target.components.workable and data.target.components.workable.action == ACTIONS.CHOP theninst.components.beaverness:DoDelta(3)--local dist = easing.linear(inst.components.beaverness:GetPercent(), 0, .1, 1)--TheCamera:Shake("SIDE", .15, .05, dist*.66)--else--TheCamera:Shake("SIDE", .15, .05, .1)endendSo then, change it to something like this -local function onworked(inst, data)if not inst.components.pyromania:IsWillow() and data.target and data.target.components.workable and data.target.components.workable.action == ACTIONS.LIGHT theninst.components.pyromania:DoDelta(X)--local dist = easing.linear(inst.components.pyromania:GetPercent(), 0, .1, 1)endendAlsoinst:AddComponent("pyromania") Edited March 16, 2014 by Blazingice26 Link to comment https://forums.kleientertainment.com/forums/topic/33032-mod-helpwip-willows-pyromania/#findComment-432713 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