Images/Mesh On Navigation??

Discussion in 'Programming' started by King Games, Mar 5, 2025.

  1. King Games

    King Games
    Expand Collapse

    Joined:
    Feb 26, 2018
    Messages:
    123
    I am fresh with World Editor, All i can figure out is how roads and dirt roads are placed on the navigation (Map) But how is Text, Objects, Terrain, Etc all projected onto the Nav??
     
  2. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,537
    Everything that is not vehicles or roads is not dynamic and instead added into one or more background images. You can usually find them in each levels' folder.
    As far as I am aware there is no way to generate these, you will need to create them yourself.
     
  3. King Games

    King Games
    Expand Collapse

    Joined:
    Feb 26, 2018
    Messages:
    123
    I still dont understand, i can easily create everything, but how? what format etc
     
  4. MegaKnight

    MegaKnight
    Expand Collapse

    Joined:
    Sep 12, 2024
    Messages:
    249
    I also don't know exactly how to do it, but you could take a look at Johnson Valley's files. There is a minimap folder containing some images and a definition of a minimap inside the info.json. Maybe you can figure it out from there.
     
  5. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    605
    Search for minimap file.
     
  6. King Games

    King Games
    Expand Collapse

    Joined:
    Feb 26, 2018
    Messages:
    123
    All i could figure out was where its included. i need more time to look at it but i dont understand it
     
  7. Riccarr

    Riccarr
    Expand Collapse

    Joined:
    Jul 28, 2024
    Messages:
    41
    Not sure if this is what your looking for, but you can create static TSStatic objects from any (valid) .dae file.

    local marker = createObject('TSStatic')
    marker:setField('shapeName', 0, "resources/shapes/" .. objName .. ".dae")
    marker:setPosition(position)

    The buildings for example, or any prop ... just reference its location (or use your own mods folder).
    Search the ..\lua\ge\extensions of the main beamng folder (in the Steam content, not your install).

    --Update
    Oh ... you not wanting lua code, I guess you mean via the world editor?
     
  8. King Games

    King Games
    Expand Collapse

    Joined:
    Feb 26, 2018
    Messages:
    123
    YOU ADD MINIMAP IMAGE TO TERRAIN BLOCK
     
    • Agree Agree x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice