Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help doors wont show text
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#11
RE: doors wont show text

(04-21-2012, 01:42 PM)Dutton Wrote: Speaking of Categorys. I'm quite confused about them. I don't really understand if every single category you type, has to be something special to work? for example the level doors. as you said:

Quote:"If it's a level door the category name has to be "Levels" and not "LevelDoors"
Like this:
<CATEGORY Name="Levels">
<Entry Name="Study_Door">Study</Entry>
<Entry Name="Storage_Door">Storage</Entry>
</CATEGORY>
How do you exactly know when it has to be a specific category name?
He's wrong. The Levels category is for names that displays when listing autosaves. You should be using the LevelDoors category. (No, I was wrong.) One moment and I'll check out your problem.

Edit: If your problem is fixed now, and you're just asking about what categories there are, you can find them by checking out english.lang and base_english.lang from the original Amnesia and Justine.

Here are some useful ones from my lang file comments:

// The basic category names can probably all be found in "base_english.lang" and "english.lang".
  // They all follow the same format.
  //
  // Here is a list of all the useful CATEGORY names:
  // CustomStoryMain - Needs to have an entry named "Description", containing the story description.
  // Inventory - Listed as names (ItemName_x) and descriptions (ItemDesc_x) of inventory items, where "x" is what is specified in the CustomSubItemTypeName field of the entity.
  //   Combine complaints typically also go here, and displayed with "SetInventoryMessage("Inventory", "Entry name", -1);".
  // Journal - Journal entries.
  //   Notes are listed as names ("x_Name") and contents ("x_Text").
  //   Diary entries are listed as titles ("Diary_x_Name1") and contents ("Diary_x_Text1"). The number is the entry.
  //   Quests are also listed here, as "Quest_x_Text". (Quests are added in-game with the AddQuest() function, and removed with the CompleteQuest() function.)
  //   Notes and diaries have certain format tags. The [br] tag gives a line break, and the [new_page] tag signifies a page break, but it must be listed on its own line, like so: "[br][new_page][br]"
  //   Diaries can also have voice-overs. The .ogg file must be listed on a line by itself, like this: "[br][voice Diary_CH01L03_Daniel0102_01.ogg][br]"
  // Messages - Not sure if this is correct, because it's not in "english.lang", but it's supposed to be messages that appear on screen (like explanations or thoughts).
  // Levels - Level names. Entries displayed when hovering the cursor over a level door, or when listing autosaves. The SetMapDisplayNameEntry script is used to set it.
  // LevelDoors - Barely used. Messages used for locked level doors.
  // Hints - Gameplay hints, but also death hints/messages. (The default death entry is called "DefaultDeath", and is "You have to carry on...".)
  // Flashbacks - Audio cutscene text. (Maybe more - didn't check.)
  // EmotionStone - Emotion stone messages.
  // LoadingText - Text during loading screens.
  // PreMenu - Text that will appear when you start the game, before the level starts.
  // Ending - The end credits. (The entry name has to be MainCredits, overwriting the original credits.)
  //
  // You can also create custom categories, to provide messages when something is viewed.

Enjoy.

Noob scripting tutorial: From Noob to Pro

(This post was last modified: 04-21-2012, 10:04 PM by Cranky Old Man.)
04-21-2012, 02:01 PM
Find


Messages In This Thread
doors wont show text - by zombiehacker595 - 03-30-2012, 01:08 AM
RE: doors wont show text - by Cole - 03-30-2012, 01:16 AM
RE: doors wont show text - by zombiehacker595 - 03-30-2012, 01:31 AM
RE: doors wont show text - by Cole - 03-30-2012, 01:43 AM
RE: doors wont show text - by Your Computer - 03-30-2012, 01:45 AM
RE: doors wont show text - by zombiehacker595 - 03-30-2012, 06:29 AM
RE: doors wont show text - by Your Computer - 03-30-2012, 07:24 AM
RE: doors wont show text - by DaAinGame - 03-30-2012, 03:41 AM
RE: doors wont show text - by i3670 - 03-30-2012, 01:29 PM
RE: doors wont show text - by Dutton - 04-21-2012, 01:42 PM
RE: doors wont show text - by Cranky Old Man - 04-21-2012, 02:01 PM
RE: doors wont show text - by zombiehacker595 - 04-21-2012, 02:38 PM
RE: doors wont show text - by i3670 - 04-21-2012, 09:32 PM
RE: doors wont show text - by Cranky Old Man - 04-21-2012, 09:58 PM
RE: doors wont show text - by i3670 - 04-21-2012, 11:48 PM
RE: doors wont show text - by Cranky Old Man - 04-22-2012, 01:09 AM
RE: doors wont show text - by zombiehacker595 - 04-22-2012, 01:11 AM



Users browsing this thread: 1 Guest(s)