Hovercrafts


Speed across land and water in your own personal hovercraft. 2 versions, plus 2 more with the mod 'Laser Tanks'.

Content
4 months ago
0.16 - 2.0
69.1K
Transportation Combat

g AI version of the hovercraft is unable to decellerate, and also its pathing is broken.

a month ago

Tried using hovercrafts with programmable vehicles, specifically the AI version hovercraft is incapable of breaking or decellerating at all even when driven by a player. Furthermore, its pathing is broken and it tries to drive through walls.

a month ago

I have the same problem with my own mod that places vehicle by script (https://mods.factorio.com/mod/quick-ride) so I'll write here instead of a new thread since I think I have a solution for both.

Even if the version on github seems to be older than the one on the mod portal, I made a little PR with what fixed the bug for me (https://github.com/ArcaniVictus/Hovercrafts/pull/14)

a month ago

At risk of sounding very stupid (I know nothing about lua so I could have very well just fucked it up), I applied the changes to my version of hovercrafts and it just ended up breaking decelleration even when deployed normally.

Replace: script.on_event(defines.events.on_built_entity, function(event)

With: script.on_event({defines.events.on_built_entity, defines.events.on_robot_built_entity, defines.events.script_raised_built}, function(event)

on control.lua

Yeah?

a month ago

I may have not tested my fix enough... If it doesn't work I'll let the mod author do a proper fix because I don't know what causes the issue.

New response