PDA

View Full Version : Data File Questions


DarkStar
December 2nd, 2004, 05:23 AM
I was looking over the data files. I saw that there was a
field in MAIN_ITEMCLASSES.TXT called:

Maximum Number Stacked

This was of interest to me because I always wanted it so that like potions would stack. So I changed it to be 5 thinking that would mean I could have 5 in a stack. This seems to be the way Ammo works and that stacks.

I was a bit surprised to see that the potion still will not stack. I'm thinking that Ammo Types might have been hard coded and doesnt' care about the data files.

I also tried changing:

Random Min Number Found Stacked
Random Max Number Found Stacked

To something non-zero thinking maybe all three fields needed to be non-zero. Didn't seem to help any.

Anyone have any ideas? Does this even work?

The other question I had is do you have to fill in the Tile Row fields in XXX_TILES.TXT by hand? These are the fields that are letter that show what can connect to this tile. I read something about running DO in a tile making mode. Will this fill in these fields? If not what is a good way to make the fields?

Thanks for any help you can give.

ace joh
December 2nd, 2004, 02:09 PM
Actually, I was able to stack potions, and food. The problem is, if it has different values, one will be overwritten (say you have one that gives +50, and one +20, only one value will be used for both when stacked) and secondly, it simply doesn't work http://forum.shrapnelgames.com/images/smilies/happy.gif . You select by default the entire stack, couldn't pick just one. Can't remember what happened when I tried to eat the stack, or how I did it, but well, it doesn't work.