Difference between revisions of "Talk:XyzzyText"
(New section: How to use other commands?) |
|||
Line 68: | Line 68: | ||
} | } | ||
} | } | ||
== How to use other commands? == | |||
1. How do I use the slaves? Just toss them in? | |||
2. How do I use the other commands? | |||
integer DISPLAY_STRING = 204000; | |||
integer DISPLAY_EXTENDED = 204001; | |||
integer REMAP_INDICES = 204002; | |||
integer RESET_INDICES = 204003; | |||
integer SET_FADE_OPTIONS = 204004; | |||
integer SET_FONT_TEXTURE = 204005; | |||
integer SET_LINE_COLOR = 204006; | |||
integer SET_COLOR = 204007; | |||
integer RESCAN_LINKSET = 204008; | |||
3. Can someone include this info on the main page? The page seems to be made for people who have had experience with XyText. | |||
Thanks! |
Revision as of 16:51, 23 September 2008
If you make contributions to this, please note that you should license them under the MIT license by putting a disclaimer at the top like Thraxis and I have done. Otherwise it is CC SA By and that's probably too restrictive for a tool that is intended to be this widely used.
Gigs Taggart 10:59, 29 August 2007 (PDT)
Tweak for Mono (1-30)
I have tested this script in Mono, and it silently failed in the function 'get_number_of_prims'. The while loop does not work in Mono. I have change it to a working version. Ruud Lathrop
Long page, poor intro, and um, it's slow
This page seems to be written for experts and it's not too helpful for newbies to the whole xytext concept.
I'm of the opinion that the following changes should occur:
- Split off the 5-character code to a subpage
- Split off the 10-character code to a subpage
- Rewrite this as a purely introductory page, with images documenting just what exactly is going on here for the "n00bs", and explain why it's being done.
- Have links to the subpages for the 5-char / 10-char code after the intro sections.
Scalar Tardis 00:08, 1 June 2008 (PDT)
Usage for more than two lines
The quick start explains that you can add more rows, but it doesn't tell you that you need to edit the usage code for each line. Here is the usage code I'm using for a 4 row with added comments... Released under MIT license
integer DISPLAY_STRING = 204000; integer DISPLAY_EXTENDED = 204001; integer REMAP_INDICES = 204002; integer RESET_INDICES = 204003; integer SET_FADE_OPTIONS = 204004; integer SET_FONT_TEXTURE = 204005; integer SET_LINE_COLOR = 204006; integer SET_COLOR = 204007; integer RESCAN_LINKSET = 204008; integer gToggle; default { state_entry() { llListen(0,"",NULL_KEY,""); } listen(integer channel,string name, key id, string message) { // If you add more than 4 rows, add additional else if statements and change the incremets accordingly. if (gToggle == 0) { ++gToggle; llMessageLinked(LINK_THIS,DISPLAY_STRING,name + ":"+ message,"0"); } else if (gToggle == 1) { ++gToggle; llMessageLinked(LINK_THIS,DISPLAY_STRING,name + ":"+ message,"1"); } else if (gToggle == 2) { ++gToggle; llMessageLinked(LINK_THIS,DISPLAY_STRING,name + ":"+ message,"2"); } else { gToggle=!gToggle; llMessageLinked(LINK_THIS,DISPLAY_STRING,name + ":"+ message,"3"); } } }
How to use other commands?
1. How do I use the slaves? Just toss them in?
2. How do I use the other commands?
integer DISPLAY_STRING = 204000; integer DISPLAY_EXTENDED = 204001; integer REMAP_INDICES = 204002; integer RESET_INDICES = 204003; integer SET_FADE_OPTIONS = 204004; integer SET_FONT_TEXTURE = 204005; integer SET_LINE_COLOR = 204006; integer SET_COLOR = 204007; integer RESCAN_LINKSET = 204008;
3. Can someone include this info on the main page? The page seems to be made for people who have had experience with XyText.
Thanks!