Deus_ex_Machina
God from Machine
Registered: Mar 2001
Location: Fort Walton Bch Florida
Posts: 1505 |
hehe Aleman,
If you want, add this to your pick your best weapon stuff =)
EditActionMap("playMap.sae");
bindCommand(keyboard0, make, "F1", TO, "BestBludge();");
bindCommand(keyboard0, make, "F2", TO, "BestPiercing();");
bindCommand(keyboard0, make, "F3", TO, "BestSlashing();");
bindCommand(keyboard0, make, "F4", TO, "BestArchery();");
function BestWeapon() {
if($BestWeapon == 0) { $BestWeapon = 0; return; }
if($BestWeapon == 1) {
$BestWeapon = 0;
Client::centerPrint("Using best Bludgeoning Weapon\n" @ $WeaponName @ " ", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3);
return; }
if($BestWeapon == 2) {
$BestWeapon = 0;
Client::centerPrint("Using best Slashing Weapon\n" @ $WeaponName @ " ", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3);
return; }
if($BestWeapon == 3) {
$BestWeapon = 0;
Client::centerPrint("Using best Piercing Weapon\n" @ $WeaponName @ " ", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3);
return; }
if($BestWeapon == 4) {
$BestWeapon = 0;
Client::centerPrint("Using best Archery Weapon\n" @ $WeaponName @ " ", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3);
return; } }
function BestBludge() {
if(getItemCount("Titanium Hammer")) { use("Titanium Hammer"); $WeaponName = "Titanium Hammer"; $BestWeapon = 1; BestWeapon(); }
if(getItemCount("War Maul")) { use("War Maul"); $WeaponName = "War Maul"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Granite Hammer")) { use("Granite Hammer"); $WeaponName = "Granite Hammer"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("War Hammer")) { use("War Hammer"); $WeaponName = "War Hammer"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Morning Star")) { use("Morning Star"); $WeaponName = "Morning Star"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Spiked Bone Club")) { use("Spiked Bone Club"); $WeaponName = "Spiked Bone Club"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Flail")) { use("Flail"); $WeaponName = "Flail"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Bone Club")) { use("Bone Club"); $WeaponName = "Bone Club"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Ogre Hammer")) { use("Ogre Hammer"); $WeaponName = "Ogre Hammer"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Hammer Pick")) { use("Hammer Pick"); $WeaponName = "Hammer Pick"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Mace")) { use("Mace"); $WeaponName = "Mace"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Spiked Club")) { use("Spiked Club"); $WeaponName = "Spiked Club"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Cracked Spiked Club")) { use("Cracked Spiked Club"); $WeaponName = "Cracked Spiked Club"; $BestWeapon = 1; BestWeapon(); }
else if(getItemCount("Club")) { use("Club"); $WeaponName = "Club"; $BestWeapon = 1; BestWeapon(); }
else Client::centerPrint("You don't have a Bludgeoning weapon", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3); $BestWeapon = 0; return; }
function BestSlashing() {
if(getItemCount("Irons Might")) { use("Irons Might"); $WeaponName = "Irons Might"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Claymore")) { use("Claymore"); $WeaponName = "Claymore"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Uber Axe")) { use("Uber Axe"); $WeaponName = "Uber Axe"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Halberd")) { use("Halberd"); $WeaponName = "Halberd"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Diamond-Tipped Sword")) { use("Diamond-Tipped Sword"); $WeaponName = "Diamond-Tipped Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("******* Sword")) { use("******* Sword"); $WeaponName = "******* Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Ice Sword")) { use("Ice Sword"); $WeaponName = "Ice Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Battle Axe")) { use("Battle Axe"); $WeaponName = "Battle Axe"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Keldrinite Long Sword")) { use("Keldrinite Long Sword"); $WeaponName = "Keldrinite Long Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Long Sword")) { use("Long Sword"); $WeaponName = "Long Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Rusty Long Sword")) { use("Rusty Long Sword"); $WeaponName = "Rusty Long Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("War Axe")) { use("War Axe"); $WeaponName = "War Axe"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Rusty War Axe")) { use("Rusty War Axe"); $WeaponName = "Rusty War Axe"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Broad Sword")) { use("Broad Sword"); $WeaponName = "Broad Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Rusty Broad Sword")) { use("Rusty Broad Sword"); $WeaponName = "Rusty Broad Sword"; $BestWeapon = 2; BestWeapon(); }
else if(getItemCount("Hatchet")) { use("Hatchet"); $WeaponName = "Hatchet"; $BestWeapon = 2; BestWeapon(); }
else Client::centerPrint("You don't have a Slashing weapon", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3); $BestWeapon = 0; }
function BestPiercing() {
if(getItemCount("Awl Pike")) { use("Awl Pike"); $WeaponName = "Awl Pike"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Skeletal Staff")) { use("Skeletal Staff"); $WeaponName = "Skeletal Staff"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Rapier")) { use("Rapier"); $WeaponName = "Rapier"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Magma Staff")) { use("Magma Staff"); $WeaponName = "Magma Staff"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Trident")) { use("Trident"); $WeaponName = "Trident"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Gladius")) { use("Gladius"); $WeaponName = "Gladius"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Staff Of Punishment")) { use("Staff Of Punishment"); $WeaponName = "Staff Of Punishment"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Spear")) { use("Spear"); $WeaponName = "Spear"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Short Sword")) { use("Short Sword"); $WeaponName = "Short Sword"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Rusty Short Sword")) { use("Rusty Short Sword"); $WeaponName = "Rusty Short Sword"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Dagger")) { use("Dagger"); $WeaponName = "Dagger"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Knife")) { use("Knife"); $WeaponName = "Knife"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Rusty Knife")) { use("Rusty Knife"); $WeaponName = "Rusty Knife"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Pick Axe")) { use("Pick Axe"); $WeaponName = "Pick Axe"; $BestWeapon = 3; BestWeapon(); }
else if(getItemCount("Rusty Pick Axe")) { use("Rusty Pick Axe"); $WeaponName = "Rusty Pick Axe"; $BestWeapon = 3; BestWeapon(); }
else Client::centerPrint("You don't have a Piercing weapon", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3); $BestWeapon = 0; }
function BestArchery() {
if(getItemCount("Aeolus's Wing")) { use("Aeolus's Wing"); $WeaponName = "Aeolus's Wing"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Crystal Bow")) { use("Crystal Bow"); $WeaponName = "Crystal Bow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Composite Bow")) { use("Composite Bow"); $WeaponName = "Composite Bow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Repeating Crossbow")) { use("Repeating Crossbow"); $WeaponName = "Repeating Crossbow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Heavy Crossbow")) { use("Heavy Crossbow"); $WeaponName = "Heavy Crossbow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Light Crossbow")) { use("Light Crossbow"); $WeaponName = "Light Crossbow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Elven Bow")) { use("Elven Bow"); $WeaponName = "Elven Bow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Long Bow")) { use("Long Bow"); $WeaponName = "Long Bow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Cracked Light Crossbow")) { use("Cracked Light Crossbow"); $WeaponName = "Cracked Light Crossbow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Short Bow")) { use("Short Bow"); $WeaponName = "Short Bow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Cracked Short Bow")) { use("Cracked Short Bow"); $WeaponName = "Cracked Short Bow"; $BestWeapon = 4; BestWeapon(); }
else if(getItemCount("Sling")) { use("Sling"); $WeaponName = "Sling"; $BestWeapon = 4; BestWeapon(); }
else Client::centerPrint("You don't have a Archery weapon", 1); Schedule::Add("Client::centerPrint(\"\", 1);", 3); $BestWeapon = 0; }
__________________
-Deus ex Machina JI's l33t music for those lonely scripting nights
Tribes stuff
onLoad=type_text()>
Report this post to a moderator | IP: Logged
|