HelicopterRevival


Adds a fully animated attack helicopter 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.

Content
2 months ago
0.18 - 2.0
90.4K
Transportation

i Quality

9 months ago

Currently quality helicopters can't be placed. I had a rare quality helicopter, but when I placed it, it became a normal helicopter with no quality effects.

9 months ago

At this point in time, quality isn't supported in HR., and there aren't really any plans to do it in the future either.; it really wouldn't make much sense, to be honest...

9 months ago

More HP, more range on weapons, additional increase to damage?

9 months ago
(updated 9 months ago)

Eh;; none of these things really interest me... Heli is OP'd as it is already c:

9 months ago

Dies pretty easy to Demolishers from my experience. But I toned down the speed cause it's way too fast natively

3 months ago

Legendary leithan biters from bob's mods gave me a problems too... even with energetic shield and other addons...

3 months ago
(updated 3 months ago)

I'm currently forking this mod and try to add support for quality. Plus I have removed the included stdlib and changed it into a dependency which results in a smaller ZIP file.

EDIT: Ah! stdlib isn't upgraded to 2.0 yet. :-( https://mods.factorio.com/mod/jalm seem to be a replacement.

3 months ago

I'm currently forking this mod and try to add support for quality. Plus I have removed the included stdlib and changed it into a dependency which results in a smaller ZIP file.

EDIT: Ah! stdlib isn't upgraded to 2.0 yet. :-( https://mods.factorio.com/mod/jalm seem to be a replacement.

Please, if you want to fork HR, fork the "testing" branch, That one is far ahead of the master branch. That as first, as the second, the reliance on the mod on stdlib is miniscule, so, an "upgrade" isn't (or at least it shouldn't be) really necessary as first, and I'm actually looking into its complete removal in the long run. But that's quite a bit of a rewrite away.
But all contributions are definitely welcome c: (he says as he goes back to fighting with Windows and its schannel errors that keep the mods from updating :| )

3 months ago
(updated 3 months ago)

For stdlib, the only reference I see is in control.lua which just needs expansion with __jalm__. and it works?

EDIT: Ah, you want to remove it. Sorry for over-reading it.

3 months ago

And for my renaming, I saw that this mod had no update for a long time and thought this was abandoned.

3 months ago

And supporting quality doesn't seem so trivial? I just wonder why no higher quality helicopter is being spawned?

3 months ago
(updated 3 months ago)

And for my renaming, I saw that this mod had no update for a long time and thought this was abandoned.

Ah, no, no... Just breaking my skull because of remote control... That, and, well... I still hadn't managed to finish SA after all this time...

And supporting quality doesn't seem so trivial? I just wonder why no higher quality helicopter is being spawned?

Because the mod was patched up quickly and dirtily after the release of SA. and given it was quickly patched up to apease people, well, tons of bugs came up that I never even thought of before... As in aforementioned remote not working at all... Supporting quality still isn't a priority on my list. But, like I said - contribs are super welcome.

2 months ago
(updated 2 months ago)

fwiw and to anyone who wants to do it, adding quality support is as simple as editing Lua files:

In: /logic/heliAttack.lua:
Change:
15: local baseEnt = placementEnt.surface.create_entity{name = "heli-entity--", force = placementEnt.force, position = placementEnt.position}
To:
15: local baseEnt = placementEnt.surface.create_entity{name = "heli-entity-
-", force = placementEnt.force, position = placementEnt.position, quality = placementEnt.quality}

In: /logic/heliBase.lua:
Change:
123: local newEquip = destEnt.grid.put{name = equip.name, position = equip.position}
To:
123: local newEquip = destEnt.grid.put{name = equip.name, position = equip.position, quality = equip.quality}

In /logic/heliPad.lua:
Insert at line 26 so that the current line 26 becomes line 27:
quality = placementEnt.quality,

This gives you quality helicopters and quality landing pads as well as preserving the quality of equipment placed in the helicopter equipment grid.

By default the game upgrades the following for quality:
Helicopter: base health, weapons ranges, and equipment grid size
Landing Pad: base health

Anyone who does NOT make these changes and places a quality landing pad, helicopter or, equipment into their helicopter will have their quality stripped from the respective item when placing the entity.

2 months ago

fwiw and to anyone who wants to do it, adding quality support is as simple as editing Lua files:

Neat!
Fun fact: I hadn't really use quality in my runs... Mind if I add this to the mod?

2 months ago

Mind if I add this to the mod?

Go right ahead! I put the solution here so it can be used. : )

Also, I didn't use quality up until recently when I figured out how to use quality modules, beacons and, recyclers to cheese ore into legendary ore.

2 months ago

Please mind that not all people have quality installed. So it shouldn't crash and set normal as default when quality is not installed.

2 months ago

Please mind that not all people have quality installed. So it shouldn't crash and set normal as default when quality is not installed.

The code provided has already been tested and works perfectly, even if you yank the mod later on... It just converts quality heli into a normal one.

2 months ago

The code provided has already been tested and works perfectly, even if you yank the mod later on... It just converts quality heli into a normal one.

The only thing I didn't think to look until after I posted is quality fuel in equipment grid generators.

New response