Frictional Games Forum (read-only)

Full Version: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :(
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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 -.-
(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?


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?
(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

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
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.
Change the entity name or the CustomSubItemTypeName?
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...
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)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
Pages: 1 2