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 Share on other sites More sharing options...
Mobbstar Posted June 17, 2014 Share Posted June 17, 2014 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) Link to comment Share on other sites More sharing options...
julz1981 Posted June 18, 2014 Author Share Posted June 18, 2014 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!? Link to comment 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 Share on other sites More sharing options...
Recommended Posts
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.