There are two ways to do this.
1. Use the voffset and pos tags to move the arrow around the label as you rotate it
2. Use a control base (or rotator), and a fuselage or two
I'd recommend option 2, sometimes mechanical displays are better than 2 pages of text code for a single arrow.
@TinyMaus
[copied from SWL-10, better suited here]
Thanks! My goal for the SWL-120 is to make it like a real flight sim - separate throttle control, pushback tug, refueling tanker (you can spawn and control these yourself), full interior, everything.
I have an overclocked 11900K and barely get 60fps with the full assembly right now. The plane is fairly GPU heavy due to a modding trick I'm using, I have a 3060 but plan to upgrade eventually. I do have a no mods version which should be less of an impact than the full version. It's going to be cargo, that way I can have a "full interior" which is just empty. I'm also going to try and make a cockpit only version, for VR.
I use a rotator, a magnet, and two buttons. The magnet just serves as a detailed knob (not a magnet). The rotator and magnet are just for show. The two buttons increase and decrease the value of the "knob".
@U2 @WisconsinStatePolice You need to press reply (tagging the user) otherwise they won't see your comment unless they are specifically looking at the comments section of this forum.
@Hiimakeplanes Oh, that's the clamp01. This code doesn't actually need it at all, so remove the clamp01 from the expression and make it (GearDown ? Yaw : 0).
@jamesPLANESii Well if you separate every single part in my mod parts (let's remove the custom 3D modelled parts entirely for now), you have over 24000 normal fuselages and other parts. I can comfortably drag out about 20 of the seat parts, (1 part for all seats in the plane), so I have 16000 * 20 = 320000 parts at 30 fps on a 3060.
That's 16 yamatos.
Also my 3060 is maxed out, usually it's idling and my i9 is doing all the work.
@Emirates380 That link only works if the mod creator (in this case klm747 and myself) posted an android mod, which we didn't. In addition to this, you could only upload an android mod a few years ago.
Well I tried to download it and it says I'm missing some parts from SP Extra, despite me having the latest version installed.
I also tested your version of SimpleWings, it works fine.
Main Gear Doors Code
A code which is simple to modify the timing of, and is 1 whenever landing gear is retracted or extended, otherwise it is 0. clamp01(pingpong(smooth(clamp01(GearDown) * 2, 0.5), 1) > 0)
Change "0.5" to a smaller number for a longer timing, or a larger number for a shorter timing.
The above is copied directly from a Discord server I'm in (I wrote the code)
@DameTheMobileFriendly Also fun fact, I just finished reporting at least 20 of these. They have a few comments on their profile, and then on those posts I see other bot accounts which have their own comments...
smooth(Throttle > 0.95, 0.017)
That's the basis of the code you want. The only flaw it has is the smooth keeps increasing or decreasing forever, so you'll want to clamp that in some way.
Sure, I'll do it.
+1@Skykid028 That's alright. To simplify that code, you could do
+1clamp(Pitch + Roll, -1, 1) * clamp(1 - (IAS / 500), 0.1, 1)
.There are two ways to do this.
+11. Use the voffset and pos tags to move the arrow around the label as you rotate it
2. Use a control base (or rotator), and a fuselage or two
I'd recommend option 2, sometimes mechanical displays are better than 2 pages of text code for a single arrow.
@TinyMaus
+1[copied from SWL-10, better suited here]
Thanks! My goal for the SWL-120 is to make it like a real flight sim - separate throttle control, pushback tug, refueling tanker (you can spawn and control these yourself), full interior, everything.
I have an overclocked 11900K and barely get 60fps with the full assembly right now. The plane is fairly GPU heavy due to a modding trick I'm using, I have a 3060 but plan to upgrade eventually. I do have a no mods version which should be less of an impact than the full version. It's going to be cargo, that way I can have a "full interior" which is just empty. I'm also going to try and make a cockpit only version, for VR.
@SlowSeline82 because there has been no android mod support for several years.
+1@windshifter1 I installed the minimap and other screens
+1Interesting, it's nice to see tutorials in other languages.
+1I use a rotator, a magnet, and two buttons. The magnet just serves as a detailed knob (not a magnet). The rotator and magnet are just for show. The two buttons increase and decrease the value of the "knob".
+1clamp01(Activate1 & Activate2)
+1You know you can just change your bio
+1I don't think those users even remember this game.
+1Are the fuselages connected correctly? Smoothing relies on connections and tries to match the textures.
+1Or just own a computer
+1@IMFLYINHERE 3 public, 10 unlisted, and unlimited forums.
+1You can technically make unlisteds public for 13 public posts a day... but please don't.
Press F9 to hide GUI
+1@U2 @WisconsinStatePolice You need to press reply (tagging the user) otherwise they won't see your comment unless they are specifically looking at the comments section of this forum.
+1@Tingly06822 Ah, I see. I would recommend using a piston with a very high speed or a control base with V's modification with that code then.
+1@HuskyDynamics01 Actually the biggest plane Boeing ever made is the Boeing Dreamlifter
+1Everyone can comment on this post.
+1@Hiimakeplanes Oh, that's the clamp01. This code doesn't actually need it at all, so remove the clamp01 from the expression and make it
+1(GearDown ? Yaw : 0)
.
+1clamp01(GearDown ? otherCode : 0)
That's one way to do it.
otherCode
is whatever code you want to put in it.Moderators
+1The detail on that engine is insane.
+1You can refer to this, however there is a better method which follows a similar style.
+1I saw this earlier and sent it to a friend (I can explain it too but don't feel like it)
+1send it to someone not on android.
+1Like me
You need to save the plane first.
+1@Farewellntchii Physics are the same on mobile and computer.
+1@SONYPVM9041QM I already saw this, it's insanely simple.
+1You download them from the quest 2.
There's an airplane browser in SPVR
@Korzalerkle @SheriffHackdogMCPE rating old been has the comment this grandfathered from in system
+1@OPaiTaOn It should work, if you'd like, tag me on an unlisted version and I'll test it in VR when I have a chance.
+1Got it working, just flying around now. I have no idea what changed to let me download it.
+1This plane is incredible, great work!
Well I just tried downloading this and it worked fine!
+1Now to fly it
@jamesPLANESii Well if you separate every single part in my mod parts (let's remove the custom 3D modelled parts entirely for now), you have over 24000 normal fuselages and other parts. I can comfortably drag out about 20 of the seat parts, (1 part for all seats in the plane), so I have 16000 * 20 = 320000 parts at 30 fps on a 3060.
+1That's 16 yamatos.
Also my 3060 is maxed out, usually it's idling and my i9 is doing all the work.
@jamesPLANESii True, but then I get massive improvements after I convert 5000 parts to 1 part (and it uses my GPU a lot more)
+1@lastcentury All large airliners have an APU. So yes, the SWL-120 does have an APU.
+1@Emirates380 That link only works if the mod creator (in this case klm747 and myself) posted an android mod, which we didn't. In addition to this, you could only upload an android mod a few years ago.
+1... you can
+1Well I tried to download it and it says I'm missing some parts from SP Extra, despite me having the latest version installed.
+1I also tested your version of SimpleWings, it works fine.
Oh hello again.... I seem to have forgotton about this. Trying it now.
+1NOOOO-- wait it's a prank
+1I use a piston to push the spring downward, while keeping the hinge free spin at all times.
+1It can, just open them in a program such as Blender.
+1Main Gear Doors Code
+1A code which is simple to modify the timing of, and is 1 whenever landing gear is retracted or extended, otherwise it is 0.
clamp01(pingpong(smooth(clamp01(GearDown) * 2, 0.5), 1) > 0)
Change "0.5" to a smaller number for a longer timing, or a larger number for a shorter timing.
The above is copied directly from a Discord server I'm in (I wrote the code)
There is this thing called Steam Cloud. What you're describing has existed for years.
+1@DameTheMobileFriendly Also fun fact, I just finished reporting at least 20 of these. They have a few comments on their profile, and then on those posts I see other bot accounts which have their own comments...
+1@Dragoranos In my next video I should say ComplexPlanes instead of SimplePlanes and not say anything.
+1
+1smooth(Throttle > 0.95, 0.017)
That's the basis of the code you want. The only flaw it has is the smooth keeps increasing or decreasing forever, so you'll want to clamp that in some way.
You could maybe yoink the altitude autopilot from the SWL-10.
+1@ThatRandomCouchPotato 2000
+1