[Help] SpawnLocation

Results 1 to 10 of 10
  1. #1
    Member unnamed12 is offline
    MemberRank
    Apr 2014 Join Date
    93Posts

    [Help] SpawnLocation

    I already haven pawns but
    SOURCE : DNC Latest Release - Update 2.
    SOMETIMES I spawn here :



    or here



    even in the Air :



    Happened in Colorado map and in my map.
    Last edited by DNC; 08-07-14 at 11:51 AM.


  2. #2
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [HELP] SpawnLocation

    Please give more details... Which Source are you using?

  3. #3
    Member unnamed12 is offline
    MemberRank
    Apr 2014 Join Date
    93Posts

    Re: [HELP] SpawnLocation

    Quote Originally Posted by UNEXPECT View Post
    Please give more details... Which Source are you using?
    I'm sorry.

    Edited.

    SOURCE : DNC Latest Release - Update 2.

  4. #4
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [HELP] SpawnLocation

    Try this.

  5. #5
    Member unnamed12 is offline
    MemberRank
    Apr 2014 Join Date
    93Posts

    Re: [HELP] SpawnLocation

    Quote Originally Posted by UNEXPECT View Post
    Try this.
    Thanks buddy but that is for the player spawn nearest spawnpoint.

    Sometimes the players spawn under of the map or outside, like in the images.

  6. #6
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [HELP] SpawnLocation

    Yes, look: DNC source have random spawns... and if you use that you will spawn at the spawnpoints and not under the map :)

  7. #7
    Member unnamed12 is offline
    MemberRank
    Apr 2014 Join Date
    93Posts

    Re: [HELP] SpawnLocation

    I'm sorry. I don't understand... I'm using DNC but I spawn sometimes under the map.

  8. #8
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [HELP] SpawnLocation

    Just do the tutorial.. it fixed my issue too

  9. #9
    Member unnamed12 is offline
    MemberRank
    Apr 2014 Join Date
    93Posts

    Re: [Help] SpawnLocation

    I did that but still spawning under of the map sometimes.

    IDK, maybe is this :

    if(loadout.GameMapId == 0 || loadout.GameMapId != ginfo_.mapId || loadout.Alive == 3)
    {
    GetSpawnPositionNewPlayer(loadout.GamePos, pos, dir);
    pos->x += u_GetRandom(10, 120);
    pos->z += u_GetRandom(10, 120);
    return;
    }

    ?

    "10,120"

  10. #10
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Help] SpawnLocation

    Replace
    [CODE]
    pos->x += u_GetRandom(10, 120);
    pos->z += u_GetRandom(10, 120);
    [/CODE

    with
    Code:
    
    
    Code:
    pos->x += u_GetRandom(-_glm_SpawnRadius, _glm_SpawnRadius);
            pos->z += u_GetRandom(-_glm_SpawnRadius, _glm_SpawnRadius);



Advertisement