Post by BanaaN* on Oct 27, 2010 18:34:58 GMT 2
I don't know if mat5b wants help with TF2D, but I just added the description of the Achievements to the Achievements menu.
I've added it to the function tf2d.options (line 359).
All descriptions are in the form of
ACHIEVEMENT NAME (Type): Description
BLEH no 'more' / 'spoiler' / 'toggle' option here :S
I've added it to the function tf2d.options (line 359).
All descriptions are in the form of
ACHIEVEMENT NAME (Type): Description
function tf2d.options(id,menui,sel)
if (menui=="Options") then
if sel==1 then
menu(id,"Achievements 1,My first kill | "..st1[id]..",Assasin Padawan | "..st2[id]..",Assasin Helper | "..st3[id]..",Young Assasin | "..st4[id]..",Assasin | "..st5[id]..",Massive Murder | "..st6[id]..",Beginner Engineer | "..st7[id]..",Next")
elseif sel==2 then
huddisplay[id]=1
elseif sel==3 then
huddisplay[id]=2
elseif sel==4 then
menu(id,"Equip Hats,Cheater's Lament | "..eq1[id]..",Stainless Pot | "..eq2[id]..",Tyrant's Helm | "..eq3[id]..",Back")
else
end
elseif (menui=="Achievements 1") then
if sel==1 then
msg2(id,"©255255255MY FIRST KILL (General): Kill one man")
elseif sel==2 then
msg2(id,"©255255255ASSASIN PADAWAN (General): Kill 10 people")
elseif sel==3 then
msg2(id,"©255255255ASSASIN HELPER (General): Kill 20 people")
elseif sel==4 then
msg2(id,"©255255255YOUNG ASSASIN (General): Kill 50 people")
elseif sel==5 then
msg2(id,"©255255255ASSASIN (General): Kill 100 people")
elseif sel==6 then
msg2(id,"©255255255MASSIVE MURDER (General): Kill 1000 people")
elseif sel==7 then
msg2(id,"©255255255BEGINNER ENGINEER (Engineer): Build 10 buildings")
elseif sel==8 then
menu(id,"Achievements 2,House Builder Helper | "..st8[id]..",House Builder | "..st9[id]..",Build-A-Helper | "..st10[id]..",Block-5-Players | "..st11[id]..",Block-A-Helper | "..st12[id]..",Build-A-Player | "..st13[id]..",Fireproof | "..st14[id]..",Next,Previous")
end
elseif (menui=="Achievements 2") then
if sel==1 then
msg2(id,"©255255255HOUSE BUILDER HELPER (Engineer): Build 50 buildings")
elseif sel==2 then
msg2(id,"©255255255HOUSE BUILDER (Engineer): Kill 10 people")
elseif sel==3 then
msg2(id,"©255255255BUILD-A-HELPER (Engineer): Kill 20 people")
elseif sel==4 then
msg2(id,"©255255255BLOCK-5-PLAYERS (Engineer): Kill 50 people")
elseif sel==5 then
msg2(id,"©255255255BLOCK-A-HELPER (Engineer): Kill 100 people")
elseif sel==6 then
msg2(id,"©255255255BUILD-A-PLAYER (Engineer): Kill 1000 people")
elseif sel==7 then
msg2(id,"©255255255FIREPROOF (Pyro): Kill 5 people with the Flamethrower")
elseif sel==8 then
menu(id,"Achievements 3,Fire Bender Student | "..st15[id]..",Fire Bender Helper | "..st16[id]..",Fire Bender | "..st17[id]..",Adv. Fire Bender | "..st18[id]..",Headshot | "..st19[id]..",Precise Shot | "..st20[id]..",Camper | "..st21[id]..",Next,Previous")
elseif sel==9 then
menu(id,"Achievements 1,My first kill | "..st1[id]..",Assasin Padawan | "..st2[id]..",Assasin Helper | "..st3[id]..",Young Assasin | "..st4[id]..",Assasin | "..st5[id]..",Massive Murder | "..st6[id]..",Beginner Engineer | "..st7[id]..",Next")
end
elseif (menui=="Achievements 3") then
if sel==1 then
msg2(id,"©255255255FIRE BENDER STUDENT (Pyro): Kill 10 people with the Flamethrower")
elseif sel==2 then
msg2(id,"©255255255FIRE BENDER HELPER (Pyro): Kill 20 people with the Flamethrower")
elseif sel==3 then
msg2(id,"©255255255FIRE BENDER (Pyro): Kill 50 people with the Flamethrower")
elseif sel==4 then
msg2(id,"©255255255ADVANCED FIRE BENDER (Pyro): Kill 100 people with the Flamethrower")
elseif sel==5 then
msg2(id,"©255255255HEADSHOT (Sniper): Kill 1 man with the Rifle")
elseif sel==6 then
msg2(id,"©255255255PRECISE SHOT (Sniper): Kill 10 people with the Rifle")
elseif sel==7 then
msg2(id,"©255255255CAMPER (Sniper): Kill 50 people with the Rifle")
elseif sel==8 then
menu(id,"Achievements 4,Retarded Camper | "..st22[id]..",Light | "..st23[id]..",Mid | "..st24[id]..",Heavy | "..st25[id]..",Blood Here | "..st26[id]..",Blood There | "..st27[id]..",Blood Everywhere | "..st28[id]..",Next,Previous")
elseif sel==9 then
menu(id,"Achievements 2,House Builder Helper | "..st8[id]..",House Builder | "..st9[id]..",Build-A-Helper | "..st10[id]..",Block-5-Players | "..st11[id]..",Block-A-Helper | "..st12[id]..",Build-A-Player | "..st13[id]..",Fireproof | "..st14[id]..",Next,Previous")
end
elseif (menui=="Achievements 4") then
if sel==1 then
msg2(id,"©255255255RETARDED CAMPER (Sniper): Kill 100 people with the Rifle")
elseif sel==2 then
msg2(id,"©255255255LIGHT (Heavy): Kill 10 people with the Minigun")
elseif sel==3 then
msg2(id,"©255255255MID (Heavy): Kill 50 people with the Minigun")
elseif sel==4 then
msg2(id,"©255255255HEAVY (Heavy): Kill 100 people with the Minigun")
elseif sel==5 then
msg2(id,"©255255255BLOOD HERE (Medic): Kill 1 man with the Bone Saw")
elseif sel==6 then
msg2(id,"©255255255BLOOD THERE (Medic): Kill 10 people with the Bone Saw")
elseif sel==7 then
msg2(id,"©255255255BLOOD EVERYWHERE (Medic): Kill 100 people with the Bone Saw")
elseif sel==8 then
menu(id,"Achievements 5,A Thousand Damage | "..st29[id]..",Five Thousand Damage | "..st30[id]..",A Thousand Damage x 10 | "..st31[id]..",A Thousand Damage x 50 | "..st32[id]..",A Thousand Damage x 100 | "..st33[id]..",A Thousand Damage2 | "..st34[id]..",*DEAD* | "..st35[id]..",Next,Previous")
elseif sel==9 then
menu(id,"Achievements 3,Fire Bender Student | "..st15[id]..",Fire Bender Helper | "..st16[id]..",Fire Bender | "..st17[id]..",Adv. Fire Bender | "..st18[id]..",Headshot | "..st19[id]..",Precise Shot | "..st20[id]..",Camper | "..st21[id]..",Next,Previous")
end
elseif (menui=="Achievements 5") then
if sel==1 then
msg2(id,"©255255255A THOUSAND DAMAGE (General): Cause 1,000 damage")
elseif sel==2 then
msg2(id,"©255255255FIVE THOUSAND DAMAGE (General): Cause 5,000 damage")
elseif sel==3 then
msg2(id,"©255255255A THOUSAND DAMAGE x 10 (General): Cause 10,000 damagen")
elseif sel==4 then
msg2(id,"©255255255A THOUSAND DAMAGE x 50 (General): Cause 50,000 damage")
elseif sel==5 then
msg2(id,"©255255255A THOUSAND DAMAGE x 100 (General): Cause 100,000 damage")
elseif sel==6 then
msg2(id,"©255255255A THOUSAND DAMAGE x A THOUSAND DAMAGE (General): Cause 1,000,000 damage")
elseif sel==7 then
msg2(id,"©255255255*DEAD* (General): Die once")
elseif sel==8 then
menu(id,"Achievements 6,Lost 10 Lifes | "..st36[id]..",Born 2 Die | "..st37[id]..",Noob Down | "..st38[id]..",Sniper's Gone | "..st39[id]..",Sniper's Back | "..st40[id]..",Hard To Kill | "..st41[id]..",Nemesis | "..st42[id]..",Next,Previous")
elseif sel==9 then
menu(id,"Achievements 4,Retarded Camper | "..st22[id]..",Light | "..st23[id]..",Mid | "..st24[id]..",Heavy | "..st25[id]..",Blood Here | "..st26[id]..",Blood There | "..st27[id]..",Blood Everywhere | "..st28[id]..",Next,Previous")
end
elseif (menui=="Achievements 6") then
if sel==1 then
msg2(id,"©255255255LOST 10 LIFES (General): Die 10 times")
elseif sel==2 then
msg2(id,"©255255255BORN 2 DIE (General): Die 100 times")
elseif sel==3 then
msg2(id,"©255255255NOOB DOWN (General): Die 1000 times")
elseif sel==4 then
msg2(id,"©255255255SNIPER'S GONE (Spy): Dominate a Sniper")
elseif sel==5 then
msg2(id,"©255255255SNIPER'S BACK (Sniper): Get Revenge on a Spy")
elseif sel==6 then
msg2(id,"©255255255HARD TO KILL (General): Kill 5 people without dying")
elseif sel==7 then
msg2(id,"©255255255NEMESIS (General): Get 5 revenges")
elseif sel==8 then
menu(id,"Achievements 7,Crit Rocket | "..st43[id]..",Rocket Wave | "..st44[id]..",Rockets! | "..st45[id]..",FYI I'm a Spy | "..st46[id]..",BTW I'm a Spy | "..st47[id]..",Pick-A-Boo | "..st48[id]..",Previous")
elseif sel==9 then
menu(id,"Achievements 5,A Thousand Damage | "..st29[id]..",Five Thousand Damage | "..st30[id]..",A Thousand Damage x 10 | "..st31[id]..",A Thousand Damage x 50 | "..st32[id]..",A Thousand Damage x 100 | "..st33[id]..",A Thousand Damage x 200 | "..st34[id]..",*DEAD* | "..st35[id]..",Next,Previous")
end
elseif (menui=="Achievements 7") then
if sel==1 then
msg2(id,"©255255255CRIT ROCKET (Soldier): Kill 2 people with the Rocket Launcher")
elseif sel==2 then
msg2(id,"©255255255ROCKET WAVE (Soldier): Kill 10 people with the Rocket Launcher")
elseif sel==3 then
msg2(id,"©255255255ROCKETS! (Soldier): Kill 40 people with the Rocket Launcher")
elseif sel==4 then
msg2(id,"©255255255FYI I'M A SPY (Spy): Stab 1 man with the C&D")
elseif sel==5 then
msg2(id,"©255255255BTW I'M A SPY (Spy): Stab 5 people with the C&D")
elseif sel==6 then
msg2(id,"©255255255PICK-A-BOO (Spy): Stab 20 people with the C&D")
elseif sel==7 then
menu(id,"Achievements 6,Lost 10 Lifes | "..st36[id]..",Born 2 Die | "..st37[id]..",Noob Down | "..st38[id]..",Sniper's Gone | "..st39[id]..",Sniper's Back | "..st40[id]..",Hard To Kill | "..st41[id]..",Nemesis | "..st42[id]..",Next,Previous")
end
elseif (menui=="Equip Hats") then
if sel==1 then
if eq1[id]=="" then
hat[id]="Cheater's Lament"
eq1[id]="Equipped"
tf2d.wearhats(id)
else
freeimage(hat[id])
eq1[id]=""
hat[id]=0
end
elseif sel==2 then
if eq2[id]=="" then
hat[id]="Stainless Pot"
eq2[id]="Equipped"
tf2d.wearhats(id)
else
freeimage(hat[id])
eq2[id]=""
hat[id]=0
end
elseif sel==3 then
if eq3[id]=="" then
hat[id]="Tyrants Helm"
eq3[id]="Equipped"
tf2d.wearhats(id)
else
freeimage(hat[id])
eq3[id]=""
hat[id]=0
end
elseif sel==4 then
menu(id,"Options,Achievements,Hud | On,Hud | Off,Equip Hats")
end
end
end
BLEH no 'more' / 'spoiler' / 'toggle' option here :S