Master Summoner
- Joined
- Nov 18, 2011
- Messages
- 529
- Reaction score
- 345
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
id of _RefObjChar.
1.1)_RefObjChar
ok done with the npc. now the pos...
2)Tab_RefHive
Code of the region in green Jupiter = 90 Jangan and others is = 1
2.1)Tab_RefTactics
_RefObjCommon ID
2.2)Tab_RefNest
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
3.1)_RefShopGroup
_RefObjCommon CodeName128
3.2)_RefShopItemGroup
3.3)_RefShopTab
_RefShopTabGroup CodeName128, TAB Name
3.4)_RefShopTabGroup
3.5)_RefMappingShopGroup
_RefShopGroup CodeName128, _RefShop CodeName128.
3.6)_RefMappingShopWithTab
_RefShop CodeName128, _RefShopTabGroup CodeName128.
3.7)_RefShopGoods
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
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
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
[RELEASE] NPC Query Add u own NPC in 3 Minutes + ADD New Tab and Group ^^
its so funny <3
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]
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
2)Tab_RefHive
Code:
2000 0 0 0 0 0 0 [COLOR="Lime"]90[/COLOR] 2 NPC ȣź
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
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
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
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]
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]
3.6)_RefMappingShopWithTab
Code:
1 15 [COLOR="Red"]STORE_STATIIC[/COLOR] [COLOR="Lime"]STORE_STATIIC_GROUP1[/COLOR]
3.7)_RefShopGoods
Code:
1 15 STORE_STATIIC_TAB1 PACKAGE_ITEM_CH_SWORD_01_A 0 -1 xxx -1 xxx -1 xxx -1 xxx
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
Code:
1 SN_NPC_STATIIC [COLOR="red"]Statiic [/COLOR]
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
i will tell u
i try many thing but last thing try and the npc chat show in game
in server_dep\silkroad\textdata\
OPen the txt " npcchat.txt "
u will see in the txt
Code://Service OwnerCodeName_128 msg1_strid_128 msg2_strid_128 //%d %s %s %s //xxx xxx xxx xxx [COLOR="Red"]1 STORE_PureShop SN_NPC_CH_PureShop_BS SN_NPC_PureShop_PS 1 NPC_PureShop SN_NPC_CH_PureShop_BS SN_NPC_PureShop_PS[/COLOR] [B]1 NPC_CH_SMITH SN_NPC_CH_SMITH_BS SN_NPC_CH_SMITH_PS 1 NPC_CH_SMITH SN_NPC_CH_SMITH_BS SN_NPC_CH_SMITH_PS[/B]
The Red = My Cods NPC
The Bold Black = The Code in txt
i mad Code in txt like the original in this txt and Import in media again
Mad the code in txt only don't worry about db
2nd OPen the
server_dep\silkroad\textdata\
textquest_speech&name.txt
In first Line in this txt u will found
Code:[COLOR="Red"]// NPC speech 대사창[/COLOR] 2nd Line u will see 1 SN_NPC_CH_SMITH_BS Don't be hesitant to come here to get weapon in Jangan. There are various kinds of weapon other than what I have made myself. Well, if you are available, I am good to have a drink with you, Ah-ha-ha-ha. [B]Copy this Line and put it Up this //NameString Like this [/B] [COLOR="Red"]1 SN_NPC_PureShop_BS Give you NPC CHAT Here :D, Ah-ha-ha-ha.[/COLOR] [B]//NameString[/B]
Don't Forget to Change the SN_CH_SMITH_BS " Not original Line " i mean the line u copied
FOr Ur Code SN_NPC_CH_PureShop_BS <<< This my code change for ur code
sorry for my English.
if u didn't understand what i said tell me and i will mad it in Video
its so funny <3
Last edited: