Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generated text/info
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#1
Generated text/info

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?

The Interrogation
Chapter 1

My tutorials
09-27-2011, 10:09 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Generated text/info

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

09-27-2011, 11:00 PM
Website Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#3
RE: Generated text/info

This way I will show them one by one?

The Interrogation
Chapter 1

My tutorials
09-27-2011, 11:05 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Generated text/info

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

Tutorials: From Noob to Pro
09-27-2011, 11:16 PM
Website Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#5
RE: Generated text/info

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

The Interrogation
Chapter 1

My tutorials
09-27-2011, 11:23 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: Generated text/info

(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.

Tutorials: From Noob to Pro
09-27-2011, 11:33 PM
Website Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#7
RE: Generated text/info

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)

The Interrogation
Chapter 1

My tutorials
09-27-2011, 11:40 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: Generated text/info

(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.

Tutorials: From Noob to Pro
09-27-2011, 11:44 PM
Website Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#9
RE: Generated text/info

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

The Interrogation
Chapter 1

My tutorials
09-27-2011, 11:54 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#10
RE: Generated text/info

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...

(This post was last modified: 09-28-2011, 12:04 AM by DRedshot.)
09-28-2011, 12:03 AM
Find




Users browsing this thread: 1 Guest(s)