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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help [SOLVED]Easy
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#1
[SOLVED]Easy

+Rep for one who solve..
How to make text comes up in down left corridor?
That's all Tongue

(This post was last modified: 10-31-2014, 08:44 PM by Straxedix.)
10-31-2014, 06:05 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Easy

You mean debug messages?

AddDebugMessage("Test", false);


You have to enable them by enabling ScriptDebug.
You can check out this guide.
https://wiki.frictionalgames.com/doku.ph...evenvguide

When you have enabled that, you can press F1 ingame and check "Show Debug Messages". Then the text will appear.

Trying is the first step to success.
10-31-2014, 06:17 PM
Find
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#3
RE: Easy

Say whattt ????
No i need just basic text like in original amnesia when it hits you white flashback then you walk slowly and text appears down in LEFT corridor with voices...

EDIT:Oh wait wait wait something like here:]

Spoiler below!




See that text on beginning ?

"Daniel! Turn around this instant. You are carrying the Shadow with you!"

User(s) browsing this thread: Darkfire, DnALANGE, Newsman Waterpaper, Straxedix, 1 Guest(s)

and still no answers...
So hard theory...like math Big Grin

(This post was last modified: 10-31-2014, 08:05 PM by Straxedix.)
10-31-2014, 07:19 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: Easy

PHP Code: (Select All)
AddEffectVoice("Hereisthesoundfile.ogg""""Voice""00_Gameissaved"false""0); 
---
Voice= The langfile name Catagory;
Example:
Quote:<CATEGORY Name="Voice">
<Entry Name="00_Gameissaved">"Game saved"</Entry>
</CATEGORY>
---
The 00_Gameissaved is the text what will show up in the left corner.
For this above shows : "Game saved" in the left corner.

Hope it helps you.
(This post was last modified: 10-31-2014, 08:12 PM by DnALANGE.)
10-31-2014, 08:06 PM
Find
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
#5
RE: Easy

This is a callback used for dialogues.
AddEffectVoice(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry,
bool abUsePosition, string& asPosEntity, float afMinDistance, float afMaxDistance);

Unless you use a voice file in there, the text isn't going to appear. You can always make a blank voice file, but I'd suggest using
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

It's much more handy, but it will display the message in the centre, as I recall.

10-31-2014, 08:12 PM
Find
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#6
RE: Easy

Okay or i am crazy or what ?
I asked like for a little text like...normal SetMessage
Just to be down not in middle screen wtf ? i don't need any voices it was example Tongue
See that video in spoiler and you see in video says:
"Daniel! Turn around this instant. You are carrying the Shadow with you!"
and it is not in middle screen text
That's what i need xD

10-31-2014, 08:13 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#7
RE: Easy

(10-31-2014, 08:12 PM)Darkfire Wrote: This is a callback used for dialogues.
AddEffectVoice(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry,
bool abUsePosition, string& asPosEntity, float afMinDistance, float afMaxDistance);

Unless you use a voice file in there, the text isn't going to appear. You can always make a blank voice file, but I'd suggest using
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

It's much more handy, but it will display the message in the centre, as I recall.

SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
IS WAY cheaper and looks unprofeccional for voiceacting!

(10-31-2014, 08:13 PM)Straxedix Wrote: Okay or i am crazy or what ?
I asked like for a little text like...normal SetMessage
Just to be down not in middle screen wtf ? i don't need any voices it was example Tongue
See that video in spoiler and you see in video says:
"Daniel! Turn around this instant. You are carrying the Shadow with you!"
and it is not in middle screen text
That's what i need xD

Calm down man!
AddEffectVoice("Hereisthesoundfile.ogg", "", "Voice", "00_Gameissaved", false, "", 0, 0 );
WHat i subscribed above should work!
Don't worry about the function nameTongue it should work.
(This post was last modified: 10-31-2014, 08:15 PM by DnALANGE.)
10-31-2014, 08:13 PM
Find
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#8
RE: Easy

Look i DON'T have sound file...i just need simple text to be down... and nothing else.
SO if i wanna that i MUST have sound file ?

10-31-2014, 08:17 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#9
RE: Easy

The text in the corner is supposed to be subtitles for the voice acting.
That's why we're talking about voices.

I think you need a voice file, but you can just make a silent one if you don't want a voice.


Sorry I misunderstood you in the beginning. There are more than 1 type of text in the left corner.

Trying is the first step to success.
(This post was last modified: 10-31-2014, 08:21 PM by FlawlessHappiness.)
10-31-2014, 08:21 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#10
RE: Easy

Yep, you NEED a soundfile.
Just make an empty one.
For example if you read this tekst here:
Hello Daniel, i am not sure how i have to make a tekst appear below the screen.
If you read this is should take me : 5 seconds.
Make an empty sound file for 5 seconds that''s it Tongue
(This post was last modified: 10-31-2014, 08:22 PM by DnALANGE.)
10-31-2014, 08:21 PM
Find




Users browsing this thread: 1 Guest(s)