julz1981 Posted June 17, 2014 Share Posted June 17, 2014 Question in topic!I'd love to have the pick/axe be usable as a hammer, is it possible? Link to comment https://forums.kleientertainment.com/forums/topic/37545-adding-hammer-use-to-the-multitool-pickaxe-possible/ Share on other sites More sharing options...
Mobbstar Posted June 17, 2014 Share Posted June 17, 2014 (edited) I already made a mutlitool that also functions as shovel, so I'd asume it's possible. I used the following lines:--We want it to allow use as a shovel:inst.components.tool:SetAction(ACTIONS.DIG, 1.25) --[...]--This is just the durability going down with each use:inst.components.finiteuses:SetConsumption(ACTIONS.DIG, 2) Edited June 17, 2014 by Mobbstar Link to comment https://forums.kleientertainment.com/forums/topic/37545-adding-hammer-use-to-the-multitool-pickaxe-possible/#findComment-501350 Share on other sites More sharing options...
julz1981 Posted June 18, 2014 Author Share Posted June 18, 2014 (edited) I already made a mutlitool that also functions as shovel, so I'd asume it's possible. I used the following lines:--We want it to allow use as a shovel:inst.components.tool:SetAction(ACTIONS.DIG, 1.25) --[...]--This is just the durability going down with each use:inst.components.finiteuses:SetConsumption(ACTIONS.DIG, 2)thanks, so i guess changing shovel for hammer would work? i suck at modding! --We want it to allow use as a hammer:inst.components.tool:SetAction(ACTIONS.HAMMER)--[...]--This is just the durability going down with each use:inst.components.finiteuses:SetConsumption(ACTIONS.HAMMER, 1) something like that? edit: well...there are no multitools.cfg in the files!? Edited June 18, 2014 by julz1981 Link to comment https://forums.kleientertainment.com/forums/topic/37545-adding-hammer-use-to-the-multitool-pickaxe-possible/#findComment-501672 Share on other sites More sharing options...
Mobbstar Posted June 18, 2014 Share Posted June 18, 2014 I used the normal multitool and slapped new texture, strings, and said lines on it. That's all I did, I don't know what multitools.cfg is supposed to be. Link to comment https://forums.kleientertainment.com/forums/topic/37545-adding-hammer-use-to-the-multitool-pickaxe-possible/#findComment-501784 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