Stu?

User avatar
{SW}SkyWalker
Posts: 664
Joined: Wed Feb 05, 2014 2:46 pm

Re: Stu?

Post by {SW}SkyWalker »

Pick one for me and I said the numberpad 1 2 3 4 5 6 7
No matter how long I stay away from this game I will never forget the stuff this game and community forged onto my heart!
User avatar
S']['U
Posts: 1071
Joined: Fri Dec 09, 2011 8:03 am

Re: Stu?

Post by S']['U »

{SW}SkyWalker wrote:Pick one for me and I said the numberpad 1 2 3 4 5 6 7
:hbeat: :hbeat: :hbeat: :hbeat: :hbeat: :hbeat: :hbeat: :hbeat: :hbeat:
Obviously the only way you're going to understand is to actually see how it works.

Paste this code into your autoexec.cs file:

Code: Select all

EditActionMap("playMap.sae");

$Taunt[0] = "You Just Got Sky'd~wcheer1";
$Taunt[1] = "I left you a SURPRISE... What's that? ... BOOM!~wtaunt10";
$Taunt[2] = "Hide your kids, hide your wives {SW}SkyWalker is here!~wtakcovr";
$Taunt[3] = "Did you just see that? I just... I'm so shocked... I can't even tell you how happy I am!~wtaunt1";
$Taunt[4] = "Great Game!~wcheer2";
$Taunt[5] = "Troll King of 2014 Is here!~wtaunt4";
$Taunt[6] = "hmmm~wcolor3";

function RandomTaunt()
{
	%rnd = floor(getRandom() * 1000);

	if(%rnd < 100)
	{
		if($LastTaunt == 0)
		{
			%taunt = $Taunt[1];
			$LastTaunt = 1;
		}
		else
		{
			$LastTaunt = 0;
			%taunt = $Taunt[0];
		}
	}
	else if(%rnd > 200 && %rnd < 350)
	{
		if($LastTaunt == 1)
		{
			%taunt = $Taunt[2];
			$LastTaunt = 2;
		}
		else
		{
			$LastTaunt = 1;
			%taunt = $Taunt[1];
		}
	}
	else if(%rnd > 350 && %rnd < 500)
	{
		if($LastTaunt == 2)
		{
			%taunt = $Taunt[3];
			$LastTaunt = 3;
		}
		else
		{
			$LastTaunt = 2;
			%taunt = $Taunt[2];
		}
	}
	else if(%rnd > 500 && %rnd < 650)
	{
		if($LastTaunt == 3)
		{
			%taunt = $Taunt[4];
			$LastTaunt = 4;
		}
		else
		{
			$LastTaunt = 3;
			%taunt = $Taunt[3];
		}
	}
	else if(%rnd > 650 && %rnd < 800)
	{
		if($LastTaunt == 4)
		{
			%taunt = $Taunt[5];
			$LastTaunt = 5;
		}
		else
		{
			$LastTaunt = 4;
			%taunt = $Taunt[4];
		}
	}
	else if(%rnd > 800 && %rnd < 950)
	{
		if($LastTaunt == 5)
		{
			%taunt = $Taunt[6];
			$LastTaunt = 6;
		}
		else
		{
			$LastTaunt = 5;
			%taunt = $Taunt[5];
		}
	}
	else
	{
		if($LastTaunt == 6)
		{
			%taunt = $Taunt[0];
			$LastTaunt = 0;
		}
		else
		{
			$LastTaunt = 6;
			%taunt = $Taunt[6];
		}
	}

	say(0, %taunt);
}

bindCommand(keyboard0, make, "Numpad1", TO, "RandomTaunt();");
I have set the taunts to trigger with Numberpad 1

YOU ONLY GET ONE KEY TO TRIGGER THEM ALL RANDOMLY.


(I think everyone is going to regret this. :uup: )
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: Stu?

Post by perrinoia »

