Need help with getting 3D object from blender into FS4 + Possible issue with Mac converter?

  • Hi, I'm trying to make a custom ground equipment mod for Aerofly FS 4 (and later FSG), but I'm stuck getting the geometry to actually show up in the sim. I hope someone like Jan or Admin could help me out because this is really frustrating me out, I've spent hours to no luck...

    I originally started with an entire ground equipment scene - I noticed even with the help of Claude something was not right, the scene was just not loading into the sim. Here's a picture from Blender. I used some free basic A320 model as a reference at the start. It didn't work, I thought maybe the original A320 file which I was using as a reference was causing the issue, so I removed it and started again from scratch.

    Then, I made my project simpler by just trying an airstairs model and wanted to eventually have a few different ground service vehicles/equipment objects in one TMB, with the individual objects controlled through the TMD. But I decided to take it one step at a time to figure out the issue. Here's a pic from blender of just the airstairs, as you can see the dimensions and location look fine I think?

    The Blender export seems to be working. The .tgi contains the geometry, and I can see things like the geometry name, vertices, faces, etc. For example, my airstairs geometry shows up as Airstairss with thousands of vertices and faces, so I'm extremely confident that the issue is not related to the Blender part but rather the exporting/converting part.

    I also checked the tm.log, originally I had a geometry-name mismatch, which I fixed and after that, Aerofly stopped giving me the "geometry not found" error and the aircraft loads normally without any STOP block.

    However, the stairs still don't appear in the sim. To make sure the actual stairs model wasn't the problem or maybe I was doing something wrong in Blender, I stripped everything right back and made a completely new and very simple test cube in Blender. I gave it a basic green material so it would be really obvious if it appeared.

    The cube is:

    • Named Airstairss
    • Location: X 0, Y 0, Z 2
    • Dimensions: 2 × 2 × 2
    • Scale applied 1, 1, 1
    • Has a basic material
    • Exports successfully to TGI

    The TGI for this also looks valid. It contains:

    name = Airstairss

    num_vertices = 36

    num_faces = 12

    and the vertex/index data is there.

    But even this green cube doesn't appear in Aerofly. I'm on macOS and I'm using the recently released Mac version of the converter, so at this point I'm wondering if there could possibly be an issue with the TGI to TMB conversion on Mac, or if I'm missing something in the way the TMB needs to be included/loaded. I do remember that there was an issue with the TTX converter for Mac which was fixed, could there also be an issue with the TGI converting process?

    My current TMD graphics section is basically:

    Code
    <[rigidbodygraphics][GroundEquipment][]
        <[uint32][PositionID][Fuselage.R]>
        <[uint32][OrientationID][Fuselage.Q]>
        <[string8][GeometryList][ Airstairss ]>
        <[string8][InputTransform][GroundTransform.Output]>
    >

    Here is my system.tmd, with the help of Claude. The idea is to first simply have it just show up and then later I will add the logic of turning the ground equipment on and off.

    The aircraft itself loads normally, and I don't get an Airstairss not found error anymore but at this point I'm mainly trying to figure out whether the problem is with my setup, the TGI/TMB conversion, or possibly the new Mac converter.

    My trial mod folder looks like this, could it be an issue with the folder structure perhaps? I put this in both my addons folder and also tried through steam directory, nothing worked.


    If anyone has any ideas on what I should check next, please feel free to write below as I really want to make this work and make this mod for everyone free to use.

  • Another question, I understand that the Aerofly TMB Files are encrypted, but is there anyway to import the Aerofly aircraft into blender - or at least a simplified version, to help with this and alternatively make liveries?

    I don't think that is possible. As far as I know.

    Do you have a texture for the airstairs. I have no idea how things work with aircrafts, but scenery object, which are also TMB objects need a texture file .ttx that an object appears.

  • alphasixx

    Do you want to primarily design scenarios or create individual objects?

    (1) DESIGNING SCENARIOS:

    Scenarios can be created very easily with the PCT. In the PCT, hundreds of XREF objects already available in FS 4 or, in addition, any number of own objects can be used very freely. Therefore, I am currently gradually converting all previous TMB objects from FS 2 to FS 4.

    It is important for XREF objects that they already receive speaking names in the TMB when they are created.

    (2) CREATING INDIVIDUAL OBJECTS:

    All objects can be used as TMB or as XREF:

    • When using TMB, the object is accessed via the TMB file name, and the content structure of the TMB does not matter. When using TMB, the object must appear more or less directly in the scene folder. The object must also be already codified in the TMB directory, because it cannot be rotated in the scene anymore.
      => My recommendation is to only provide TMB use for buildings that occur only once..
    • When using XREF, the object is accessed through the internal geometry name within the TMB. Therefore, both the creation of the TMB and its creation should ensure that the automatic internal names 'part00', 'part01' etc. are individualized. The reward for this is that objects are only created and saved once and can then be used arbitrarily often in any orientation.
      => My recommendation is to always provide XREF usage for all objects that appear multiple times (car, ship, aircraft, animal, sign, ...).

    Tschüss, Michael (🍎🚁)

    Configurations:

    - MacBook Pro (16", 2024); Chip: Apple M4 Max; actual macOS
    - Controllers: | WinWing: URSA MINOR-Fighter-Joystick R, EFIS-L & FCU & EFIS-R | Thrustmaster TCA AIRBUS EDITION: 2x Quadrant, 2x Quadrant Add-On | Pro-Flight-Trainer: PUMA X | Steelseries: Nimbus+

    - iPad (12,9", 4th Generation, RAM: 6 GB); actual iOS | Steelseries: Nimbus+

  • Do you have a texture for the airstairs. I have no idea how things work with aircrafts, but scenery object, which are also TMB objects need a texture file .ttx that an object appears.

    Yes, I have the textures downloaded. But there are multiple texture files for the air stairs, I converted them each to TTX and nothing popped up when I put them into my mod folder. I know you have extensive knowledge with TMB objects, would you perhaps be willing to join me and another person on this project? Send me a message if you are interested :)

    ApfelFlieger I want to create individual objects, not scenarios. A user on the forum has proven this is possible with an already existing ground mod which I’ve tried.

    The idea is, that through a tablet in the aircraft the user can manually click the buttons to make the ground services appear and disappear. Unfortunately, I haven’t gotten the models to appear properly in the simulator. To my knowledge it is not possible to load and unload a scene through a tablet?

    The XREF ground vehicles already in the sim are good candidates however they are not able to be physically edited in the modelling software, their dimensions are not suitable for my project (A320) because of this. But it’s not an issue as I already have found free 3D models for the ground equipment online.


    I am really interested in getting this to work. If anyone is willing to help me out with the 3D modelling aspect and getting them to show in the simulator, I can send you my ZIP with all the .BLEND files and 3D models and their respective textures.

  • Unfortunately, I cannot assist with modeling objects because I do not have any knowledge in this area. My knowledge only begins when using already created objects, where I already have a great deal of knowledge both regarding scenes and aircraft.

    I have not been aware of this until now that objects can be controlled from a plane that are not connected to the plane. I have already tried to control the elevators from the cockpit on a carrier - unfortunately, I have not been able to do it. I have also not found any report here in the forum that something like this has been successful.

    What I know are automatically running out of time movements of objects in scenes. However, these are timed and are not triggered by a plane.

    Tschüss, Michael (🍎🚁)

    Configurations:

    - MacBook Pro (16", 2024); Chip: Apple M4 Max; actual macOS
    - Controllers: | WinWing: URSA MINOR-Fighter-Joystick R, EFIS-L & FCU & EFIS-R | Thrustmaster TCA AIRBUS EDITION: 2x Quadrant, 2x Quadrant Add-On | Pro-Flight-Trainer: PUMA X | Steelseries: Nimbus+

    - iPad (12,9", 4th Generation, RAM: 6 GB); actual iOS | Steelseries: Nimbus+

  • Yes, I have the textures downloaded. But there are multiple texture files for the air stairs, I converted them each to TTX and nothing popped up when I put them into my mod folder. I know you have extensive knowledge with TMB objects, would you perhaps be willing to join me and another person on this project? Send me a message if you are interested :)

    My first thought would also have been missing or missmatching TTX files, if an object is not visible and there is no error. What do you mean with "you converted them each to TTX", cause the texture images should be converterted together with your TGI to TMB and several TTX files using FS4 Content Converter.

    Then I recommend installing the new tmb objects as POIs first to check whether they appear correctly in FS4 before you try to integrate them into a TMD file. Have you already done this for testing purposes?

    Enthusiast and experienced creator of enhanced Aerofly FS Sceneries and Mods. Enjoy! 8)

  • Hi, here's an update from my side. Thanks to everyone who has replied so far

    Good news: I finally got one example truck to show up in the game with the correct accompanying .ttx file.

    Bad news: my external camera view is screwed up and extremely zoomed out, I'm not able to properly zoom back in. It looks distorted, I don't understand why. Anyone have any clue?

    First image shows the default external camera view (number 3 key on the keyboard), second image shows the maximum I can zoom in.

    Here is my system.tmd a la Claude:

  • I am familiar with a similar effect when I connect an object outside an aircraft. The most extreme instance occurs when I experiment with the glider winch, as the camera is then positioned at a complete cable distance from the winch body.

    Try to see if you can reset the camera with CTR+R.

    Tschüss, Michael (🍎🚁)

    Configurations:

    - MacBook Pro (16", 2024); Chip: Apple M4 Max; actual macOS
    - Controllers: | WinWing: URSA MINOR-Fighter-Joystick R, EFIS-L & FCU & EFIS-R | Thrustmaster TCA AIRBUS EDITION: 2x Quadrant, 2x Quadrant Add-On | Pro-Flight-Trainer: PUMA X | Steelseries: Nimbus+

    - iPad (12,9", 4th Generation, RAM: 6 GB); actual iOS | Steelseries: Nimbus+