• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How add a npc to spawn permanently?

Newbie Spellweaver
Joined
May 23, 2017
Messages
70
Reaction score
9
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.
 
Initiate Mage
Joined
Dec 8, 2021
Messages
1
Reaction score
1
Code:
[COLOR=#ff0000]901[/COLOR],[COLOR=#40e0d0]10025[/COLOR],-1,1,0,[COLOR=#0000ff]465[/COLOR],[COLOR=#0000ff]360[/COLOR],0,[COLOR=#008000]1.5[/COLOR],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.
 
Newbie Spellweaver
Joined
May 23, 2017
Messages
70
Reaction score
9
Code:
[COLOR=#ff0000]901[/COLOR],[COLOR=#40e0d0]10025[/COLOR],-1,1,0,[COLOR=#0000ff]465[/COLOR],[COLOR=#0000ff]360[/COLOR],0,[COLOR=#008000]1.5[/COLOR],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!
 
Newbie Spellweaver
Joined
Jan 16, 2022
Messages
11
Reaction score
3
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?


 
Newbie Spellweaver
Joined
May 23, 2017
Messages
70
Reaction score
9
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?

Have a tutorial teaching how do npc and add item shop. Look in tutorials forum.
 
Back
Top