Page 1 of 3

[MOD 0.15.12+] Long Reach Research 0.4.1 - initial bonuses

Posted: Fri Oct 21, 2016 9:47 am
by Mooncat
Type: Mod
Name: Long Reach Research
Description: Adds technologies for increasing operation, build, item drop, item pickup, loot pickup, and mine distances.
License: GNU LGPLv3
Version: Long Reach Research 0.4.1
Release: 2017-07-19
Tested-With-Factorio-Version: 0.15.30
Category: (Manufacture, Utility)
Tags: long reach, technology, character, mining, pickup, loot
Download-Url:https://mods.factorio.com/mods/Mooncat/ ... h-research
Website: viewtopic.php?f=97&t=34909
License
Long description
How to uninstall
Version history
Known issues

Re: [MOD 0.14+] Long Reach Research 0.1.1

Posted: Tue Dec 06, 2016 4:35 am
by Tyrindor
When using a mod like DoubleReach or LongReach, you can set different distances for placing a building/belt versus mining and cutting down trees. Mining and cutting down trees from 400% away seems out of place. An option to keep those default would be nice. In the mean time, I just deleted the mining distance bonus line in control.lua and that seemed to do it.

Re: [MOD 0.14+] Long Reach Research 0.1.1

Posted: Tue Dec 06, 2016 6:22 am
by Mooncat
Tyrindor wrote:When using a mod like DoubleReach or LongReach, you can set different distances for placing a building/belt versus mining and cutting down trees. Mining and cutting down trees from 400% away seems out of place. An option to keep those default would be nice. In the mean time, I just deleted the mining distance bonus line in control.lua and that seemed to do it.
The inserter on your back can take your drill and mine ore for you. :lol:
I will add an option for this anyway. Thanks for the suggestion. ;)

Re: [MOD 0.14+] Long Reach Research 0.1.2

Posted: Wed Dec 07, 2016 2:01 pm
by Mooncat
Released v0.1.2. Added config.lua with the following options:
apply_to_mining_distance (default = true)
apply_to_item_drop_distance (default = true)
apply_to_item_pickup_distance (default = false)
apply_to_loot_pickup_distance (default = false)

Also, it turns out I was using the wrong base value for mining distance. It has been fixed.

And reduced the overall file size (from 76KB to 28KB) by compressing the images. :D

Re: [MOD 0.14+] Long Reach Research 0.1.2

Posted: Wed Dec 07, 2016 4:11 pm
by Tyrindor
Mooncat wrote:Released v0.1.2. Added config.lua with the following options:
apply_to_mining_distance (default = true)
apply_to_item_drop_distance (default = true)
apply_to_item_pickup_distance (default = false)
apply_to_loot_pickup_distance (default = false)

Also, it turns out I was using the wrong base value for mining distance. It has been fixed.

And reduced the overall file size (from 76KB to 28KB) by compressing the images. :D
Thanks.

Re: [MOD 0.14+] Long Reach Research & More

Posted: Mon Dec 19, 2016 6:08 pm
by Mooncat
Just released v0.2.0 of Long Reach Research. :D

A big overhaul on the mod. Its functionalities are separated into different follow-up mods. No more config.lua is needed. Just choose the mods according to what you want. :lol:
See the updated OP for details.

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sun Jan 15, 2017 10:06 am
by Mooncat
Just knew there is the "upgrade" attribute for technologies that can group the technologies into categories, such that only one level is shown at a time.
Therefore, released a small patch for this. :P
Result

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Wed Feb 01, 2017 1:36 am
by Chibi_Senpai
One prob I got was when I uninstalled, when I push Z to pickup items, the range is still really big and its pretty annoying, help!

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sun Feb 05, 2017 6:49 am
by Mooncat
Chibi_Senpai wrote:One prob I got was when I uninstalled, when I push Z to pickup items, the range is still really big and its pretty annoying, help!
If using command is an option, please type these:

Code: Select all

/c game.player.force.character_build_distance_bonus = 0
/c game.player.force.character_item_drop_distance_bonus = 0
/c game.player.force.character_reach_distance_bonus = 0
/c game.player.force.character_resource_reach_distance_bonus = 0
/c game.player.force.character_item_pickup_distance_bonus = 0
/c game.player.force.character_loot_pickup_distance_bonus = 0
All distance bonuses will be reset.

I will also make a mod to reset them without command.

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sun Feb 05, 2017 6:04 pm
by Miravlix
I can kinda train myself to a certain reach distance, but variable distance...

Doesn't the game has support for showing a range circle? (turrets?)

For loot/pickup holding shift+f could draw circles for those two (hopefully when both is active, it would resulted in the overlap blending the two circle.

I think Long Build/Mine would work best with a on/off button for showing reach, like alt changes certain things.

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sun Feb 05, 2017 6:22 pm
by Xeanoa
Range circles would be really neat :D

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Tue Feb 07, 2017 12:50 pm
by Mooncat
Miravlix wrote:I can kinda train myself to a certain reach distance, but variable distance...

Doesn't the game has support for showing a range circle? (turrets?)

For loot/pickup holding shift+f could draw circles for those two (hopefully when both is active, it would resulted in the overlap blending the two circle.

I think Long Build/Mine would work best with a on/off button for showing reach, like alt changes certain things.
It is a good idea! Unfortunately, I don't think it is possible with the current API. The circular range indicator is only supported on turrets, and it is done internally. There is simply no API for us to show turret range without having the actual turret item or entity. I will investigate on the possibility, but it won't be in 0.14.

Edit: I forgot the capsules. They also have circular range indicator. But it still requires you to have the item on your cursor. So it is not feasible.

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sat Apr 29, 2017 10:04 am
by Alxandr
Will you update these mods for 0.15?

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sat Apr 29, 2017 10:08 am
by Mooncat
Alxandr wrote:Will you update these mods for 0.15?
Yes. But I need some more time.
I'm planning to add infinite levels on long-reach, long-build and long-mine. :)

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sat Apr 29, 2017 2:42 pm
by Alxandr
Would that make sense though? I mean, you can only zoom out so far, reaching longer than the camera will show you yield no benefit, no?

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sat Apr 29, 2017 4:24 pm
by Nexela
Alxandr wrote:Would that make sense though? I mean, you can only zoom out so far, reaching longer than the camera will show you yield no benefit, no?
Well in .15 you can open your map and zoom in anywhere. If you have the reach for it you can build etc :P

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sat Apr 29, 2017 5:22 pm
by Mooncat
Now I think it is too OP. lol
JustDieeeee.gif
JustDieeeee.gif (8.19 MiB) Viewed 14043 times

Re: [MOD 0.14+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Sat Apr 29, 2017 7:28 pm
by Alxandr
Lol, you would never have to move :P. That should be a custom achievement of some kind. Launch a rocket without moving :P

Re: [MOD 0.15+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Wed May 03, 2017 2:04 pm
by Mooncat
Updated the mods. Feel like a smart ass now because I refactored the code so well that all 5 technologies are monitored by just one main function now, with some remote interfaces. 8-)

Anyway, I will update the post and images some hours later.

Edit: done.

Re: [MOD 0.15+] Long Reach/Build/Mine/Pickup/Loot Research

Posted: Thu May 04, 2017 10:07 am
by BlackHat
What is the difference between Pickup and Loot?

Is Pickup used when you press "F" to get items on the ground?

IS Loot the Automatic picking up of Alien Artifacts as you run around?
If so, since Alien Artifacts have been removed from the game, what does loot do now?