Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Contained item
Kiwi2703 Offline
Junior Member

Posts: 27
Threads: 5
Joined: Sep 2012
Reputation: 2
#1
Contained item

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
(This post was last modified: 09-07-2012, 09:14 PM by Kiwi2703.)
09-07-2012, 09:13 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Contained item

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

Tutorials: From Noob to Pro
(This post was last modified: 09-08-2012, 01:03 PM by Your Computer.)
09-07-2012, 09:27 PM
Website Find
Kiwi2703 Offline
Junior Member

Posts: 27
Threads: 5
Joined: Sep 2012
Reputation: 2
#3
RE: Contained item

(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?
09-07-2012, 09:34 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Contained item

i dont think thats possible...

Trying is the first step to success.
09-07-2012, 10:08 PM
Find
Kiwi2703 Offline
Junior Member

Posts: 27
Threads: 5
Joined: Sep 2012
Reputation: 2
#5
RE: Contained item

But I think in the original game there was something like this... :/
09-08-2012, 12:04 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#6
RE: Contained item

(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

Trying is the first step to success.
09-08-2012, 12:42 PM
Find
Kiwi2703 Offline
Junior Member

Posts: 27
Threads: 5
Joined: Sep 2012
Reputation: 2
#7
RE: Contained item

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
09-08-2012, 12:53 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: Contained item

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

Tutorials: From Noob to Pro
09-08-2012, 01:04 PM
Website Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#9
RE: Contained item

(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

Trying is the first step to success.
09-08-2012, 03:28 PM
Find
Kiwi2703 Offline
Junior Member

Posts: 27
Threads: 5
Joined: Sep 2012
Reputation: 2
#10
RE: Contained item

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
(This post was last modified: 09-08-2012, 06:07 PM by Kiwi2703.)
09-08-2012, 05:54 PM
Find




Users browsing this thread: 1 Guest(s)