[MOD 0.16.x to 0.13.x] Tree Collision Box - easy passage
[MOD 0.16.x to 0.13.x] Tree Collision Box - easy passage
This very simple mod changes the collision box of trees to very small. Made to pass through dense forests very easily.
Updated for Factorio 0.16
Download at the Factorio Mod Portal (or download for 0.13 or 0.12 below)
Check out the spotlight by Xterminator here: https://www.youtube.com/watch?v=24xp7ZhjCGg
I've tested mining, shooting*, poisoning, and deconstruction. All remain the same as the normal trees.
*I've not tested the shotgun, but apparently it's more difficult to hit the modded trees with it.
There is also a version which lowers the max health of trees to 1 making it easier to clear trees without partially "injured" trees having those somewhat annoying healthbars. (As of 0.14, these low health trees will no longer be maintained.)
Keep in mind, biters will pass by the trees just as easily. Worth it for me though!
This character will have a hard time heading northwards (red boxes are the collision boxes): With this mod, no problem: Downloads for 0.13 here: tree_collision changelog:
v.0.1.0 Original
v.0.2.0 Optimized code (thanks to L0771) and allows compatibility for Cursed-Exp mod
v.0.3.0 Updated for .13 and allows complete compatibility for all mods with modded trees thanks to Hexicube
tree_collision_health changelog:
v.0.1.0 tree collision mod plus low health
v.0.2.0 Updated for .13 and allows complete compatibility for all mods with modded trees
Old downloads for .12:
Updated for Factorio 0.16
Download at the Factorio Mod Portal (or download for 0.13 or 0.12 below)
Check out the spotlight by Xterminator here: https://www.youtube.com/watch?v=24xp7ZhjCGg
I've tested mining, shooting*, poisoning, and deconstruction. All remain the same as the normal trees.
*I've not tested the shotgun, but apparently it's more difficult to hit the modded trees with it.
There is also a version which lowers the max health of trees to 1 making it easier to clear trees without partially "injured" trees having those somewhat annoying healthbars. (As of 0.14, these low health trees will no longer be maintained.)
Keep in mind, biters will pass by the trees just as easily. Worth it for me though!
This character will have a hard time heading northwards (red boxes are the collision boxes): With this mod, no problem: Downloads for 0.13 here: tree_collision changelog:
v.0.1.0 Original
v.0.2.0 Optimized code (thanks to L0771) and allows compatibility for Cursed-Exp mod
v.0.3.0 Updated for .13 and allows complete compatibility for all mods with modded trees thanks to Hexicube
tree_collision_health changelog:
v.0.1.0 tree collision mod plus low health
v.0.2.0 Updated for .13 and allows complete compatibility for all mods with modded trees
Old downloads for .12:
Last edited by skomick on Thu Dec 14, 2017 1:06 am, edited 22 times in total.
Re: Tree Collision Box - easy passage
Won't it make the trees hard to mine ?
Koub - Please consider English is not my native language.
Re: Tree Collision Box - easy passage
I believe mining uses the selection box (which is unchanged), not the collision box. In any case I tested mining and it works the same as the unmodded trees.Koub wrote:Won't it make the trees hard to mine ?
Thanks for the question! All other questions/comments are welcome!
Re: Tree Collision Box - easy passage
Totally neat
Koub - Please consider English is not my native language.
Re: Tree Collision Box - easy passage
Thanks! Original post edited for clarity regarding mining/shooting/poisoning/deconstruction.Koub wrote:Totally neat
Re: Tree Collision Box - easy passage
i think with only this on data.lua do the same and has more compatibility with all mods
Code: Select all
for _,tree in pairs(data.raw["tree"]) do
tree.collision_box = {{-0.05, -0.05}, {0.05, 0.05}}
end
Re: Tree Collision Box - easy passage
Cool, I'll check that immediately, thanks!L0771 wrote:i think with only this on data.lua do the same and has more compatibility with all modsCode: Select all
for _,tree in pairs(data.raw["tree"]) do tree.collision_box = {{-0.05, -0.05}, {0.05, 0.05}} end
Re: Tree Collision Box - easy passage
np sr, if you want, please add a dependency to cursed to make my trees skinny too
"dependencies": ["base","? Cursed-Exp"]
And nice mod.
"dependencies": ["base","? Cursed-Exp"]
And nice mod.
Re: Tree Collision Box - easy passage
Thank you! I thought there might be a way to do that. Works perfectly. Cursed-Exp added.L0771 wrote:np sr, if you want, please add a dependency to cursed to make my trees skinny too
"dependencies": ["base","? Cursed-Exp"]
And nice mod.
- Xterminator
- Filter Inserter
- Posts: 981
- Joined: Sun Jun 15, 2014 4:49 pm
- Contact:
Re: Tree Collision Box - easy passage
This is awesome! I love these kind of mods that are really simple but fix big problems etc. Walking through forests (especially while being chased by biters) is a huge pin normally. So definitely using your mod! I am thinking of doing a mod spotlight on it, if you don't mind.
-
- Fast Inserter
- Posts: 127
- Joined: Fri May 08, 2015 2:25 pm
- Contact:
Re: Tree Collision Box - easy passage
I love it as well, thanks for the mod.
My RSO+Bob's+Angel's modpack: Farlands (outdated)
Mods (current): Resource Labels
Mods (old): Biter Spires
Mods (current): Resource Labels
Mods (old): Biter Spires
Re: Tree Collision Box - easy passage
Absolutely loving it!
Re: Tree Collision Box - easy passage
Love your vids Xterminator! I absolutely don't mind, please do in fact! Thanks!Xterminator wrote:This is awesome! I love these kind of mods that are really simple but fix big problems etc. Walking through forests (especially while being chased by biters) is a huge pin normally. So definitely using your mod! I am thinking of doing a mod spotlight on it, if you don't mind.
Re: Tree Collision Box - easy passage
Pandemoneus wrote:I love it as well, thanks for the mod.
Loving the feedback, thanks guys!wahming wrote:Absolutely loving it!
Re: Tree Collision Box - easy passage (optionally low health)
Hey everyone, I added an alternative download (v0.3) which includes the original mod (v0.2) with the addition of lowering the tree max health to 1. Mining remains the same. This makes the early game easier to shoot the trees if you desire. One shot kill, as it were. Finally a real use for that pea shooter nobody uses! And no annoying tree health bars!
Link is in OP.
Link is in OP.
Re: Tree Collision Box - easy passage (optionally low health)
Dude, this is one of the biggest life-changing mods I've played with. It makes my brain hurt a lot less while playing, thanks! Definitely needs more love!
Re: Tree Collision Box - easy passage (optionally low health)
Noe that this mod does mess with trees that are near train rails. Trains are often giving me the no path error. Be sure to shotgun / deconstruct the trees / use FARL when you are placing rails.
Re: Tree Collision Box - easy passage (optionally low health)
Thanks for the observation, Talguy. I don't think there's an easy way to work around this issue. So, yeah, if you're getting a "no path" error with this mod installed, there's a goood chance there's a tree or two in the way.Talguy wrote:Noe that this mod does mess with trees that are near train rails. Trains are often giving me the no path error. Be sure to shotgun / deconstruct the trees / use FARL when you are placing rails.
Thanks Nafen! Glad it helps.Nafen wrote:Dude, this is one of the biggest life-changing mods I've played with. It makes my brain hurt a lot less while playing, thanks! Definitely needs more love!
Re: Tree Collision Box - easy passage (optionally low health)
I'm loving this mod! Forests were always a nightmare to navigate through on foot (and I do a lot of running through forests on foot), but this makes things really much easier.
Re: Tree Collision Box - easy passage (optionally low health)
Moved it to 0.12 due to authors request.
I want to point to https://forums.factorio.com/forum/vie ... f=89&t=947 , #3.
In this special case (we have splitted the board between 0.11 and 0.12) I suggest: [0.11.x 0.12.x] Tree Collision ....
I want to point to https://forums.factorio.com/forum/vie ... f=89&t=947 , #3.
In this special case (we have splitted the board between 0.11 and 0.12) I suggest: [0.11.x 0.12.x] Tree Collision ....
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...