Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo >Lese Toggle Radar Scale ...
- //--------------------------------------------------------------------------------------------------
- echo ""
- echo " _______ _ _____ _ _____ _"
- echo " |__ __| | | | __ \ | | / ____| | |"
- echo " | | ___ __ _ __ _| | ___ | |__) |__ _ __| | __ _ _ _| (___ ___ __ _| | ___"
- echo " | |/ _ \ / _` |/ _` | |/ _ \ | _ // _` |/ _` |/ _` | '__\___ \ / __/ _` | |/ _ \"
- echo " | | (_) | (_| | (_| | | __/ | | \ \ (_| | (_| | (_| | | ____) | (_| (_| | | __/"
- echo " |_|\___/ \__, |\__, |_|\___| |_| \_\__,_|\__,_|\__,_|_| |_____/ \___\__,_|_|\___|"
- echo " __/ | __/ | AND DISPLAY DAMAGE /W SUPERE"
- echo " |___/ |___/ Author: /u/NanashiSC"
- echo " Version: 2020-04-29"
- echo " for updates, go visit pastebin.com/Y1vQ1e0F"
- //--------------------------------------------------------------------------------------------------
- // Original Idea: Creating indivual scales for each map while focusing on a fine balance between overall-coverage and readability
- //--------------------------------------------------------------------------------------------------
- // Console Filter Setup
- //--------------------------------------------------------------------------------------------------
- con_filter_enable 2 //def. 0 - 1=filter text 2=highlight text - Filters or highlights console output defined with "con_filter_text".
- con_filter_text Damage //Text with which to filter (or highlight) console spew. Set con_filter_enable 1 or 2 to activate
- con_filter_text_out Player: //Text to filter OUT of console spew. Set con_filter_enable 1 or 2 to activate.
- developer 1 //Show console text output in upper left corner (not recommended, can cause performance issues)
- //--------------------------------------------------------------------------------------------------
- // Radar Scale Starting Value: Default (Dust2)
- //--------------------------------------------------------------------------------------------------
- cl_radar_scale 0.3 //Dust2
- //--------------------------------------------------------------------------------------------------
- // Initialize Radar Scale Index
- //--------------------------------------------------------------------------------------------------
- alias exec_rs "rs_map_echo; rs_zoomout"
- alias rs_map_echo
- alias rs_zoomin
- alias rs_zoomout
- //--------------------------------------------------------------------------------------------------
- // Radar Scale Map Pool (A-Z) --->
- //--------------------------------------------------------------------------------------------------
- // Cache
- //--------------------------------------------------------------------------------------------------
- alias rs_cache "alias rs_map_echo cache_echo; alias rs_zoomin cache_zoomin; alias rs_zoomout cache_zoomout"
- alias cache_echo "echo radarScale_cache"
- alias cache_zoomin "cl_radar_scale 0.7" //+superE
- alias cache_zoomout "cl_radar_scale 0.375" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Cbble
- //--------------------------------------------------------------------------------------------------
- alias rs_cbble "alias rs_map_echo cbble_echo; alias rs_zoomin cbble_zoomin; alias rs_zoomout cbble_zoomout"
- alias cbble_echo "echo radarScale_cbble"
- alias cbble_zoomin "cl_radar_scale 0.7" //+superE
- alias cbble_zoomout "cl_radar_scale 0.42" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Dust2
- //--------------------------------------------------------------------------------------------------
- alias rs_dust2 "alias rs_map_echo dust2_echo; alias rs_zoomin dust2_zoomin; alias rs_zoomout dust2_zoomout"
- alias dust2_echo "echo radarScale_dust2"
- alias dust2_zoomin "cl_radar_scale 0.7" //+superE
- alias dust2_zoomout "cl_radar_scale 0.3" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Inferno
- //--------------------------------------------------------------------------------------------------
- alias rs_inferno "alias rs_map_echo inferno_echo; alias rs_zoomin inferno_zoomin; alias rs_zoomout inferno_zoomout"
- alias inferno_echo "echo radarScale_inferno"
- alias inferno_zoomin "cl_radar_scale 0.7" //+superE
- alias inferno_zoomout "cl_radar_scale 0.55" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Mirage
- //--------------------------------------------------------------------------------------------------
- alias rs_mirage "alias rs_map_echo mirage_echo; alias rs_zoomin mirage_zoomin; alias rs_zoomout mirage_zoomout"
- alias mirage_echo "echo radarScale_mirage"
- alias mirage_zoomin "cl_radar_scale 0.7" //+superE
- alias mirage_zoomout "cl_radar_scale 0.385" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Nuke
- //--------------------------------------------------------------------------------------------------
- alias rs_nuke "alias rs_map_echo nuke_echo; alias rs_zoomin nuke_zoomin; alias rs_zoomout nuke_zoomout"
- alias nuke_echo "echo radarScale_mirage"
- alias nuke_zoomin "cl_radar_scale 0.6" //+superE
- alias nuke_zoomout "cl_radar_scale 0.385" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Overpass
- //--------------------------------------------------------------------------------------------------
- alias rs_overpass "alias rs_map_echo overpass_echo; alias rs_zoomin overpass_zoomin; alias rs_zoomout overpass_zoomout"
- alias overpass_echo "echo radarScale_overpass"
- alias overpass_zoomin "cl_radar_scale 0.7" //+superE
- alias overpass_zoomout "cl_radar_scale 0.34" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // Train
- //--------------------------------------------------------------------------------------------------
- alias rs_train "alias rs_map_echo train_echo; alias rs_zoomin train_zoomin; alias rs_zoomout train_zoomout"
- alias train_echo "echo radarScale_train"
- alias train_zoomin "cl_radar_scale 0.7" //+superE
- alias train_zoomout "cl_radar_scale 0.315" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // HotTo add another Map:
- //--------------------------------------------------------------------------------------------------
- // 1. Copy + Paste the following lines of code (Example: Mapname)
- // 2. Replace "mapname" with the Name of the Map you wish to add
- // 3. Replace 1337 with the numbers of your choice
- //--------------------------------------------------------------------------------------------------
- // Example: Mapname
- //--------------------------------------------------------------------------------------------------
- //alias rs_mapname "alias rs_map_index rs_mapname; alias rs_map_echo mapname_echo; alias rs_zoomin mapname_zoomin; alias rs_zoomout mapname_zoomout; radarScale_mapname"
- //alias mapname_echo "echo radarScale_mapname"
- //alias mapname_zoomin "cl_radar_scale 1337" //+superE
- //alias mapname_zoomout "cl_radar_scale 1337" //-superE (default)
- //--------------------------------------------------------------------------------------------------
- // <--- Radar Scale Map Pool (A-Z)
- //--------------------------------------------------------------------------------------------------
- // Starting values(default: Dust2)
- //--------------------------------------------------------------------------------------------------
- //alias rs_map_echo "dust2_echo"
- //alias rs_zoomin "dust2_zoomin"
- //alias rs_zoomout "dust2_zoomout"
- //--------------------------------------------------------------------------------------------------
- // Radar Scale Map Rotation Slots --->
- //--------------------------------------------------------------------------------------------------
- // - replace rs_mapname with any map from the mappool above
- // - if you wish to add/remove slots, you would need to alter Toggle RadarScale as well
- // - I recommend to stay with an alphabetical sorting
- //--------------------------------------------------------------------------------------------------
- alias rs_slot1 "rs_cache"
- alias rs_slot2 "rs_cbble"
- alias rs_slot3 "rs_dust2"
- alias rs_slot4 "rs_inferno"
- alias rs_slot5 "rs_mirage"
- alias rs_slot6 "rs_overpass"
- alias rs_slot7 "rs_train"
- //--------------------------------------------------------------------------------------------------
- // <--- Radar Scale Map Rotation Slots
- //--------------------------------------------------------------------------------------------------
- // Toggle RadarScale AND DisplayDamage --->
- //--------------------------------------------------------------------------------------------------
- // Toggle RadarScale (Kudos to /u/flizzflobking)
- //--------------------------------------------------------------------------------------------------
- alias toggle_radarScale rs_map1
- alias rs_map1 "rs_slot1; exec_rs; alias toggle_radarScale rs_map2"
- alias rs_map2 "rs_slot2; exec_rs; alias toggle_radarScale rs_map3"
- alias rs_map3 "rs_slot3; exec_rs; alias toggle_radarScale rs_map4"
- alias rs_map4 "rs_slot4; exec_rs; alias toggle_radarScale rs_map5"
- alias rs_map5 "rs_slot5; exec_rs; alias toggle_radarScale rs_map6"
- alias rs_map6 "rs_slot6; exec_rs; alias toggle_radarScale rs_map7"
- alias rs_map7 "rs_slot7; exec_rs; alias toggle_radarScale rs_map1"
- //--------------------------------------------------------------------------------------------------
- // Toggle Console Filter (DisplayDamage (Text Ouput on Screen 0)| Display Radar Scale (Text Ouput on Screen 1))
- //--------------------------------------------------------------------------------------------------
- // Note: Developer 1 might cause performance issues, which is why I have decided to only flip it on, when I use toggle_radarScale.
- //--------------------------------------------------------------------------------------------------
- // Text-out for both //uncomment to enable, comment to disable
- alias +toggle_radarScale "con_filter_text radarScale_; clear; toggle_radarScale" //bind to +alt + KEY
- alias -toggle_radarScale "con_filter_text Damage" //bind to -alt + KEY
- // Text-out only for radarScale (use this if you encounter any peformance issues) //uncomment to enable, comment to disable
- //alias +toggle_radarScale "developer 1; con_filter_text radarScale_; clear; toggle_radarScale" //bind to +alt + KEY
- //alias -toggle_radarScale "developer 0; con_filter_text Damage" //bind to -alt + KEY
- //--------------------------------------------------------------------------------------------------
- // <--- Toggle RadarScale AND DisplayDamage
- //--------------------------------------------------------------------------------------------------
- // Super E-Key (radarScale Edition) (Kudos to /u/nbpetrov) --->
- //--------------------------------------------------------------------------------------------------
- // 1. Use
- // 2. Pick up and equip Weapon while holding e
- // 3. Enable Gaminstructor (Bomb in Smoke)
- // 4. Zoomin Radar while holding e //(+)rs_zoomin, (-)rs_zoomout
- //--------------------------------------------------------------------------------------------------
- // superE /w Zoomin for better close range vision when defusing //uncomment to enable, comment to disable
- alias +superE "+use; cl_autowepswitch 1; toggle_teamequip; cl_clearhinthistory; gameinstructor_enable 1; rs_zoomin"
- alias -superE "-use; cl_autowepswitch 0; gameinstructor_enable 0; rs_zoomout"
- // superE /wo Zoomin //uncomment to enable, comment to disable
- //alias +superE "+use; cl_autowepswitch 1; cl_clearhinthistory; gameinstructor_enable 1"
- //alias -superE "-use; cl_autowepswitch 0; gameinstructor_enable 0"
- //--------------------------------------------------------------------------------------------------
- // <--- Super E-Key (radarScale Edition)
- //--------------------------------------------------------------------------------------------------
- // <--- Toggle RadarScale AND DisplayDamage w/ superE by Nanashi
- //--------------------------------------------------------------------------------------------------
- // Bind --->
- //--------------------------------------------------------------------------------------------------
- //bind KEY +toggle_radarScale; playvol buttons\blip1 0.5 //I recommend alt + r
- //bind e +superE
- //--------------------------------------------------------------------------------------------------
- // Known Issues
- //--------------------------------------------------------------------------------------------------
- // If you use this script in combination with altbinds, like I recommend (alt + r) things complicate a bit
- // and if you are interested in the details, here they are:
- //
- // 1st) You have to hold down alt and press r for at least two times to get the text-output in the upper left
- // corner of your screen. The script will already execute on the first tap, but only start showing text-output
- // on the 2nd tap. To reduce this delay of feedback we could outsource the damage filter to +altbinds and -altbinds
- // like so:
- //
- // "+altbinds "(...); con_filter_text radarScale_; (...)"
- // "-altbinds "(...); con_filter_text Damage; (...)"
- //
- // but things would get quite messy this way, especially if you intend to use additional text-filter in
- // other scripts.
- //
- // 2nd) Since altbinds create an additional layer, you have to bind -toggle_radarScale on -alt + KEY
- // or it won't get triggered at all:
- //
- // so instead of:
- //
- //alias priR "bind r +reload"
- //alias modR "bind r secR"
- //alias secR "+toggle_radarScale; playvol buttons\blip1 0.5"
- //
- // we have to go with:
- //
- //alias priR "bind r +reload; -toggle_radarScale"
- //alias modR "bind r secR"
- //alias secR "+toggle_radarScale; playvol buttons\blip1 0.5"
- //--------------------------------------------------------------------------------------------------
- // <--- Bind
- //--------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment