PDA

View Full Version : Colours INGAME 317



TehCow
June 21st, 2010, 19:48
DO THIS FIRST (BY COMOED)
Only the registered members can see the link.



How to make ingame colours? I think quite a few people dont know how. Or they know how and do no know how to end it after one word for example.

What we gonna make:
Join DowngradeX super RSPS!
But then ingame.

Explained:
sM - sendMessage.
Colours in your server message or interfaces with help.

SendMessage.
As I started RSPS I thought it was ServerMessage ;), I was kinda stupid.
So yeah, it's sendMessage shortened to sM.

How does it work?

sM(">YourTextHereBetweenTheTwo");
This will effect as:
YourTextBetweenTheTwo ingame.
Now we wanna add colours on it.
Watch closely;

sM("@Red@Teh Mighty@bla@@yel@ Cow@bla@");
What does this do?
U will receive a login message or where-ever you place it as:
Teh Mighty Cow

Explanation:
@bla@ Closes a colour.
@red@ Make the colour red.
@blu@ Makes the colour blue.
@yel@ Makes the colour yellow.
@gre@ Makes the colour green.

There might be more that I forget, or I just don't know. Im talking about colours, NOT @DRE@!

Appliance:
In textHandler.java you can use colours for your bank, like:
The bank of DowngradeX



Thanks,
TehCow.

h1 sk1ller
June 22nd, 2010, 04:39
Nice One =P Lol

TehCow
June 22nd, 2010, 06:15
Thanks :D

Rog3r
June 22nd, 2010, 16:59
Moved to the copy and paste section. Teaching tutorials have to be longer in length and include all parts that is needed. You just assume that we all have those methods in our clients that enables us to color the messages, however most of us don't. Perhaps lengthen this up a bit more?

XxBryantD
June 22nd, 2010, 17:18
thanks:p

TehCow
June 22nd, 2010, 17:22
Moved to the copy and paste section. Teaching tutorials have to be longer in length and include all parts that is needed. You just assume that we all have those methods in our clients that enables us to color the messages, however most of us don't. Perhaps lengthen this up a bit more?

Ok sorry Rog3r.


thanks:p

No problem;)

Xdragon
June 23rd, 2010, 16:44
Btw If a game dont got Colors in the chatbox thing for sM ? [Like me] Than u dont see colors and u forgot : @gr1@ @ora@ @gr2@ @mag@

TehCow
June 23rd, 2010, 18:04
Btw If a game dont got Colors in the chatbox thing for sM ? [Like me] Than u dont see colors and u forgot : @gr1@ @ora@ @gr2@ @mag@

Its based on delta.

Mohammad
June 26th, 2010, 04:54
haha,nice tutorial what made me laugh was you just advertised ;).

gilles
June 26th, 2010, 04:58
If I just type:

sM("@or1@T@gre@e@red@x@blu@t");

It works too :P

TehCow
June 26th, 2010, 12:21
haha,nice tutorial what made me laugh was you just advertised ;).

Tbh, no I didn't.
It's a old server, or unfinished. I'm not gonna start on it.