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

Topics and discussion about specific mods
User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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
Last edited by Mooncat on Tue Jul 18, 2017 8:31 pm, edited 17 times in total.

Tyrindor
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sun Jul 03, 2016 10:06 am
Contact:

Re: [MOD 0.14+] Long Reach Research 0.1.1

Post 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.

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

Re: [MOD 0.14+] Long Reach Research 0.1.1

Post 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. ;)

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

Re: [MOD 0.14+] Long Reach Research 0.1.2

Post 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

Tyrindor
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sun Jul 03, 2016 10:06 am
Contact:

Re: [MOD 0.14+] Long Reach Research 0.1.2

Post 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.

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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.

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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

Chibi_Senpai
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Dec 02, 2016 12:41 am
Contact:

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

Post 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!

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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.

Miravlix
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Wed Jun 01, 2016 8:48 am
Contact:

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

Post 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.

Xeanoa
Fast Inserter
Fast Inserter
Posts: 190
Joined: Tue Apr 26, 2016 4:32 pm
Contact:

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

Post by Xeanoa »

Range circles would be really neat :D

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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.

User avatar
Alxandr
Inserter
Inserter
Posts: 22
Joined: Wed Feb 15, 2017 5:53 pm
Contact:

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

Post by Alxandr »

Will you update these mods for 0.15?

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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. :)

User avatar
Alxandr
Inserter
Inserter
Posts: 22
Joined: Wed Feb 15, 2017 5:53 pm
Contact:

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

Post 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?

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

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

Post 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

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post by Mooncat »

Now I think it is too OP. lol
JustDieeeee.gif
JustDieeeee.gif (8.19 MiB) Viewed 14026 times

User avatar
Alxandr
Inserter
Inserter
Posts: 22
Joined: Wed Feb 15, 2017 5:53 pm
Contact:

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

Post 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

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

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

Post 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.

BlackHat
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Apr 09, 2016 9:45 am
Contact:

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

Post 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?

Post Reply

Return to “Mods”