The Exiled
http://theexiled.pwnageservers.com/forum/

original chat.cs needed!!!
http://theexiled.pwnageservers.com/forum/viewtopic.php?f=4&t=782
Page 1 of 2

Author:  ||Thunder|| [ Sat Nov 26, 2005 9:19 pm ]
Post subject:  original chat.cs needed!!!

hey, guess what, i need another original file!! i need someone to send me the original chat.cs, the one that doesnt need presto, i dont care if its edited, i can edit that, just one that doesnt need presto or any other stuff...send it to me or port a link plz and thx !

( [email protected])

Author:  TE-Noxwizard [ Sun Nov 27, 2005 9:11 am ]
Post subject: 

You mean chatmenu.cs? Chat.cs isn't a default Tribes file.

Chatmenu.cs:
Code:
newObject(PlayChatMenu, ChatMenu, "Root Menu:");
newObject(CommandChatMenu, ChatMenu, "Command Menu");

function setPlayChatMenu(%heading)
{
   $curPlayChatMenu = %heading;
}

function setCommanderChatMenu(%heading)
{
   $curCommanderChatMenu = %heading;
}

function addPlayTeamChat(%text, %msg, %sound)
{
   if(%sound != "")
   {
      %msg = %msg @ "~w" @ %sound;
   }
   if($curPlayChatMenu != "")
   {
      %text = $curPlayChatMenu @ "\\" @ %text;
   }
   addCMCommand(PlayChatMenu, %text, say, 1, %msg);
}

function addPlayChat(%text, %msg, %sound)
{
   if(%sound != "")
   {
      %msg = %msg @ "~w" @ %sound;
   }
   if($curPlayChatMenu != "")
   {
      %text = $curPlayChatMenu @ "\\" @ %text;
   }
   addCMCommand(PlayChatMenu, %text, say, 0, %msg);
}

function addPlayAnim(%text, %anim, %sound)
{
   if($curPlayChatMenu != "")
   {
      %text = $curPlayChatMenu @ "\\" @ %text;
   }
   addCMCommand(PlayChatMenu, %text, messageAndAnimate, %anim, %sound);
}

function addLocal(%text, %sound)
{
   if($curPlayChatMenu != "")
   {
      %text = $curPlayChatMenu @ "\\" @ %text;
   }
   addCMCommand(PlayChatMenu, %text, localMessage, %sound);
}

function addPlayCMDResponse(%text, %action, %msg, %sound)
{
   if(%sound != "")
      %msg = %msg @ "~w" @ %sound;
   if($curPlayChatMenu != "")
      %text = $curPlayChatMenu @ "\\" @ %text;
   addCMCommand(PlayChatMenu, %text, remoteEval, 2048, "CStatus", %action, %msg);
}

function addCommandResponse(%text, %action, %msg, %sound)
{
   if(%sound != "")
      %msg = %msg @ "~w" @ %sound;
   if($curCommanderChatMenu != "")
      %text = $curCommanderChatMenu @ "\\" @ %text;
   addCMCommand(CommandChatMenu, %text, remoteEval, 2048, "CStatus", %action, %msg);
}


function addContextCommand(%text, %type)
{
   if($curCommanderChatMenu != "")
      %text = $curCommanderChatMenu @ "\\" @ %text;
   addCMCommand(CommandChatMenu, %text, contextCommand, %type);
}

function addCommand(%text, %action, %msg, %sound)
{
   if(%sound != "")
      %msg = %msg @ "~w" @ %sound;
   if($curCommanderChatMenu != "")
      %text = $curCommanderChatMenu @ "\\" @ %text;
   addCMCommand(CommandChatMenu, %text, setIssueCommand, %action, %msg);
}

// Player Chat menu

setPlayChatMenu("vOffense");
      addPlayTeamChat("aAttack!","Attack!", attack);
      addPlayTeamChat("wWait for signal", "Wait for my signal to attack.", waitsig);
      addPlayTeamChat("cCease fire", "Cease fire!", cease);
      addPlayTeamChat("mMove out", "Move out.", moveout);
      addPlayTeamChat("rRetreat", "Retreat!", retreat);
      addPlayTeamChat("hHit deck", "Hit the deck!", hitdeck);
      addPlayTeamChat("eRegroup", "Regroup.", regroup);
      addPlayTeamChat("vCover me", "Cover me!", coverme);
      addPlayTeamChat("gGoing offense", "Going offense.", ono);
      addPlayTeamChat("zAPC ready", "APC ready to go... waiting for passengers.", waitpas);

setPlayChatMenu("tTarget");
      addPlayTeamChat("aTarget acquired", "Target Acquired", tgtacq);
      addPlayTeamChat("fFire on my target", "Fire on my target", firetgt);
      addPlayTeamChat("nTarget needed", "I need a target.", needtgt);
      addPlayTeamChat("oTarget out of range", "Target out of range.", tgtout);
      addPlayTeamChat("dDestroy Enemy Generator", "Destroy the enemy genarator.", desgen);
      addPlayTeamChat("eEnemy Generator Destroyed", "Enemy generator destroyed.", gendes);
      addPlayTeamChat("tDestroy Enemy Turret", "Destroy enemy turret.", destur);
      addPlayTeamChat("sEnemy Turret Destroyed", "Enemy turret destroyed.", turdes);

