1. Aerofly Homepage
  2. Forum
    1. Dashboard
    2. Unresolved Threads
  3. Blog
    1. Articles
  4. Dashboard
  5. Gallery
    1. Aerofly FS 4
    2. Aerofly FS Mobile
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Forum
  • Files
  • Pages
  • Gallery
  • Blog Articles
  • More Options
  1. IPACS Aerofly Forum
  2. Forum
  3. Aerofly FS 2 Flight Simulator (Legacy)
  4. Legacy Aerofly FS 2 - Developers - Scenery development

Plants in TOC-files

  • Pilot boy
  • October 20, 2021 at 2:05 PM
1st Official Post
  • Pilot boy
    Professional
    Reactions Received
    854
    Points
    3,134
    Posts
    223
    Images
    49
    • October 20, 2021 at 2:05 PM
    • #1

    I'm trying to get xref-plants into my toc-file. I'm got the name but nothing appears in my Sim.

    I'm using FsCloudPort to get the toc-flies and edit it with the new buildings but with plants it doesn't work.

    Can someboady help? And could I have also a xref-plants library, like pictures of the different plants?

  • chrispriv
    Intermediate
    Reactions Received
    677
    Points
    2,597
    Posts
    189
    Images
    44
    • October 20, 2021 at 9:40 PM
    • #2

    You must place the trees under the plant_list section as follows (just four types of trees: broadleaf, conifer, shrub or palm):

    But finally it is much easier to edit them as well as the buildings with the great tool from Nabeel: https://afs2-editor.nabeelamjad.co.uk/

    Then you can add the generated toc-file to your tsc-file or copy the objects into your existing file.

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

  • Pilot boy
    Professional
    Reactions Received
    854
    Points
    3,134
    Posts
    223
    Images
    49
    • October 21, 2021 at 12:49 PM
    • #3

    I have copied the plants into the TOC-file and the plants show up, but then my buildings disappears.

  • chrispriv
    Intermediate
    Reactions Received
    677
    Points
    2,597
    Posts
    189
    Images
    44
    • October 21, 2021 at 9:07 PM
    • #4

    Do you always close the [list_plant]-section and the individual [plant]-elements as well properly resp. allways have the same numbers of "<" and ">"-signs?

    If you make a mistake when copying the trees, FS2 will abort, which will cause the missing buildings and objects listed afterwards in your *.toc-file (ohne missing ">"-sign or one ">"-sign too much may cause this).

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

  • Pilot boy
    Professional
    Reactions Received
    854
    Points
    3,134
    Posts
    223
    Images
    49
    • October 23, 2021 at 9:36 AM
    • #5

    I have done some things but i don't know if it's right.Now only 1 tree is standing and again no building

    The content cannot be displayed because it is no longer available.

  • ApfelFlieger
    Professional
    Reactions Received
    938
    Points
    6,913
    Posts
    1,164
    Images
    1
    • October 23, 2021 at 1:30 PM
    • #6

    I think that for each of the closing characters marked in red, the initial command is missing, as it is present in the area marked in blue.

    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+

  • Jet-Pack (IPACS)
    Master of aircraft TMD
    Reactions Received
    11,276
    Points
    45,321
    Posts
    6,323
    Blog Articles
    106
    • October 23, 2021 at 4:49 PM
    • Official Post
    • #7

    Further down below the selected line (light blue) you're also missing one >

    Regards,

    Jan

  • Pilot boy
    Professional
    Reactions Received
    854
    Points
    3,134
    Posts
    223
    Images
    49
    • October 23, 2021 at 5:59 PM
    • #8

    I trying many things with < and > but nothing works.

    I have a question. Can I Upload the toc-file, here in the forum and somebody can tell me the problem?

  • chrispriv
    Intermediate
    Reactions Received
    677
    Points
    2,597
    Posts
    189
    Images
    44
    • October 23, 2021 at 8:35 PM
    • #9

    You are closing the [plant_list] wrongly already after the first tree-element much to early and then also after each further tree-element serevral time (pay attention to the vertical lines in your editor like notepad++). This is the reason that only the first tree appears and then no more.

    In my opinion, the correct solution that should work looks like this:

    Quote from Pilot boy

    I trying many things with < and > but nothing works.

    I have a question. Can I Upload the toc-file, here in the forum and somebody can tell me the problem?

    Does it work for you now?

    If not then Yes please upload your toc-file as zip-file in the forum. This would be probably more efficient than exchanging sceenshots. ;)

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

  • Pilot boy
    Professional
    Reactions Received
    854
    Points
    3,134
    Posts
    223
    Images
    49
    • October 24, 2021 at 8:05 AM
    • #10

    it still doesn't work.

    Files

    Toc-flie.zip 7.97 kB – 523 Downloads
  • chrispriv
    Intermediate
    Reactions Received
    677
    Points
    2,597
    Posts
    189
    Images
    44
    • October 24, 2021 at 9:13 PM
    • #11

    Had a look on it - there are two bugs in your *.toc file.

    a) Missing opening-sign "<" for "[string8]"-definition of first tree:

    b) Closing of [xref_list] ">" with all your airport-objects much to early, before the first object is listed:

    Fixed the *.toc-file that should work now: EDSB_fixed.zip

    Have tried it out for myself and your airport looks good so far:

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

  • Pilot boy
    Professional
    Reactions Received
    854
    Points
    3,134
    Posts
    223
    Images
    49
    • October 25, 2021 at 1:26 PM
    • #12

    Thanks!! It works now!

    Did you use Bing scenery for the Airport (looks great) ?

  • chrispriv
    Intermediate
    Reactions Received
    677
    Points
    2,597
    Posts
    189
    Images
    44
    • October 25, 2021 at 9:48 PM
    • #13

    Glad that it is now working for you.

    Yes, area is based on Bing at level 13.

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

  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™ 6.2.3