1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Effect and MCX question

Discussion in 'ModelConverterX' started by awreaper, 4 Aug 2017.

  1. awreaper

    awreaper

    Joined:
    19 Sep 2016
    Messages:
    208
    Country:
    unitedstates
    I know how to attach an effect to a static model but can you attach an effect to an animated model and have it move with the model? Thanks in advance for the help.
     
  2. =rk=

    =rk=

    Joined:
    28 Nov 2009
    Messages:
    1,672
    Country:
    us-washington
  3. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28 May 2004
    Messages:
    24,915
    Country:
    netherlands
    Hi,

    It can be done, but not very easy. You have to manually tweak the X file so that the attachpoint is inserted at the right location in the scene graph. There are some threads describing this.
     
  4. awreaper

    awreaper

    Joined:
    19 Sep 2016
    Messages:
    208
    Country:
    unitedstates
    I have an airport beacon that I made and it rotates. I want to attach a green light effect to the green lens side of the beacon and a white light effect to the white lens side of the beacon and have the effects move with the beacon. I have the effects created but when I try to attach them now they don't move with the beacon.
     
  5. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28 May 2004
    Messages:
    24,915
    Country:
    netherlands
    Hi,

    Attachpoints made in MCX are always attached to the root node of the scene. So therefore they are not moving, then the attach point needs to be placed under the animated node. Like I wrote before this can't be done in MCX yet, it's on the wishlist. You would manually have to edit the X file.
     
  6. awreaper

    awreaper

    Joined:
    19 Sep 2016
    Messages:
    208
    Country:
    unitedstates
    Thanks. I will give the manual edit a try and look forward to the upcoming feature. :)
     
  7. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28 May 2004
    Messages:
    24,915
    Country:
    netherlands
    I just Googled a bit for it and it seems a drag and drop of nodes in the hierarchy editor should not be too hard to implement, so I'll try to give it a try soon. Just not now, since it is time to go to bed and get some sleep now.
     
  8. awreaper

    awreaper

    Joined:
    19 Sep 2016
    Messages:
    208
    Country:
    unitedstates
    Thanks Arno.
     
  9. =rk=

    =rk=

    Joined:
    28 Nov 2009
    Messages:
    1,672
    Country:
    us-washington
    Did you check the linked thread above?
     
  10. awreaper

    awreaper

    Joined:
    19 Sep 2016
    Messages:
    208
    Country:
    unitedstates
    I did check that out. Hopefully today I will have some time to experiment with this and see what I can do.
     
  11. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28 May 2004
    Messages:
    24,915
    Country:
    netherlands
    I have also started implementing the new MCX functionality to move nodes in the hierarchy.
     
  12. awreaper

    awreaper

    Joined:
    19 Sep 2016
    Messages:
    208
    Country:
    unitedstates
    Great news Arno!
     
  13. pinkjr

    pinkjr

    Joined:
    11 Dec 2013
    Messages:
    731
    Country:
    us-texas
    I can imagine the possibilities of making retractable landing lights with the new dynamic lightning effect!!!!
     
  14. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28 May 2004
    Messages:
    24,915
    Country:
    netherlands
    I have just finished the node moving in the hierarchy editor, so it will be in the next development release.

    I'll try to make a quick video demonstrating the feature as well.
     
  15. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28 May 2004
    Messages:
    24,915
    Country:
    netherlands
    And here is the video tutorial I promised:

     
    tgibson and Henk Schuitemaker like this.