setPlayChatMenu("dDefense");
      addPlayTeamChat("iIncoming Enemies", "Incoming enemies!", incom2);
      addPlayTeamChat("aAttacked", "We are being attacked.", basatt);
      addPlayTeamChat("eEnemy is attacking base", "The enemy is attacking our base.", basundr);
      addPlayTeamChat("nNeed more defense", "We need more defense.", needdef);
      addPlayTeamChat("bDefend our base", "Defend our base.", defbase);
      addPlayTeamChat("dDefending base", "Defending our base.", defend);
      addPlayTeamChat("tBase Taken", "Base is taken.", basetkn);
      addPlayTeamChat("cBase Clear", "Base is secured.", bsclr2);
      addPlayTeamChat("qIs Base Clear?", "Is our base clear?", isbsclr);

setPlayChatMenu("fFlag");
      addPlayTeamChat("gFlag gone", "Our flag is not in the base!", flgtkn1);
      addPlayTeamChat("eEnemy has flag", "The enemy has our flag!", flgtkm2);
      addPlayTeamChat("hHave enemy flag", "I have the enemy flag.", haveflg);
      addPlayTeamChat("sFlag secure", "Our flag is secure.", flaghm);
      addPlayTeamChat("rReturn our flag", "Return our flag to base.", retflag);
      addPlayTeamChat("fGet enemy flag", "Get the enemy flag.", geteflg);
      addPlayTeamChat("mFlag mined", "Our flag is mined.", flgmine);
      addPlayTeamChat("cClear mines", "Clear the mines from our flag.", clrflg);
      addPlayTeamChat("dMines cleared", "Mines have been cleared.", mineclr);

setPlayChatMenu("rNeed");
      addPlayTeamChat("rNeed Repairs", "Need repairs.", needrep);
      addPlayTeamChat("aNeed APC Pickup", "I need an APC pickup.", needpku);
      addPlayTeamChat("eNeed Escort", "I need an escort back to base.", needesc);
      addPlayTeamChat("tNeed Ammo", "Can anyone bring me some ammo?", needamo);

setPlayChatMenu("eTeam");
      addPlayTeamChat("wWatch Shooting", "Watch where your shooting!", wshoot3);
      addPlayTeamChat("dDont know", "I don't know.", dontkno);
      addPlayTeamChat("nNo", "No.", no);
      addPlayTeamChat("yYes", "Yes.", yes);
      addPlayTeamChat("tThanks", "Thanks.", thanks);
      addPlayTeamChat("aNo Problem", "No Problem.", noprob);
      addPlayTeamChat("sSorry", "Sorry.", sorry);
      addLocal("hHurry station", hurystn);

setPlayChatMenu("gGlobal");
      addPlayChat("zDoh", "Doh!", oops1);
      addPlayChat("oOops", "Oops!", oops2);
      addPlayChat("sShazbot", "Shazbot!", color2);
      addPlayChat("qDamnit", "Damnit!", color6);
      addPlayChat("cCrap", "Ah Crap!", color7);
      addPlayChat("eDuh", "Duh.", dsgst1);
      addPlayChat("xYou Idiot", "You Idiot!", dsgst2);

setPlayChatMenu("aAnimations");
      addPlayAnim("oOver here", 0, ovrhere);
      addPlayAnim("dMove out of way", 1, outway);
      addPlayAnim("rRetreat", 2, retreat);
      addPlayAnim("sStop", 3, dsgst4);
      addPlayAnim("fSalute", 4, yes);
      addPlayAnim("zKneel Pose", 10);
      addPlayAnim("xStand Pose", 11);
      addPlayAnim("qCelebrate 1", 5, cheer1);
      addPlayAnim("eCelebrate 2", 6, cheer2);
      addPlayAnim("wCelebrate 3", 7, cheer3);
      addPlayAnim("vTaunt 1 - how'd that feel?", 8, taunt10);
      addPlayAnim("gTaunt 2 - Come get some", 9, taunt4);
      addPlayAnim("hWave - Hi", 12, hello);
      addPlayAnim("bWave - Bye", 12, bye);


setPlayChatMenu("zCommand Response");
   addPlayCMDResponse("aAcknowledged", 1, "Command acknowledged", "acknow");
   addPlayCMDResponse("zCompleted", 0, "Objective complete", "objcomp");
   addPlayCMDResponse("uUnable to complete", 0, "Unable to complete objective", "objxcmp");


// Commander Menu

function contextIssueCommand(%action, %msg, %sound)
{
   if(%sound != "")
      %msg = %msg @ "~w" @ %sound;
   setIssueCommand(%action, %msg);
}

// $CommandTarget can be one of:

// waypoint
// enemy vehicle
// enemy player
// enemy static
// enemy turret
// enemy sensor
// friendly vehicle
// friendly player
// friendly static
// friendly turret
// friendly sensor


