Small question about names. - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Small question about names. (/thread-4641.html) |
Small question about names. - Neomin - 09-21-2010 So I have this key and it works but whenever I pick it up it says: "Picked up" How do I make it so it says e.g. key? RE: Small question about names. - Placeable - 09-21-2010 I think, but I am not certain, you have to link the item's name and description through your extra_english.lang file like this: (does not include everything just that specific category) Code: <CATEGORY Name ="Inventory"> Not sure about this since I have not tried it myself; but Journals/Notes/Diaries and most Texts is written in this file I would imagine same goes for items. Then maybe use the function SetInventoryMessage(string &asTextCategory, string &asTextEntry, float afTime); or something. RE: Small question about names. - Pandemoneus - 09-21-2010 You don't have to enter anything in the script, just fill in the field in the level editor. CellarKey would be replaced by Key01 in your example. [edit]By script I am refering to: (09-21-2010, 07:25 PM)Placeable Wrote: Then maybe use the function RE: Small question about names. - Placeable - 09-21-2010 Oh that is MUCH easier. You can set description for the item as well? Too lazy to look for myself >_> RE: Small question about names. - Pandemoneus - 09-21-2010 I don't know whether I get you right, but there is no way around adding entries to the extra_english.lang Code: <CATEGORY Name ="Inventory"> RE: Small question about names. - Placeable - 09-21-2010 Oh nevermind! I get it now, thought the CustomSubItemTypeName was the actual name the item would get but that filter IS the link to the extra_english.lang. Crystal clear. RE: Small question about names. - Neomin - 09-22-2010 Thanks |