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
5 years ago
0.15 - 0.17
341
Transportation

g Update for 0.17?

5 years ago

Topic

5 years ago

hope mod will be updated)))

5 years ago

Me too! :D

5 years ago

Dunno guys I don't really play factorio anymore. But I'll try out 0.17 and see if it hooks me again.

5 years ago

please update, i tried to update it myself but i didnt got far, hope you find some interest :)

5 years ago
(updated 5 years ago)

source is here
https://github.com/bioxz/factorio-helicopter

please redirect your updates to there or make a new one.
Soone or later, i'll try to update it by myself sinc i need the helicopter again.

i think we should keep all mod sources to open repositories to keep them alive.

The soure seems to be out of date - not the current version.

5 years ago

Got it. Working. Doing some "crash" test. Expect the update to be online in the next 6 hours.

Known bug : The Remote window on the left take more space than required. I'm learning the new GUI system of Factorio 0.17. Expect a fix in a near future. It's easily playable, just aesthetic.

5 years ago

Thank you for taking a look at your mod for us. It's something I've wanted to use for a while now.

5 years ago

Hi, I was able to make it run correctly, but for weird reason, if I change the name of the mod (thing that I need to do to put it online the good way) it breaks it. Because I'm pretty new to Factorio Modding System, I'm sure it's only something I don't know or see. If this kind of problem ring a bell let me know. For the moment, there is a link where you can use the zip file and simply replace the one in your mods folder. I'm open for debug, correction or improvement of this mod.

http://thyberian.com/Helicopters_0.2.17.zip

5 years ago

@ perahoky That's a totally different repo. You can see the real one by clicking "Source Code" next to download.
@ Thyberian Wow thanks a lot for updating. If you're familiar with git please open a pull request on my repo. If not no problem, I'll check it out tomorrow.

5 years ago

@Thyberian not sure if theres anything you can do, but its throwing up a font error when ever i load the game with the mod?

5 years ago
(updated 5 years ago)

I got the font error too. The font name causing the error is in Prototypes\Style\Style.lua. I changed the font name "farl-small-bold" to "default-bold" and it loaded. I don't know if that'll break something else but at least the game starts now. Try it on yours and see if it works?

5 years ago

ive made a pull request and wait to merge for a posible fix

5 years ago

@Concordian that works brillant, thank you for that. game loads and the mod still works

5 years ago

thanks for the update, everything works except the remote. When I click any of the buttons it crashes the game with this error code.

4878.788 Error MainLoop.cpp:1129: Exception at tick 7704598: The mod Helicopters caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Helicopters::on_gui_click (ID 1)
LuaStyle doesn't contain key visible.
stack traceback:
Helicopters/logic/gui/heliSelectionGui.lua:38: in function 'setVisible'
Helicopters/logic/gui/remoteGui.lua:161: in function 'OnChildEvent'
Helicopters/logic/gui/heliSelectionGui.lua:71: in function 'OnGuiClick'
Helicopters/logic/gui/remoteGui.lua:118: in function 'OnGuiClick'
Helicopters/control.lua:258: in function <Helicopters/control.lua:238>
stack traceback:
[C]: in function 'newindex'
__Helicopters
/logic/gui/heliSelectionGui.lua:38: in function 'setVisible'
Helicopters/logic/gui/remoteGui.lua:161: in function 'OnChildEvent'
Helicopters/logic/gui/heliSelectionGui.lua:71: in function 'OnGuiClick'
Helicopters/logic/gui/remoteGui.lua:118: in function 'OnGuiClick'
Helicopters/control.lua:258: in function <Helicopters/control.lua:238

5 years ago

Any chances we can get this fix uploaded to the mod portal?

5 years ago

Also checking in on this, I love this mod and have some far away islands I'd love to inhabit in my new world!

a sincere thanks in advance if you guys can get this fixed up!

5 years ago
(updated 5 years ago)

Hi guys, I dont have access to a PC for at least the next month. Also limited internet access. If someone can upload a version with all the fixes I will link it in the information tab as well as in the forum. Thanks for your help :)

5 years ago

Okay, hope it will be available soon again. Thx for the update!

5 years ago

Hoping for an update. One of my favourite mods.

5 years ago

I have the same problem as nailboy25. While the font update at least means the helicopter will fly, attempting to use the remote insta-crashes.

5 years ago

Here's a repack of @Concordian Helicopter mod (@kumpu) with the update to the font bug just to make installing it a little easier. I don't know the fix for the remote. I think I setup my GitHub so anyone can download it, but let me know if it's not working right.

https://github.com/ZombiFlu/Factorio/raw/master/Helicopters_0.2.17.zip

5 years ago

I'll created pull request https://github.com/kumpuu/factorio-helicopters/pull/21 from @ZombiFlu changes. The mod is loading, the helicopter is flying, I haven't checked the rest.

@kumpu, thanks for mod. And if you can't update the mod, add someone to the collaborators. It will accurately load the zip file and people will be able to rediscover this beauty by 0.17.

5 years ago
(updated 5 years ago)

@unfunf22, does your fix also fix the remote control?

5 years ago

Hi guys, I added Thyberian and Oceanel as collaborators. I hope you can manage the mod while im gone. Thank you :)

5 years ago

Please add the latest release on github to the downloads page so we can play with it on servers and make it easier with the portal. :D

5 years ago

Published. Thanks guys for your perseverance :D

5 years ago
(updated 5 years ago)

@Oceanel I fixed the remote crashes thing while updating to 0.17. Current build at https://github.com/DeltaNedas/factorio-helicopters/

Feel free to merge the changes in /logic/gui/!

5 years ago

now this is a great community, everyone working together to give the gamers one of our favorite mods for this game, great work folks.

5 years ago

Thank you @DeltaNedas, updated.

Remote update note: if you had Remote Control open, simply close and reopen it.

5 years ago

If only I knew that while testing! Instead of closing it, I killed myself! That sure would have saved me some time and dignity.

5 years ago

Hi folks, I get this error when I open the view on a train. The error happen when I close the window :

Error while running event Helicopters::on_tick (ID 0)
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
Helicopters/logic/gui/heliSelectionGui.lua:181: in function 'updateCamPositions'
Helicopters/logic/gui/heliSelectionGui.lua:42: in function '?'
Helicopters/logic/gui/remoteGui.lua:100: in function 'safeStateCall'
Helicopters/logic/gui/remoteGui.lua:109: in function 'OnTick'
Helicopters/logic/util.lua:99: in function 'checkAndTickInGlobal'
Helicopters/control.lua:103: in function <Helicopters/control.lua:101>
stack traceback:
[C]: in function 'newindex'
__Helicopters
/logic/gui/heliSelectionGui.lua:181: in function 'updateCamPositions'
Helicopters/logic/gui/heliSelectionGui.lua:42: in function '?'
Helicopters/logic/gui/remoteGui.lua:100: in function 'safeStateCall'
Helicopters/logic/gui/remoteGui.lua:109: in function 'OnTick'
Helicopters/logic/util.lua:99: in function 'checkAndTickInGlobal'
Helicopters/control.lua:103: in function <Helicopters/control.lua:101

5 years ago

updateCamPositions = function(self)
for k, curCam in pairs(self.guiElems.cams) do
if curCam.valid then
curCam.cam.position = curCam.heli.baseEnt.position
end
end
end,
Replace updateCamPositions with that, should fix it.

5 years ago

Still the same error :(

5 years ago

FYI. It's happening only if the remote window is open.

5 years ago
(updated 5 years ago)

I can't reproduce this issue???
By the view on the train, do you mean:
- Opening the map from the train's button (1st from right)
- Opening the train schedule
- Opening the train fuel menu
- Opening the train station menu
If not, please give screenshots and what not in an issue on github.

5 years ago

Hi guys, I'm at my PC today and merged two langauge pull requests on github. Please include them when you release the next version and don't forget to thank the authors. Sadly I don't have time right now to do anything else like review your bug fixes. Thank you :)

New response