Frictional Games Forum (read-only)
Generated text/info - 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: Generated text/info (/thread-10499.html)

Pages: 1 2


Generated text/info - Elven - 09-27-2011

Is it possible to post ingame generated information? For example I want to show player what is stored local int called "lolz"?

Or is it possible to combine texts what shows in game?

For example I add from category "lolz" and I want it to be like entities 1 + 2.

So it starts as entity 1 and finishes with entity 2 Smile?



RE: Generated text/info - Tanshaydar - 09-27-2011

You can't, but you can create different entries and show needed one with a switch statement.


RE: Generated text/info - Elven - 09-27-2011

This way I will show them one by one?



RE: Generated text/info - Your Computer - 09-27-2011

If you want the user to see multiple information without bombarding the player with text, you'll need timers.


RE: Generated text/info - Elven - 09-27-2011

Can you explain by the "multiple information"? You mean showing many texts at the same time? Or one after another?



RE: Generated text/info - Your Computer - 09-27-2011

(09-27-2011, 11:23 PM)Elven Wrote: Can you explain by the "multiple information"? You mean showing many texts at the same time? Or one after another?

Much text; one after another would be after the timers are set.


RE: Generated text/info - Elven - 09-27-2011

So you are saying, it is possible to show multiple texts at the same time as well :/? I need to test this Smile. Any ideas how then? (Gonna test tomorrow or so)



RE: Generated text/info - Your Computer - 09-27-2011

(09-27-2011, 11:40 PM)Elven Wrote: So you are saying, it is possible to show multiple texts at the same time as well :/? I need to test this Smile. Any ideas how then? (Gonna test tomorrow or so)

I'll rephrase "much text": One entry in the .lang file with a lot of text.

Showing multiple entries without a timer will cause the entry after the current one to cancel the current entry.


RE: Generated text/info - Elven - 09-27-2011

Oh I see. Then it sux Sad... I need to think another way then ;P. TY for your answers Smile!



RE: Generated text/info - DRedshot - 09-28-2011

I don't fully understand your post Tongue

Are you asking if:
entry 1 says "Hello"
entry 2 says "There"

Are you asking if entry 1+entry 2 == "Hello There"?

If you are, then no, unfortunately...

The only alternative is to create a combination of entries like so:

entry 1 == "Hello"
entry 2 == "There"
entry 3 == "Hello There"
entry 4 == "There Hello"

This method is ok for most situations, but if you want to make something like a clock, you could end up with between 1440 - 86400 lines of code, depending on if you include a second hand or not...