Space Engineers

Space Engineers

AdvancedFlyModule2.0
77 Comments
Takeshi  [author] 29 Jun @ 7:00am 
@Dziwo, I think the Mod can not work only on clientside. The mod is not acting on user input, he is acting based on vehicle movement.
Thax for the nice feedback.
Dziwo 17 Jun @ 2:09am 
This is a very slept on mod. Makes handling ships in SE so much smoother and natural for anything that prioritizes downwards thrust. This directly caused me to make mostly Elite inspired ships that can naturally turn like aircraft in space. Surprisingly works great with the Hover engine mod to make speeder bikes that actually have to turn to change direction with their hover engines at high speeds. Lots of fun.

I wondered about this though, would it be possible to make a purely client side version of this for the Plugin loader? I would assume so cause it looks like it mostly affects input.
Takeshi  [author] 23 Feb, 2024 @ 8:00am 
The original AFM was based on a small Block that had to be installen on the Plane, just dont load the Mod. AFM 2.0 is directly attached to every cockpit. Load the mod (AFM2.0) with the game, paste the plane in and go to the cockpit settings and turn it on and adjust the power. Should work.
Have fun.
Thundercraft 23 Feb, 2024 @ 3:49am 
Would using this newer 2.0 version:
(A)...automatically fulfil the "AdvancedFlyModule" mod requirement for vehicles like Aircraft Takara 20t2mC AFM-Prop that use the old version?
Or...
(B)...would we need to change the script on such vehicles to use this new 2.0 version?
Laskoviu_mat 12 Feb, 2024 @ 11:59am 
ok, have a nice day to you too
Takeshi  [author] 12 Feb, 2024 @ 11:49am 
Hm, I dont work on new Mods, I am just working to let the existing stuff running.
It should be possible by playing arround with the override. But would not work with turning off.
Have a nice day.
Laskoviu_mat 12 Feb, 2024 @ 11:46am 
hi, How do you like the idea of making a mod so that the engines give thrust gradually (so that the engines need 10 seconds to give 100% thrust). So, my plane needs a runway)
Takeshi  [author] 10 Apr, 2023 @ 12:22am 
please mak a bug report and tell me your list of mods, maybe you are using one that is not compatible. In 2.0 I safe data in the cockpit for example.
Error log?
Tecnos 9 Apr, 2023 @ 9:55pm 
me again ahahaha, after alot of time, still have some issue even in single player mode, this time i will research more, buth somehow my personal vesel make the game crash when its 2.0 advance fly, but if i use 1.0 it dont crash.
Takeshi  [author] 23 Jun, 2022 @ 6:38am 
Hi Tecnos, tested it in the past. Maybe you are using another mod, and that is using the data field of the cockpits? please go the disscusion area and post your list of mods and error log. Will check it until I am back from my holidays. Have a nice day
Tecnos 18 Jun, 2022 @ 11:26am 
Not working on dedicated Server, i just crash the game if touch any option of the AFM2.0,same for 1.0
傻旦 21 May, 2022 @ 1:04am 
Thank you!!!!!!!!!!!!!Thank you!!!!!!!!!!!!!!!!!!omg!Thank you!!!!!!!!!!
Drake 17 Aug, 2021 @ 3:30am 
Cool cool! :-)
Takeshi  [author] 16 Aug, 2021 @ 1:30am 
Thank you, I have fixed the current Problem. Maybe next time.
Have a nice day.
Drake 15 Aug, 2021 @ 5:30pm 
Sent a friend invite... I have a server you can test on.

