Straxedix
Senior Member
Posts: 426
Threads: 52
Joined: Mar 2014
Reputation:
5
|
[SOLVED]Easy
+Rep for one who solve..
How to make text comes up in down left corridor?
That's all
(This post was last modified: 10-31-2014, 08:44 PM by Straxedix.)
|
|
10-31-2014, 06:05 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
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 |
|
Straxedix
Senior Member
Posts: 426
Threads: 52
Joined: Mar 2014
Reputation:
5
|
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:]
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
(This post was last modified: 10-31-2014, 08:05 PM by Straxedix.)
|
|
10-31-2014, 07:19 PM |
|
DnALANGE
Banned
Posts: 1,549
Threads: 73
Joined: Jan 2012
|
RE: Easy
AddEffectVoice("Hereisthesoundfile.ogg", "", "Voice", "00_Gameissaved", false, "", 0, 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 |
|
Darkfire
Senior Member
Posts: 371
Threads: 22
Joined: May 2014
Reputation:
15
|
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 |
|
Straxedix
Senior Member
Posts: 426
Threads: 52
Joined: Mar 2014
Reputation:
5
|
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
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 |
|
DnALANGE
Banned
Posts: 1,549
Threads: 73
Joined: Jan 2012
|
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
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 name it should work.
(This post was last modified: 10-31-2014, 08:15 PM by DnALANGE.)
|
|
10-31-2014, 08:13 PM |
|
Straxedix
Senior Member
Posts: 426
Threads: 52
Joined: Mar 2014
Reputation:
5
|
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 |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
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.
|
|
10-31-2014, 08:21 PM |
|
DnALANGE
Banned
Posts: 1,549
Threads: 73
Joined: Jan 2012
|
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
(This post was last modified: 10-31-2014, 08:22 PM by DnALANGE.)
|
|
10-31-2014, 08:21 PM |
|
|