Solved Spawn Sphere

Discussion in 'Mod Support' started by Twitch Axis, Jul 30, 2016.

  1. Twitch Axis

    Twitch Axis
    Expand Collapse

    Joined:
    Dec 29, 2015
    Messages:
    504
    So I am trying to move the default player spawn sphere, and I move it where I want it, save it, and then replace the file from documents/beamng.drive/levels and then I open the level, and I still spawn in the original place. I tried making another spawn sphere and deleting the old, but it doesn't let me. Please help me.
     
    • Like Like x 1
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,697
    I suggest to copy the 'spawn-sphere' part from another map.
    I noticed that if it isn't 'correct', editing it may not work.

    At least that's what I do when I have the same trouble.
     
  3. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,475
    Is your issue solved ?
     
  4. Twitch Axis

    Twitch Axis
    Expand Collapse

    Joined:
    Dec 29, 2015
    Messages:
    504
    No
    --- Post updated ---
    Because I dont know how to do what you are telling me. I have been busy so i havent been able to respond to this email thing'
     
  5. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    Just FYI, you quoted synsol twice but you are responding to two different people (synsol and nadeox1).

    The spawn sphere is contained in the .mis file such as this for example:
    Code:
    C:\Program Files (x86)\Steam\SteamApps\common\BeamNG.drive\content\levels\Cliff.zip\levels\Cliff\Cliff.mis
    If you open that file in a text editor such as Notepad++ you'll find that it contains a section like this:
    Code:
          new SpawnSphere() {
             autoSpawn = "0";
             spawnTransform = "0";
             radius = "5";
             sphereWeight = "1";
             indoorWeight = "1";
             outdoorWeight = "1";
             isAIControlled = "0";
             dataBlock = "SpawnSphereMarker";
             position = "-124.806 142.554 465.489";
             rotation = "1 0 0 0";
             scale = "1 1 1";
             canSave = "1";
             canSaveDynamicFields = "1";
                enabled = "1";
                homingCount = "0";
                lockCount = "0";
          };
    That block of text is inside the new SimGroup(PlayerDropPoints) btw, so when in the editor it'll appear inside in a little folder (SimGroup). If you don't have properly setup SpawnSphere the game will spawn your player at an arbitrary location, not where you want. Copy the text over from a level with a functioning spawn sphere, then adjust position (the unit is meters) until it's where you want it to be.
     
    • Like Like 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