Author Topic: Funky Shirt Help  (Read 3991 times)

I have everything figured out now. Thanks for all the help!
« Last Edit: May 05, 2009, 05:13:48 PM by deriboy »

1. It looks like it, but I don't know. Try testing it instead of expecting us to.
2. Make it change more than just $pref::Player::AccentColor
3. In a folder with client.cs and a description.txt file.

I diddnt test it because I diddnt know how to package it.


I know that.

P.S. What do I need to change/add to add more body parts?
« Last Edit: May 03, 2009, 10:52:01 PM by deriboy »

Okay. So, first, search for the script for the full version, with all body parts. This will be called Funky Shirt but will be Rainbow Player in-game. Then, replace every Player with Avatar. So, instead of

$pref: : Player

it becomes

$pref: : Avatar

So this version works for just the shirt when I changed all the players to avatars. What do I need to do change THIS one to do more than just the body.
« Last Edit: May 04, 2009, 09:08:07 AM by deriboy »

Don't turn all avatar to players.

Don't turn all avatar to players.

I know. I turned all players to avatars.

You would need to add more lines for more bodyparts, I'll post all the bodyparts I know.
For example, the line that says torsocolor, copy it and replace torso color with a body part, copy that, new body part, and so on. Here are the body parts:
Headskin
Accent
LArm
RArm
LHook
RHook
RLeg
LLeg
Hip
Pants
SecondPack
Pack
RPeg
LPeg
SkirtTrimLeft
SkirtTrimRight
Hat (I think it is)

I know. I turned all players to avatars.
Gah you can't read.


You would need to add more lines for more bodyparts, I'll post all the bodyparts I know.
For example, the line that says torsocolor, copy it and replace torso color with a body part, copy that, new body part, and so on. Here are the body parts:

Like this?

Code: [Select]
if (!$FunkyBindings)
{
   $remapDivision[$remapCount] = "Funky Shirt";
   $remapName[$remapCount] = "Activate/Deacticate";
   $remapCmd[$remapCount] = "FunkyShirtToggle";
   $remapCount++;
   $FunkyBindings=true;
}

$FunkyShirtCount=0;
$FunkyShirtFlag=0;
$FunkyShirtTemp=$pref::Avatar::TorsoColor;
$FunkyShirtTemp=$pref::Avatar::HeadSkinColor;
function FunkyShirtToggle(%notdepressed)
{
    if (!%notdepressed) return;
    if($FunkyShirtFlag==0)
    {
        $FunkyShirtFlag=1;
        $FunkyShirtTemp=$pref::Avatar::TorsoColor;
        $FunkyShirtTemp=$pref::Avatar::HeadSkinColor;
        FunkyShirtLoop();
    } else
    if($FunkyShirtFlag==1)
    {
        $FunkyShirtFlag=0;
        cancel($FunkyShirt);
        $pref::Avatar::TorsoColor=$FunkyShirtTemp;
        $pref::Avatar::HeadSkinColor=$FunkyShirtTemp;
        Avatar_Done();
    }

EDIT: Tried it, causes option menu to close when you open it, and only the body changes color.
« Last Edit: May 04, 2009, 06:53:00 PM by deriboy »

I'm doing this by memory, but I think all the body parts that funkyshirt uses are.
Pack
Torso
Accent
Head
Rhand
Lhand
Rarm
Larm
Rleg
Lleg
Hip
And the last one is either Pack2 or Secondpack I can't remember. It's most likely Secondpack though.

And I think that's all of them, when I get on my computer I'll check.

stuff I missed hat :P
« Last Edit: May 05, 2009, 03:18:27 AM by gamefandan »

hey space, guess what, by changing the 2nd to last line of the funkey script available on rtb you can toatally avoid your anti funkey filter.

here is what i changed it to

Code: [Select]
        $RainbowPlayer=schedule(1010,0,RainbowPlayerLoop); excerpt from "Client_RainbowPlayer"

and there you go, it does not need to be 1010, only something higher than 1000, I find that 1010 is as low as you can go without occationally getting noobly dressed under lag.


to stop this workaround from working, all you would need to do would be to increase the last number in the following line

Code: [Select]
      if(($Sim::Time - %client.lastAvatarChangeTime) < 1) excerpt from "Script_NoFunkyShirt"

people cannot physically change their avatar quickly (at least 5 seconds) without a script, so increasing this to about 5 would not impact people without the script. however people with an unmodified script would still be blocked, and people like me would need to slow their change down so much that it would either look incredibly jerkey (changing the amount of color change per cycle) or one color cycle would take long enough that it would not appear that you use the funky shirt script at all.
« Last Edit: May 05, 2009, 01:14:14 AM by BobAndRob »