Skip to content

FGUK Bae Hawk

2»

Comments

  • It would be done in the main model xml file

  • Rgr that.

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • For animating switches, do I have to model the switches in (if it has 2 options) 2 positions?

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • I usually lace a pre made switch in to the panel using xml

  • So the switch as a seperate .ac file? or as an object in the main .ac file?

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • Separate ac file, placed into the aircrafts panel via xml

  • Right, does anyone know the blender addon to import/export .ac files? I reinstalled my system and i lost it XD

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • I have it, but on a very old version of blender

  • I have Blender 3.2 all the versions I’ve found are for 2.6 or smth

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • my one is 2.49b

  • So the moving map (like in VooDoo’s F35), how would I get that onto the screen in the Hawk

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • Its a pain in the arse

  • edited August 2022

    Hi, I've been working on trying to get the canopy to open, the -set and planes xml file is all set, but the canopy is in 3 or 4 parts, I can apparently move them all at once, but i have no idea how to, here is the animation code so far:

    <animation>

    <type>rotate</type>

    <object-name>canopy2</object-name>

    <object-name>canopy3</object-name>

    <object-name>canopybolt<object-name>

    <object-name>canopyframe</object-name>

    <property>/controls/canopy/position-norm</property>

    <factor>55</factor> <!-- The rotation in degrees -->

    <center>

    <x-m>-2.7165</x-m>

    <y-m>0.0</y-m>

    <z-m>1.2040</z-m>

    </center>

    <axis>

    <x>0</x>

    <y>1</y>

    <z>0</z>

    </axis>

    </animation>

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • Use a Name animation to give all the parts a unique name.


    <animation>

    <name>TheCanopy</name>

    <object-name>canopy2</object-name>

    <object-name>canopy3</object-name>

    <object-name>canopybolt<object-name>

    <object-name>canopyframe</object-name>

    </animation>


    Then you just need to animate the new group called " The Canopy"

  • so the animation itself goes into a different <animation> tag?

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • right so that is all done, but the keybind itself (i think) is what's not working - the planes folder must be called "BAE-Hawk" does that go into where i've got BAE_Hawk_T2? and is that command correct for the animation that I've done (same as what was included above just separate)?

    Here it is:

      <key>
         <name>Ctrl-d</name>
        <desc>Toggle Canopy</desc>
        <binding>
        <command>nasal</command>
         <script>BAE_Hawk_T2.canopy.toggle();</script>
        </binding>
       </key>
    

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • Using the standard doors.nas file

    keyboard:-

    <key n="100">

      <name>d</name>

      <desc>Crew door</desc>

      <binding>

       <command>nasal</command>

       <script>doors.doorsystem.crewexport();</script>

      </binding>

     </key>


    In the set file under the nasal tags :-

    <doors>

    <file>Aircraft/Aircraft folder name/Nasal/doors.nas</file>

    </doors>


    And the animation property used in the model xml would be

    <property>instrumentation/doors/crew/position-norm</property>

  • right, thanks very much it is now moving, now just gotta play with some parameters to get it to rotate to the right point

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • What license is the Hawk under?

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • 2.0?

    CJ

    OrbitalMartian

    Callsigns: G-ORBI

  • cant remember

Sign In or Register to comment.