ModelConverterX support for AeroFly

  • Hi Uli,

    I'm not sure to understand the question, but if you're talking about "no collision" switch for objects that would do the trick :


    Sorry for the late reply. We have two 'hacks' for this. If you name the objects with the following words in it

    "__nocollision"
    "__noshadow"

    The objects will not cast shadows and will not be used for collision detection. This is probably what you want for gras stuff.

    Cheers

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • Hi, yes--that is what i mean.

    "nocolision" in TSC File where are the objects?

    ....umpf.....120 Objects renamed?!?=O

    regards

    uli

    __nocollision must be added to the object name itself (do not forget the double underscore)

    Why do you want to apply this to 120 files ?? __nocollision must be a rather exceptional feature for things like grass on which you want your aircraft to roll free.

    For most other objects it should be avoided...

    Cheers

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • Antoine...

    On the taxiway there are 3D lamps embedded in the ground which also light up, for each individual light in the ground I had to place the object with the coordinates.

    so now I have to add "__nocollision" to every 3d light...120pcs:/

    EDXW airfield, see also the picture in the gallery.:)

    Regards ULI

  • Well, it’s 1 object only, so you redo it once with the right name.

    Once it’s done you automatically edit your tsc file with the search and replace function of Notepad++, it’s a matter of 10 seconds...

    Cheers

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • Sers...

    yes..i forget the function from Notepad++.... ||

    Yes thats right... and coast not big time for corectured..

    Thx all....

    ULI

    But the object itself must be corrected first.

    TSC is just calling and placing the object in the simulator

    Cheers

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • hi

    i am a little bit confused...

    Where i must insert __nocollision ?

    >

    <[tmsimulator_scenery_object][element][330]

    <[string8][type][objectNo function]>

    <[string8][geometry][taxiyellowNo function]>

    <[vector3_float64][position][8.336158 54.919645 0]>

    <[float64][orientation][0]>

    <[int32][autoheight_override][-1]>

    thx uli

    one...original from TSC file

    <[tmsimulator_scenery_object][element][330]

    <[string8][type][object]>

    <[string8][geometry][taxiyellow]>

    <[vector3_float64][position][8.336158 54.919645 0]>

    <[float64][orientation][0]>

    <[int32][autoheight_override][-1]>

    >

  • You must rework the object itself with that name in it

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • ...

    i dont understand...

    When i export the Object with MC to TGi file ?

    Or in the generated Tgi file from MC, before i converted with contend converter?

    Is the crack" nocollision" then in the tmb file converted?

    Thx again.

    thats the tsc before generated with content converter

    <[file][][]

    <[tmsimulator_scenery_place][][]

    <[string8][type][object]>

    <[string8][sname][taxiyellow]>

    <[string8][lname][taxiyellow]>

    <[string8][icao][]>

    <[string8][country][]>

    <[string8][coordinate_system][lonlat]>

    <[vector2_float64][position][8.306959569 54.911026]>

    <[float64][height][0]>

    <[float64][size][5000]>

    <[vector2_float64][tower_position][0 0]>

    <[float64][tower_height][0]>

    <[bool][autoheight][true]>

    <[string8][autoheight_method][]>

    <[list_tmsimulator_scenery_object][objects][]

    <[tmsimulator_scenery_object][element][0]

    <[string8][type][object]>

    <[string8][geometry][taxiyellow]>

    <[vector3_float64][position][8.306959569 54.911026 0]>

    <[float64][orientation][0]>

    <[int32][autoheight_override][-1]>

    >

    >

    >

    >

  • You rename your object to reflect the switch you want to activate.

    Example for a patch of grass.

    Now in case it's a single object you can try simply renaming the TMB file.

    I've not tested yet whether the switch is activated when running the tgi converter, or simply when AFS2 reads the tmb file => to be tested.

    But then your TSC file must call the object with its new name.

    e.g. if taxiyellow.tmb becomes taxiyellow__nocollision.tmb the tsc block should read like that

    Code
    <[list_tmsimulator_scenery_object][objects][]
        <[tmsimulator_scenery_object][element][0]
            <[string8][type][object]>
            <[string8][geometry][taxiyellow__nocollision]>
            <[vector3_float64][position][8.306959569 54.911026 0]>
            <[float64][orientation][0]>
            <[int32][autoheight_override][-1]>
        >
    >

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • Hi,

    rename the tmb file to nocollision has no effect.

    I have the Taxiyellow new generated with MC to TGi named taxiyellow__nocollision.tgi,

    then generated to new TMB File but also no effect.

    the new taxiyellow__nocollision crash always...

    its for me horrorible, there are no wiki to do for that.... i cant the steps not reproducation complete.;(

    What tool makes the correct file?:/

    MC, or Aerofly content converter, or sketchup for obj export?!?!?!;(

    You use 3DS Max for object...

    i export the obj to nocollision tgi with 3ds max...generated also with content converter...

    ahgrr...also crash to...

    regards uli

    Edited 2 times, last by uli057 (May 11, 2020 at 5:44 PM).

  • I've only tested yet by renaming my objects in 3DSMax and it worked so far.

    Are you sure you named it correctly, without any syntax error ? With the double underscore ?

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • It's been awhile since I used this,

    but doesn't this also need to be added in order for nocollision to work?

    <[string8][type][object_transparent_atc]> also this removes shadows.

    This is what I used many times in the past to make fake taxi_lines in Sketchup.

    Sometimes this works and sometimes it doesn't.

  • It's been awhile since I used this,

    but doesn't this also need to be added in order for nocollision to work?

    <[string8][type][object_transparent_atc]> also this removes shadows.

    This is what I used many times in the past to make fake taxi_lines in Sketchup.

    Sometimes this works and sometimes it doesn't.

    Regarding grass, yes shadows are another thing to eliminate.

    As far as I can remember though I didn't need this switch for __nocollision to work.

    I haven't much investigated 3D grass integration on my aerodromes while it looked ugly with the shaders in use, it would request quite some color tuning...

    Cheers

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • Okay.

    i listed the steps for control to the users he has the brain... and i hope we find the mistakes....

    First Step:

    i load the OBJ file to 3DS Max and make a group.

    Named to ..see picture, and then i export to tgi with the name at picture you see.

    second step:

    i copy the files to Content converter folder

    see please Tm.log for generated file...

    I can ignore the Material mistakes for Textures, not important..

    third step:

    i rename at TSC file, the old name to the new Name "taxiway__nocollison"

    See please TSC file from DE/Place/EDXW Folder...and copy the new files from content converter

    to this folder. not the generated tsc file.

    The TSC file under Place has the name "taxiblue.tsc!

    >

    <[tmsimulator_scenery_object][element][429]

    <[string8][type][object]>

    <[string8][geometry][taxiyellow__nocollision]>

    <[vector3_float64][position][8.328086 54.910775 0]>

    <[float64][orientation][0]>

    <[int32][autoheight_override][-1]>

    >

    <[tmsimulator_scenery_object][element][430]

    <[string8][type][object]>

    <[string8][geometry][taxiyellow__nocollision]>

    <[vector3_float64][position][8.328069 54.910748 0]>

    <[float64][orientation][0]>

    <[int32][autoheight_override][-1]


    and now the run is ...he crash again at taxiway..;(

    and i hope here are any person he found my mistake...;)

    and...i found another mistake..and i cant reproduce???

    Why drive the aircraft not on Ground with wheels?

    IS that the mistake for all that ??

    Many Thx:)

    ULI

  • What are ID11, ID19 and so on ?

    Are these parts of the taxi light ?

    If yes then I would do it as follows

    1) in 3DSMax, rename each sub-object with the __nocollision suffix =>

    ID11__nocollision

    ID19__nocollision

    etc.

    2) still in 3DSMax, group them all as a single object named for instance taxilight, no more need for the __nocollision suffix :

    taxilight

    -> ID11__nocollision

    -> ID19__nocollision

    -> ...

    3) select taxilight and proceed with export selected to export in your work folder as taxiyellow.tgi

    4) edit the conversion tsc file to reflect this and lauch the converter

    Code
    <[tmsimulator_scenery_object][element][0]
        <[string8][type][object]>
        <[string8][geometry][taxiyellow]>
        <[vector3_float64][position][8.328086 54.910775 0]>
        <[float64][orientation][0]>
        <[int32][autoheight_override][-1]>
    >

    5) edit the placement tsc file (the one placing your 120 lights in the scenery) to call taxiyellow as above.

    That's the way I think I did it, but it's a very long time ago.

    Caution : the tm log says IDxx try to use color material, in AFS2 all objects must be textured.

    Cheers

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.