MSFS SDK / Blender Tutorial - Animations

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • In this episode we gonna learn the basics of animations in MSFS and Blender, consisting in a air conditioner with a spinning fan
    If you need to get in touch, discord here:
    / discord

КОМЕНТАРІ • 45

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

    Thank you Federico, your tutorials have really helped me understand scenery development for MSFS

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

    Brilliant tutorial Federico, many thanks.

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

    I just made the first test and works perfect, but I was surprised to see that my rotation was counterclockwise and started to look in the internet how to reverse it. After some research I found it but it was still making no sense to me the way to do it, so I start to play with different changes, until I realized that by flipping the value in the Z axis by 180 degrees made the work!
    Another great tutorial!

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

    Thank you for these tutorials, they’re really helpful!

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

    Federico: "Ensure you check the spelling"
    Me: Spend 15 min debugging trying to understand why it does not work, opens the files several time, after 20 min realises "Autopaly"
    Works like a charm with two lights parented to a mesh for a rotating beacon :)
    Thank you Federico!

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

    This is fantastic, thank you!

  • @t.hartig4570
    @t.hartig4570 2 роки тому +2

    Nice!

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

    It is interesting 😃

  • @gunterhable2155
    @gunterhable2155 Місяць тому

    Der hat’s drauf ✌️👍👍👍👍👍

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

    Grazie mille !!

  • @esm920
    @esm920 17 днів тому

    How do you add a value to the typeparam=FrameRate? What is the correct way of adding a value?

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

    But if you export again from blender, those changes are destroyed, no?

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

      What kind of changes are you talking about? Every time you export from Blender you update the glTF model
      Maybe you are talking about the .xml?
      Simply deselect the "generate .xml"

  • @GHQSTXX
    @GHQSTXX Рік тому +1

    when I export my model, it gives me an error saying is could't convert the image into an .DDS/.DDS.JSON. An ideas?

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

      Yep, could be that your image size is not correct
      Image sizes must be multiple of 4
      To be sure, I keep mine power of 4 like 128/256/512/1024/2048/4096
      It doesn't need to be square
      Hope that helps!

    • @GHQSTXX
      @GHQSTXX Рік тому +1

      @@MSFS-SDK-TUTORIALS thanks for the reply! If possible, could you make a video on automated simobjects that are triggered by distance? I can't find any video out there that covers that topic. You explain this stuff perfectly, so a step by step video would be appreciated!

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

      @@GHQSTXX thanks a lot!
      I would consider it, anyway is really straightforward,
      The sample code I have uploaded to fsdeveloper is heavily commented so anyone can implement it 😗

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

      @@MSFS-SDK-TUTORIALS I saw that, But I'm unsure on how to set everything up, like how the worldscript corresponds with the simobject. Again, I would appreciate a video on this to have a better understanding on how this works

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

    Hello Federico and thank you for your animation tutorial, I started yesterday and this time the result is very present, great, but I just have a small problem! when I look at the air conditioning from the front the bottom is transparent if I look at it from the back it is not transparent! it's not very serious! but I notice that you don't have this little problem if you have an idea on this subject I would be grateful
    I would do your very instructive exercise again

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

      Great that you doing this!
      Transparent stuff Is usually because of the orientation of the normals, you can learn more about that in the fences tutorials (and also in the animated hangar One)
      To solve,
      Add a solidify modifier to your mesh to obtain a true hard surface 😉
      If you want you can also join the discord, much faster than YT!
      discord.gg/Ng2GkWZV3K

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

      @@MSFS-SDK-TUTORIALS Thank you very much for discord ! here it is I'm in your discord ! great

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

    Sorry, but after a lot of attempts, I have not been able to get a moving object in msfs. I'm trying with a very simple cube, that should rotate on Z-axis; ok, I do everything as in your (and also other) tutorial, I get an object that rotates in the gltf viewer, but not in msfs; I have given the same name "pippo" to collection, object, NLA tracks, I have modified the xml file using as name "pippo", I have not forgot typeParam="Autoplay", the guid of animation is different from object guid.... In may opinion everything is perfect. When I export from Blender I use the "new" Multi-Export glTF 2.0"; is it possible that with this exporter something is wrong? I'm really desperate.

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

      Ciao Sergio/ Lucio,
      Se l'oggetto è animato nel viewer interno di msfs è quasi sicuramente un problema nell' .xml
      Scrivimi qui
      discord.gg/Mp9ZwTdQ
      O via mail federico.pinotti@hotmail.it e vediamo di trovare la quadra
      (Magari mandami la modellib del cubo rotante)

  • @Marcelo-Pilot
    @Marcelo-Pilot 3 місяці тому

    Hi, thanks for the video, very good. I'm trying to animate the propeller without success. Has anything changed in these years? hugs

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

      Hi, it depends on Blender version/ plugin version you are using, most recent ones require some options to be ticked
      Jump into the discord so we can help to solve your issue!
      discord.com/invite/DaWs2kBu

    • @ViolinPilot
      @ViolinPilot 17 днів тому

      Also curious what these options are. Can't get it working when exported from Blender 3.6

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

    Hi Federico, if I want to use a Loop="False" option for a STATIC object with MSFS, do I need to create a SimObject or is it possible with a "short" behavior mod of the XML for a Scenery Object? Thank in advance! And btw.: Great tutorials! Love them!

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

      Hi Denis, animation don't need Simobject, the air conditioner in fact is a simple animated Scenery object
      But
      Using loop=false can be a show stopper because the animation is gonna be played only once , when the object is loaded in memory, is unlikely a user is in front of it when the animation plays!
      Don't be afraid of Simbojects, once you get started they are as easy as the others

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

      @@MSFS-SDK-TUTORIALS, thanks for the quick response! Tried to come to your discord but was kicked out right away. Had still some questions left. 😔 The planned animation is a start flying anim, consisting of 8 hangar door segments an two helicopter dollies (these small platforms on rails). It should only be played at the beginning, when you start on the hangar.

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

    do you have a tutorial for a tv that changes screens on microsoft flight simulator?

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

      What do you mean by changing screens?
      you can create some sort of flipbook animation, of course you have a limited amount of "frames" /images available, because it is impossibile to stream something to a scenery object

    • @StellaKay21
      @StellaKay21 5 місяців тому +1

      @@MSFS-SDK-TUTORIALS wow thank you for your reply, really grateful. Btw its like a tv screen that has like 5 different pictures which changes every 10 seconds.

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

      @@StellaKay21 so yeah flipbook Will be perfect
      Simply add a plane for each picture, and set a rotation animation for each one, rotating 180 the picture when you don't need on the screen
      You can also use a VFX to obtain it, like in this sample
      ua-cam.com/video/NOVukCukRt0/v-deo.htmlsi=WX5gabEAEEr6wVcF
      If you need help feel free to join the discord
      discord.com/invite/tG22G3Jr

    • @StellaKay21
      @StellaKay21 5 місяців тому +1

      @@MSFS-SDK-TUTORIALS great, i will join your discord right away, thank you for inviting me, i really appreciate it.

  • @Theyoyo5556
    @Theyoyo5556 9 місяців тому

    Hello Frederico, can we add a speed type in the xml ?

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  9 місяців тому

      Hi Yoan, can you elaborate more? You mean animation speed based on some simvar?

    • @Theyoyo5556
      @Theyoyo5556 9 місяців тому

      @@MSFS-SDK-TUTORIALS i'd like to make an air conditioner animation but i find the speed too low, isn't there a way to accelerate via xml? i've seen that you should add "speed="value"" but it doesn't work.

    • @MSFS-SDK-TUTORIALS
      @MSFS-SDK-TUTORIALS  9 місяців тому

      @@Theyoyo5556 I would do that directly inside the blender file, it is way easier and faster (.xml will require Simboject)

    • @Theyoyo5556
      @Theyoyo5556 9 місяців тому

      @@MSFS-SDK-TUTORIALS okey th, i just fix it, i can adjust with the frame number

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

    Why do you fast forward when you showing to do anything, let the viewer do the fast forward if they don't want to see the whole video. other wise your video is useless

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

      I'm sorry that you find this video useless 😭
      There are various reasons why I fast forward parts of the video:
      - length: the overall length makes the video less interesting
      - purpose of the "lesson": the videos in this channel are supposed to be watched as a series, start with the first one and maybe you won't need the skipped parts
      The goal of this video is to show how to do simple animations in Blender and export them into msfs (not how to make and air conditioners)
      The whole modelling/texturing process is just "bonus" (and my modelling skill sucks, there are tons of videos more Blender related with a lot better teacher, like Grant Abbit channel)
      If there are other parts that you need some more info, feel free to ask here or join the discord ☺️

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

    How do I create the albedo image for the air conditioner? Do you explain it in another tutorial?

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

      Hey David, you can grad any texture from the internet, air conditioners are pretty common stuff ,😗
      This is the one I used, same source you can obtain a lot more for free
      www.textures.com/download/Aircos0129/73074

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

      Thanks for the quick answer, but what i meant is you talk about editing it in gimp, and after that I asume you have to save it in a particular format?

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

      @@mecagoenjuandiego well actually you can use for your source texture every kind of format Blender supportes, i usually keep my downloaded texture in the same format they come from the internet (tiff, png, jpg, everything is fine).