Frictional Games Forum (read-only)
Contained 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: Contained item (/thread-18203.html)

Pages: 1 2


Contained item - Kiwi2703 - 09-07-2012

Hello again Big Grin
I have a wine bottle and I want a key to fall out when I break the bottle. So, I set "contained item" for the bottle to be "key_study", but I have no idea how to set some parameters for the key, such as name. Can someone help me with this? Thanks! Smile


RE: Contained item - Your Computer - 09-07-2012

IIRC, the entity name gets suffixed with "_item" for the contained item. Inspection mode should show the name of the entity.


RE: Contained item - Kiwi2703 - 09-07-2012

(09-07-2012, 09:27 PM)Your Computer Wrote: IIRC, the entity name gets prefixed with "_item" for the contained item. Inspection mode should show the name of the entity.
Thanks, and do you know how to set CustomSubItemTypeName for the key?


RE: Contained item - FlawlessHappiness - 09-07-2012

i dont think thats possible...


RE: Contained item - Kiwi2703 - 09-08-2012

But I think in the original game there was something like this... :/


RE: Contained item - FlawlessHappiness - 09-08-2012

(09-08-2012, 12:04 PM)Kiwi2703 Wrote: But I think in the original game there was something like this... :/
Yea, but that was not a bottle Wink It was this clear jar-thingy and you could see the key inside it. I think that one has a CustomSubItemName


RE: Contained item - Kiwi2703 - 09-08-2012

That's too bad :/ Why would they put such option to the editor and not letting us to set the name and description for it? That's weird.. Sad


RE: Contained item - Your Computer - 09-08-2012

Have you not thought about that maybe it gets suffixed with "_item" as well?


RE: Contained item - FlawlessHappiness - 09-08-2012

(09-08-2012, 01:04 PM)Your Computer Wrote: Have you not thought about that maybe it gets suffixed with "_item" as well?
i haven't. You might be right Smile Then there still is a chance


RE: Contained item - Kiwi2703 - 09-08-2012

You mean like, if I set contained item for a bottle named "bottle1", then both the item's name and customsubitemname will be "bottle1_item"?

^ I tried this, and the name works (so I can set it to open certain door), but the inventory name doesn't work... The key reads "Machine room key", as default..

I thought maybe there is a script that would set the customsubitemname for a certain thing... Is there? Huh