Frictional Games Forum (read-only)
Problem with custom arm/flashlight - 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: Problem with custom arm/flashlight (/thread-22414.html)



Problem with custom arm/flashlight - ExpectedIdentifier - 08-14-2013

Hi! So my mod has a custom arm/flashlight. I have managed to get them into the game successfully, however only through GiveItemFromFile("lantern", "lantern.ent");

I have tried creating an item of type lantern, however when I click on the item in game, no flashlight is added to the inventory and the item just stays there. (although the hint for when you pick up a lantern shows!). Any ideas what I'm doing wrong?


RE: Problem with custom arm/flashlight - The chaser - 08-14-2013

I'm sure it's a problem with the Icon Image. Make sure the size is 64x64.


RE: Problem with custom arm/flashlight - ExpectedIdentifier - 08-15-2013

(08-14-2013, 11:42 PM)The chaser Wrote: I'm sure it's a problem with the Icon Image. Make sure the size is 64x64.

Thank you so much, really didn't think that would work but it sure did! Big Grin I've spent so long trying to get it to work and it was such a minor thing. Thanks again Smile


RE: Problem with custom arm/flashlight - The chaser - 08-15-2013

It's a common error in items, it usually drives nuts Smile