{SW}SkyWalker wrote:6.Troll King of 2014 Is here!
Image
Image
User avatar
SGT ROCK
Posts: 621
Joined: Mon Feb 20, 2012 11:26 am
Location: Northern U.S.

Re: Stu?

Post by SGT ROCK »

Really??? I'm sure everyone will be delighted and think of you guys who helped SkyWalker make a wise crack after riding his rocket. I know I will.... :clap:

Image

:lolz:
User avatar
SGT ROCK
Posts: 621
Joined: Mon Feb 20, 2012 11:26 am
Location: Northern U.S.

Re: Stu?

Post by SGT ROCK »

perrinoia wrote:
{SW}SkyWalker wrote:6.Troll King of 2014 Is here!
Image
:ttup:
User avatar
{SW}SkyWalker
Posts: 664
Joined: Wed Feb 05, 2014 2:46 pm

Re: Stu?

Post by {SW}SkyWalker »

Okay That makes sence STU
No matter how long I stay away from this game I will never forget the stuff this game and community forged onto my heart!
User avatar
{SW}SkyWalker
Posts: 664
Joined: Wed Feb 05, 2014 2:46 pm

Re: Stu?

Post by {SW}SkyWalker »

//Check Tribes\config\core\sp1.cs for some custom prefs -DaJ4ck3L
Autoload(EditActionMap("playMap.sae");

$Taunt[0] = "You Just Got Sky'd~wcheer1";
$Taunt[1] = "I left you a SURPRISE... What's that? ... BOOM!~wtaunt10";
$Taunt[2] = "Hide your kids, hide your wives {SW}SkyWalker is here!~wtakcovr";
$Taunt[3] = "Did you just see that? I just... I'm so shocked... I can't even tell you how happy I am!~wtaunt1";
$Taunt[4] = "Great Game!~wcheer2";
$Taunt[5] = "Troll King of 2014 Is here!~wtaunt4";
$Taunt[6] = "hmmm~wcolor3";

function RandomTaunt()
{
%rnd = floor(getRandom() * 1000);

if(%rnd < 100)
{
if($LastTaunt == 0)
{
%taunt = $Taunt[1];
$LastTaunt = 1;
}
else
{
$LastTaunt = 0;
%taunt = $Taunt[0];
}
}
else if(%rnd > 200 && %rnd < 350)
{
if($LastTaunt == 1)
{
%taunt = $Taunt[2];
$LastTaunt = 2;
}
else
{
$LastTaunt = 1;
%taunt = $Taunt[1];
}
}
else if(%rnd > 350 && %rnd < 500)
{
if($LastTaunt == 2)
{
%taunt = $Taunt[3];
$LastTaunt = 3;
}
else
{
$LastTaunt = 2;
%taunt = $Taunt[2];
}
}
else if(%rnd > 500 && %rnd < 650)
{
if($LastTaunt == 3)
{
%taunt = $Taunt[4];
$LastTaunt = 4;
}
else
{
$LastTaunt = 3;
%taunt = $Taunt[3];
}
}
else if(%rnd > 650 && %rnd < 800)
{
if($LastTaunt == 4)
{
%taunt = $Taunt[5];
$LastTaunt = 5;
}
else
{
$LastTaunt = 4;
%taunt = $Taunt[4];
}
}
else if(%rnd > 800 && %rnd < 950)
{
if($LastTaunt == 5)
{
%taunt = $Taunt[6];
$LastTaunt = 6;
}
else
{
$LastTaunt = 5;
%taunt = $Taunt[5];
}
}
else
{
if($LastTaunt == 6)
{
%taunt = $Taunt[0];
$LastTaunt = 0;
}
else
{
$LastTaunt = 6;
%taunt = $Taunt[6];
}
}

say(0, %taunt);
}

bindCommand(keyboard0, make, "Numpad1", TO, "RandomTaunt();");
);
Autoload( "Modules/*.acs.cs" );
exec("5150"); //Custom chat packEditActionMap("playMap.sae");


