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
programmatic text
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#10
RE: programmatic text

(10-28-2014, 12:19 PM)Mudbill Wrote: ^ Yeah, I can see how it would work pretty well to do it that way, but he's talking about potentially thousands of entries. That would be a great chunk of the lang file and might even add some noticeable file size.

Nevertheless that does seem to be the only easy way around this. It's a shame you can't input scripted text as on-screen text. It seems only the AddDebugMessage does that :l

Edit: Oh, and MrBehemoth, how are you gonna display the scoreboard? How do lang entries come into play? Are you thinking of using SetMessage or something? Can't imagine that function to look that good considering it's 1 line, so I guess you're doing it some other way.

Another idea that might work is to use billboards for digits 0-9, then create them on the go as you need them. Might even be able to create a script that automatically creates the number you have out of these digits, by calculating the size of the variable and then creating an appropriate amount of billboard/entity digits next to each other.

For a scoreboard, I think a fance-looking entity would serve better than lang entries.

^^^What I did. Just use variables...


But yea... The .lang file isn't very convenient... I hope Unity will work better, whenever I get to utilize that program.



By the way, the way I showed numbers is by having an invisible lamp with a billboard tied to it. This way I can just turn it on and off with a nice fade-effect.

Trying is the first step to success.
(This post was last modified: 10-28-2014, 12:40 PM by FlawlessHappiness.)
10-28-2014, 12:27 PM
Find


Messages In This Thread
programmatic text - by MrBehemoth - 10-25-2014, 01:47 PM
RE: programmatic text - by Romulator - 10-25-2014, 03:35 PM
RE: programmatic text - by MrBehemoth - 10-26-2014, 10:56 PM
RE: programmatic text - by Daemian - 10-27-2014, 01:15 PM
RE: programmatic text - by MrBehemoth - 10-27-2014, 06:20 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 12:08 PM
RE: programmatic text - by MrBehemoth - 10-28-2014, 06:10 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 07:08 PM
RE: programmatic text - by Romulator - 10-27-2014, 09:24 AM
RE: programmatic text - by Ongka - 10-27-2014, 12:21 PM
RE: programmatic text - by Mudbill - 10-28-2014, 12:19 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 12:27 PM
RE: programmatic text - by Mudbill - 10-28-2014, 01:15 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 03:51 PM
RE: programmatic text - by Daemian - 11-01-2014, 04:04 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 04:23 PM
RE: programmatic text - by Mudbill - 11-01-2014, 04:38 PM
RE: programmatic text - by Daemian - 11-01-2014, 06:53 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 08:13 PM



Users browsing this thread: 1 Guest(s)