laklaker Posted December 29, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Share Posted December 29, 2011 I wanted to create a new grf for my custom headgear. What does it need? only there following? db\item_db2 data\lua files\datainfo\accessoryid.lua data\lua files\datainfo\accname.lua idnum2itemdesctable idnum2itemdisplaynametable idnum2itemresnametable num2itemdisplaynametable num2itemresnametable Any other? I have lua. It's not a x-ray client. Quote Link to comment Share on other sites More sharing options...
JayPee Posted December 29, 2011 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted December 29, 2011 You should post this on the client section Quote Link to comment Share on other sites More sharing options...
laklaker Posted December 29, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Author Share Posted December 29, 2011 You should post this on the client section Sorry. Help me please!! Quote Link to comment Share on other sites More sharing options...
Aerie Posted December 29, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted December 29, 2011 Your list seems correct, it depends of what you put into those files. But what's your question exactly ? How repack files into grf format ? You can use some utilitaries like : grfbuilder-0.1.30.zip Quote Link to comment Share on other sites More sharing options...
laklaker Posted December 29, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Author Share Posted December 29, 2011 Your list seems correct, it depends of what you put into those files. But what's your question exactly ? How repack files into grf format ? You can use some utilitaries like : grfbuilder-0.1.30.zip My question is how to create a new grf just for custom items. Like Custom Headgears, etc. etc. Because the time i create a new one and get it the item is "Unknown Item" the apple thingy. Can't equip, Can't use, but droppable. Quote Link to comment Share on other sites More sharing options...
Aerie Posted December 29, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted December 29, 2011 You can add an item (without sprite) only in your data folder. But becareful with the data.ini and the grf priority reading. Quote Link to comment Share on other sites More sharing options...
laklaker Posted December 29, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Author Share Posted December 29, 2011 You can add an item (without sprite) only in your data folder. But becareful with the data.ini and the grf priority reading. I want to try it a custom at my RO please help . Any other idea? To add a custom items using grf? Quote Link to comment Share on other sites More sharing options...
Aerie Posted December 29, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted December 29, 2011 Ad I said repack them into a grf but becareful with the data.ini and the priority of reading grf. If your custom grf isn't read first, it will be other versions of files who will be read. (So without your modifications for add the custom item). Quote Link to comment Share on other sites More sharing options...
Cookies Posted December 29, 2011 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 9 Reputation: 1 Joined: 12/09/11 Last Seen: June 29, 2012 Share Posted December 29, 2011 Edit your DATA.ini to read your custom grf first. [DATA] 0=<Your custom grf> 1=rdata.grf 2=data.grf Then you would have to add the sprites into the right places. You need a drop sprite, a sprite for both male and females. A collection and item picture that would go into the texture folder. When you add the item to your server, your idnum2itemresnametable will have to match the file name of the sprite you are using. Quote Link to comment Share on other sites More sharing options...
laklaker Posted December 30, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Author Share Posted December 30, 2011 Edit your DATA.ini to read your custom grf first. [DATA] 0=<Your custom grf> 1=rdata.grf 2=data.grf Then you would have to add the sprites into the right places. You need a drop sprite, a sprite for both male and females. A collection and item picture that would go into the texture folder. When you add the item to your server, your idnum2itemresnametable will have to match the file name of the sprite you are using. I already do this. But same unknown tem Quote Link to comment Share on other sites More sharing options...
KeiKun Posted December 30, 2011 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: Friday at 08:18 AM Share Posted December 30, 2011 As I said on Fil Section your problem might be a Client Problem ~____~ Quote Link to comment Share on other sites More sharing options...
laklaker Posted December 30, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Author Share Posted December 30, 2011 As I said on Fil Section your problem might be a Client Problem ~____~ It works on the other one grf but in the new. Ugh.. Quote Link to comment Share on other sites More sharing options...
KeiKun Posted December 30, 2011 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: Friday at 08:18 AM Share Posted December 30, 2011 (edited) well if i have time i can help you give me info and the files i will add it for you and test it too EDIT: since im not that busy too~ Edited December 30, 2011 by KeiKun Quote Link to comment Share on other sites More sharing options...
laklaker Posted December 31, 2011 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 12/27/11 Last Seen: February 25, 2020 Author Share Posted December 31, 2011 Here. http://www.mediafire.com/?7yaf2ym4hcqv1y9 Quote Link to comment Share on other sites More sharing options...
LCDTheOG Posted January 3, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 223 Reputation: 36 Joined: 12/13/11 Last Seen: February 1 Share Posted January 3, 2012 I wanted to create a new grf for my custom headgear. What does it need? only there following? dbitem_db2 datalua filesdatainfoaccessoryid.lua datalua filesdatainfoaccname.lua idnum2itemdesctable idnum2itemdisplaynametable idnum2itemresnametable num2itemdisplaynametable num2itemresnametable Any other? I have lua. It's not a x-ray client. btw u dont need db/item_db2.txt in the files >_>, thats actual server files lol. those stay out of ur grf... Quote Link to comment Share on other sites More sharing options...
Question
laklaker
I wanted to create a new grf for my custom headgear. What does it need?
only there following?
db\item_db2
data\lua files\datainfo\accessoryid.lua
data\lua files\datainfo\accname.lua
idnum2itemdesctable
idnum2itemdisplaynametable
idnum2itemresnametable
num2itemdisplaynametable
num2itemresnametable
Any other? I have lua. It's not a x-ray client.
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.