Start up map of newly created character?

Results 1 to 4 of 4
  1. #1
    Proficient Member Frostivus is offline
    MemberRank
    Dec 2015 Join Date
    169Posts

    ! Start up map of newly created character?

    How to change the startup map of a newly created character ? all newly created characters are respawned in Flaris how could it to Saint Morning ? Thanks


  2. #2
    Apprentice pechurc is offline
    MemberRank
    Nov 2010 Join Date
    16Posts

    Re: Start up map of newly created character?

    Hi, you could do this by 2 ways, Editing .rng map file or editin on source code
    1st way:
    Go to your resource folder -> "World" -> "WdMadrigal", now open "WdMadrigal.rng" with notepad
    Here you must find "region3 6 12" and you will se anything like this:
    Code:
    region3 6 12 6971.984375 100.000000 3336.884277 0x0 0 0 "" "" 0 4096.000000 0.000000 1024.000000 6960 3328 6979 3344 "" 0 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0
    Here you have X and Z values and a rectangle X1, Z1, X2, Z2 where new players will respawn

    2nd way:
    on your source code search for
    Code:
    void CDbManager::CreatePlayer( CQuery *qry, LPDB_OVERLAPPED_PLUS lpDbOverlappedPlus )
    Here you need find this
    Code:
    if( prj.GetRandomBeginPos( dwWorldID, &vPos ) == FALSE ) {
    		ASSERT( 0 );
    }
    
    and replace it for
    Code:
    vPos.x = YourXValue;
    vPos.y = 100.000000;
    vPos.z = YourZValue;
    Sorry for my bad english and explanation

  3. #3
    Proficient Member Frostivus is offline
    MemberRank
    Dec 2015 Join Date
    169Posts

    Re: Start up map of newly created character?

    if( prj.GetRandomBeginPos( dwWorldID, &vPos ) == FALSE ) {
    ASSERT( 0 );
    }

    After i find this code where would i put this
    vPos.x = YourXValue;vPos.y = 100.000000;
    vPos.z = YourZValue;? or just have to replace all thie code? thanks

  4. #4
    Apprentice pechurc is offline
    MemberRank
    Nov 2010 Join Date
    16Posts

    Re: Start up map of newly created character?

    You should replace the code, also remember put your values for X and Z

    Enviado desde mi XT1097 mediante Tapatalk



Advertisement