Solved Spawn point

Discussion in 'World Editor' started by ghs129, Oct 18, 2021.

  1. ghs129

    ghs129
    Expand Collapse

    Joined:
    Jul 3, 2021
    Messages:
    985
    How do set a spawn point in a official map? And i mean one i can pick from level select.
     
  2. ghs129

    ghs129
    Expand Collapse

    Joined:
    Jul 3, 2021
    Messages:
    985
  3. Yoi_Tsuitachi

    Yoi_Tsuitachi
    Expand Collapse

    Joined:
    Sep 25, 2021
    Messages:
    179
    i'm not sure how but from what i know you need to copy a spawnpoint model in world editor and move it wherever.
     
  4. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    1. Hit F11 to open the World Editor.
    2. In the panel on the left, select the Player Drop Points folder. (If you don't select it, the new spawn point will appear at the end of the main folder.)
    3. On the toolbar, click the "Add" tool.
    4. Find the Spawn Sphere in the Level Objects* sub-toolbar that just appeared.
    5. Make sure the "Snap to Mesh" option (main toolbar) is selected.
    6. Click the ground where you want your new spawn point.
    7. Hit Escape to exit the tool.
    8. Save the game.
    Don't worry, you're not overwriting the game on your C: drive. A map folder is created in your user folder with your edits. A major update may break your modifications. You can remove them by deleting the level folder for that map in your user folder.

    *I think it's that toolbar. I'm at work so I can't check.
     
    • Like Like x 1
  5. ltntai

    ltntai
    Expand Collapse

    Joined:
    Mar 18, 2017
    Messages:
    656
    Then some beloved file work if you want to get your new spawn point to show up in the level's spawn point selector:

    - rename the PlayerSpawnSphere1 you created with geobeck's guide, to spawn_ghs129
    - take a scenic screenshot of the spawn area
    - copy the map's info.json from the game folder content/levels/map_name to your user folder 0.23/levels/map_name

    Using Small Island as an example here
    - open the info.json with Notepad++ and add lines under "spawnPoints" as shown:
    Code:
    {
        "title": "levels.small_island.info.title",
        "defaultSpawnPointName":"spawn_north",
        "description": "levels.small_island.info.description",
        "previews": ["small_island_preview.jpg"],
        "size": [1024,1024],
        "country": "levels.common.country.usa",
        "biome": "levels.small_island.info.biome",
        "roads": "levels.small_island.info.roads",
        "suitablefor": "levels.small_island.info.suitablefor",
        "features": "levels.small_island.info.features",
    "spawnPoints":[
      {
        "translationId":"ghs129",
        "objectname":"spawn_ghs129",
        "preview":"spawn_ghs129_preview.jpg"
      },
      {
        "translationId":"levels.small_island.spawnpoints.spawn_north",
        "objectname":"spawn_north",
        "preview":"spawn_north_preview.jpg"
      },
      {
        "translationId":"levels.small_island.spawnpoints.spawn_south",
        "objectname":"spawn_south",
        "preview":"spawn_south_preview.jpg"
      },
      {
        "translationId":"levels.small_island.spawnpoints.spawn_industrial",
        "objectname":"spawn_industrial",
        "preview":"spawn_industrial_preview.jpg"
      }
    ],
        "authors": "BeamNG"
    }

    - save and exit
    - open the screenshot, resize it to 800x480 and add it to 0.23/levels/map_name. Rename it spawn_ghs129_preview.jpg
    - restart the game, and spawn like never before
    screenshot_2021-10-22_00-31-56.jpg
     
    • Like Like x 2
  6. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    Thanks, I forgot about the json work, even though I do it every time.
     
  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