Page 1 of 2

[MOD 0.13+] Liftoff_0.1.10 (12.02.17) Aircraft extension

Posted: Fri Aug 26, 2016 5:25 am
by Adil
Type: Mod
Name: Liftoff
Description: Adding flight mechanics to planes
License: CC BY 3.0
Version: 0.1.8
Release: 2016-08-26
Tested-With-Factorio-Version: 0.14.21
Category: Gameplay
Tags: aircraft, flight, liftoff
Download-Url: Attached
Website:
Dependencies: Aircraft >=1.0.7
License
Long description
Pictures
Issues
To do someday
Modding
Version history

Re: [MOD 0.13+] Liftoff_0.1.0 (26.08.16) Aircraft extension

Posted: Fri Aug 26, 2016 6:01 am
by Supercheese
However, after the aircraft hits the speed of 88 mph, it initiates liftoff
Haha, 88mph indeed. :lol:

Re: [MOD 0.13+] Liftoff_0.1.0 (26.08.16) Aircraft extension

Posted: Fri Aug 26, 2016 6:05 am
by Adil
Actually, I might have goofed on this (km/h and mph). Anyway, gotta go fast to fly.

Re: [MOD 0.13+] Liftoff_0.1.0 (26.08.16) Aircraft extension

Posted: Fri Aug 26, 2016 8:45 pm
by Thomasnotused
Very interesting, nice to see that someone managed to integrate something like this, I tried to make the Raven script work for it, but honestly I'm terrible at LUA.

I will definitely add this as a "recommended mod" in the main post!

Re: [MOD 0.13+] Liftoff_0.1.1 (27.08.16) Aircraft extension

Posted: Sat Aug 27, 2016 7:25 pm
by Adil
This new versioning system is retarded. Uploaded "updated" versions.

Re: [MOD 0.13+] Liftoff_0.1.1 (27.08.16) Aircraft extension

