Change hand tool range without overriding hand tool
-
- Member
- Posts: 159
- Joined: Mon Feb 18, 2019 02:53
- GitHub: LandonAConway
Change hand tool range without overriding hand tool
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
- 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.
You modify the "hand tool" in tools.lua. It should be at the top.
-
- Member
- Posts: 159
- Joined: Mon Feb 18, 2019 02:53
- GitHub: LandonAConway
Re: Change maximum placing and digging distance.
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.The32bitguy wrote: ↑Mon Jul 06, 2020 08:11You modify the "hand tool" in tools.lua. It should be at the top.
cdb_ac3a146dcafb
- sirrobzeroone
- Member
- Posts: 593
- Joined: Mon Jul 16, 2018 07:56
- GitHub: sirrobzeroone
- Contact:
Re: Change hand tool range without overriding hand tool
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?
Who is online
Users browsing this forum: No registered users and 8 guests