// Slackers TP Config // Author: murdoc (#slackers) // Released on: 24 March 2012 set tp_version "v{7.3}" // If you type tpver ingame it will report what config version you are using, easy to check if whole team is using same version. setinfo rsnd "0" // Due to a big in the reliable sound code it sometimes happends the took function doesnt work. Set it to 0 if you dont have any packetloss. //**************************************** //**************************************** //** USER SETTINGS ** //** PLEASE SET THE FOLLOWING LINES ** //** AND REMOVE THE // INFRONT OF ** //** THE LINES ** //**************************************** //**************************************** //**** Your mm2 name is based on 4 letters, if you want to use only 3 letters make sure to add a space infront, so the messages are aligned. // set tpname "tpname" // Main binds // bind x "__safe" // safe // bind x "__help" // help // bind x "__lost" // lost // bind x "__coming" // coming // bind x "__replace" // replace me // bind x "shownick; __point" // point items or shownick(status) if you point on teammate // bind x "__status_report" // status report health/armor weapon // bind x "__took" // took item // bind x "__need_team_powerup" // reports what you need or/and team powerup // bind x "__slipped" // nmy @ location depending on map (dm2-high,dm3-tunnel,e1m2-spikes) // bind x "__getquad" // get quad // bind x "__getpent" // get pent // bind x "__enemy_powerup" // enemy powerup // bind x "__quadover" // quad over // bind x "impulse 7; __kill_me" // switches to rocket launcher and tells your teammates to kill you for a pack. // bind x "impulse 8; __kill_me" // switches to shaft and tells your teammates to kill you for a pack. //////////////////////////////////////////////////////////////////////////////////////////////////// // // // DONT CHANGE ANYTHING // // // //////////////////////////////////////////////////////////////////////////////////////////////////// //**** In Slackers we use matching skins with mm2 nick. So skin 2 (yellow) would match with a yellow mm2 nick. simply type sr.1 to change to skin 1 with matching mm2 color nick. // set nick "murd" tempalias sr.1 "set tpname $qt{&ce26$nick:&cfff}$qt; skin 1; color 3 11" tempalias sr.2 "set tpname $qt{&cfd2$nick:&cfff}$qt; skin 2; color 3 11" tempalias sr.3 "set tpname $qt{&c37c$nick:&cfff}$qt; skin 3; color 3 11" tempalias sr.4 "set tpname $qt{&c900$nick:&cfff}$qt; skin 4; color 3 11" tempalias sr.5 "set tpname $qt{&ca20$nick:&cfff}$qt; skin 5; color 3 11" tempalias sr.6 "set tpname $qt{&c372$nick:&cfff}$qt; skin 6; color 3 11" tempalias sr.7 "set tpname $qt{&ce84$nick:&cfff}$qt; skin 7; color 3 11" tempalias sr.8 "set tpname $qt{&c538$nick:&cfff}$qt; skin 8; color 3 11" tempalias sr.9 "set tpname $qt{&c377$nick:&cfff}$qt; skin 9; color 3 11" //////////////////////////////////////////////////////////////////////////////////////////////////// // // // Variables // // // //////////////////////////////////////////////////////////////////////////////////////////////////// //Item Names tp_name_rl "{&cf13rl&cfff}" tp_name_lg "{&c2aalg&cfff}" tp_name_ga "{&c0b0ga&cfff}" tp_name_ya "{&cff0ya&cfff}" tp_name_ra "{&cf00ra&cfff}" tp_name_armortype_ga "{&c0b0g&cfff}" tp_name_armortype_ya "{&cff0y&cfff}" tp_name_armortype_ra "{&cf00r&cfff}" tp_name_rockets "rox" tp_name_quad "{&c05fquad&cfff}" tp_name_pent "{&cf00pent&cfff}" tp_name_ring "{&cff0ring&cfff}" tp_name_mh "{&c0a0mega&cfff}" tp_name_backpack "{&cf2apack&cfff}" tp_name_enemy "{&cf00enemy&cfff}" tp_name_someplace " " tp_name_separator "/" //Item Need Amounts tp_need_weapon "87" tp_need_ga "60" tp_need_ya "60" tp_need_ra "70" tp_need_shells "0" tp_need_nails "0" tp_need_cells "13" tp_need_health "50" tp_need_rockets "6" set loc_name_separator "$." //////////////////////////////////////////////////////////////////////////////////////////////////// // // // A L I A S E S // // // //////////////////////////////////////////////////////////////////////////////////////////////////// tempalias tpver "say_team Slackers TP Config $tp_version" tempalias __safe "if ('$health' < '1') then __lost else __safe_check_armor" tempalias __safe_check_armor "if ('$armor' < '1') then .msg.safe.noarmor else .msg.safe.armor" tempalias __help "if ('$health' < '1') then __lost else .msg.help" tempalias __lost "if ('$weapon' = '$tp_name_rl') then .msg.lost.pack else if ('$weapon' = '$tp_name_lg') then .msg.lost.pack else .msg.lost" tempalias __coming "if ('$health' < '1') then __lost else .msg.coming" tempalias __replace "if ('$health' < '1') then __lost else .msg.replace" tempalias __took "if ('$took' == '$tp_name_nothing') then else if ('$took' isin '$tp_name_pent $tp_name_quad $tp_name_ring') then .msg.took.powerup else .msg.took" tempalias __getquad ".msg.getquad" tempalias __getpent ".msg.getpent" tempalias __quadover ".msg.quadover" tempalias __enemy_powerup ".msg.enemy.powerup" tempalias __need_team_powerup "if ('$powerups' == '') then __need_check else __need_team_powerup_check" tempalias __need_team_powerup_check "if ('$need' == '$tp_name_nothing') then .msg.team.powerup else .msg.team.powerup.need" tempalias __need_check "if ('$need' == '$tp_name_nothing') then else .msg.need tempalias __slipped "if ('$mapname' = 'dm2') then __dm2 else if ('$mapname' = 'dm3') then __dm3 else if ('$mapname' = 'e1m2') then __e1m2" tempalias __dm2 "if ('$location' = 'quad$.low') then .msg.dm2.trickjump else .msg.dm2.slipped" tempalias __dm3 ".msg.dm3.tunnel" tempalias __e1m2 ".msg.e1m2.spikes" tempalias __status_report "if ('$bestweapon' = '$tp_name_lg') then __status_report_lg_check else if ('$bestweapon' = '$tp_name_rl') then __status_report_rl_check else __status_report_normal" tempalias __status_report_rl_check "if ('$tp_name_lg' isin '$weapons') then .msg.status.report.rl.lg else if ('$cells' > '0') then .msg.status.report.rl.cells else .msg.status.report.rl" tempalias __status_report_lg_check "if ('$rockets' > '0') then .msg.status.report.lg.rox else .msg.status.report.lg" tempalias __status_report_normal "if ('$cells' > '0') then __status_report_normal_check else if ('$rockets' > '0') then .msg.status.report.rox else .msg.status.report" tempalias __status_report_normal_check "if ('$rockets' > '0') then .msg.status.report.rox.cells else .msg.status.report.cells" tempalias __point "if ('$tp_name_nothing' isin '$point') then else if ('$ledpoint' = '$tp_name_status_green') then else if ('$ledpoint') = '$tp_name_status_red') then __point_powerup else .msg.point" tempalias __point_powerup "if ('$tp_name_eyes' isin '$point') then __point_eyes else if ('$tp_name_quaded' isin '$point') then __point_quaded else if ('$tp_name_pented' isin '$point') then .msg.point.pented else .msg.point" tempalias __point_eyes "if ('$tp_name_quaded' isin '$point') then __point_eyes_quaded else if ('$tp_name_pented') isin '$point') then .msg.point_eyes_pented else .msg.point.eyes" tempalias __point_eyes_quaded "if ('$tp_name_pented' isin '$point') then .msg.point.eyes.quad.pented else .msg.point.eyes.quaded" tempalias __point_quaded "if ('$tp_name_pented' isin '$point') then .msg.point.quaded.pented else .msg.point.quaded" tempalias __kill_me "if ('$bestweapon' = '$tp_name_lg') then __kill_me_lg_check else if ('$bestweapon' = '$tp_name_rl') then __kill_me_rl_check else __kill_me_check" tempalias __kill_me_rl_check "if ('$tp_name_lg' isin '$weapons') then .msg.kill.me.rl.lg else if ('$cells' > '0') then .msg.kill.me.rl.cells else .msg.kill.me.rl" tempalias __kill_me_check "if ('$rockets' > '0') then __kill_me_rox_check else if ('$cells' > '0') then .msg.kill.me.cells else" tempalias __kill_me_rox_check "if ('$cells' > '0') then .msg.kill.me.rox.cells else .msg.kill.me.rox" tempalias __kill_me_lg_check "if ('$rockets' > '0') then .msg.kill.me.lg.rox else .msg.kill.me.lg" //////////////////////////////////////////////////////////////////////////////////////////////////// // // // O U T P U T M E S S A G E S // // // //////////////////////////////////////////////////////////////////////////////////////////////////// tempalias .msg.safe.armor "say_team $\$tpname {&c0b0safe&cfff} {&c0b0[&cfff}{%l}{&c0b0]&cfff} $colored_armor / $bestweapon" tempalias .msg.safe.noarmor "say_team $\$tpname {&c0b0safe&cfff} {&c0b0[&cfff}{%l}{&c0b0]&cfff} $bestweapon" tempalias .msg.help "say_team $\$tpname {&cff0help&cfff} {&cff0[&cfff}{%l}{&cff0]&cfff}" tempalias .msg.lost "say_team $\$tpname {&cf00lost&cfff} {&cf00[&cfff}{%d}{&cf00]&cfff} {%E}" tempalias .msg.lost.pack "say_team $\$tpname {&cf00dropped&cfff} $weapon {&cf40[&cfff}{%d}{&cf40]&cfff} {%E}" tempalias .msg.coming "say_team $\$tpname coming [{%l}]" tempalias .msg.replace "say_team $\$tpname replace [{%l}]" tempalias .msg.took "say_team $\$tpname took $took [{%Y}]" tempalias .msg.took.powerup "say_team $\$tpname {&c0b0team&cfff} %p" tempalias .msg.getquad "say_team $\$tpname get $tp_name_quad" tempalias .msg.getpent "say_team $\$tpname get $tp_name_pent" tempalias .msg.quadover "say_team $\$tpname $tp_name_quad over" tempalias .msg.enemy.powerup "say_team $\$tpname $tp_name_enemy %q" tempalias .msg.need "say_team $\$tpname need %u [{%l}]" tempalias .msg.team.powerup.need "say_team $\$tpname {&c0b0team&cfff} %p [{%l}] need %u " tempalias .msg.team.powerup "say_team $\$tpname {&c0b0team&cfff} %p" tempalias .msg.dm2.slipped "say_team $\ {&cf2aenemy slipped [&cfff}{tele}{&cf2a]&cfff}" tempalias .msg.dm2.trickjump "say_team $\ {&cf2aquad jump [&cfff}{%l}{&cf2a]&cfff}" tempalias .msg.dm3.tunnel "say_team $\ {&cf2aenemy going [&cfff}{ra$.tunnel}{&cf2a]&cfff}" tempalias .msg.dm3.diss "say_team $\ {&cf2adiss warning [&cfff}{%l}{&cf2a]&cfff} tempalias .msg.e1m2.spikes "say_team $\ {&cf2aenemy going [&cfff}{spikes}{&cf2a]&cfff}" tempalias .msg.status.report "say_team $\$tpname $colored_armor/{%h} $bestweapon [{%l}] $powerups tempalias .msg.status.report.rox "say_team $\$tpname $colored_armor/{%h} $bestweapon [{%l}] {&cf13r&cfff}:{$rockets} $powerups" tempalias .msg.status.report.cells "say_team $\$tpname $colored_armor/{%h} $bestweapon [{%l}] {&c2aac&cfff}:{$cells} $powerups" tempalias .msg.status.report.rox.cells "say_team $\$tpname $colored_armor/{%h} $bestweapon [{%l}] {&cf13r&cfff}:{$rockets} {&c2aac&cfff}:{$cells} $powerups" tempalias .msg.status.report.rl "say_team $\$tpname $colored_armor/{%h} $tp_name_rl:$rockets [{%l}] $powerups" tempalias .msg.status.report.rl.cells "say_team $\$tpname $colored_armor/{%h} $tp_name_rl:$rockets [{%l}] {&c2aac&cfff}:{$cells} $powerups" tempalias .msg.status.report.lg "say_team $\$tpname $colored_armor/{%h} $tp_name_lg:$cells [{%l}] $powerups" tempalias .msg.status.report.lg.rox "say_team $\$tpname $colored_armor/{%h} $tp_name_lg:$cells [{%l}] {&cf13r&cfff}:{$rockets} $powerups" tempalias .msg.status.report.rl.lg "say_team $\$tpname $colored_armor/{%h} $tp_name_rl:$rockets $tp_name_lg:$cells [{%l}] $powerups" tempalias .msg.point "say_team $\$tpname %x at [{%y}]" tempalias .msg.point.eyes "say_team $\$tpname $tp_name_enemy {&cff0eyes&cfff} at [{%y}]" tempalias .msg.point.eyes.quaded "say_team $\$tpname $tp_name_enemy {&c05fquad&cfff} {&cff0eyes&cfff} at [{%y}]" tempalias .msg.point.eyes.quaded.pented "say_team $\$tpname $tp_name_enemy {&cf00pent&cfff} {&c05fquad&cfff} {&cff0eyes&cfff} at [{%y}]" tempalias .msg.point.eyes.pented "say_team $\$tpname $tp_name_enemy {&cf00pent&cfff} {&cff0eyes&cfff} at [{%y}]" tempalias .msg.point.quaded.pented "say_team $\$tpname $tp_name_enemy {&cf00pent&cfff} {&c05fquad&cfff} at [{%y}]" tempalias .msg.point.quaded "say_team $\$tpname $tp_name_enemy {&c05fquad&cfff} at [{%y}]" tempalias .msg.point.pented "say_team $\$tpname $tp_name_enemy {&cf00pent&cfff} at [{%y}]" tempalias .msg.kill.me.rl "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} $tp_name_rl:{$rockets}" tempalias .msg.kill.me.lg "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} $tp_name_lg:{$cells}" tempalias .msg.kill.me.lg.rox "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} $tp_name_lg:{$cells} {&cf13r&cfff}:{$rockets}" tempalias .msg.kill.me.rl.lg "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} $tp_name_rl:{$rockets} $tp_name_lg:{$cells}" tempalias .msg.kill.me.rox "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} {&cf13r&cfff}:{$rockets}" tempalias .msg.kill.me.rl.cells "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} $tp_name_rl:{$rockets} {&c2aac&cfff}:{$cells}" tempalias .msg.kill.me.cells "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} {&c2aac&cfff}:{$cells}" tempalias .msg.kill.me.rox.cells "say_team $\$tpname {&cb1akill me [&cfff}{%l}{&cf2a]&cfff} {&cf13r&cfff}:{$rockets} {&c2aac&cfff}:{$cells}" //////////////////////////////////////////////////////////////////////////////////////////////////// // // // T E A M P L A Y C O M M A N D S // // // //////////////////////////////////////////////////////////////////////////////////////////////////// tp_pickup powerups armor mh ssg sng gl rl lg pack rockets cells tp_took powerups armor mh ssg sng gl rl lg pack rockets cells tp_point powerups armor players mh ssg sng gl rl lg sng pack rockets cells filter clear