Author Topic: The client event topic!  (Read 3587 times)

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.

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>
« Last Edit: January 16, 2011, 10:57:26 PM by Nexus »


Example: 002354
   00 red - 23 green - 54 blue
   0(16) + 0 = 0 red
   2(16) + 3 = 35 green
   5(16) + 4 = 84 blue
i thought they were multiplied together, because numeric is 0-255 i think, 162 - 1 (for 0)

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!

Thank you DillPickle.  That's gonna make it a lot easier.  lol

FFFFFFFF-White
Same as Fu Yu is winter in japanease (Pronounced Fu-you)

Code Cussing for the win.

Thank you DillPickle.  That's gonna make it a lot easier.  lol
group hug in the shower!
Or not...
Longest Yard Movie Lol

whenever i do random colour codes, i just put in six letter words. it's pretty fun to see what colour your name amounts to.


i don't see why people use charts when they could just remember it's RGB, 0-F

How do you put links in, and force sending a picture from your computer? I've never seen it done.

links
<a:linkherenohttp>messagestuff</a>
<a:www.blockland.us/smf>forums</a>
would be
forums

What do you mean client events?
No such thing.
I see a lot of ML CONTROL TAGS in this thread, though.

i thought they were multiplied together, because numeric is 0-255 i think, 162 - 1 (for 0)
no, that's dumb.  There would be doubles and no prime numbers. the way I showed you gets all numbers exactly once.