Frictional Games Forum (read-only)
Key doens´t work... - 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: Key doens´t work... (/thread-13341.html)

Pages: 1 2


RE: Key doens´t work... - thephoenix1860 - 02-14-2012

lolz....i really think you kidding me....
the key has already a name, and this name i have to put it into the hps

(02-14-2012, 04:55 PM)Your Computer Wrote: CustomSubItemTypeName can be whatever you want so long as it is reflected in the .lang file.

and how can i check it? In my lang. stays:
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">My first Custom Story! AC/DC FTW!</Entry>
</CATEGORY>
</LANGUAGE>

but i think, that my key-problem doesnt have to do with the lang.



RE: Key doens´t work... - Shives - 02-14-2012

SetSwingDoorLocked("mansion_1", false, false);
Should be
SetSwingDoorLocked("mansion_1", false, true);
or
SetSwingDoorLocked("mansion_1", true, false);


RE: Key doens´t work... - Your Computer - 02-14-2012

(02-14-2012, 05:29 PM)thephoenix1860 Wrote: and how can i check it? In my lang. stays:
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">My first Custom Story! AC/DC FTW!</Entry>
</CATEGORY>
</LANGUAGE>

but i think, that my key-problem doesnt have to do with the lang.

http://www.youtube.com/watch?v=xM8cMhPw_d8&list=PLD326789BC99530C8&index=10


RE: Key doens´t work... - thephoenix1860 - 02-14-2012

yeah, i heard that you have done helpfully tutorials^^ And i thank you a lot dude, because you answered my another question. But i think you didn really understand my problem: I want to use the key to open the closed door and not to give the key and a leveldoor a name xD




RE: Key doens´t work... - Darkaroth - 02-14-2012

Are you sure you've entered the right item name and door name ?( only use the customsubitemtypename for the .lang ) and try
SetSwingDoorLocked("mansion_1", false, true); instead of
SetSwingDoorLocked("mansion_1", false, false);



RE: Key doens´t work... - Your Computer - 02-14-2012

SetLevelDoorLocked is used to lock or unlock level doors not SetSwingDoorLocked.


RE: Key doens´t work... - thephoenix1860 - 02-14-2012

@Darkaroth
well, that with "only use the subitemtypename in .lang" i dont understand and, yes ive already tried it with ".....false,true" and ye, im sure that ive typed the right name of the key and of the door^^

@shives
it doesn work Sad

@YourComputer
well,thanks



RE: Key doens´t work... - flamez3 - 02-15-2012

(02-14-2012, 05:29 PM)thephoenix1860 Wrote: lolz....i really think you kidding me....


No need to be sarcastic. When you don't use proper English and don't even ask the right question in your topic it's hard to know what you want.


RE: Key doens´t work... - thephoenix1860 - 02-16-2012

when you look at my script you can think what i mean Smile
and ye, sorry i was aggressive ^^