custom item box

N e s s

New member
Messages
202
Points
0
Age
33
can someone teach me how to make a box that gives random costume items
default_smile.png


 
use packageitem();

 
Edit : check how its done, getting error in editting 

@N e s s Do it step by step

1. Create db in item_db2.conf

{ Id: 25000 AegisName: "Custom_Box_Name" Name: "Custom Box Name" Type: 2 Buy: 20 Weight: 10 Script: <" getrandgroupitem 25000,Amount; ">},
2. Create client side

iteminfo.lua

[25000] = { unidentifiedDisplayName = "Custom Box Name", unidentifiedResourceName = "¿À·¡µÈº¸¶ó»óÀÚ", unidentifiedDescriptionName = { "PUT DESCRIPTION HERE", "^ffffff_^000000", "Weight :^777777 1^000000", }, identifiedDisplayName = "Custom Box Name", identifiedResourceName = "¿À·¡µÈº¸¶ó»óÀÚ", identifiedDescriptionName = { "PUT DESCRIPTION HERE", "^ffffff_^000000", "Weight :^777777 1^000000", }, slotCount = 0, ClassNum = 0 },
3. open item_group.conf

check how to setup

Code:
// Structure of file:/* <Container_Item_Name>: (      "Item_Name" or       ("Item_Name",Repeat_Count) )*/
Code:
Custom_Box_Name: (	("Costume_Head_Gear1",9),	("Costume_Head_Gear2",10),	)
 
Last edited by a moderator:
Back
Top