How add a npc to spawn permanently?

Results 1 to 5 of 5
  1. #1
    Member itachi77 is online now
    MemberRank
    May 2017 Join Date
    69Posts

    How add a npc to spawn permanently?

    Well I am here looking a way to get this objective and ask for help.
    I like to add a npc parmanently to spawn when the server start, and I have no idea how do it.
    I just know who I need to add npc id in scene.ini and I saw some exemples there.
    [biology]
    1,10045,1,1,0,460.919,365.205,0,0,0,0,0,0,1,M002,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    2,10206,48,1,0,529.58,345.207,0,5.77704,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    3,10207,-1,1,0,557.948,228.493,0,5.65487,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    4,10208,49,1,0,532.219,346.744,0,0.471239,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    5,10209,50,1,0,489.902,312.355,0,4.71239,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    6,10210,51,1,0,528.396,276.632,0,3.12414,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    7,10211,52,1,0,504.038,278.779,0,3.12414,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    8,10212,53,1,0,559.502,226.482,0,2.68781,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    9,10213,54,1,0,288.084,297.451,0,4.2237,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    Up side we can see an exemple in S002.ini there I just understand npc id and I believe some parameters is coordinate, but I don't know how work it, if someone understand how edit those parameters and post just one exemple here I belive I can edit all the rest.


  2. #2
    Novice Haruka is offline
    MemberRank
    Dec 2021 Join Date
    GermanyLocation
    1Posts

    Re: How add a npc to spawn permanently?

    Code:
    901,10025,-1,1,0,465,360,0,1.5,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    • 901: Unique ID for every biology entry
    • 10025: NPC ID, obtained from S_Biology.ini
    • 465 & 360: Coordinates
    • 1.5: Rotation (0 - 6)

    You don't have to touch the rest of the columns if you just want to add NPCs.

  3. #3
    Member itachi77 is online now
    MemberRank
    May 2017 Join Date
    69Posts

    Re: How add a npc to spawn permanently?

    Quote Originally Posted by Haruka View Post
    Code:
    901,10025,-1,1,0,465,360,0,1.5,0,0,0,0,1,M001,,0,0,0,0,0,0,0,0,0,0,0,,0,0,
    • 901: Unique ID for every biology entry
    • 10025: NPC ID, obtained from S_Biology.ini
    • 465 & 360: Coordinates
    • 1.5: Rotation (0 - 6)

    You don't have to touch the rest of the columns if you just want to add NPCs.
    Thank you for answer and explain me how that work!
    It will help a lot of ppl. The community thanks you!

  4. #4
    Apprentice DaWade is offline
    MemberRank
    Jan 2022 Join Date
    GermanyLocation
    11Posts

    How add a npc to spawn permanently?

    So, if I understand this correctly, you can spawn an NPC wherever you want? That‘s awesome. But what if you want the NPC to have a specific dialoge, or maybe a shop keeper? Like, letting them sell items you specify beforehand? I want to make a costume shop NPC on mine if possible. Do I gotta go into S_Biology.ini to edit the NPC I need? Or can I just make an entierly new one?


    Gesendet von iPhone mit Tapatalk

  5. #5
    Member itachi77 is online now
    MemberRank
    May 2017 Join Date
    69Posts

    Re: How add a npc to spawn permanently?

    Quote Originally Posted by DaWade View Post
    So, if I understand this correctly, you can spawn an NPC wherever you want? That‘s awesome. But what if you want the NPC to have a specific dialoge, or maybe a shop keeper? Like, letting them sell items you specify beforehand? I want to make a costume shop NPC on mine if possible. Do I gotta go into S_Biology.ini to edit the NPC I need? Or can I just make an entierly new one?


    Gesendet von iPhone mit Tapatalk
    Have a tutorial teaching how do npc and add item shop. Look in tutorials forum.



Advertisement