Frictional Games Forum (read-only)

Full Version: Picking up custom items [SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have some custom entities for a puzzle in my custom story. I have them set to Type: Item Subtype: Puzzle but for some reason it won't let me pick it up and add to the inventory. The hand sows up indicating I can pick it up but it won't actually do it.

I was wondering if there was a tutorial somewhere that could possibly help me or if someone here has an idea what could be causing it. I'll include one of the entities, originally done by xiphirix.
You'll need to add an image for the inventory. Load your model inside the model editor and go to the "User Defined Variables". Scroll down to "ImageFile" and select the image you want to use.

Spoiler below!
[Image: 2h84rkl.png]

The standard images can be found in amnesia/graphics/items/.
(12-30-2010, 06:16 AM)Mofo Wrote: [ -> ]You'll need to add an image for the inventory. Load your model inside the model editor and go to the "User Defined Variables". Scroll down to "ImageFile" and select the image you want to use.

Spoiler below!
[Image: 2h84rkl.png]

The standard images can be found in amnesia/graphics/items/.

I have one selected but it won't let me pick it up in game. It just glows like the other items and when I mouse over the hand comes up but when I click nothing happens at all.
I've figured it out. You can only use images with a specific size (60px by 60px).

I made one you can use:
(12-30-2010, 09:02 AM)Mofo Wrote: [ -> ]I've figured it out. You can only use images with a specific size (60px by 60px).

I made one you can use:

Thanks, man. I'll keep that in mind for the other items too. Smile I appreciate the help.
(12-30-2010, 09:02 AM)Mofo Wrote: [ -> ]I've figured it out. You can only use images with a specific size (60px by 60px).

I made one you can use:

Really? I could use a .png of any size I wanted, the game just centered them in their inventory field but didn't scale them.
(12-30-2010, 02:13 PM)Frontcannon Wrote: [ -> ]
(12-30-2010, 09:02 AM)Mofo Wrote: [ -> ]I've figured it out. You can only use images with a specific size (60px by 60px).

I made one you can use:

Really? I could use a .png of any size I wanted, the game just centered them in their inventory field but didn't scale them.

You're right, I just tried it with a 120px .png and that worked like a charm. I couldn't do it with a 700px .png though. Maybe there's a file or image size limit.