Recommended maximum tool range?

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Recommended maximum tool range?

by Wuzzy » Sun Jul 24, 2016 17:04

What's the recommendation for the maximum range of tools and other items?
The range determines how far you can use the tool to punch, dig, etc.
I noticed if you use very large values for range, Minetest slows down significantly while you wield the item. So I wonder if there is some guideline I could use. For this, I need answers from other people as my own machine alone does not tell me much about other people's machines. ;-)

On my machine (Laptop: Dell Inspiron 15) a range of 10 is still relatively safe (60 FPS), Minetest becomes notably slower at a range of 50 (35-40 FPS) and pretty much unplayable at a range of 200 (5-10 FPS).

I'd also like to hear input from the Minetest developers.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Recommended maximum tool range?

by rubenwardy » Sun Jul 24, 2016 18:25

There's are currently two pull requests pending that both implement a similar optimisation. When they are merged, you'll be able to set the range to hundreds with no problems.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Recommended maximum tool range?

by azekill_DIABLO » Tue Jul 26, 2016 09:45

yeah! a giant star fury that kills everyone in the line to 40000 meters!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Recommended maximum tool range?

by Krock » Tue Jul 26, 2016 10:00

As rubenwardy already mentioned, these pulls try to reach the same thing. To make it more efficient.
There's a huge difference in the CPU load with and without the pull, can be seen here. That's also the reason why I compile that commit into my Win32 builds until one of these two pulls gets merged into the Minetest core.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
ErrorNull
Member
 
Posts: 94
Joined: Thu Mar 03, 2016 00:43

Re: Recommended maximum tool range?

by ErrorNull » Sun Nov 13, 2016 08:00

is it possible to i change the current tool range for tools and even for an empty hand punch to be shorter range? Is that possible?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Recommended maximum tool range?

by kaeza » Sun Nov 13, 2016 12:22

ErrorNull wrote:is it possible to i change the current tool range for tools and even for an empty hand punch to be shorter range? Is that possible?

See how e.g. creative does it.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
ErrorNull
Member
 
Posts: 94
Joined: Thu Mar 03, 2016 00:43

Re: Recommended maximum tool range?

by ErrorNull » Sun Nov 13, 2016 13:45

awesome! thanks kaeza.
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 52 guests

cron