Frictional Games Forum (read-only)
Fully custom item, need help getting it working. - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Fully custom item, need help getting it working. (/thread-13371.html)



Fully custom item, need help getting it working. - Traggey - 02-16-2012

So, I'm creating a custom item for my story. I've got a new model and it's set to be an item which you can pick up. Within the game, the item glows as it should indicating that you can pick it up, and it also shows the hand when aiming at it. However I can not pick it up. I've gotten a suggestion that an icon file is needed. However I can not find any proper information about file formats, locations and image dimensions the logo needs to be. Anyone got some nice info on that for me?



RE: Fully custom item, need help getting it working. - Your Computer - 02-16-2012

The game makes use of the DevIL library. Anything that library supports should work with the game. For sake of organization, simply place the image file in the same folder as the entity. If the inventory image is too big, you shouldn't be able to pick up the item, so just shrink the image until everything looks and works fine.


RE: Fully custom item, need help getting it working. - Traggey - 02-16-2012

I have located the original icon files, will work off'o these, should be able to get it working now. Thanks.

Sucess, the object can now be picked up. You need a 60 X 60 .tga image file with an alpha channel and it needs to be asigned to the .ent through the settings in the model editor. Cheers.