Helicopters

by kumpu

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. Now 84% less buggier!

Content
4 years ago
0.15 - 0.17
292
Transportation

b Crash with 17.39 - FIXED

4 years ago

I researched, build and placed the helicopter.
As soon I the key combination to START the engines this error came and crashed.

Mod Helicopters hat einen unbehebbaren Fehler verursacht.
Bitte informiere den Mod-Autor über diesen Fehler.

Error while running event Helicopters::heli-up (ID 153)
Unknown entity name: player
stack traceback:
Helicopters/logic/heliBase.lua:372: in function 'init'
Helicopters/logic/heliBase.lua:661: in function 'changeState'
Helicopters/logic/heliBase.lua:359: in function 'OnUp'
Helicopters/logic/heliBase.lua:271: in function 'OnUp'
Helicopters/control.lua:157: in function <Helicopters/control.lua:154>
stack traceback:
[C]: in function 'create_entity'
Helicopters/logic/heliBase.lua:372: in function 'init'
Helicopters/logic/heliBase.lua:661: in function 'changeState'
Helicopters/logic/heliBase.lua:359: in function 'OnUp'
Helicopters/logic/heliBase.lua:271: in function 'OnUp'
Helicopters/control.lua:157: in function <Helicopters/control.lua:154>

4 years ago

Same error on 17.41

4 years ago

I get this on 17.41 when trying to start the engines

The mod Helicopters caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Helicopters::heli-up (ID 149)
Unknown entity name: player
stack traceback:
Helicopters/logic/heliBase.lua:372: in function 'init'
Helicopters/logic/heliBase.lua:661: in function 'changeState'
Helicopters/logic/heliBase.lua:359: in function 'OnUp'
Helicopters/logic/heliBase.lua:271: in function 'OnUp'
Helicopters/control.lua:157: in function <Helicopters/control.lua:154>
stack traceback:
[C]: in function 'create_entity'
Helicopters/logic/heliBase.lua:372: in function 'init'
Helicopters/logic/heliBase.lua:661: in function 'changeState'
Helicopters/logic/heliBase.lua:359: in function 'OnUp'
Helicopters/logic/heliBase.lua:271: in function 'OnUp'
Helicopters/control.lua:157: in function <Helicopters/control.lua:154>

4 years ago

Did you guys just update from a version less than 17.35?

4 years ago
(updated 4 years ago)

Judging by what I've seen on other mods, Factorio recently changed the name of your entity from "player" to "character". I found the places that's referenced in the Helicopters zip and made the changes manually. Here's what to change: In your mods folder (normally %appdata%\roaming\Factorio\Mods): in logic\heliBase.lua: Line 372 and 765 name="player" to name="character"; in logic\heliController.lua: Line 67 and 117 name = "player" to name = "character". After some quick testing, everything seems to work so far.

4 years ago
(updated 4 years ago)

Yes, read about this, this is an ridiciolious crash ...but thanks willl try.
Did so: flying, shooting with ap rounds np. landing is buggy...
you land and you stuck in the area... you put in inventory and you walk away...You had the same bug?
Thanks

4 years ago

Hi HappyBroccolli, I get mails from github about your commits all the time. Unfortunately I don't have access to my PC at the moment and for the next few weeks. But you seem pretty interested and knowledgeable so I added you as a collaborator. This means you can manage the mod if you want, upload versions, change description, etc. The two other collaborators I added a while ago are Thyberian and Oceanel but they seem to be inactive. Please be careful with your code changes and make sure to test them well. Thank you :)

4 years ago
(updated 4 years ago)

Thanks! I try my best to keep your baby going 😃

When I get home from work I will update the mod for 17.35

4 years ago

The update is live!

New response