HelicopterRevival


Adds two fully animated helicopters to the game. Ideal for getting from A to B quickly, exploring the map, building islands and nuking biters from the sky. Originally forked from Kumpu with fixes for Factorio 0.18.2+, but adding some enhancements of my own as well. NOW also includes API for other mod authors to register their own helicopters!

Content
10 days ago
0.18 - 2.1
105K
Transportation Combat

g Feature request: Remote interface for takeoff & landing (RTS vehicle control compatibility)

12 days ago
(updated 12 days ago)

Hi!

I am developing an RTS-style vehicle control mod for Factorio (AutoDrive-fixed https://mods.factorio.com/mod/autodrive-fixed).

Helicopters from HelicopterRevival have a unique takeoff mechanic and an auto-landing check for empty vehicles (landIfEmpty), which prevents external automation mods from commanding them to take off or pilot them unmanned.

Would you consider adding a remote interface to your mod so other mods can interface with it?

I have already tested this integration by adding an interface (takeoff, land, is_airborne, is_ready) to HelicopterRevival and calling it from my mod - everything works seamlessly together!

Since I couldn't find your public GitHub repository for Factorio 2.0, I set up a temporary repo with the original 0.6.5 code and committed the changes on top so you can easily review the diff:

Commit diff: https://github.com/dzafar/HelicopterRevival-test/commit/0d4a06dec2548c63ce1cde450e0b3c30be4e8496
Repository: https://github.com/dzafar/HelicopterRevival-test
(Note: I omitted the graphics folder from the repository tree because GitHub's web uploader complained about directory depth, but I included the complete, packaged .zip archive in the root of the repo so you can immediately test it in-game).

Could you please consider merging these changes into your project for the next update? I would also really appreciate it if you could include the exact same interface in your Factorio 2.1 version as well (I haven't adapted it myself yet). It would make helicopter fleet automation possible and would be greatly appreciated by the community!

Thank you for maintaining such an awesome mod!

11 days ago

Heyo,

the repository is linked on this mod's info page header and the version 2.0 is just a couple commits back (https://github.com/wolfhowlmedia/factorio-helicopters)
I'd appreciate if you'd update your fork (to the latest main state), make a new branch and reapply your changes there and make a pull request then. I don't have time to do all that work and thinking myself xd. And since we already upgraded to 2.1 we won't be going back to 2.0 to apply your changes there too. After you've made the PR I shall look into the code. In general nothing speaks against including such a remote interface ^^

11 days ago

Thank you, your majesty, I will take care of this soon

11 days ago

PR submitted, let me know if you need anything else ^^

10 days ago

Although I found it unintuitive that the heli starts to descend when you interupt the auto driving with a directional input, it is implemented now.

10 days ago

Yes, I'm aware of this bug. I've been doing this integration in a simplified mode for now.

10 days ago

Thank you very much, Your Majesty

10 days ago

based

New response