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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nublette Requires Assistance with Scripting and Puzzles
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#6
RE: The Nublette Needs Help With Everything

(01-05-2013, 05:06 AM)Kiandra Wrote: I'm getting better at scripting... I think. But there is one thing that's still really troubling me:
This extra_english.lang file that keeps being referenced in all the tutorials, is there a tutorial on how to create one and where to place it? I have one started:
<LANGUAGE>
  <RESOURCES>
    <Directory Path="fonts/eng" />
    <Directory Path="lang/eng" />
  <CATEGORY Name="Inventory">
    <Entry Name="LibraryKey">Spare Library Key</Entry>
    <Entry Name="ItemDesc_LibraryKey">Lillian's secret key for the library.</Entry>
  </CATEGORY>
//// It continues for a while with several more categories ////
</RESOURCES>
</LANGUAGE>
Problem is, I'm not sure where to put it (in with the english.lang file?) or how to ensure my cs references this file instead of the one from the original game.

Oh, and while I'm asking questions,
void FadeInSound(string& asSoundName, float afFadeTime, bool abPlayStart);
what does "bool" mean and what does it do?

Here's a tutorial from the wiki about .lang files: http://wiki.frictionalgames.com/hpl2/amn...stom_story

Concerning you're second question, 'bool' (or it's full name 'boolean') is a data type in C++ that can take one of two values: true or false.

In Ruins [WIP]
(This post was last modified: 01-05-2013, 07:07 AM by NaxEla.)
01-05-2013, 07:05 AM
Find


Messages In This Thread
RE: The Nublette Needs Help With Everything - by NaxEla - 01-05-2013, 07:05 AM



Users browsing this thread: 1 Guest(s)