MSFS Tutorial - Animated open Hangar - Blender

  Рет қаралды 8,272

Federico Pinotti

Federico Pinotti

2 жыл бұрын

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.fsdeveloper.com/forum/thr...
model.Xml code:
drive.google.com/file/d/1lDvg...
if you want some more info, join the discord!
/ discord

Пікірлер: 61
@konturgestalter
@konturgestalter Жыл бұрын
beautiful tutorial. so helpful! i hope you will bring more of these in detail explanations of different scenery topics
@FlightDeckMagazin
@FlightDeckMagazin 2 жыл бұрын
Very good tutorial
@MarcFootageAviation
@MarcFootageAviation 2 жыл бұрын
Amazing!!!! Thnk u for your videos 🤘
@Max-uq4ci
@Max-uq4ci 2 жыл бұрын
Grazie Boss, ottimo tutorial🙂
@phcos1
@phcos1 2 жыл бұрын
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 жыл бұрын
Thanks Phil, It "should" work with the option you mention by using the (A:SURFACE TYPE,enum) in the code Read It somewhere
@AdelHaiba78
@AdelHaiba78 2 жыл бұрын
Wonderful
@xMIGHTYx
@xMIGHTYx 2 жыл бұрын
Thanks 🙏!!
@hakanpolat6495
@hakanpolat6495 2 жыл бұрын
thanks Pinotti 👍
@LeeCleydaSilvaLima
@LeeCleydaSilvaLima 2 жыл бұрын
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
@pgsimulation4211
@pgsimulation4211 2 жыл бұрын
thanks
@sushimello7524
@sushimello7524 2 жыл бұрын
Love your tutorials, have you planned on how many your gonna make?
@MSFS-SDK-TUTORIALS
@MSFS-SDK-TUTORIALS 2 жыл бұрын
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 😆
@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
@airpilotmd80
@airpilotmd80 2 жыл бұрын
Top
@NomadicakaLunaticplatypus
@NomadicakaLunaticplatypus 2 жыл бұрын
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
@gordelaoficial
@gordelaoficial 3 ай бұрын
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?
@user-pi2yr7us4o
@user-pi2yr7us4o 10 ай бұрын
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 10 ай бұрын
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
@user-pi2yr7us4o
@user-pi2yr7us4o 10 ай бұрын
@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 10 ай бұрын
@@user-pi2yr7us4o 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
@user-pi2yr7us4o
@user-pi2yr7us4o 10 ай бұрын
@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/
@jamilzeira82
@jamilzeira82 2 жыл бұрын
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 жыл бұрын
@@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!
@Mr.Zylinder
@Mr.Zylinder 7 ай бұрын
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 жыл бұрын
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 жыл бұрын
@@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 KZbin which is playing back online at a low res.
@johnarnold7460
@johnarnold7460 2 жыл бұрын
@@MSFS-SDK-TUTORIALS I found an addon for KZbin 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 KZbin 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
@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! )
@eraldosammurierasam9913
@eraldosammurierasam9913 2 жыл бұрын
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
@Eichetheking
@Eichetheking 2 жыл бұрын
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 жыл бұрын
@@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!
@steffenhustveit
@steffenhustveit 5 ай бұрын
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 5 ай бұрын
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
@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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
​@@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 жыл бұрын
@@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)
@Coccoluto
@Coccoluto 2 жыл бұрын
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)
@borntofly2655
@borntofly2655 2 жыл бұрын
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 ?
@DiventailMigliore
@DiventailMigliore 3 ай бұрын
Ma perché in inglese??? In italiano non si trova nessun tutorial. Fateli in italiano
@MSFS-SDK-TUTORIALS
@MSFS-SDK-TUTORIALS 3 ай бұрын
Se puoi posso farti un coaching personalizzato 😉
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 3,8 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 18 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 128 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 56 МЛН
Animating an ASR for MSFS 2020: with Blender 3.1 and Asobo Exporter
27:43
MyPhysical World
Рет қаралды 2,5 М.
MSFS SDK Tutorial - Waypoints Animation (Worldscript)
41:19
Federico Pinotti
Рет қаралды 3,5 М.
Create 3D text signs with Blender and import them into MSFS 2020.
55:09
TractorMonkey with JL
Рет қаралды 1,2 М.
Creating a Model Library | MSFS Scenery Tutorial
19:03
Rotornut44
Рет қаралды 4,8 М.
Ruining Minecraft with too many Quality of Life mods
11:43
TheMightyNebby
Рет қаралды 341 М.
Creating Scenery for MSFS: Making a Parallax Window
35:34
MyPhysical World
Рет қаралды 2 М.
MSFS SDK Tutorial - Helipads
29:26
Federico Pinotti
Рет қаралды 5 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 3,8 МЛН