MSFS Tutorial - Animated open Hangar - Blender

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • In this tutorial I'm gonna show you how to create an Hangar with animated doors for Microsoft Flight Simulator. The animation in controlled with special code described in the video
    The object is a SimObject, for more info about SimbObject please take a look at this video:
    • MSFS SDK Tutorial - Si...
    Thanks GuidoH, Rhumbaflappy, ChristianBahr, more info on this topic
    www.fsdevelope...
    model.Xml code:
    drive.google.c...
    if you want some more info, join the discord!
    / discord

КОМЕНТАРІ • 67

  • @theliger1980
    @theliger1980 14 днів тому +1

    Thanks for your nice and very helpful Tutorial

  • @konturgestalter
    @konturgestalter Рік тому +3

    beautiful tutorial. so helpful! i hope you will bring more of these in detail explanations of different scenery topics

  • @phcos1
    @phcos1 2 роки тому +3

    Wahoo Maestro... This is another amazing video. I was trying to find how to open my hangar when the plane come on a precise location in front of the door, but the timing and stick removal is awesome. Grazie

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому +1

      Thanks Phil,
      It "should" work with the option you mention by using the (A:SURFACE TYPE,enum) in the code
      Read It somewhere

  • @LeeCleydaSilvaLima
    @LeeCleydaSilvaLima 2 роки тому +1

    Hello Frederico!!!
    I was very happy and grateful for your tutorial! I did this and it worked perfectly!!!
    what I'm looking for now is how to put sound in SimObject to have the sound of the door scrolling would be very cool!!

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      Thanks mate, I'm pretty sure It can be done but i have to study wwise yet 😆
      In the 3d linked in the tutorial should be some code about it

  • @MarcFootageAviation
    @MarcFootageAviation 2 роки тому +2

    Amazing!!!! Thnk u for your videos 🤘

  • @FlightDeckMagazin
    @FlightDeckMagazin 2 роки тому +1

    Very good tutorial

  • @Max-uq4ci
    @Max-uq4ci 2 роки тому +1

    Grazie Boss, ottimo tutorial🙂

  • @AdelHaiba78
    @AdelHaiba78 2 роки тому +1

    Wonderful

  • @hakanpolat6495
    @hakanpolat6495 2 роки тому +1

    thanks Pinotti 👍

  • @elgalopinos
    @elgalopinos 2 роки тому

    Thank you very much Federico for this new tutorial, really very interesting, but the script code is a little complicated for me, I have to listen your video more times to follow it and understand it.
    I remember I did something like this for FSX, but the animation was based on the approach of the aircraft, it could be very interesting to be able to control the animation based in a frequency?. Also I made the marshaller moves and the visual electronic aids to park on the tarmac.
    I really appreciate your videos, all of then very interesting

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      Thanks Rafael, RPN code Is not really very intuitive, at least for me because i'm used to more modern object oriented programming language
      Unfortunatly there are not a lot of variables available for static Simbobject, It Is a more a trial and error to find the right one
      Back in fs9 i have also did pilot controllerld runway lights and hangar opening with nav frequency, but msfs changed stuff a bit...
      A VGDS can be made in msfs also using lods

  • @xMIGHTYx
    @xMIGHTYx 2 роки тому +1

    Thanks 🙏!!

  • @theliger1980
    @theliger1980 13 днів тому

    Does the roof of hanger or any building object Landable?
    I mean does the surface solid if not can you make tutorial for helipad and make it Landable?
    Thanks

  • @gordelaoficial
    @gordelaoficial 5 місяців тому

    Great tutorial! I have a question. Would it be possible to trigger the animation by radio frequency? For instance, if I input the frequency 122.805, would it open the doors?

  • @NomadicakaLunaticplatypus
    @NomadicakaLunaticplatypus 2 роки тому +1

    Can you do a tutorial on how to make custom black and yellow lines for your scenery? Either through custom painted lines or projected mesh

  • @theliger1980
    @theliger1980 13 днів тому

    It just came to my mind.
    I used to use model converter X for FSX.
    I think if you export animated model from Blender as .dae and import it to model convertor X i think you can set command for animation there then after that you can export it back to FSX. But i dont know if it is applicable for MSFS. but its worth to try.
    And regarding the Landable surface i used concrete platform from setting option in model convertor X. But i dont know if there option in blender i can use it without using of model convertor X.

  • @Mr.Zylinder
    @Mr.Zylinder 10 місяців тому

    Can you make a tutorial how to animate rotorblades? So not the blurry effect I mean the startup animation (spool up) … to make it slowlier or faster when starting up?
    Most of helicopters have the problems that the animation speed of the tailrotor is too slow or the start up animation starts too fast etc

  • @johnarnold7460
    @johnarnold7460 2 роки тому +1

    I have been waiting for such a tutorial since I saw a similar youtube video where the doors opened/closed triggered by an event.
    The only problem is that it is is lo-res making reading the (Blender) text almost impossible (for me) to read.
    Otherwise another excellent video from Federico.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      Thanks John!
      There should be a 1080p60fps quality in the YT video,
      i can try to increse the bitrate of the video and link that to you, but source Is still 1080p , so small text, and you are lucky i'm not a 4k user 🤓

    • @johnarnold7460
      @johnarnold7460 2 роки тому +1

      @@MSFS-SDK-TUTORIALS I have found that if I download the video as 'full hd' to my PC I can then play it and read all the text. Maybe it is UA-cam which is playing back online at a low res.

    • @johnarnold7460
      @johnarnold7460 2 роки тому

      @@MSFS-SDK-TUTORIALS I found an addon for UA-cam which automatically plays back in a higher res. Strange that I didn't need it in the past. Maybe if the network is very busy UA-cam automatically reduces playback resolution.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      @@johnarnold7460 could be, e.g.
      during massive Covid lockdown in Europe , YT and other streaming services throttled down the quality due to increased demand, maybe they are doing the same there too. I have also noticed that small channels like mine sometimes have worse quality or takes more time to load the hi res video

  • @airpilotmd80
    @airpilotmd80 2 роки тому +1

    Top

  • @pgsimulation4211
    @pgsimulation4211 2 роки тому +1

    thanks

  • @jamilzeira82
    @jamilzeira82 2 роки тому +1

    Thank you for your videos they are helping me a lot. could you tell me how to make lod's with animation on objects.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      Hi Jamil,
      In the example i animated the part (mesh) and of course that won't work with lods because, in Blender in the same file you can't have multiple mesh with the same name.
      You can do lods:
      - by using separate blend files
      or
      - by parenting the lods parts to an empty, and animate the empty
      Door_left_empty
      -- door_left_lod00
      -- door_left_lod01
      When exporting you can select the empty and the desired lod mesh and check che "export only selected object"
      Should work 😊
      Using emptys with lods Is also Asobo's advice in the docs!

    • @jamilzeira82
      @jamilzeira82 2 роки тому +1

      @@MSFS-SDK-TUTORIALS thank you very much for the explanation. I'll try to reproduce. Your tutorials are very good, keep contributing to the community!

  • @sushimello7524
    @sushimello7524 2 роки тому

    Love your tutorials, have you planned on how many your gonna make?

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому +1

      Hey sushi, thanks so much,
      With my work I'm trying to cover the topics that other great tutorialist like our mentor Flyign Theston left uncovered
      And also new or changed stuff, and Asobo Is pretty fast at changing things, so i don't Plan to stop anytime soon 😆

  • @부성최-e9e
    @부성최-e9e Рік тому +1

    Nice video man
    Quite glorious, indeed
    May i ask a question
    Does it work in msfs with the key on keyboard you did set when you edit them with blender?

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  Рік тому

      Hi, thanks!
      Ehm... The animation is assigned in the .xml to a variable (in the video is the time of the day or the visibility of the yoke)
      If you bind your controls (joy or keyboard) to that variable, it will work
      It is not possible to assign the animation to a keystroke, only to some specific simvars

    • @부성최-e9e
      @부성최-e9e Рік тому

      @MSFS-SDK-TUTORIALS
      I would like to animate them with joy or keyboard as well.
      You mean i should alternately press the key from joystick and keyboard to animate them?

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  Рік тому

      @@부성최-e9e I mean you must link the animation in the .XML with something that can be assigned to a command (like e.g. landing lights), then pressing the switch in the cabin or the corresponding button on your keyboard or joy is not relevant, it will work

    • @부성최-e9e
      @부성최-e9e Рік тому

      @MSFS-SDK-TUTORIALS ok thanks
      Csn i ask how to edit for keybinds to animate it in xml?

  • @MCCDEMON
    @MCCDEMON Рік тому

    wow...thanks so much for that cool explanation. Where can I read what other possabilities I have to open the Hangar doors. Like a small remotecontroler? Thanks again.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  Рік тому

      thanks!
      as per the description, this 3d is the goto solution, landing lights and nav lights are other known "switches"
      www.fsdeveloper.com/forum/threads/visibility.449781/

  • @tbryson2
    @tbryson2 Рік тому

    This may be my next project. Prior to MSFS someone made hangars where the doors would open if a specific frequency was “dialed in”. Is that a possibility with MSFS? I would rather be able to do that instead of setting the open / close time. (Although that’s cool too! )

  • @steffenhustveit
    @steffenhustveit 7 місяців тому

    Hi, Once again, a great tutorial! One question. Ive manage to get the doors to work in the sim, but hide the Yoke will not make the doors open / lock. Is it something im missing? Im using the code you have linket in this video. Tnx

    • @steffenhustveit
      @steffenhustveit 7 місяців тому

      Well, I fugured it out. I can not open and close the gate when the gate is allredy open. So I just have to find out how to force close or open it within the opening hours

  • @Eichetheking
    @Eichetheking 2 роки тому +1

    Thank you for the awesome tutorial. I have a question though.. Do you know a way to access aircraft variables (A:VARIABLES) to automatically open the gates when an aircraf comes close? I tried to do this but it seems as if the simObject has no access to the values and it does not work.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      i know, and there is no way with simobject only to trigger the door opening with distance, lot of more talented guys have tried and failed.
      there are other possibilities involving wasm or scripting, the second one look more promising and accessble, but there is little to no documentation about

    • @Eichetheking
      @Eichetheking 2 роки тому

      @@MSFS-SDK-TUTORIALS Thank you for clarifiying. I actually made an animation follwing your guidance, triggered by the event "copilot yoke hidden". This in general is a cool solution, but not every plane has a copilot yoke..
      It feels strange to me that these buttons are accessible but not all other airplane buttons.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      @@Eichetheking
      Yep thats weird, also the same goes for landing light or nav lights, some Planes have them, some don't. actually I love some kind of interaction, but I think is more common in real life that hangars are automatically open in the morning and automatically closed in the afternoon. Don't think that pilots have some remote controller to open the doors like the garage for their cars 😆

    • @Eichetheking
      @Eichetheking 2 роки тому +1

      @@MSFS-SDK-TUTORIALS You are absolutely right about hangar doors, its perfect the way you implemented it in the tutorial. I am just modelling a gate closing a taxiway for a military airport. So this should ideally open when the player approaches and close behind them (as in real life for military jets).
      Lets see if the SDK will improve in the future.
      Thank you anyway for your astounding and brilliant tutorials. Looking forward to more!

  • @Coccoluto
    @Coccoluto 2 роки тому +1

    Ho visto che alcuni sono riusciti a creare animazioni che si attivano quando un simobject entra in un determinato punto, penso tramite script possibile? 😱

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      Ciao Sergio, ho visto anche io in Brussels di Aerosoft
      Potrebbe essere fatto tramite i Lod, bisogna che lo compri e lo smonti per capire 😆
      Oppure tramite Wasm (loro lo hanno usato nelle jetway)

  • @eraldosammurierasam9913
    @eraldosammurierasam9913 2 роки тому +1

    Really good tutorial. Can you also share the blender model ?

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      I plan to release the full source of all the airport and Its objects has soon as i complete It, (this Is the main reason why i haven't released It yet)
      It Is going to be a tech demo of everything can be done scenery-wise in msfs
      Anyway, sources can be pretty much useless if you don't learn how thing works, because even a Little change can brake the whole stuff

  • @theliger1980
    @theliger1980 14 днів тому

    Can i set command for animation instead of time so for example when im infront of hanger i type command for example "ctrl + o" hanger door will open. And "ctrl +c" the hanger door will close.
    Is it Possible?

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  13 днів тому +1

      @@theliger1980 It Is not possible, you need an external application to do that

    • @theliger1980
      @theliger1980 13 днів тому

      Thanks

  • @borntofly2655
    @borntofly2655 2 роки тому +1

    Ciao, rinnovo i miei complimenti per la tua guida , sto facendo una piccola aviosuperficie dove sto studiano per il Vds , abbiamo fatto la manica a vento e questa funziona anche se ho qualche problema da risolvere , nella realtà sopra il palo, proprio in punta abbiamo una sagoma di un aeroplano, il problema è che questa essendo attaccata al palo (blender) non gira come la manica a vento, come posso fare per far si che questa sagoma segua il vento come la manica ? se vuoi e puoi aiutarmi ti posso passare anche la manica a vento che ha già la sagoma e segue il vento per vedere dove sbaglio o che si può fare

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому

      mandamela pure che ci guardo perchè non ho ben capito :D

    • @borntofly2655
      @borntofly2655 2 роки тому

      @@MSFS-SDK-TUTORIALS come faccio a inviartela ?

    • @borntofly2655
      @borntofly2655 2 роки тому

      ti contatto su flightsim ok ?

  • @Jimbo-in-Thailand
    @Jimbo-in-Thailand 2 роки тому

    Federico - please HELP!!! I tried this with a proven sequence of _type="Standard"_ repeating "Autoplay" animations that I've recently done. Unfortunately, using this _type="Sim"_ code with YokeHidden1 XMLVAR simply won't start the animation group. Everything seems normal and I get no compile/build errors so don't know why it's not working. Of course, the yoke(s) do hide/unhide properly. I've tried it with and without the LOCAL TIME string. I even tried it with and without the 50 string. When nothing worked I finally tried changing loop= "False" to "True". Do the animated objects have to be Sim Objects? I have them in my regular scenery PackageSources\modeLib folder. Also, is there another XMLVAR we can use that doesn't require pointing the mouse at the yoke and clicking to activate. I just want to assign a single keyboard key to toggle the animation.
    Thanks!

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому +1

      Hi Jimbo, animated object doesn't have to be Simobject, in my tractor and air conditioner video the objects are animated and simple scenery object (goes into modelLib)
      But as soon as you add a condition/interaction, you NEED a Simboject. The yoke thing is a interaction, the time/date is condition (as well as temperature, precipitation etc). Simboject code in a simple Scenery objects compiles, but is uneffected.
      As far as I know,.you can't assign a key to trigger a Simboject event

    • @Jimbo-in-Thailand
      @Jimbo-in-Thailand 2 роки тому

      @@MSFS-SDK-TUTORIALS Ahhh that explains why it won't animate. Thanks so much for the info! Are there any other interactions/conditions I can apply to the Simobject so it will animate? [Edit: Just found your Runway Indicator tutorial and found there are many simvar conditions available. My head is spinning trying to learn to do animations!]
      Thanks again!

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому +1

      @@Jimbo-in-Thailand most common used are
      Wind (speed/direction) time (date), precipitation type, temperature
      As switches in the cockpit nav lights, landing light, yoke (airplane dependent)

    • @Jimbo-in-Thailand
      @Jimbo-in-Thailand 2 роки тому +1

      ​@@MSFS-SDK-TUTORIALS 👍👍 Thanks to your great help I finally got my Scenery object converted into a Sim object and the animation tweaked and working fine. It's triggered with the hide-yoke toggle var, which isn't as bad as I thought. A really great thing about that toggle is it reverses the animation the 2nd (un-hide) toggle, which is a time saver in my case.😁
      Hmmm... I'm curious as to why Asobo implemented the [redundant?] xx variable when there's already an animation speed variable implemented.🙄 Anyway, it took several iterations, but I finally got my animation playing at approximately the same speed as I had created in Blender using 22.
      During this ordeal I hit a brick wall with CTD with my animation so did a simplified version of your hanger doors tutorial trying to pinpoint the problem. It also kept CTD, even with no Build/compile errors. I finally found the problem was I hadn't added the declaration. I think I read that's a recent mandatory requirement in the SDK.
      Regarding the hanger doors animation, I found what I thought was a shortcut by using Blender constraints to animate the doors as a group. The result was a single animation for all 4 doors. It worked perfectly in Blender, but sadly, the sim completely ignored the constraints so only 1 door out of the 4 actually animated in the sim. Oh well.
      Anyway, a great big thanks again and... Regards from Thailand! 🤪

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  2 роки тому +1

      @@Jimbo-in-Thailand thanks, that's great!
      I found the speed stuff not very reliable, nor the lag...anyway it works, that's the important!
      About the lod in Simobject, yep, very annoying but required!
      Also every constraints in Blender doesn't export in the sim, you can use them to animate stuff, but you need to bake the animation to make the working in the sim (my follow path animation is a great example about this topic)

  • @DiventailMigliore
    @DiventailMigliore 5 місяців тому

    Ma perché in inglese??? In italiano non si trova nessun tutorial. Fateli in italiano

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  5 місяців тому +1

      Se puoi posso farti un coaching personalizzato 😉