Frictional Games Forum (read-only)
Converting a Cog into an pickable item? - 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: Converting a Cog into an pickable item? (/thread-11712.html)

Pages: 1 2


Converting a Cog into an pickable item? - Gamemakingdude - 12-06-2011

Hi, i am trying to convert a cog into an pickable item, i managed to make it an item but it wont let me pick it up!


RE: Converting a Cog into an pickable item? - Tanshaydar - 12-06-2011

Make sure body is large enough to be interactable.


RE: Converting a Cog into an pickable item? - palistov - 12-06-2011

Items also need an inventory image file, or else they will not be able to be picked up. Must be in .tga format and placed in the appropriate directory, as well as pointed to as the item's image file via the ModelEditor.


RE: Converting a Cog into an pickable item? - Gamemakingdude - 12-06-2011

I gave it an image file it still not pickable its an item subtype puzzle.


RE: Converting a Cog into an pickable item? - flamez3 - 12-06-2011

(12-06-2011, 09:41 AM)palistov Wrote: Items also need an inventory image file, or else they will not be able to be picked up. Must be in .tga format and placed in the appropriate directory, as well as pointed to as the item's image file via the ModelEditor.
Whats the right directory?




RE: Converting a Cog into an pickable item? - Your Computer - 12-06-2011

Did you provide a SubItemTypeName in the model editor?

(12-06-2011, 11:17 AM)flamez3 Wrote: Whats the right directory?

Best place would be in the same directory as the entity file. However, i think the game goes mostly by file name and the resources.cfg file than the path provided in the entity file.


RE: Converting a Cog into an pickable item? - Gamemakingdude - 12-06-2011

So how could i make this work then with the resources.cfg then?


RE: Converting a Cog into an pickable item? - Your Computer - 12-06-2011

(12-06-2011, 12:21 PM)Gamemakingdude Wrote: So how could i make this work then with the resources.cfg then?

It should work if it's somewhere within your custom story's folder. The game should take care of everything when loading your story.


RE: Converting a Cog into an pickable item? - Gamemakingdude - 12-06-2011

Well i have the cog in the entities for amnesia but i still am not able to pick it up even with the image attacted the item is item and its a puzzle subtype.


RE: Converting a Cog into an pickable item? - Your Computer - 12-06-2011

(12-06-2011, 01:29 PM)Gamemakingdude Wrote: Well i have the cog in the entities for amnesia but i still am not able to pick it up even with the image attacted the item is item and its a puzzle subtype.

Did you provide a SubItemTypeName in the model editor?