function Commander::StarCommand(%type)
{
   if(%type == "*Attack")
   {
      if($CommandTarget == "enemy static")
         contextIssueCommand(1, "Destroy enemy equipment at waypoint", "attobj");
      else if($CommandTarget == "enemy turret")
         contextIssueCommand(1, "Destroy enemy turret at waypoint", "attobj");
      else if($CommandTarget == "enemy sensor")
         contextIssueCommand(1, "Destroy enemy sensor at waypoint", "attobj");
      else if($CommandTarget == "enemy player" || $CommandTarget == "enemy vehicle")
         contextIssueCommand(1, "Attack enemy " @ $CommandTargetName, "attway");
      else if($CommandTarget == "friendly player")
         contextIssueCommand(1, "Cover " @ $CommandTargetName, "escfr");
      else if($CommandTarget == "friendly vehicle")
         contextIssueCommand(1, "Board APC ", "boarda");
      else
         contextIssueCommand(1, "Attack enemy forces", "attway");
   }
   else if(%type == "*Defend")
   {
      if($CommandTarget == "friendly player")
         contextIssueCommand(2, "Defend " @ $CommandTargetName, "escfr");
      else
         contextIssueCommand(2, "Defend waypoint", "defway");
   }
   else if(%type == "*Repair")
   {
      if($CommandTarget == "friendly player")
         contextIssueCommand(2, "Repair " @ $CommandTargetName, "repplyr");
      else
         contextIssueCommand(2, "Repair " @ $CommandTargetName, "repobj");
   }
}

setCommanderChatMenu("");

   addCommand("aAttack", 1, "*Attack");
   addCommand("dDefend", 2, "*Defend");
   addCommand("rRepair", 3, "*Repair");

   setCommanderChatMenu("eDeploy");
      setCommanderChatMenu("eDeploy\\sSensor");
         addCommand("pPulse sensor", 2, "Deploy pulse sensor at waypoint", "deppuls");
         addCommand("jJammer", 2, "Deploy sensor jammer at waypoint", "depjamr");
         addCommand("mMotion sensor", 2, "Deploy motion sensor at waypoint", "depmot");
         addCommand("cCamera", 2, "Deploy camera at waypoint", "depcam");
      setCommanderChatMenu("eDeploy\\aObject");
         addCommand("aAmmo", 2, "Deploy Ammo Station", "depamo");
         addCommand("iInventory", 2, "Deploy Inventory Station", "depinv");
         addCommand("tTurret", 2, "Deploy Turret", "deptur");
         addCommand("bBeacon", 2, "Deploy beacon at waypoint", "depbecn");
      setCommanderChatMenu("eDeploy");
      addCommand("vA.P.C.", 2, "Pilot APC to waypoint", "pilot");

setCommanderChatMenu("kCommand Response");
   addCommandResponse("aAcknwledged", 1, "Command acknowledged", "acknow");
   addCommandResponse("cCompleted", 0, "Objective complete", "objcomp");
   addCommandResponse("uUnable to complete", 0, "Unable to complete objective", "objxcmp");

Author:  ||Thunder|| [ Mon Nov 28, 2005 6:15 pm ]
Post subject: 

no, and yeah i know tribes inst a default thing, thats why its so hard to find :? but i dot need it anymore, i got prestop and just edited stuff in that

Author:  TE-Gooberman [ Mon Nov 28, 2005 8:41 pm ]
Post subject: 

hey, speaking of presto...i went to d/l it off our 'home site' thing (theexiled.cjb.net) and i got a 404 error =/ it said to contact u nox. so iam! can u also tell me what presto does? lol i dont even know what it is and i want it :P (my first post in the modding area! omfg! i know, i prolly shoulda started a new topic in the help desk, but i was just passing thru and thought i'd mention it. sorry)

Author:  TE-Noxwizard [ Mon Nov 28, 2005 9:34 pm ]
Post subject: 

Just a bad link.
Here you go:
http://theexiled.pwnageservers.com/files/Presto.zip

Author:  TE-Gooberman [ Tue Nov 29, 2005 4:02 pm ]
Post subject: 

thanks, now i finally have it! wee

Author:  ||Thunder|| [ Tue Nov 29, 2005 9:07 pm ]
Post subject: 

lol

Author:  TE-Hybrd$n!pr [ Wed Nov 30, 2005 7:39 am ]
Post subject: 

I have a presto pack. i like it, if u want it it will be on the site that i am making, i put it on the site link that i have but im not sure if it uploaded right so.. well if u want it just pm me andi ll send it to u threw xfire or sumthing

Author:  TE-Hammy [ Wed Nov 30, 2005 3:09 pm ]
Post subject: 

ahh the wonders of xfire :D

Author:  TE-Noxwizard [ Wed Nov 30, 2005 3:32 pm ]
Post subject: 

I suggest using the one off of our site. There was a problem in the version that was released that caused server kick messages and such to not show up. I've fixed that problem on the version we host.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/