Page 1 of 1

inventory difficulties

Posted: Sat Dec 01, 2007 2:13 pm
by zmaster
I can't get the gold to show up in my inventory no matter what i do :(

I looked though the tutorials and it dosent help

( :arrow: i just started reality factory)

Posted: Sat Dec 01, 2007 2:30 pm
by vrageprogrammer
First of all:
:!: :!: :!: :!: :!: :!: :!: :!: WELCOME TO DA FORUMS!!!!! :!: :!: :!: :!: :idea: :idea: :idea:

whew...that was long....
Ok, first,
I guess this topic doesn't belong here, but since we are a supportive community, here you go:
try these tutorials to get started:
http://www.realityfactory.info/forum/vi ... php?t=2860
, also the info you provided was not enough.....

Posted: Sat Dec 01, 2007 2:45 pm
by QuestOfDreams
1) add an attribute definition to the player.ini file in the install folder

Code: Select all

[gold]
initial = 0
low = 0
high = 999
2) add an item definiton to the inventory.ini in the install folder (I'm assuming that you just want the item to show up in the inventory, otherwise you must use a different catagory)

Code: Select all

[gold]
catagory = static
image = gold.bmp
imagealpha = a_gold.bmp
text = gold
3) place the bitmaps for the inventory screen (gold.bmp, a_gold.bmp) in the media/bitmaps/inventory folder

4) in your level add an Attribute entity that increases the gold attribute value

5) run the level pick up the attribute press the inventory key select the items submenu in the inventory and the gold attribute should be there

Posted: Sat Dec 01, 2007 3:59 pm
by zmaster
i already did that but it still wont show up :cry:

Posted: Sat Dec 01, 2007 4:07 pm
by bernie
What size your bitmaps ? They should be 128 x 96 for inventory.

Posted: Sat Dec 01, 2007 5:09 pm
by zmaster
that is the size they are