Search found 5 matches

by Krimsonkiler
Thu Apr 11, 2019 6:12 pm
Forum: Ideas and Requests For Mods
Topic: Auto target trees as hostiles
Replies: 8
Views: 2935

Re: Auto target trees as hostiles

So I think "all" I would have to do is make Trees inherit from Prototype/SimpleEntityWithForce instead of Prototype/EntityWithHealth. Then they can be added to "Enemy" force, I don't think that will have any other effect. Now I just have to figure out HOW to do that... (Biters MA...
by Krimsonkiler
Thu Apr 11, 2019 3:37 pm
Forum: Ideas and Requests For Mods
Topic: Auto target trees as hostiles
Replies: 8
Views: 2935

Re: Auto target trees as hostiles

My first idea would be to mark tress as enemy forces. But could you still chop them down for wood then? How is that done? Is it some kind of inheritance? I am familiar with coding, just not Lua. Iirc the prototype has a setting for how entitites are placed. Some are neutral, some not. Compare the p...
by Krimsonkiler
Thu Apr 11, 2019 2:15 pm
Forum: Ideas and Requests For Mods
Topic: Auto target trees as hostiles
Replies: 8
Views: 2935

Re: Auto target trees as hostiles

mrvn wrote: ↑
Thu Apr 11, 2019 1:36 pm
My first idea would be to mark tress as enemy forces. But could you still chop them down for wood then?
How is that done? Is it some kind of inheritance? I am familiar with coding, just not Lua.
by Krimsonkiler
Thu Apr 11, 2019 1:43 pm
Forum: Ideas and Requests For Mods
Topic: Auto target trees as hostiles
Replies: 8
Views: 2935

Re: Auto target trees as hostiles

I had that idea as well but didn't know how to do that
by Krimsonkiler
Wed Apr 10, 2019 8:21 pm
Forum: Ideas and Requests For Mods
Topic: Auto target trees as hostiles
Replies: 8
Views: 2935

Auto target trees as hostiles

I know we all dislike trees and wish our automated defenses shared our disdain for these arboreal abominations. What I have in mind is making trees targetable entities for things like turrets and personal defenses. I have tried in the past but didn't know enough about lua or factorio modding to get ...

Go to advanced search