Author Topic: Transperant feather thing  (Read 544 times)

I am making rainbow player and i am wanting my feather to be transperant but how would i make it like that?
What would be the script?

Code: [Select]
$R SPC $G SPC $B SPC $R
This will make whatever you set it to run through the standard colors plus it will go from solid fading into transparent.
« Last Edit: July 29, 2009, 09:21:48 PM by gamefandan »


Oh the SPC means not cleared?

SPC tells the game that there is a space, when replacing a number in a sequence of numbers in the script like "1" with a global ($) or local (%) variable you must put SPC between the variables so the game will know the variables are by themselves.



Inb4SpaceGuyCorrectsMeForSome thing :(

SPC tells the game that there is a space, when replacing a number in a sequence of numbers in the script like "1" with a global ($) or local (%) variable you must put SPC between the variables so the game will know the variables are by themselves.



Inb4SpaceGuyCorrectsMeForSome thing :(
Didnt work
Quote from console
Quote
Client checking Add-On: Client_Trans
Loading Add-On: Client_Trans (CRC:-1967206069)
Add-Ons/Client_Trans/Client_Trans/Client.cs Line: 105 - Syntax error.
>>> Some error context, with ## on sides of error halt:
    if($RainbowPlayerCount > 63)
^$RainbowPlayerCount = 0;

    $R=0.5+0.5*mSin($RainbowPlayerCount*3.14/16.0);
    $G=0.5+0.5*mSin($RainbowPlayerCount*3.14/16.0+21.0);
    $B=0.5+0.5*mSin($RainbowPlayerCount*3.14/16.0+42.0);
    $pref::Avatar::PackColor=$R SPC $G SPC $B SPC $R "1"##;##
^$pref::Avatar::HeadskinColor=$R SPC $G SPC $B SPC $R "1";
    $pref::Avatar::HatColor=$R SPC $G SPC $B SPC $R "1";
    $pref::Avatar::LLegColor=$R SPC $G SPC $B SPC $R "1";
    $pref::Avatar::RLegColor=$R SPC $G SPC $B SPC $R "1";
    $pref::Avatar::AccentColor=$R SPC $G SPC $B SPC $R "1";
>>> Error report complete.

ADD-ON "Client_Trans" CONTAINS SYNTAX ERRORS



Quote
Code: [Select]
$pref::Avatar::PackColor=$R SPC $G SPC $B SPC $R [s]"1"[/s];

Just do

Code: [Select]
$pref::Avatar::PackColor=$R SPC $G SPC $B SPC $R;

whats "1" for though?

whats "1" for though?

The color code works like this:



R (Red) G (Green) B (Blue) T (Transparency)



So when you put that extra "1" at the end nothing would happen and it just breaks the code.

The color code you were using was:



R (Red) G (Green) B (Blue) T (Transparency) BS (Bullstuff)



I hope that helps.

Lol so if i put $BS it would look like that?
Anyway thanks it works now