Glad to assist you on this one.
Takeshi  [author] 15 Aug, 2021 @ 1:57am 
Thank you for the report. At the moment I dont have a server so I cant check it. Game didnt crash in "local" mode. The Mod itself is desinged to handle other informations in custom data. Would be great if you can post the end of your log, maybe I can see something.
Thx.
Knut A. 15 Aug, 2021 @ 1:12am 
makes servers crash if combined with this
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=907619446
atleast if the FFI is in custom data of a copit when this is added
Takeshi  [author] 3 Jul, 2021 @ 12:55am 
You have to try it, it just rolls your vehicle according to the sidemove and sidway turn.
Yes, they are precise. Try to understand the function, you turn left (without manual roll), the ship becomes a sidway move to right (used only sideways for calc). The mod reacts now with a roll to the left side (like TOPGUN). If the roll is enough, the ship has no longer a sidway movement.
If it to fast, reduce the power of the AFM in the Cockpit.
silvanik33 2 Jul, 2021 @ 5:34pm 
How does this work for aerodynamic mods? Are the turn precise?
JarutheDamaja 23 Jun, 2021 @ 9:48am 
Where do you see these error? I only noticed that wether I activate the AFM it doesn't do any difference. Ship behaves like normal cockpit. But I do'nt use the artifical horizon mod..
Storm 19 Jun, 2021 @ 5:23am 
Navball is great but the orig author quit modding and for some insane reason Keen didn't just pay him the pitiful 12k a year for part time t hat he asked for to do it seeing he is sick and all. Or is that someone else?

Anyway, It needs an update too it's tossing errors I had to take it out and it broke my heart.
Syroth 2 Apr, 2021 @ 8:17am 
Oh really? I had this problem *begin* during play interestingly enough. I too am using the artifical horizon and came to these comments looking for this sorta info due to afm2 crashing. Thanks! I'll go remove that
Dziwo 11 Feb, 2021 @ 2:26am 
Fast artificial horizon scuffed this mod for me too. I recommend MA navball as a replacement.
delsonbb 13 Dec, 2020 @ 6:02am 
@Takeshi Ok I found out the problem. Turns out that the fast artificial horizon is interfering with your mod. I'll forward this to them. Thanks anyway
delsonbb 12 Dec, 2020 @ 7:01am 
Need help. Your crashes my save when I turned on AFM 2.0. It has the aerodynamic drag & physics, & plane parts.
Edicius 30 Sep, 2020 @ 7:44pm 
Is there a Blueprint for the Yellow and Red ship seen in the preview? It looks neat, and I would like to mess around with it!
JIKOSU 8 Sep, 2020 @ 9:59am 
this is fun!
LORD DAIN 8 Sep, 2020 @ 7:15am 
its broken on my world
UltimateIndy 15 Aug, 2020 @ 5:39am 
Interesting. I tested on a clean world. I will test on another computer. It was a vanilla pirate base too.
Takeshi  [author] 15 Aug, 2020 @ 5:11am 
Not on my World, please upload your world, maybe you are using not vanilla "AI Ships". Thank you.
Takeshi  [author] 15 Aug, 2020 @ 5:01am 
Just for others? I think its also important for the ModCreator to know this. You are the first one how is reporting this problem. I will check it out, but it is possible that you upload your world? So i can see your seeting and maybe it is easier to find the source of the problem. Thank you.
UltimateIndy 15 Aug, 2020 @ 3:48am 
Whenever this mod is enabled all the AI ships on earth crash to the ground when they spawn in. No movement, no gyroscopes. It only happens when this mod is enabled. Just FYI to others
Chief=VX9= 19 Jul, 2020 @ 6:55pm 
@Twiz nah i never used it. @Takeshi thanks for the fast fix man really great mod and appreciate your hard work!
Takeshi  [author] 18 Jul, 2020 @ 2:05am 
@YerBoiChief, thank you again for the report. I was able to reproduce it. Keen makes a jump from 0.05g to 0.00g, I think the physics engine dont like it. Automated gravity alignment is now deactivatet bellow 0.10g. Problem fixed.
Have a nice day.
Twiz 17 Jul, 2020 @ 7:45am 
Hey @YerBoiChief do you also run one of the Space just got Real mods by chance? I had the same and bug disabled one of those and cleared my cache folder in appdata and that fixed it.
Takeshi  [author] 15 Jul, 2020 @ 9:18am 
thx for the feedback, i will check this case. If you have the time please upload your new world so i can use your ship too. Thx.
Chief=VX9= 14 Jul, 2020 @ 4:16pm 
@Takeshi Great mod! I'm having a little trouble with it though. When I leave Earth and head out to space as soon as I hit 0.05 gravity the screen goes black and I get a crackling sound in my speakers. I can still see my HUD and can still move the ship but cant see anything at all (only when leaving gravity not entering it). I have setup a New game and tested it multiple times and its definetly this mod. Not a deal breaker though as I can just disable the mod when I have to make a space run. Any thoughts on this?
Titan Nya 5 Jul, 2020 @ 8:37am 
Ok so came here from the old version as i want to make a new design after new hinge and having some time to play and saw this... Now i don't need to add a new block...

