Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Picking up custom items [SOLVED]
Dark88 Offline
Junior Member

Posts: 48
Threads: 6
Joined: Dec 2010
Reputation: 0
#1
Picking up custom items [SOLVED]

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.


Attached Files
.rar   xi_circleMarblePlate.rar (Size: 170.07 KB / Downloads: 92)
(This post was last modified: 12-30-2010, 09:51 AM by Dark88.)
12-30-2010, 03:19 AM
Find
Mofo Offline
Member

Posts: 71
Threads: 4
Joined: Sep 2010
Reputation: 2
#2
RE: Picking up custom items

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
Find
Dark88 Offline
Junior Member

Posts: 48
Threads: 6
Joined: Dec 2010
Reputation: 0
#3
RE: Picking up custom 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.
12-30-2010, 08:18 AM
Find
Mofo Offline
Member

Posts: 71
Threads: 4
Joined: Sep 2010
Reputation: 2
#4
RE: Picking up custom items

I've figured it out. You can only use images with a specific size (60px by 60px).

I made one you can use:


Attached Files
.rar   xi_circleMarblePlate_icon.rar (Size: 3.84 KB / Downloads: 94)
(This post was last modified: 12-30-2010, 09:14 AM by Mofo.)
12-30-2010, 09:02 AM
Find
Dark88 Offline
Junior Member

Posts: 48
Threads: 6
Joined: Dec 2010
Reputation: 0
#5
RE: Picking up custom items

(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:29 AM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#6
RE: Picking up custom items

(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.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
12-30-2010, 02:13 PM
Find
Mofo Offline
Member

Posts: 71
Threads: 4
Joined: Sep 2010
Reputation: 2
#7
RE: Picking up custom items

(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.
(This post was last modified: 12-30-2010, 03:05 PM by Mofo.)
12-30-2010, 03:05 PM
Find




Users browsing this thread: 1 Guest(s)