What caused my mod to crash my game?

  • I tried to write some sound for B787-9, and they all worked fine. However, I used GroundRollRightSpeed. Output for the shaking sound of the cabin, which is not triggered realistically. So I want to write a logic to help me summarize the outputs of GroundRollRightSpeed and GroundRollLeftSpeed into one output. This way, when the left and right gears touch the ground, the game will play my sound. But when I finished writing the code and tried to load the game, the aircraft B787-9 was loaded as "StopBlock". When I checked "tm. log", I searched for the following content using "787_9" as the keyword

    8.71-aerofly:

    19.31-tmmodelmanager: model: (name='b787_9') (directory='aircraft/b787_9/')

    19.31-tmmodelmanager: loading configfile 'aircraft/b787_9/b787_9.tmc'

    19.31-tmmodelmanager: contact points 3: (23.991 0.370 -3.281 r=0.495) (-2.126 5.654 -3.535 r=0.670) (-2.126 -5.654 -3.535 r=0.670)

    20.04-tmmodelmanager: loading dynamics begin 'b787_9'...

    20.07-tmmodelmanager: ERROR: duplicate object 'OnGround'

    20.07-tmmodelmanager: ERROR: duplicate object 'GroundRollLoadNose'

    20.07-tmmodelmanager: ERROR: duplicate object 'GroundRollSpeedNose'

    20.07-tmmodelmanager: ERROR: duplicate object 'GroundRollLoadLeft'

    20.07-tmmodelmanager: ERROR: duplicate object 'GroundRollSpeedLeft'

    20.07-tmmodelmanager: ERROR: duplicate object 'GroundRollLoadRight'

    20.07-tmmodelmanager: ERROR: duplicate object 'GroundRollSpeedRight'

    20.11-tmmodelmanager: ERROR: (property 'GroundRollSpeedLeft.Output' not found)

    20.11-tmmodelmanager: ERROR: (property 'GroundRollSpeedRight.Output' not found)

    20.12-tmmodelmanager: allocator: objects=9587 objmemsize=5MB totalmemsize=6MB

    20.12-tmmodelmanager: ERROR: tmd error ( hint 'Inputs GroundRollSpeedRight.Output' )

    20.12-tmmodelmanager: ERROR: error loading tmd file 'b787_9'.

    20.13-tmsimulator: ERROR:

    I am not sure if I have copied all the crash reports, as I am currently not familiar with 'DynamicObjects' and cannot solve it myself. I will attach my tm.log and system.tmd below the post. If there is a master who understands' DynamicObjects' very well, may I ask if you can help me? Thank you very much!

    tm.log

    system.txt

  • I just have my iPad at hand right now and therefore answer a few "out of my head":

    • In my experience, the errors "duplicate object" do not lead to the STOP cube, but should still be avoided.
      => Here it is important to search all (!) affected TMDs and either delete the duplicate entries (because they really are duplicates) or rename them.
    • But errors "....Output not found" always lead to the STOP-Cube.
      => Here you have to go to the respective TMD and see why the element is not found. It is important that the spelling must be exactly (!) identical.

    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+

  • As the log says, there are now objects in the TMD which have the same name. Each object has to be named with a unique name.

    Ground roll speed is just the speed of the wheels. This is not a good trigger for a touchdown sound. Try using the wheel load instead or just look at the existing touchdown sound logic on the A350.

    Regards,

    Jan