Blockland Forums > General Discussion
The client event topic!
(1/8) > >>
morningstar:
Well, I have spent all of my life compiling a bit of info on client events (which are in all of my builds for Pete's sake!).  This is thread in which I share all (of my limited) info on this topic.

Colors: 
<color:AAAAAA> - Light Grey
<color:002354> - Dark Blue
<color:00FFFF> - Light Blue
<color:0000FF> - Standard Blue
<color:00C800> - Green
<color:FFFF00> - Yellow
<color:F9F9F9> - White

If you want to have a break an make your client (only in center print) be in two different lines, you type in <br> into your client event.

That's all I know.  If you know anything else, feel free to post your client eventing knowledge here.
Nexus:
RGB Code: ######
can be broken down to RR-GG-BB
each two characters is the intensity of that color
each set of two numbers, each number being 0-F (f is fifteen), has a combined value ranging from 0-255
the first value is multiplied by 16, and the second one is added to that

Example: 002354
   00 red - 23 green - 54 blue
   0(16) + 0 = 0 red
   2(16) + 3 = 35 green
   5(16) + 4 = 84 blue

The closer your numbers are to 0, the darker it gets.
000000 is pure black, FFFFFF is pure white, FF0000 is red, 550000 is a much darker red, FFFF00 is yellow, and so on.

Bitmapping: bitmaps can be called with the code <bitmap:location>
for default bitmaps, you do not need the location, just the name.
Example: <bitmap:water> makes a blue textured square.
if you have an addon that requires a bitmap, you can locate it with <bitmap:add-ons/addonName/folder/image.png>

also, there are backslash "\" commands that can save you a little bit of time. \c# canns up a color depending on what number # is
\n does the same as <br>
Dillpickle:

Kbye
phflack:

--- Quote from: Nexus on January 16, 2011, 10:53:25 PM ---Example: 002354
   00 red - 23 green - 54 blue
   0(16) + 0 = 0 red
   2(16) + 3 = 35 green
   5(16) + 4 = 84 blue

--- End quote ---
i thought they were multiplied together, because numeric is 0-255 i think, 162 - 1 (for 0)
Blaze0:
A VCE tip of mine. Useful for fortwars, or pissing others off.


OnActivate<Self<FireRelay
OnRelay<Self<FireRelay
OnRelay<Self<VCEIfValue <var:pl:firing> == 1
OnVariableTrue<Player<SpawnProjectile [Gravity Rocket] -----------I

Fire rockets by the hold of the mouse!
Navigation
Message Index
Next page

Go to full version