Picking up custom items [SOLVED] - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Picking up custom items [SOLVED] (/thread-5955.html) |
Picking up custom items [SOLVED] - Dark88 - 12-30-2010 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. RE: Picking up custom items - Mofo - 12-30-2010 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!
The standard images can be found in amnesia/graphics/items/. RE: Picking up custom items - Dark88 - 12-30-2010 (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. 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. RE: Picking up custom items - Mofo - 12-30-2010 I've figured it out. You can only use images with a specific size (60px by 60px). I made one you can use: RE: Picking up custom items - Dark88 - 12-30-2010 (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). Thanks, man. I'll keep that in mind for the other items too. I appreciate the help. RE: Picking up custom items - Frontcannon - 12-30-2010 (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). 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. RE: Picking up custom items - Mofo - 12-30-2010 (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). 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. |