Jump to content

[Help] Alternate Walking Cane


Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

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
Share on other sites

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
Share on other sites

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.

×
  • Create New...