Lewanuva10 Posted July 30, 2015 Share Posted July 30, 2015 Would it be possible to create a new variation of the Walking Cane for my mod's new character to start with? I want to change the amount that the original cane speeds you up for my custom cane. How would I execute this? Link to comment https://forums.kleientertainment.com/forums/topic/56607-help-alternate-walking-cane/ Share on other sites More sharing options...
Mobbstar Posted July 30, 2015 Share Posted July 30, 2015 You could copy the walking canes file (cane.lua) and change the one value that says speed multiplier. Then you'd have to replace every instance of "cane" with a different name, including the file name. Lastly, add the new file name to modmain.lua as seen in other mods. Link to comment https://forums.kleientertainment.com/forums/topic/56607-help-alternate-walking-cane/#findComment-658241 Share on other sites More sharing options...
Lewanuva10 Posted July 30, 2015 Author Share Posted July 30, 2015 You could copy the walking canes file (cane.lua) and change the one value that says speed multiplier. Then you'd have to replace every instance of "cane" with a different name, including the file name. Lastly, add the new file name to modmain.lua as seen in other mods. Even though I already knew most of this, thank anyways. The problem that I'm having is changing TUNING.CANE_SPEED_MULT's value. How do I do this..? I tried looking for some number that told how much to multiply the speed, but, as far as I know, there is none. Link to comment https://forums.kleientertainment.com/forums/topic/56607-help-alternate-walking-cane/#findComment-658270 Share on other sites More sharing options...
Mobbstar Posted July 30, 2015 Share Posted July 30, 2015 No... what does the line say? inst.components.blablablawhocaresblabla = TUNING.SOMETHING means that if you replace the tuning part with a different number (or increase it by multiplication, for example) you can customise the benefit. inst.blablablaaahblah = 25 inst.blablablaaahblah = TUNING.SOMETHING * 1.5 Link to comment https://forums.kleientertainment.com/forums/topic/56607-help-alternate-walking-cane/#findComment-658311 Share on other sites More sharing options...
Lewanuva10 Posted August 1, 2015 Author Share Posted August 1, 2015 No... what does the line say? inst.components.blablablawhocaresblabla = TUNING.SOMETHING means that if you replace the tuning part with a different number (or increase it by multiplication, for example) you can customise the benefit. inst.blablablaaahblah = 25 inst.blablablaaahblah = TUNING.SOMETHING * 1.5 Oh.... thanks so much. I didn't know I could straight up change the amount. Thanks a lot! Link to comment https://forums.kleientertainment.com/forums/topic/56607-help-alternate-walking-cane/#findComment-659297 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