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
License
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
Long description
Long description
This mod implements the mechanics of plane liftoff. With it planes from aircraft mod will not instantly aerial. When placed, they move around and collide like a car would. However, after the aircraft hits the speed of 88 mph, it initiates liftoff, if it manages to keep the speed for a particular length of runway (depends on the plane).
After covering the runway, the plane becomes aerial, (you'll see its shadow on the ground (actually, you'll see it over the plane itself, but that cannot be helped.).
In the airborne state plane behaves like plane would. Don't jump out of it, ever.
To perform landing, decrease speed, firstly plane will descend, then it will cover the same runway length as during the liftoff, then it can be stopped.
Liftoff parameters are individual:
Jet and gunship are pretty unconstrained. Cargo plane will fail reach takeoff speed without concrete runway.
This mod implements the mechanics of plane liftoff. With it planes from aircraft mod will not instantly aerial. When placed, they move around and collide like a car would. However, after the aircraft hits the speed of 88 mph, it initiates liftoff, if it manages to keep the speed for a particular length of runway (depends on the plane).
After covering the runway, the plane becomes aerial, (you'll see its shadow on the ground (actually, you'll see it over the plane itself, but that cannot be helped.).
In the airborne state plane behaves like plane would. Don't jump out of it, ever.
To perform landing, decrease speed, firstly plane will descend, then it will cover the same runway length as during the liftoff, then it can be stopped.
Liftoff parameters are individual:
Code: Select all
planes_definition={
["gunship"]={
lift_velocity=0.403,--at this speed the takeoff is initiated
runway_length=60,--after plane traverses this lenth it becomes airborne},
["cargo-plane"]={
lift_velocity=0.403,--at this speed the takeoff is initiated
runway_length=100,--after plane traverses this lenth it becomes airborne},
["jet"]={
lift_velocity=0.403,--at this speed the takeoff is initiated
runway_length=30,--after plane traverses this lenth it becomes airborne},
["flying-fortress"]={
lift_velocity=0.403,--at this speed the takeoff is initiated
runway_length=100,--after plane traverses this lenth it becomes airborne},
}
Pictures
Pictures
- Screenshot-Factorio 0.13.18.png (1.58 MiB) Viewed 13167 times
Issues
When something goes wrong, you sometimes can note double planes. Least problematic occurrence is when there's no fuel. In worse cases you might have to rembuild the plane.
To do someday
-add parachutes and falling planes
Modding
It is almost possible to use the mod as a library, however I was a bit lazy on that part.
Seeing how airplane mods are few, if you make one, contact me and I'll update this mod in a most braindead way to work with your mod as well.
Seeing how airplane mods are few, if you make one, contact me and I'll update this mod in a most braindead way to work with your mod as well.
Version history
Version history
0.1.0(26.08.16): Initial release
0.1.1(27.08.16): Changed number in json.
0.1.2(29.08.16): Bugfixing
0.1.3(29.08.16): More bugfixing
0.1.4(30.08.16): Updated mod to use aircraft 1.1.3 facilities.
0.1.5(31.08.16): Fixed shadow.
0.1.6(04.09.16): Fix for possibility of equipment loss.
0.1.7(28.01.17): Compatibility with programmable vehicles. Childern, destroying entities is bad coding.
0.1.8(30.01.17): Tweaked behaviors of planes.
0.1.9(12.02.17): Intermediate release for bugfixing
0.1.0(26.08.16): Initial release
0.1.1(27.08.16): Changed number in json.
0.1.2(29.08.16): Bugfixing
0.1.3(29.08.16): More bugfixing
0.1.4(30.08.16): Updated mod to use aircraft 1.1.3 facilities.
0.1.5(31.08.16): Fixed shadow.
0.1.6(04.09.16): Fix for possibility of equipment loss.
0.1.7(28.01.17): Compatibility with programmable vehicles. Childern, destroying entities is bad coding.
0.1.8(30.01.17): Tweaked behaviors of planes.
0.1.9(12.02.17): Intermediate release for bugfixing