Change hand tool range without overriding hand tool

Post Reply
LC Creations
Member
Posts: 159
Joined: Mon Feb 18, 2019 02:53
GitHub: LandonAConway

Change hand tool range without overriding hand tool

by LC Creations » Post

I want to make a player able to kill, dig, and place further away. I have a mod that makes player bigger or smaller and I need to modify this default behavior then change it back when their set to normal size.
Last edited by LC Creations on Tue Jul 07, 2020 00:42, edited 1 time in total.
cdb_ac3a146dcafb

User avatar
The32bitguy
Member
Posts: 42
Joined: Sun Mar 29, 2020 00:36
GitHub: The32bitguy
In-game: TaxCollector
Location: Australia

Re: Change maximum placing and digging distance.

by The32bitguy » Post

You modify the "hand tool" in tools.lua. It should be at the top.

LC Creations
Member
Posts: 159
Joined: Mon Feb 18, 2019 02:53
GitHub: LandonAConway

Re: Change maximum placing and digging distance.

by LC Creations » Post

The32bitguy wrote:
Mon Jul 06, 2020 08:11
You modify the "hand tool" in tools.lua. It should be at the top.
No... thats not how its done. You have to edit the range in init.lua of the creative mod where it overrides the hand tool... but with what I want to do, I do not want to override the hand tool. I just want to change the range.
cdb_ac3a146dcafb

User avatar
sirrobzeroone
Member
Posts: 593
Joined: Mon Jul 16, 2018 07:56
GitHub: sirrobzeroone
Contact:

Re: Change hand tool range without overriding hand tool

by sirrobzeroone » Post

could you register two new hands - "big hand" and "small hand" with adjusted reaches then when the player grows shrinks change there hand to the required hand for that size?

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests