Frictional Games Forum (read-only)
Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - 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: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( (/thread-13090.html)

Pages: 1 2


Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - Ninami - 02-04-2012

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 -.-


RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - SilentStriker - 02-04-2012

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





RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - Ninami - 02-04-2012

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?


RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - SilentStriker - 02-04-2012

(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




RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - Ninami - 02-04-2012

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


RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - S4n1tyM0rs0 - 02-04-2012

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.



RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - Ninami - 02-04-2012

Change the entity name or the CustomSubItemTypeName?


RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - S4n1tyM0rs0 - 02-04-2012

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...



RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - Ninami - 02-04-2012

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.....


RE: Only shows "Picked up" when picking up a key, tried EVERYTHING...need help :( - S4n1tyM0rs0 - 02-04-2012

(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