Prano Quan
Registered User
Join date: 15 Aug 2008
Posts: 29
|
09-08-2009 01:28
Hi all,
I need help with building a screen-like object which shows what user has input and show what the output is.. Ok, let me give a scenario:
>>>> User inputs the following in the chatbox: configuration mode x151 >>>> Screen Shows the following message:
You have entered: configuration mode x151 You are now in global configuration mode. Please proceed to next level.
-------------------------------------------------------------------------------------
I need help in the ways in doing this as I have no clue how to do it... I think a more clear way of saying it is, how do I create an object to behave like a computer screen (Because the idea is to show what the user has input, as well as show an output), much like the computer screen in front of you. Thank you in advance for your time and inputs.
Cheers
|
Lance Corrimal
I don't do stupid.
Join date: 9 Jun 2006
Posts: 877
|
09-08-2009 01:34
there are several ways to put text on prims. You'll find them in the lsl wiki in the library section.
drawback: the text on a prim takes quite some time to change... It'd be just too slow for a "computer screen".
|
EF Klaar
Registered User
Join date: 11 Jun 2007
Posts: 330
|
09-08-2009 01:55
Using floating text is about the only way of getting this functionality. On the other hand, if in your scenario there are a limited number of possible displays you could create an individual texture for each and switch between them. Even this, though, would be subject to the usual texture download delays. (Edit) Or, with a very limited number of possible displays, you could use a single texture divided into "frames", and animate that. Or several.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
09-08-2009 06:58
a variation of xytext might work, but you'd want to be very careful how you set it up, to reduce rez times (using a hidden face to display characters before they are showing elswhere.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Indeterminate Schism
Registered User
Join date: 24 May 2008
Posts: 236
|
09-09-2009 19:52
Set the parcel media to a web page on your own server/host. Issue an HTTP 'get' with the user's input each time they type something. Use PHP, for example, to update the displayed page as appropriate - displaying both the input and response.
|