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
Text message wont show up
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#1
Text message wont show up

My Test message wont show up:
My script:
AddTimer("Timer", 3.0f, "stormhard");

void stormhard(string &in asTimer)
{
SetMessage("Hint", "Hint01", 2.5f);
}

My .lang file:
<LANGUAGE>

<CATEGORY Name="Hint">
<Entry Name="Hint01">The Blizzard is going stronger</Entry>
</Category>

<LANGUAGE>

Thats just not my whole .lang file.
07-09-2011, 06:40 PM
Find
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#2
RE: Text message wont show up

The end of the .lang file needs to be </LANGUAGE>

Insanity. Static.
07-09-2011, 06:57 PM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#3
RE: Text message wont show up

okay.i see.thanks
Doesn't work :C
(This post was last modified: 07-09-2011, 07:36 PM by Janni1234.)
07-09-2011, 07:24 PM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#4
RE: Text message wont show up

It doesn't work.I fixed the <LANGUAGE> to </LANGUAGE>
07-09-2011, 08:42 PM
Find
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#5
RE: Text message wont show up

(07-09-2011, 06:40 PM)Janni1234 Wrote: <CATEGORY Name="Hint">
<Entry Name="Hint01">The Blizzard is going stronger</Entry>
</Category>

You also need to capitalize, I missed that sorry.

</CATEGORY> not </Category>

-EDIT- Found something "<Enrty Name" and what Kurton said.




Insanity. Static.
(This post was last modified: 07-10-2011, 12:19 AM by Juby.)
07-09-2011, 08:55 PM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#6
RE: Text message wont show up

Done.Not working.Thats strange...
Here is my whole file: [Warning:Its german ;D]

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Just a description.</Entry>


</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_lol_Name">Test Note</Entry>
<Entry Name="Note_lol_Text">Ich habe hier meine Ferien verbracht.Eigentlich ist alles schön, doch es gibt einige Dinge die ich nun einmal schriftlich festhalten muss.Nach dem Sonnenuntergang, auch meistens während dem Sonnenuntergang, höre ich sehr merkwürdige Geräusche aus dem Wald.Wie kann man es beschreiben...[br]Schreie.Ja, es sind Schreie.Und ich möchte eigentlich hier nur noch weg.Meine Sachen Packen und in die Kutsche.Zurück nach Deutschland.[br][br]-Willhelm.</Entry>
<Entry Name="Note_mushroom_Name">Viruspilz</Entry>
<Enrty Name="Note_mushroom_Text">Nach einigen Tests hat sich herausgestellt, das der Pilz sich sehr schnell fortpflanzt.Die Maenner, die infiziert sind, koennen nicht mehr gerettet werden.Deshalb wurde ein Heilmittel hergestellt aus Laudanum und dem Samen des Pilzes.Es muss in Blut kommen.Deswegen muss es gespritzt werden.[br][br]-Professor Walter.
</CATEGORY>


<CATEGORY Name="Hint">
<Entry Name="Hint01">Was ist hier nur geschehen?</Entry>
<Entry Name="Hint02">Ich muss mir erst das Heilmittel spritzen um dort lang zu kommen</Entry>
<Entry Name="Hint03">Der Schneesturm wird stärker</Entry>

</CATEGORY>

</LANGUAGE>
(This post was last modified: 07-09-2011, 09:17 PM by Janni1234.)
07-09-2011, 09:16 PM
Find
Kurton Offline
Senior Member

Posts: 533
Threads: 8
Joined: Oct 2010
Reputation: 16
#7
RE: Text message wont show up

Note_mushroom_text needs an </Entry> to close it. (Place right after "Professor Walter.")

07-09-2011, 11:37 PM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#8
RE: Text message wont show up

Made that.The text doesn't work.And the Hints, too. Sad
07-10-2011, 12:48 AM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#9
RE: Text message wont show up

its really annoying that the texts doesn't work
and I do not know what I'm doing wrong
07-10-2011, 12:08 PM
Find
AlexRobillard Offline
Junior Member

Posts: 41
Threads: 5
Joined: Jun 2011
Reputation: 0
#10
RE: Text message wont show up

<Enrty Name="Note_mushroom_Text">Nach einigen Tests hat sich herausgestellt, das der Pilz sich sehr schnell fortpflanzt.Die Maenner, die infiziert sind, koennen nicht mehr gerettet werden.Deshalb wurde ein Heilmittel hergestellt aus Laudanum und dem Samen des Pilzes.Es muss in Blut kommen.Deswegen muss es gespritzt werden.[br][br]-Professor Walter.</Entry>

You spelt the first entry wrong.
(This post was last modified: 07-10-2011, 05:01 PM by AlexRobillard.)
07-10-2011, 05:00 PM
Find




Users browsing this thread: 1 Guest(s)