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
Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#1
Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

Hey again!

So I have this .lang file:




Ninami Mansion Story



There must be a key somewhere...



Key
Seems like this key fits a door



I changed the key's CustomSubItemTypeName to "Key1". I downloaded the XML Validator and it says my .lang is VALID.

I have no freakin idea what's wrong... Please help!
And of the record, the "DoorLocked" doesn't work either -.-
(This post was last modified: 02-05-2012, 01:23 PM by Ninami.)
02-04-2012, 12:55 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

(02-04-2012, 12:55 PM)Ninami Wrote: Hey again!

So I have this .lang file:


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Ninami Mansion Story</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="DoorLocked">There must be a key somewhere...</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Key1">Key</Entry>
<Entry Name="ItemDesc_Key1">Seems like this key fits a door</Entry>
</CATEGORY>
</LANGUAGE>

I changed the key's CustomSubItemTypeName to "Key1". I downloaded the XML Validator and it says my .lang is VALID.

I have no freakin idea what's wrong... Please help!
And of the record, the "DoorLocked" doesn't work either -.-
Have you named the key key1?



02-04-2012, 12:58 PM
Find
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#3
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

The entity name of the key is "Key_1" but the CustomSubItemTypeName is "Key1"

Do they have to be the same?
Tried naming them the same but nothing changed...

The .lang file is located in "custom_stories/Ninamis Mansion"...

Do I have to connect the .lang file with my script somehow?
Or does it only require to be in the map?
(This post was last modified: 02-04-2012, 01:25 PM by Ninami.)
02-04-2012, 01:00 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

(02-04-2012, 01:00 PM)Ninami Wrote: The entity name of the key is "Key_1" but the CustomSubItemTypeName is "Key1"

Do they have to be the same?
Tried naming them the same but nothing changed...

The .lang file is located in "custom_stories/Ninamis Mansion"...

Do I have to connect the .lang file with my script somehow?
Or does it only require to be in the map?
hmm... weird... try this: use
<Entry Name="ItemName_chest key">Chest Key</Entry>
<Entry Name="ItemDesc_chest key">A small key to unlock the chest.</Entry>

and name the customsubitem to chest key then try Smile if it doesn't work then it's something else that is wrong Smile


02-04-2012, 01:35 PM
Find
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#5
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

Nope that didn't work either Sad((

WTF is wrong?!?!
Anyone with experience who might know a solution?

Clearly it's not the .lang file, nor CustomSubItemTypeName.
What else is there :S
(This post was last modified: 02-04-2012, 01:59 PM by Ninami.)
02-04-2012, 01:39 PM
Find
S4n1tyM0rs0 Offline
Junior Member

Posts: 14
Threads: 2
Joined: Feb 2012
Reputation: 0
#6
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

I tried to make key with
Entity name key_1
and
CustomSubItemTypeName key1
Then I launched game and it was called "Machine Room Key" and description was from original Amnesia story... I think you should change the name of your key.
(This post was last modified: 02-04-2012, 02:14 PM by S4n1tyM0rs0.)
02-04-2012, 02:14 PM
Find
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#7
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

Change the entity name or the CustomSubItemTypeName?
02-04-2012, 02:16 PM
Find
S4n1tyM0rs0 Offline
Junior Member

Posts: 14
Threads: 2
Joined: Feb 2012
Reputation: 0
#8
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

Well, I'm not sure but I prefer changing both

Sorry! I was wrong... CustomSubItemTypeName key1 and Entity name key_1 worked fine!! I think you should just check that there's no spelling mistakes or something...
(This post was last modified: 02-04-2012, 02:22 PM by S4n1tyM0rs0.)
02-04-2012, 02:16 PM
Find
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#9
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

Alright so I sent the map folder to my brother.

He started the map and it fucking worked?!?!?!

But when I try with the EXACT same folder, it does NOT......

This is getting frustrating.....
02-04-2012, 02:23 PM
Find
S4n1tyM0rs0 Offline
Junior Member

Posts: 14
Threads: 2
Joined: Feb 2012
Reputation: 0
#10
RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(

(02-04-2012, 02:23 PM)Ninami Wrote: Alright so I sent the map folder to my brother.

He started the map and it fucking worked?!?!?!

But when I try with the EXACT same folder, it does NOT......

This is getting frustrating.....
Maybe re-install Amnesia? Big Grin
02-04-2012, 02:25 PM
Find




Users browsing this thread: 1 Guest(s)