![]() |
[SOLVED] "Picked Up" - 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: [SOLVED] "Picked Up" (/thread-12573.html) Pages:
1
2
|
[SOLVED] "Picked Up" - Zjurc - 01-13-2012 I may be stupid, but my object (in this case a key) is not accepting its custom name and description. When picking up it says "Picked Up" and when in inventory, its blank. The name of my key is "key_1" and in that other name (in the entities) its "key1" Okay. So I've set up my key, everything nice and beautiful. Now on to the mighty extra_english.lang! Quote: <CATEGORY Name="Inventory"> Anything wrong? The .lang file with this code is in the same location as the map. The map does not have its own .hps file (should it?). Thanks in advance! ![]() RE: "Picked Up" - Unearthlybrutal - 01-13-2012 Only maps and .hps files should be in the "maps" folder. The .lang file should be in your story's folder. (* the folder where are the .cfg file and maps folder) ![]() RE: "Picked Up" - Zjurc - 01-13-2012 (01-13-2012, 10:28 PM)Unearthlybrutal Wrote: Only maps and .hps files should be in the "maps" folder. ![]() It should be "Picked up Main Hall Key" or something like that i guess. RE: "Picked Up" - Unearthlybrutal - 01-13-2012 Is the "key1" your key's name or is it "CustomSubItemTypeName" in the second tab on the right, when you click the key in the level editor? RE: "Picked Up" - Zjurc - 01-13-2012 (01-13-2012, 10:54 PM)Unearthlybrutal Wrote: Is the "key1" your key's name or is it "CustomSubItemTypeName" in the second tab on the right, when you click the key in the level editor? "CustomSubItemTypeName" key1 "Name" key_1 Should those two be replaced? RE: "Picked Up" - Statyk - 01-14-2012 "CustomSubItemTypeName" key_1 "Name" Can be anything you want. This is for scripting. RE: "Picked Up" - Tripication - 01-14-2012 Make sure you have arranged your folders like this and exactly this. custom_stories -----|(your custom story name) ----------|extra_english.lang ----------|custom_story_settings.cfg ----------|maps ----------------|Map files(or folders containing map files) (if that makes sense) RE: "Picked Up" - HollowRiku13 - 01-14-2012 A key for the Main Hall</Entry> Main Hall Key</Entry> You need to put a space between "Main Hall" and "</Entry>" It should look like : <CATEGORY Name="Inventory"> <Entry Name="ItemDesc_key1">A key for the Main Hall </Entry> <Entry Name="ItemName_key1">Main Hall Key </Entry> </CATEGORY> RE: "Picked Up" - Statyk - 01-14-2012 (01-14-2012, 05:40 AM)HollowRiku13 Wrote: A key for the Main Hall Not exactly. You're just going to have an unnoticable space at the end of the message. RE: "Picked Up" - SilentStriker - 01-14-2012 You do like this: In the .lang file you put <CATEGORY Name="Inventory"> <Entry Name="ItemDesc_CANBEWHATEVERUWANT">A key for the Main Hall </Entry> <Entry Name="ItemName_CANBEWHATEVERUWANT">Main Hall Key </Entry> </CATEGORY> and then in level editor you click the key and then on entities you write on "CustomSubItemTypeName" what you wrote on CANBEWHATEVER thing in .lang file Hoped it helped ![]() |