Aircaft Drones


Death from above! Build autonomous flying drones and launch airstrikes on those pesky bugs.

17 days ago
1.0 - 1.1
1.15K

b Krastorio: no fuel

If I launch an aircraft it crashes after a few meters because it has no fuel.
also the game crashes when I use nukes(I use krastorio 2).

3 years ago

I think I fixed the fuel issue in v 1.0.1 Can you confirm that?

Regarding the nuke issue I need a screenshot of the error message. Krastorio changes a lot about the nuke, I have no idea what the problem is...

3 years ago

Would this be it.

https://imgur.com/wAYGHpx

This was caused by the flare K2 has a no build rule near nests. Klonan noted that K2 was deleting ghosts to block attempts by the repair tower (in his mod) to build stuff.

3 years ago

That could be caused by a removal of the flare. I fixed that in v 1.0.3
Thanks.

Please retest :)

https://imgur.com/a/XuLKmU5
for the nuke issue

3 years ago
(updated 3 years ago)

-

3 years ago

Fuel problem still exists. Your mod uses rocket fuel. Krastorio imposes its own type of fuel for the Drones. Not rocket fuel.

wich is it?

I also use space exploration so I have rocket fuel.

I think the problem is caused because the hangar gives the drone only one fuel.
btw I have to mention that this is a cool mod.

3 years ago

The nuke issue should be solved in v 1.0.4.

The fuel issue is strange however. Krastorios rocket-fuel is identical to the vanilla rocket-fuel, the only difference is the fuel value (Krastorio: 20 MJ, vanilla: 100 MJ). I am correcting this in v 1.0.3, but even if not 20 MJ should still be far enough burn value for the drones.

Does the Krastorio rocket-fuel work in the regular aircrafts? How far can you fly with a gunship and 1 rocket-fuel?

I think Krastorio changes something regarding the engines (in modding terms: the burners) of vehicles, this might cause the problem. But I need more time to investigate this...

I think thats a box you can activate via settings but Ill try..wait

3 years ago
(updated 3 years ago)

with the plane itself(not the drone) you can fly like 5 times longer then with the drone.

3 years ago

This is an issue with vehicle energy consumption, it's far higher in Krastorio.

For now you can fix this manually in the plane_controller.lua file, change the lines 59-63 and 157-161 like this:

-- insert fuel in plane
created_plane.get_fuel_inventory().insert({name="fuel", count=100})
-- this is better in case any mods change the burn value of rocket fuel
--created_plane.burner.currently_burning = "fuel"
--created_plane.burner.remaining_burning_fuel = 100000000

https://imgur.com/CvluXx6

This only works for Krastorio, Hangars still need rocket-fuel in the inventory.
I'll think of a better solution...

3 years ago
(updated 3 years ago)

I think Ive done something wrong, the plane does spawn and does not have any fuel in it.so it instantly stops without even taking of and I cant remove it because there is "someone" inside .(maybe thats because the krastorio fuel is different)

3 years ago

Krastorio blocks rocket fuel as fuel for airplanes (vehicles also).
Only the 3 defined by Krastorio (fuel, biofuel, advanced fuel) can be used as vehicle fuel.
https://imgur.com/a/jw3wlzr

3 years ago

I still can't find the cause of the high energy consumption with Krastorio, I think I need to ask the mod authors.
For now I made a workaround in v 1.0.5 and gave all drones unlimited fuel. Since I have no range feature/check included yet, that doesn't matter.

As for Zogis remark regarding the fuel type: that actually doesn't matter when you insert the fuel by script. When the drones spawn they have 100 MJ of fuel energy, and in the vanilla game that is enough for a few minutes flight, and with Krastorio this only lasts maybe 30 seconds...

OK, I think it works now.

New response