Posted: Sat Aug 27, 2016 7:41 pm
by Thomasnotused
Using 0.1.1 on 14.1 using aircraft 1.0.8 (which shouldn't be any different from 1.0.7) on my test map gives me the following error when entering a plane:

EDIT: smaller picture of the same error posted below, don't want to waste space

Re: [MOD 0.13+] Liftoff_0.1.1 (27.08.16) Aircraft extension

Posted: Sun Aug 28, 2016 8:22 pm
by Thomasnotused
ok, I've compiled a list of errors, all reproducible on Liftoff_0.1.1, Factorio 0.14.1, and Aircraft 1.0.9.

First, this is what happens if you "land" a plane in the water:
Image

Secondly, this is what happens if you enter an aircraft placed BEFORE installing the mod, OR attempt to mine an aircraft placed BEFORE installing the mod:
Image

I don't understand 99% of the scripting involved, so I'm unsure what to do about the issue.

However, the mod works great with planes placed AFTER installing the mod, so cheers!

Re: [MOD 0.13+] Liftoff_0.1.2 (29.08.16) Aircraft extension

Posted: Mon Aug 29, 2016 8:33 am
by Adil
I've handled the water landing, it now kills the player.
I've probably fixed the issue with preexisting vehicles.

Re: [MOD 0.13+] Liftoff_0.1.2 (29.08.16) Aircraft extension

Posted: Mon Aug 29, 2016 2:16 pm
by Thomasnotused
Back with another round of bug reports!

After running into another aircraft while "on the ground" (altitude bar was 0) I believe this is because of how low the jet health is now, that the small collision instantly killed it.
Image

Trying to enter an aircraft placed with liftoff_0.1.1, entering one placed pre-liftoff and one post-0.1.1 works correctly.
Image

Trying to pick up an aircraft placed with liftoff_0.1.1, also occurs when mining an aircraft placed pre-liftoff. Placing a new aircraft and mining it did not give an error.
Image

Also, this(?) happens if you try to fly an aircraft with no fuel in it.
Image

I also managed to crash while testing this, neat huh?
I also submitted a bug report with all the info I had from it.

Landing on water does indeed kill you now, seems useful. Aircraft placed before liftff was installed are indeed able to entered and fly around and generally work fine.


I'm also working on that shadow issue.

Re: [MOD 0.13+] Liftoff_0.1.2 (29.08.16) Aircraft extension

Posted: Mon Aug 29, 2016 5:17 pm
by Adil
Could you elaborate on the first error? I don't really understand, what happens. As for planes placed with previous versions, I'd rather not spend time on that, since the download count is exactly 1, unless bad stuff happens with pre-mod planes.

I've forgot to mention the low fuel weirdness in the op, it's mostly by design, or actually I'm out of ideas of efficient solution to the problem. I could make the underlying entity invisible, but I've decided to leave it as indication of something gone wrong.

Re: [MOD 0.13+] Liftoff_0.1.2 (29.08.16) Aircraft extension

Posted: Mon Aug 29, 2016 5:24 pm
by Thomasnotused
The first error has to do with destroying planes placed pre-liftoff. If picked up and placed back down, it's fixed.

Re: [MOD 0.13+] Liftoff_0.1.3 (29.08.16) Aircraft extension

Posted: Mon Aug 29, 2016 6:03 pm
by Adil
Right, now I've probably plumbed it all.
Another bit of fixes. To provide reasonable graphics, the mod now needs those changes, proposed earlier in the aircraft thread.

Re: [MOD 0.13+] Liftoff_0.1.3 (30.08.16) Aircraft extension

Posted: Tue Aug 30, 2016 4:55 pm
by Adil
Now mod uses the changes that were made in the aircraft mod.

Re: [MOD 0.13+] Liftoff_0.1.3 (30.08.16) Aircraft extension

Posted: Tue Aug 30, 2016 10:33 pm
by devilwarriors
Adil wrote:(you'll see its shadow on the ground (actually, you'll see it over the plane itself, but that cannot be helped.).
The raven mod doesn't have this problem with the shadow, can't you do it the same way?

Re: [MOD 0.13+] Liftoff_0.1.3 (30.08.16) Aircraft extension

Posted: Wed Aug 31, 2016 7:48 am
by Adil
Right, didn't know about that flag in prototypes.
That's done now.

Re: [MOD 0.13+] Liftoff_0.1.6 (04.09.16) Aircraft extension

Posted: Sun Sep 04, 2016 8:10 am
by Adil
Release 0.1.6
It was possible to lose equipment and health information of the vehicle if placed in invalid location.
Now, you can place plane anywhere, as with aircraft mode by default, but it's your own fault, if the grounded plane gets stuck.

Re: [MOD 0.13+] Liftoff_0.1.6 (04.09.16) Aircraft extension

Posted: Fri Jan 27, 2017 1:38 pm
by Betep3akata
Hi, Adil,
Could you please revisit the On_Init event handler?
I have an error (attached) during loading an existing save.

Thanks for this very useful mod! The current "VToL" plane concept is overpowered for many reasons. Lets nerf planes!:)

Factorio 0.14.21
Liftoff_0.1.6
Aircraft_1.1.4
...

Re: [MOD 0.13+] Liftoff_0.1.6 (04.09.16) Aircraft extension

Posted: Fri Jan 27, 2017 7:58 pm
by Adil
Irrelevant now
Working on it.

Re: [MOD 0.13+] Liftoff_0.1.6 (04.09.16) Aircraft extension

Posted: Fri Jan 27, 2017 8:30 pm
by Adil
Nope, not working on it. It is incompatibility with AAI-programmable vehicles, he destroys ingame entities very liberally, and that's no-go for any other mod that tries to do stuff with those. We'll see what can be done.
For now, there can be only one.

Re: [MOD 0.13+] Liftoff_0.1.7 (28.01.17) Aircraft extension

Posted: Fri Jan 27, 2017 9:54 pm
by Adil
Alright fixed.