Author
|
Topic: new item graphics, noob-style
|
bitesizedchunks Squire

Posts: 27 From: Registered: Jan 2002 |
posted 29 January 2002 16:34
hey all. i am trying to import some new item graphics into my 'mod'. i am using pix from stargazer's item pack, and i also am using increased stash size mod. In inventory.txt, inventory square size is shown as 29x29 px, which matches the size of the graphics exactly. here's the problem:Akara is selling the gem in question (for testing), and you can see it just fine in the store screen. as soon as you try to grab it, though, the game freezes, then crashes, with no visible error screen. any ideas? i'm sure i'm just making one tiny mistake, but it certainly is fatal. has anyone else had this problem? thanks in advance.

|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 29 January 2002 16:44
Please run the game again in windowed mode (to do this, run it with the -w command), it will show you an assertion failure error, tell us the error you got there, perhaps we can help then  ------------------ Alkalund

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 29 January 2002 22:48
I see you wrote 29x29 graphic size. Isn't an inventory cell 28x28?

|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 30 January 2002 10:00
Yes, it's 28x28------------------ Give me fuel, give me fire, give me all that I desire

|
bitesizedchunks Squire

Posts: 27 From: Registered: Jan 2002 |
posted 30 January 2002 12:08
my inventory.txt says 29 high, 29 wide. strange. bottom line is, it works now. the error was something about ptGemMods. see, i had entered the wrong type in ItemTypes. i ended up making new TreasClass, when i put that code in the type column, everything turned out fine. i was trying to call it type gem, but apperantly you need a four-letter code. well, thanks anyway. a lot of problems can be fixed if you just think about them.......

|