Frictional Games Forum (read-only)

Full Version: [SOLVED]Easy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
+Rep for one who solve..
How to make text comes up in down left corridor?
That's all Tongue
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.
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
PHP Code:
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 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.
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: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.
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 ?
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.
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
Pages: 1 2