Posting before testing using it, you say it work in space but is limited, does that mean you could make a ship without full thruster direction? (i think of having only small ion for parking but having main thrusters on the back and bottom to make it fly like a plane)

Anyway with this mod and realistic thruster mod and new hinge and all i can finally make a vanilla only (+ scripts) ship who should feel better to design xD
Twiz 4 Jul, 2020 @ 9:46am 
Wow. Just Wow. Please ensure this remains working as long as you still breathe cause this mod makes flying goddamn amazing. Thank you so much.
Sphinx 26 Jun, 2020 @ 2:12am 
Amazing
mxforlife 24 May, 2020 @ 7:53am 
@SparrowPriest:
In the method UpdateAfterSimulation() the var speedDir is first calculated from sideways movement before rotation is calculated to var speedDir2. So I just cleared speedDir var before subtracting speedDir2 from it to disable the roll based on sideways movement. (Not sure what delta1, delta2 and the other stuff that is calculated from speedDir does so I just left that).

To separate the realign force from the roll force I made another slider (setup just like afm20_power_slider but with another name) and used that value from that slider instead in the method aligntogravity().
DataBeen 23 May, 2020 @ 12:00pm 
Thanks for creating this!
SparrowPriest 20 May, 2020 @ 9:55am 
@mxforlife can you explain in more detail how you dis this?
i know C# so i can understand technical terms. thanks
mxforlife 13 May, 2020 @ 3:14pm 
@Thakeshi: Thank you. It was as I guessed, that I was not using it as intended.
I've made a private copy (that I will not publish) where I have disabled the roll when moving sideways and with a second slider to adjust the power for the realign so in a way this gave me a mod that suited me perfectly. :) I was mostly after a way to keep the ship from rolling when rotating it when mining. All the in-game scripts I've tried was way to slow to react to be usable.
But the auto-roll when flying forward also also a nice "bonus" for me.
TwitchingPsycho 13 May, 2020 @ 11:21am 
I can confirm tho that speed mods don't interfere here tho. I always use a speed mod a this works perfectly. Btw, Takeshi, you thought about my proposal? Or could i use part of your code in my work? Credits to you ofc and if you want, I'd be glad to add you as contributor.
Takeshi  [author] 13 May, 2020 @ 9:03am 
Yes its for planes. And the Planes rolls left right wihle you fly forward and turns left/right. It does the same without flying forward to stopp you from woving sidewards because mostly planes have no thruster sideways. Please try it without speedmod, there is a limitation and a speedmod should not have impact. The align to gravity is only a small force, in normal case the default behavior do the leveling, but if you have sideway thrusters, they stop the normal behavior.
mxforlife 12 May, 2020 @ 3:50pm 
Really neat mod.
But I'm guessing I'm not really clear on it's intended purpose.
What is the idea behind making the ship roll when just "strafing" left or right? I get the idea that the ship rolls when you are moving forward and turns. But if I'm only flying sideways the roll is very annoying. Is this just for "Airplane" type ships?
Also I'm guessing because I use a speed mod when I fly fast and turn the ship rolls 90 degrees almost instantly as soon as I move the mouse just a bit. Lowering the strength kinda fixes that, but then the realign to horizontal seems to take for ages.

(I had no idea it was possibly to apply force to a grid without using a gyro, but I guess that is only possible in a mod and not in an in-game script.)
TwitchingPsycho 3 May, 2020 @ 12:25am 
@uuguuueu
Believe me, i have a script that does this and it's nowhere near as smooth and responsive as this. There are a lot of limitations using PB over mod script. :D
@Takeshi
I finally got the motivation to make my Flight Computer also a mod script. I was wondering if you'd be interested in helping/sharing the project with me. Heads up, i'm not actually a programmer, more a scripter so working with mod scripts is very new to me. Add me on steam if you're interested. Awesome mod btw!
And for the record, it's as useful in space as it is in gravity environment. ;)
bwlambrecht 27 Apr, 2020 @ 10:36am 
please make this a script