Frictional Games Forum (read-only)
Getting messages on the screen Need Help - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Getting messages on the screen Need Help (/thread-6592.html)



Getting messages on the screen Need Help - stonecutter - 02-14-2011

Hello everybody someone got an idea how to get messages in the left subcorner like the subtitels in the fullgame ?

Ist there a way that this will work , cause it looks a bit stupid if my charakter is speaking to himself in my custom story and the message are shown in the middle of the HUD ...


Thank you very much Tongue hope you understand my english Tongue


RE: Getting messages on the screen Need Help - Tanshaydar - 02-14-2011

If you are using SetMessage then it will be on the middle, try to use flashbacks or soundeffects.


RE: Getting messages on the screen Need Help - stonecutter - 02-14-2011

Yeah now i am using setmessage for a message that comes up if i enter a new chapter in my story ... like " chapter one - blablabla " ... that works quite good !
It looks like

AddEntityCollideCallback("Player" , "ChapterArea" , "CH1" , true , 1);

and then the

.... SetMessage("Messages", "CH1", 4.0f);


Is there a way to do it the same way in left down corner ?

@Tanshaydar

Thanks for the fast answer but can you or someone give some more infos about how to use flashbacks oder soundeffects ? Really dont know how to handle with flashbacks etc...

Thanks


RE: Getting messages on the screen Need Help - Tanshaydar - 02-15-2011

I think it is this way:
Code:
void  AddEffectVoice(    string& asVoiceFile, string& asEffectFile,
                                    string& asTextCat, string& asTextEntry, bool abUsePostion,
                                    string& asPosEnitity, float afMinDistance, float afMaxDistance);