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:
<[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.
id="4x02o0"
id="wy6sju"
<[file][][]
<[modelmanager][][]
<[pointer_list_tmgraphics][GraphicObjects][]
<[graphics_translation][GroundTransform][]>
<[tmvector3d][Axis][ 0.0 0.0 9999.0 ]>
>
<[rigidbodygraphics][GroundEquipment][]>
<[uint32][PositionID][Fuselage.R]>
<[uint32][OrientationID][Fuselage.Q]>
<[string8][GeometryList][ Airstairss ]>
<[string8][InputTransform][GroundTransform.Output]>
>
>
>
>
Display More
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.