Screen Text Help plz! - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Screen Text Help plz! (/thread-15963.html) |
Screen Text Help plz! - CrazyKilla - 06-08-2012 Hi, im CrazyKilla Im working on a custom story, i want to make it that some text appears on the screen as soon as you start the level, i went to engine scripts page and found this: void SetMessage(string& asTextCategory, string& asTextEntry, float afTime); Displays a message on the screen. asTextCategory - the category in the .lang file asTextEntry - the entry in the .lang file afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length. i understand it, but what the hell do i do in extra_english.lang? can i make a seperate catagory and give it a name? how do i type it all out in the extra english, help please! EDIT: alright i fixed it, in the hps: void FirstMessage(string &in asTimer) { SetMessage("Messages", "The name that you put in extra english", "how long text is on screen"); } in extra_english: <Entry Name="name u used in hps">"Your Text"</Entry> RE: Screen Text Help plz! - Traggey - 06-08-2012 Moved to development support. |