- Joined
- Jul 24, 2011
- Messages
- 806
- Reaction score
- 615
For this you need to know how to edit NPCshop.scp or doing a shop from Event NPC!
1.) Open your Common.ini and check this line exists or not! If not than add it!:
2.) Open your ChangeItem.scp in Data folder and go down!
3.)This is a structure and details:
You dont have other to do only just place thie listed items into the shop with given duration!
Its totally automatically, dont need activate something in the event npc. Event NPC only good for selling initial items!
(edit: this example row is in default files, if you dont understand it just add the items from this list: IntemIndex, TriggerKind, ChangeKind and you can see how it work...)
1.) Open your Common.ini and check this line exists or not! If not than add it!:
Code:
ChangeItem=Data/ChangeItem.scp
2.) Open your ChangeItem.scp in Data folder and go down!
3.)This is a structure and details:
Code:
[ChangeWeapon] ItemIndex ItemDuration TriggerKind ChangeKind ChangeDuration
0 1633 10 108129 108129 31
//What is what?
ChangeWeapon = ID
ItemIndex = Initial Item ID (Option code is not relevant you can give as you want)
ItemDuration = Initial Item Duration (same duration system use with itemadding)
TriggerKind = This is activation for item changing
example for +13: initialitemid + 13*8096 (117+(13*8096)=108129) so if the item id reach a +13 than activating the change: (You can do +13,+14,+15 event too... Its depend only on your creativity)
ChangeKind = This item will keep after change triggered
ChangeDuration = 31 -> Pernament (with tag) but you can use 0 to do pernament too
You dont have other to do only just place thie listed items into the shop with given duration!
Its totally automatically, dont need activate something in the event npc. Event NPC only good for selling initial items!
(edit: this example row is in default files, if you dont understand it just add the items from this list: IntemIndex, TriggerKind, ChangeKind and you can see how it work...)