My 1st guide so here is a guide so much users dont know "how to add a new npc" iam add 1 custom Smith at Jupiter Temple fallow the guide
1)_RefObjCommon
Code:
1 41848 NPC_STATIIC xxx xxx SN_NPC_STATIIC xxx 0 1 1 2 2 0 5000 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 npc\npc\khotanshop_smith.bsr xxx xxx xxx xxx [COLOR="red"]18891[/COLOR]
id of
_RefObjChar.
1.1)_RefObjChar
Code:
[COLOR="Red"]18891[/COLOR] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 336860180 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ok done with the npc. now the pos...
2)Tab_RefHive
Code:
2000 0 0 0 0 0 0 [COLOR="Lime"]90[/COLOR] 2 NPC ȣź
Code of the region in green Jupiter = 90 Jangan and others is = 1
2.1)Tab_RefTactics
Code:
46070 [COLOR="Red"]41848[/COLOR] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Npc_Test
_RefObjCommon ID
2.2)Tab_RefNest
Code:
36831 [COLOR="Lime"]2000[/COLOR] [COLOR="Red"]46070[/COLOR] [COLOR="Magenta"]22475 837 475,725952 22 -9832[/COLOR] 0 0 0 0 0 1 0 1 0
Tab_RefHive,
Tab_RefTactics ID's.
Npc POS (for get a pos go to where u wanna add the npc and relog. go to _Char and copy.)
done with pos. now the tabs...
3)_RefShop
Code:
1 15 2643 STORE_STATIIC -1 xxx -1 xxx -1 xxx -1 xxx
3.1)_RefShopGroup
Code:
1 15 2815 GROUP_STORE_STATIIC [COLOR="Red"]NPC_STATIIC[/COLOR] -1 xxx -1 xxx -1 xxx -1 xxx
_RefObjCommon CodeName128
3.2)_RefShopItemGroup
Code:
1 82 STORE_STATIIC_GROUP1 SN_STORE_STATIIC_GROUP1
3.3)_RefShopTab
Code:
1 15 6417 STORE_STATIIC_TAB1 [COLOR="Red"]STORE_STATIIC_GROUP1[/COLOR] [COLOR="Lime"]SN_TAB_WEAPON[/COLOR]
_RefShopTabGroup CodeName128,
TAB Name
3.4)_RefShopTabGroup
Code:
1 15 2832 STORE_STATIIC_GROUP1 SN_STORE_STATIIC_GROUP1
3.5)_RefMappingShopGroup
Code:
1 15 [COLOR="Red"]GROUP_STORE_STATIIC[/COLOR] [COLOR="Lime"]STORE_STATIIC[/COLOR]
_RefShopGroup CodeName128,
_RefShop CodeName128.
3.6)_RefMappingShopWithTab
Code:
1 15 [COLOR="Red"]STORE_STATIIC[/COLOR] [COLOR="Lime"]STORE_STATIIC_GROUP1[/COLOR]
_RefShop CodeName128,
_RefShopTabGroup CodeName128.
3.7)_RefShopGoods
Code:
1 15 STORE_STATIIC_TAB1 PACKAGE_ITEM_CH_SWORD_01_A 0 -1 xxx -1 xxx -1 xxx -1 xxx
this part u know select urs package items.
done with Database now the media side...
_RefShop, _RefShopGroup, _RefShopItemGroup, _RefShopTab, _RefShopTabGroup, _RefMappingShopGroup, _RefMappingShopWithTab, _RefShopGoods Copy of the database and paste in the respective .txt.
oh Statiic and characterdata?
now u add this to characterdata_45000.txt
Code:
1 41848 NPC_STATIIC xxx xxx [COLOR="Red"]SN_NPC_STATIIC[/COLOR] xxx 0 1 1 2 2 0 5000 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 npc\npc\khotanshop_smith.bsr xxx xxx xxx xxx 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 336860180 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Need It for change the Npc Name "SN_NPC_STATIIC"for change the npc name for a of preffer add this to textdata_object.txt
Code:
1 SN_NPC_STATIIC [COLOR="red"]Statiic [/COLOR]
NPC Name...
Done u add a custom Npc Restart u Server and Check if Work...
npc chat BY MR5 --
[Guide] Add New Custom Npc's Index 7
its so funny <3