About adding new NPC support Map transfer

Results 1 to 7 of 7
  1. #1
    Apprentice cynicalx is offline
    MemberRank
    Mar 2017 Join Date
    19Posts

    happy About adding new NPC support Map transfer

    I use the X1.8 service side to add a new map to the server, because this map encoding is 79, so direct use of the M-key transmission is not easy to achieve, so I want to use NPC to solve this problem, but I add NPC at the client can not trigger the NPC dialogue process, whether someone can help me to answer ...

    extra_obj.enc :
    <extra_stuff ID="17" filename="character\w3warp.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1300,0,2200" rotate="0,161,0" scale="1,1,1" disable_cell_radius="1" stuff_id="8" name="extra_npc_0127" npc_id="85" npc_tag="0" npc_type="7" />
    </extra_stuff>
    <extra_stuff ID="18" filename="character\wexpnpc.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1300,0,2000" rotate="0,255,0" scale="1,1,1" disable_cell_radius="0" stuff_id="1" name="extra_npc_0128" npc_id="86" npc_tag="0" npc_type="7" />
    </extra_stuff>
    <extra_stuff ID="19" filename="character\wRMS.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1100,0,2000" rotate="0,275,0" scale="1,1,1" disable_cell_radius="1" stuff_id="20" name="" npc_id="87" npc_tag="0" npc_type="6" /> <extra_entity type="1" pos="1100,0,1800" rotate="0,275,0" scale="1,1,1" disable_cell_radius="1" stuff_id="20" name="" npc_id="88" npc_tag="0" npc_type="6" />
    </extra_stuff>

    script.enc :
    <phrase id="7353" cont="17078"> <child cont="17079" order="1" link_id="-1"> <event order="1" id="194" param="87" /> </child> </phrase>
    <phrase id="7354" cont="17080"> <child cont="17081" order="1" link_id="-1"> <event order="1" id="194" param="88" /> </child> </phrase>

    <npc_script id="863" world_id="1" npc_id="85"> <npc_case id="23" phrase_id="7353" order="4069" /> </npc_script> <npc_script id="864" world_id="1" npc_id="86"> <npc_case id="23" phrase_id="7354" order="4070" /> </npc_script>

    script_msg.enc :
    <msg id="17078" msg_uid="000000PH__0DF_1_0_1_87" cont="xxx!\ " />
    <msg id="17079" msg_uid="000000PH__0DF_1_1_1_87" cont="go" />
    <msg id="17080" msg_uid="000000PH__0DF_1_0_1_88" cont="xxx!\ " />
    <msg id="17081" msg_uid="000000PH__0DF_1_1_1_88" cont="go" />

    I thought that the question should be out in the script. The enc this file, but I don't know how to get to the corresponding npc_case id ='xxxx' and the order='xxx'


  2. #2
    Account Upgraded | Title Enabled! joel de paula is offline
    MemberRank
    May 2011 Join Date
    413Posts

    Re: About adding new NPC support Map transfer

    You need this <event order = "1" id = "194" param = "88" /> </ child> </ phrase>

    Parameter only to Power Teleport, putting the id of an Npc barrior. It already works normally, and as you want 2 npcs, you need 2 event Order one with parameter 88 and another 87 as you did. And the npc case you can pick up with any other npc who makes this Teleport an example if I am not mistaken be the npc instructor when they teleport you to the place of the mission of degree, initial

  3. #3
    Apprentice cynicalx is offline
    MemberRank
    Mar 2017 Join Date
    19Posts

    happy Re: About adding new NPC support Map transfer

    [QUOTE = joel de paula; 8786851] You need this <event order = "1" id = "194" param = "88" /> </ child> </ phrase>

    Parameter only to Power Teleport, putting the id of an Npc barrior. It already works normally, and as you want 2 npcs, you need 2 event Order one with parameter 88 and another 87 as you did. And the npc case you can pick up with any other npc who makes this Teleport an example if I am not mistaken be the npc instructor when they teleport you to the place of the mission of degree, initial [/ QUOTE]
    I did not think that you as X1.8 the author will answer my question, thank you very much for the free server file, it brings us a lot of fun!
    Last edited by cynicalx; 10-05-17 at 11:42 PM. Reason: 1

  4. #4
    Account Upgraded | Title Enabled! joel de paula is offline
    MemberRank
    May 2011 Join Date
    413Posts

    Re: About adding new NPC support Map transfer

    I just answer, man, just follow what I said will work.

  5. #5
    Apprentice cynicalx is offline
    MemberRank
    Mar 2017 Join Date
    19Posts

    Re: About adding new NPC support Map transfer

    Quote Originally Posted by joel de paula View Post
    I just answer, man, just follow what I said will work.
    I want to say that you can answer my question I feel very pleasantly surprised, sorry I bad english ...

  6. #6
    Member CarvalhoMonster is offline
    MemberRank
    May 2013 Join Date
    FernandópolisLocation
    96Posts

    Re: About adding new NPC support Map transfer

    PT BR
    Olá Senhores, queria uma ajuda por gentileza para obter uma explicação acima, por exemplo, como fazer para teletransportar para determinado mapa após clicar no NPC..

    ENG
    Hello gentlemen, I would like help to get an explanation above, for example, how to teleport to a specific map after clicking on the NPC

    thank you
    Hello gentlemen, I would like help to get an explanation above, for example, how to teleport to a specific map after clicking on the NPC

  7. #7
    Novice Abidisbest is offline
    MemberRank
    Sep 2012 Join Date
    BrazilLocation
    1Posts

    Re: About adding new NPC support Map transfer

    o joel respondeu ali em cima mano, traduza oq ele escreveu
    joel already answered above, just translate it.



Advertisement