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
Triggering Sounds & Sanity Damage?
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#5
RE: Triggering Sounds & Sanity Damage?

P.S. - In your lang file, put this new category in

<CATEGORY Name="General">
<Entry Name="ScreenMessage01">Screen Message 1</Entry>
</CATEGORY>

Change the entry name and text to whatever you want. In your SetMessage function, put "General" as the category and "ScreenMessage01" (or whatever you changed it to) as the entry. The float value is the time in seconds that the text will persist for.


P.S.S - Your lang file needs this:

<CATEGORY Name="LevelDoors">
<Entry Name="DoorName01">Door 1</Entry>
</CATEGORY>

Change the entry name and text to whatever you like. In the LevelEditor, select the door, go to the Entity tab and make sure you put DoorName01 (or whatever you changed it to) in the TextEntry field.

06-24-2011, 07:48 AM
Find


Messages In This Thread
RE: Triggering Sounds & Sanity Damage? - by palistov - 06-24-2011, 07:48 AM



Users browsing this thread: 1 Guest(s)