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
How to show text when looking at sign?
jiersk Offline
Member

Posts: 118
Threads: 12
Joined: Nov 2012
Reputation: 0
#1
How to show text when looking at sign?

Hello there,
Can someone please tell me how I can subtitles to show up when the player looks at a certain sign?
For example: The player looks at a sign in the prison and the text " Prison section B" shows up as subtitles.
Thanks in advance.

Life is a joke made by someone with a bad sense of humor.
02-27-2013, 02:04 AM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: How to show text when looking at sign?

Using the level editor, put a Sign Area around the sign. Select the sign area, and on the right hand side, click the "Area" properties tab. Specify a text category and text entry (these will be the category and entry that you write in your .lang file). Add the category and entry into your .lang, then your done! I'd suggest making the category called "Signs", then use different entries for each sign.

Example: Category is called "Signs", and Entry is called "PrisonB"
<LANGUAGE>
    <CATEGORY Name="Signs">
        <Entry Name="PrisonB">Prison section B</Entry>
    </CATEGORY>
</LANGUAGE>

In Ruins [WIP]
02-27-2013, 02:23 AM
Find
jiersk Offline
Member

Posts: 118
Threads: 12
Joined: Nov 2012
Reputation: 0
#3
RE: How to show text when looking at sign?

(02-27-2013, 02:23 AM)NaxEla Wrote: Using the level editor, put a Sign Area around the sign. Select the sign area, and on the right hand side, click the "Area" properties tab. Specify a text category and text entry (these will be the category and entry that you write in your .lang file). Add the category and entry into your .lang, then your done! I'd suggest making the category called "Signs", then use different entries for each sign.

Example: Category is called "Signs", and Entry is called "PrisonB"
<LANGUAGE>
    <CATEGORY Name="Signs">
        <Entry Name="PrisonB">Prison section B</Entry>
    </CATEGORY>
</LANGUAGE>

Thank you so much!

Life is a joke made by someone with a bad sense of humor.
02-27-2013, 02:41 AM
Find




Users browsing this thread: 1 Guest(s)