[Updated] Better Rainbow Mercenary Script

Discussion in 'Other' started by _Q3, Sep 1, 2015.

  1. _Q3

    _Q3 Noob

    <font style="font-family: Arial, Verdana;" face="Arial, Verdana">FASTER RAINBOW
    </font>EVEN FASTER RAINBOW<font style="font-size: 10pt; font-family: Arial, Verdana;" face="Arial, Verdana">I made a better merc script, it's more complicated, but looks way nicer and smoother.</font>To use it, put it in your autoexec.cfg, pressing p will start it. It won't stop unless you exit though.
    Feel free to ask questions.
    The script:// Q's color changing script v1<div>
    // changes red coloralias "+plusRed" "alias "r+" "addRed"; addRed"alias "addRed" "incrementvar tf2c_setmerccolor_r 0 255 1;wait 5; r+"alias "-plusRed" "alias "r+""<span class="Apple-tab-span" style="white-space:pre"> // stops adding</span>
    alias "+minusRed" "alias "r-" "subRed"; subRed"alias "subRed" "incrementvar tf2c_setmerccolor_r 0 255 -1;wait 5; r-"alias "-minusRed" "alias "r-""<span class="Apple-tab-span" style="white-space:pre"> // stops subtracting</span>
    alias red "+plusRed; wait 1260; -plusRed; +minusRed; wait 1260; -minusRed; red"
    // changes green coloralias "+plusGreen" "alias "g+" "addGreen"; addGreen"alias "addGreen" "incrementvar tf2c_setmerccolor_g 0 255 1;wait 6; g+"alias "-plusGreen" "alias "g+""
    alias "+minusGreen" "alias "g-" "subGreen"; subGreen"alias "subGreen" "incrementvar tf2c_setmerccolor_g 0 255 -1;wait 6; g-"alias "-minusGreen" "alias "g-""
    alias green "+plusGreen; wait 1512; -plusGreen; +minusGreen; wait 1512; -minusGreen; green"
    // changes blue coloralias "+plusBlue" "alias "b+" "addBlue"; addBlue"alias "addBlue" "incrementvar tf2c_setmerccolor_b 0 255 1;wait 7; b+"alias "-plusBlue" "alias "b+""
    alias "+minusBlue" "alias "b-" "subBlue"; subBlue"alias "subBlue" "incrementvar tf2c_setmerccolor_b 0 255 -1;wait 7; b-"alias "-minusBlue" "alias "b-""
    alias blue "+plusBlue; wait 1764; -plusBlue; +minusBlue; wait 1764; -minusBlue; blue"
    alias resetColor "tf2c_setmerccolor_r 3; tf2c_setmerccolor_g 3; tf2c_setmerccolor_b 3"bind p "resetColor; red; green; blue; unbind p" // unbind is optional, but recommended<font>// once started, it cannot be disabled, except by exiting</font></div>
  2. TheMailman

    TheMailman Noob

    Interesting; I think this may be a little more complicated than it needs to be, but nice work. Personally, I prefer the colors to change a little faster but after testing it it looks pretty nice.
  3. _Q3

    _Q3 Noob

    I made two faster ones. I edited the post so they should be at the top.
  4. Using the 'Even faster rainbow' I get console spammed.
    "reliable steam overflow"
  5. _Q3

    _Q3 Noob

    Hmm, I don't know. When I play with the even faster rainbow, I don't get any overflow errors. Perhaps the machine I have is faster?Did you copy it right?Also, check and see that you don't have any of these alias in you config.+plusRed<span class="Apple-tab-span" style="white-space: pre;"> +plusGreen +plusBlue</span>-plusRed<span class="Apple-tab-span" style="white-space:pre"> -plusGreen -plusBlue</span>+minusRed<span class="Apple-tab-span" style="white-space:pre"> +minusGreen +minusBlue</span>-minusRed<span class="Apple-tab-span" style="white-space:pre"> -minusGreen -minusBlue</span>addRed<span class="Apple-tab-span" style="white-space:pre"> addGreen addBlue</span>subRed<span class="Apple-tab-span" style="white-space:pre"> subGreen subBlue</span>red<span class="Apple-tab-span" style="font-size: 10pt; white-space: pre;"> green blue</span>r+<span class="Apple-tab-span" style="white-space:pre"> g+ b+</span>r-<span class="Apple-tab-span" style="white-space:pre"> g- b-</span>resetColorThese are all the alias the script needs. If you have alias with the same name outside the script that conflict with these, rename them.Also, do the slower scripts work, do they cause errors?
  6. onefourth

    onefourth Well-Known Member Staff Member TF2C Admin

    the developer team appreciates the stress testing of our colors, somehow we overlooked that
  7. Can you put up a Video ? because i copy and pasted in and named it autoexec.cfg but it won't work

Share This Page