Here you go
No matter how long I stay away from this game I will never forget the stuff this game and community forged onto my heart!
User avatar
S']['U
Posts: 1071
Joined: Fri Dec 09, 2011 8:03 am

Re: Stu?

Post by S']['U »

Your corrected autoexec:

Code: Select all

EditActionMap("playMap.sae");

$Taunt[0] = "You Just Got Sky'd~wcheer1";
$Taunt[1] = "I left you a SURPRISE... What's that? ... BOOM!~wtaunt10";
$Taunt[2] = "Hide your kids, hide your wives {SW}SkyWalker is here!~wtakcovr";
$Taunt[3] = "Did you just see that? I just... I'm so shocked... I can't even tell you how happy I am!~wtaunt1";
$Taunt[4] = "Great Game!~wcheer2";
$Taunt[5] = "Troll King of 2014 Is here!~wtaunt4";
$Taunt[6] = "hmmm~wcolor3";

function RandomTaunt()
{
%rnd = floor(getRandom() * 1000);

if(%rnd < 100)
{
if($LastTaunt == 0)
{
%taunt = $Taunt[1];
$LastTaunt = 1;
}
else
{
$LastTaunt = 0;
%taunt = $Taunt[0];
}
}
else if(%rnd > 200 && %rnd < 350)
{
if($LastTaunt == 1)
{
%taunt = $Taunt[2];
$LastTaunt = 2;
}
else
{
$LastTaunt = 1;
%taunt = $Taunt[1];
}
}
else if(%rnd > 350 && %rnd < 500)
{
if($LastTaunt == 2)
{
%taunt = $Taunt[3];
$LastTaunt = 3;
}
else
{
$LastTaunt = 2;
%taunt = $Taunt[2];
}
}
else if(%rnd > 500 && %rnd < 650)
{
if($LastTaunt == 3)
{
%taunt = $Taunt[4];
$LastTaunt = 4;
}
else
{
$LastTaunt = 3;
%taunt = $Taunt[3];
}
}
else if(%rnd > 650 && %rnd < 800)
{
if($LastTaunt == 4)
{
%taunt = $Taunt[5];
$LastTaunt = 5;
}
else
{
$LastTaunt = 4;
%taunt = $Taunt[4];
}
}
else if(%rnd > 800 && %rnd < 950)
{
if($LastTaunt == 5)
{
%taunt = $Taunt[6];
$LastTaunt = 6;
}
else
{
$LastTaunt = 5;
%taunt = $Taunt[5];
}
}
else
{
if($LastTaunt == 6)
{
%taunt = $Taunt[0];
$LastTaunt = 0;
}
else
{
$LastTaunt = 6;
%taunt = $Taunt[6];
}
}

say(0, %taunt);
}

bindCommand(keyboard0, make, "Numpad1", TO, "RandomTaunt();");
//Check Tribes\config\core\sp1.cs for some custom prefs -DaJ4ck3L
Autoload( "Core/*.cs" ); 
Autoload( "Modules/*.acs.cs" );
exec("5150"); //Custom chat packEditActionMap("playMap.sae");
Last edited by S']['U on Fri Apr 18, 2014 7:45 am, edited 2 times in total.
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: Stu?

Post by DaJ4ck3L »

He over wrote some of this.

Code: Select all

//Check Tribes\config\core\sp1.cs for some custom prefs -DaJ4ck3L
Autoload( "Core/*.cs" ); 
Autoload( "Modules/*.acs.cs" );
exec("5150"); //Custom chat pack
STU is right in his edit, but make sure to add the autoload for core too.
Image
User avatar
S']['U
Posts: 1071
Joined: Fri Dec 09, 2011 8:03 am

Re: Stu?

Post by S']['U »

Skywalker:
I've re-edited the autoexec I posted above to include Crow's correction.
If you replace your existing aotoexec with that, everything should work fine.
Last edited by S']['U on Fri Apr 18, 2014 7:46 am, edited 1 time in total.
Post Reply