Final MP testing

Arrange meetings with other people to play MP, announce your servers.
Boogieman14
Filter Inserter
Filter Inserter
Posts: 770
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

Re: Final MP testing

Post by Boogieman14 »

slpwnd wrote:
xnmo wrote:Thanks!

Is there a list of all the valid colours available? I can only figure out the primary colours and anything else turns him black.
It is floats. So for example {r=0.7, g=0.5, b=0.1, a=0.9}
What's the a for?
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.

n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: Final MP testing

Post by n9103 »

Alpha channel I imagine. aka Transparency of the color to the base texture.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

Boogieman14
Filter Inserter
Filter Inserter
Posts: 770
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

Re: Final MP testing

Post by Boogieman14 »

ah yes, thanks.
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.

User avatar
GewaltSam
Filter Inserter
Filter Inserter
Posts: 344
Joined: Thu May 08, 2014 5:42 pm
Contact:

Re: Final MP testing

Post by GewaltSam »

chainedlupine wrote:Thanks for the player color changing code!

I had the same reaction when my friend joined. "Awww, but I wanted to be blue..."

I use this: http://prideout.net/archive/colors.php

Just use the numbers between 0 and 1 on the right. The meaning of the three numbers is the different colors red, green, blue.

Examples for usage:

/c game.players[1].color = {r=1, g=1, b=1}

That's for a white player one.


/c game.players[3].color = {r=0.824, g=0.412, b=0.118}

That's chocolate colored player three :)

Boogieman14
Filter Inserter
Filter Inserter
Posts: 770
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

Re: Final MP testing

Post by Boogieman14 »

GewaltSam wrote:I use this: http://prideout.net/archive/colors.php
Nice one, added that to the wiki.
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.

Post Reply

Return to “Multiplayer”