Jump to content

NQ Vsay toggle/bind script for NQ1 & NQ2


advaita

Recommended Posts

This script binds two keys, one for scrolling the list and displaying the vsay and the other for executing it. This script is similar to the one posted by me for JAY2 & JAY3 but contains all the NQ Extra vsays. This cfg works on NQ1 & NQ2 servers.

 

I've named it as "nqvsay.cfg", but you can name it as per your convenience. Just place the cfg in you ETMAIN folder and execute it by invoking the console in game using the "~" key. In this cfg i have assigned "D" for scrolling/display and "F" for executing. Again you can change them as per your comfort.

 

Here it is;

 

nqvsay.cfg

 

Thanks to -=Medic=- for this post

 

Fa-Noquarter-sound-pack-vsay-list

Link to comment
Share on other sites

Nice and fun script! I made a similar one to choose what name and color combination I felt like using that day ^^

 

A suggestion, from experience, would be to bind another key to scroll reverse through the script. This would give a player the option to go back if he goes past a command or start from the end.

 

You could also split the "v1-v91" commands into multiple sections with a different key being bound to each. This would allow a player to not have to scroll through 90 (or 45 with a reverse scroll) options to find the one they're looking for. You could also do this along with the reverse scroll in each section with using as little keys as:

 

*1 for each section you split the v1-v91 commands into. If you split it up into 3 sections, 30 a section, then a player would never have to scroll through more than 15 options in echo to find the one they want.

*1 to scroll backwards.

*1 to execute the vsay command you choose.

 

Oh hell I'll just write up the source for each one! I'm bored :D BBS!

  • Like 1
Link to comment
Share on other sites

Here's the base script for a key added to scroll backwards through the list using your scripts needed information.

 

Changes:

 

- ^q "red" for the first "setvfun" echo displaying "choose a vsay first". The color red just screams "you failed try again." :)

 

- Added a line # to each echo command and removed "vsay". Did this to allow a player to know where he/she is in the list and to aid the brain into memorizing where each command is.

 

- changed command name color in echo so a player can more easily distinguish between what is going to be said over the speakers and the command itself.

 

I really hope you don't mind me slightly changing and adding to your script. Just wanted to make my ideas into something you could see! I take no credit for your script and that's why I'm leaving these here for you to take from or add to... if you like them that is! I also know you can always use a little help when writing 278 lines of script :P

 

bind a "vstr vfun"
bind b "vstr vfundown"
bind c "vstr setvfun"

set vfun "vstr v1"
set vfundown "vstr v3"
set setvfun "echo ^qchoose a vsay first"

set vfun1 "vsay baska"
set vfun2 "vsay baska2"
set vfun3 "vsay baska3"

set echovfun1 "echo ^5#1 ^7baska:^oYou'll be my only, no need to worry..."
set echovfun2 "echo ^5#2 ^7baska2:^oRa Ra-ah-ah-ah...Roma Roma-ma...GaGa Oh la-la!!"
set echovfun3 "echo ^5#3 ^7baska3:^oI want your love and All your lover's revenge..."

set v1 "vstr echovfun1; set vfun vstr v2; set vfundown vstr v3; set setvfun vstr vfun1"
set v2 "vstr echovfun2; set vfun vstr v3; set vfundown vstr v1; set setvfun vstr vfun2"
set v3 "vstr echovfun3; set vfun vstr v1; set vfundown vstr v2; set setvfun vstr vfun3"

Link to comment
Share on other sites

Same as the last but the option to split the 90 vsay's into 3 groups to make each easier to find and get to. Can still scroll backwards through each section.

 


bind a "vstr vfung1"
bind b "vstr vfung2"
bind c "vstr vfung3"
bind d "vstr vfundown"
bind e "vstr setvfun"

set vfung1 "vstr g1v1"
set vfung2 "vstr g2v4"
set vfung3 "vstr g3v7"
set vfundown "echo ^pScroll Reverse:^q To use first choose a vsay group with keys: ^2A, B, or C"
set setvfun "echo ^pSay vsay: ^qTo use first choose a vsay group with keys: ^2A, B, or C"

set vfun1 "vsay baska"
set vfun2 "vsay baska2"
set vfun3 "vsay baska3"
set vfun4 "vsay baska4"
set vfun5 "vsay baska5"
set vfun6 "vsay blur"
set vfun7 "vsay james"
set vfun8 "vsay baby"
set vfun9 "vsay crazy"

set echovfun1 "echo ^5#1 ^7baska:^oYou'll be my only, no need to worry..."
set echovfun2 "echo ^5#2 ^7baska2:^oRa Ra-ah-ah-ah...Roma Roma-ma...GaGa Oh la-la!!"
set echovfun3 "echo ^5#3 ^7baska3:^oI want your love and All your lover's revenge..."
set echovfun4 "echo ^5#4 ^7baska4:^oI can't wait to see you again!!!"
set echovfun5 "echo ^5#5 ^7baska5:^oGirls, they wanna have fun!!!"
set echovfun6 "echo ^5#6 ^7blur:^oWhoo hoo! Well I feel heavy metal..."
set echovfun7 "echo ^5#7 ^7james:^oWOW! I feel good..."
set echovfun8 "echo ^5#6 ^7baby:^oBaby rap..."
set echovfun9 "echo ^5#9 ^7crazy:^oCrazy! you're crazy boy..."

set g1v1 "vstr echovfun1; set vfung1 vstr g1v2; set vfundown vstr g1v3; set setvfun vstr vfun1"
set g1v2 "vstr echovfun2; set vfung1 vstr g1v3; set vfundown vstr g1v1; set setvfun vstr vfun2"
set g1v3 "vstr echovfun3; set vfung1 vstr g1v1; set vfundown vstr g1v2; set setvfun vstr vfun3"

set g2v4 "vstr echovfun4; set vfung2 vstr g2v5; set vfundown vstr g2v6; set setvfun vstr vfun4"
set g2v5 "vstr echovfun5; set vfung2 vstr g2v6; set vfundown vstr g2v4; set setvfun vstr vfun5"
set g2v6 "vstr echovfun6; set vfung2 vstr g2v4; set vfundown vstr g2v5; set setvfun vstr vfun6"

set g3v7 "vstr echovfun7; set vfung3 vstr g3v8; set vfundown vstr g3v9; set setvfun vstr vfun7"
set g3v8 "vstr echovfun8; set vfung3 vstr g3v9; set vfundown vstr g3v7; set setvfun vstr vfun8"
set g3v9 "vstr echovfun9; set vfung3 vstr g3v7; set vfundown vstr g3v8; set setvfun vstr vfun9"

Link to comment
Share on other sites

LOL I swear this is my last. Just thought of the most convenient way of doing it. 4 keys to pick between 90 different vsays split into 9 lists of 10 vsays. Most efficient and easiest way I can think of to navigate and remember 90 vsays. You could even group the like vsays together in each list idk I'm getting tired :(

 

I left out the echo (echovfun) and say vsay (vfun) lists. I'm sure you can figure the rest out :D

 

Sorry for any mistakes. I'm extremely tired.

 



//Bound to 4 keys in a row for easiest use. Obviously wrong keys in this example!

bind 1 "vstr rl" //Starts script at Main list 1. Scrolls forward then on in Main and Sub lists.
bind 2 "vstr fl"			 //Starts script at Main list 1. Scrolls reverse then on in Main and Sub lists.
bind 3 "vstr setvfun"	 //Will execute Sub list in main. Will execute vsay in Sub list.
bind 4 "vstr esc"		 //Goes back to previous menu. If in Sub list 1 it will take you back to Main list 1, Sub list 2 -> back to Main 2, etc...

set fl "vstr l1"
set rl "vstr l1"
set esc "echo ^qThis key will return you to the previous catagory"
set setvfun "echo ^qFirst use 1 or 2 to navigate the Master List"

//Main list
set l1 "echo ^5List ^7#^51; set fl vstr l2; set rl vstr l9; set setvfun vstr s1v1"
set l2 "echo ^5List ^7#^52; set fl vstr l3; set rl vstr l1; set setvfun vstr s2v11"
set l3 "echo ^5List ^7#^53; set fl vstr l4; set rl vstr l2; set setvfun vstr s3v21"
set l4 "echo ^5List ^7#^54; set fl vstr l5; set rl vstr l3; set setvfun vstr s4v31"
set l5 "echo ^5List ^7#^55; set fl vstr l6; set rl vstr l4; set setvfun vstr s5v41"
set l6 "echo ^5List ^7#^56; set fl vstr l7; set rl vstr l5; set setvfun vstr s6v51"
set l7 "echo ^5List ^7#^57; set fl vstr l8; set rl vstr l6; set setvfun vstr s7v61"
set l8 "echo ^5List ^7#^58; set fl vstr l9; set rl vstr l7; set setvfun vstr s8v71"
set l9 "echo ^5List ^7#^59; set fl vstr l1; set rl vstr l8; set setvfun vstr s9v81"

//Sub list 1 - 9
set s1v1 "vstr echovfun1; set fl vstr s1v2; set rl vstr s1v10; set esc vstr l1; set setvfun vstr vfun1"
set s1v2 "vstr echovfun2; set fl vstr s1v3; set rl vstr s1v1; set esc vstr l1; set setvfun vstr vfun2"
set s1v3 "vstr echovfun3; set fl vstr s1v4; set rl vstr s1v2; set esc vstr l1; set setvfun vstr vfun3"
set s1v4 "vstr echovfun4; set fl vstr s1v5; set rl vstr s1v3; set esc vstr l1; set setvfun vstr vfun4"
set s1v5 "vstr echovfun5; set fl vstr s1v6; set rl vstr s1v4; set esc vstr l1; set setvfun vstr vfun5"
set s1v6 "vstr echovfun6; set fl vstr s1v7; set rl vstr s1v5; set esc vstr l1; set setvfun vstr vfun6"
set s1v7 "vstr echovfun7; set fl vstr s1v8; set rl vstr s1v6; set esc vstr l1; set setvfun vstr vfun7"
set s1v8 "vstr echovfun8; set fl vstr s1v9; set rl vstr s1v7; set esc vstr l1; set setvfun vstr vfun8"
set s1v9 "vstr echovfun9; set fl vstr s1v10; set rl vstr s1v8; set esc vstr l1; set setvfun vstr vfun9"
set s1v10 "vstr echovfun10; set fl vstr s1v1; set rl vstr s1v9; set esc vstr l1; set setvfun vstr vfun10"

set s2v11 "vstr echovfun11; set fl vstr s2v12; set rl vstr s2v20; set esc vstr l2; set setvfun vstr vfun11"
set s2v12 "vstr echovfun12; set fl vstr s2v13; set rl vstr s2v11; set esc vstr l2; set setvfun vstr vfun12"
set s2v13 "vstr echovfun13; set fl vstr s2v14; set rl vstr s2v12; set esc vstr l2; set setvfun vstr vfun13"
set s2v14 "vstr echovfun14; set fl vstr s2v15; set rl vstr s2v13; set esc vstr l2; set setvfun vstr vfun14"
set s2v15 "vstr echovfun15; set fl vstr s2v16; set rl vstr s2v14; set esc vstr l2; set setvfun vstr vfun15"
set s2v16 "vstr echovfun16; set fl vstr s2v17; set rl vstr s2v15; set esc vstr l2; set setvfun vstr vfun16"
set s2v17 "vstr echovfun17; set fl vstr s2v18; set rl vstr s2v16; set esc vstr l2; set setvfun vstr vfun17"
set s2v18 "vstr echovfun18; set fl vstr s2v19; set rl vstr s2v17; set esc vstr l2; set setvfun vstr vfun18"
set s2v19 "vstr echovfun19; set fl vstr s2v20; set rl vstr s2v18; set esc vstr l2; set setvfun vstr vfun19"
set s2v20 "vstr echovfun20; set fl vstr s2v11; set rl vstr s2v19; set esc vstr l2; set setvfun vstr vfun20"

set s3v21 "vstr echovfun21; set fl vstr s3v22; set rl vstr s3v30; set esc vstr l3; set setvfun vstr vfun21"
set s3v22 "vstr echovfun22; set fl vstr s3v23; set rl vstr s3v21; set esc vstr l3; set setvfun vstr vfun22"
set s3v23 "vstr echovfun23; set fl vstr s3v24; set rl vstr s3v22; set esc vstr l3; set setvfun vstr vfun23"
set s3v24 "vstr echovfun24; set fl vstr s3v25; set rl vstr s3v23; set esc vstr l3; set setvfun vstr vfun24"
set s3v25 "vstr echovfun25; set fl vstr s3v26; set rl vstr s3v24; set esc vstr l3; set setvfun vstr vfun25"
set s3v26 "vstr echovfun26; set fl vstr s3v27; set rl vstr s3v25; set esc vstr l3; set setvfun vstr vfun26"
set s3v27 "vstr echovfun27; set fl vstr s3v28; set rl vstr s3v26; set esc vstr l3; set setvfun vstr vfun27"
set s3v28 "vstr echovfun28; set fl vstr s3v29; set rl vstr s3v27; set esc vstr l3; set setvfun vstr vfun28"
set s3v29 "vstr echovfun29; set fl vstr s3v30; set rl vstr s3v28; set esc vstr l3; set setvfun vstr vfun29"
set s3v30 "vstr echovfun30; set fl vstr s3v21; set rl vstr s3v29; set esc vstr l3; set setvfun vstr vfun30"

set s4v31 "vstr echovfun31; set fl vstr s4v32; set rl vstr s4v40; set esc vstr l4; set setvfun vstr vfun31"
set s4v32 "vstr echovfun32; set fl vstr s4v33; set rl vstr s4v31; set esc vstr l4; set setvfun vstr vfun32"
set s4v33 "vstr echovfun33; set fl vstr s4v34; set rl vstr s4v32; set esc vstr l4; set setvfun vstr vfun33"
set s4v34 "vstr echovfun34; set fl vstr s4v35; set rl vstr s4v33; set esc vstr l4; set setvfun vstr vfun34"
set s4v35 "vstr echovfun35; set fl vstr s4v36; set rl vstr s4v34; set esc vstr l4; set setvfun vstr vfun35"
set s4v36 "vstr echovfun36; set fl vstr s4v37; set rl vstr s4v35; set esc vstr l4; set setvfun vstr vfun36"
set s4v37 "vstr echovfun37; set fl vstr s4v38; set rl vstr s4v36; set esc vstr l4; set setvfun vstr vfun37"
set s4v38 "vstr echovfun38; set fl vstr s4v39; set rl vstr s4v37; set esc vstr l4; set setvfun vstr vfun38"
set s4v39 "vstr echovfun39; set fl vstr s4v40; set rl vstr s4v38; set esc vstr l4; set setvfun vstr vfun39"
set s4v40 "vstr echovfun40; set fl vstr s4v31; set rl vstr s4v39; set esc vstr l4; set setvfun vstr vfun40"

set s5v41 "vstr echovfun41; set fl vstr s5v42; set rl vstr s5v50; set esc vstr l5; set setvfun vstr vfun41"
set s5v42 "vstr echovfun42; set fl vstr s5v43; set rl vstr s5v41; set esc vstr l5; set setvfun vstr vfun42"
set s5v43 "vstr echovfun43; set fl vstr s5v44; set rl vstr s5v42; set esc vstr l5; set setvfun vstr vfun43"
set s5v44 "vstr echovfun44; set fl vstr s5v45; set rl vstr s5v43; set esc vstr l5; set setvfun vstr vfun44"
set s5v45 "vstr echovfun45; set fl vstr s5v46; set rl vstr s5v44; set esc vstr l5; set setvfun vstr vfun45"
set s5v46 "vstr echovfun46; set fl vstr s5v47; set rl vstr s5v45; set esc vstr l5; set setvfun vstr vfun46"
set s5v47 "vstr echovfun47; set fl vstr s5v48; set rl vstr s5v46; set esc vstr l5; set setvfun vstr vfun47"
set s5v48 "vstr echovfun48; set fl vstr s5v49; set rl vstr s5v47; set esc vstr l5; set setvfun vstr vfun48"
set s5v49 "vstr echovfun49; set fl vstr s5v50; set rl vstr s5v48; set esc vstr l5; set setvfun vstr vfun49"
set s5v50 "vstr echovfun50; set fl vstr s5v41; set rl vstr s5v49; set esc vstr l5; set setvfun vstr vfun50"

set s6v51 "vstr echovfun51; set fl vstr s6v52; set rl vstr s6v60; set esc vstr l6; set setvfun vstr vfun51"
set s6v52 "vstr echovfun52; set fl vstr s6v53; set rl vstr s6v51; set esc vstr l6; set setvfun vstr vfun52"
set s6v53 "vstr echovfun53; set fl vstr s6v54; set rl vstr s6v52; set esc vstr l6; set setvfun vstr vfun53"
set s6v54 "vstr echovfun54; set fl vstr s6v55; set rl vstr s6v53; set esc vstr l6; set setvfun vstr vfun54"
set s6v55 "vstr echovfun55; set fl vstr s6v56; set rl vstr s6v54; set esc vstr l6; set setvfun vstr vfun55"
set s6v56 "vstr echovfun56; set fl vstr s6v57; set rl vstr s6v55; set esc vstr l6; set setvfun vstr vfun56"
set s6v57 "vstr echovfun57; set fl vstr s6v58; set rl vstr s6v56; set esc vstr l6; set setvfun vstr vfun57"
set s6v58 "vstr echovfun58; set fl vstr s6v59; set rl vstr s6v57; set esc vstr l6; set setvfun vstr vfun58"
set s6v59 "vstr echovfun59; set fl vstr s6v60; set rl vstr s6v58; set esc vstr l6; set setvfun vstr vfun59"
set s6v60 "vstr echovfun60; set fl vstr s6v51; set rl vstr s6v59; set esc vstr l6; set setvfun vstr vfun60"

set s7v61 "vstr echovfun61; set fl vstr s7v62; set rl vstr s6v70; set esc vstr l7; set setvfun vstr vfun61"
set s7v62 "vstr echovfun62; set fl vstr s7v63; set rl vstr s6v61; set esc vstr l7; set setvfun vstr vfun62"
set s7v63 "vstr echovfun63; set fl vstr s7v64; set rl vstr s6v62; set esc vstr l7; set setvfun vstr vfun63"
set s7v64 "vstr echovfun64; set fl vstr s7v65; set rl vstr s6v63; set esc vstr l7; set setvfun vstr vfun64"
set s7v65 "vstr echovfun65; set fl vstr s7v66; set rl vstr s6v64; set esc vstr l7; set setvfun vstr vfun65"
set s7v66 "vstr echovfun66; set fl vstr s7v67; set rl vstr s6v65; set esc vstr l7; set setvfun vstr vfun66"
set s7v67 "vstr echovfun67; set fl vstr s7v68; set rl vstr s6v66; set esc vstr l7; set setvfun vstr vfun67"
set s7v68 "vstr echovfun68; set fl vstr s7v69; set rl vstr s6v67; set esc vstr l7; set setvfun vstr vfun68"
set s7v69 "vstr echovfun69; set fl vstr s7v70; set rl vstr s6v68; set esc vstr l7; set setvfun vstr vfun69"
set s7v70 "vstr echovfun70; set fl vstr s7v61; set rl vstr s6v69; set esc vstr l7; set setvfun vstr vfun70"

set s8v71 "vstr echovfun71; set fl vstr s8v72; set rl vstr s6v80; set esc vstr l8; set setvfun vstr vfun71"
set s8v72 "vstr echovfun72; set fl vstr s8v73; set rl vstr s6v71; set esc vstr l8; set setvfun vstr vfun72"
set s8v73 "vstr echovfun73; set fl vstr s8v74; set rl vstr s6v72; set esc vstr l8; set setvfun vstr vfun73"
set s8v74 "vstr echovfun74; set fl vstr s8v75; set rl vstr s6v73; set esc vstr l8; set setvfun vstr vfun74"
set s8v75 "vstr echovfun75; set fl vstr s8v76; set rl vstr s6v74; set esc vstr l8; set setvfun vstr vfun75"
set s8v76 "vstr echovfun76; set fl vstr s8v77; set rl vstr s6v75; set esc vstr l8; set setvfun vstr vfun76"
set s8v77 "vstr echovfun77; set fl vstr s8v78; set rl vstr s6v76; set esc vstr l8; set setvfun vstr vfun77"
set s8v78 "vstr echovfun78; set fl vstr s8v79; set rl vstr s6v77; set esc vstr l8; set setvfun vstr vfun78"
set s8v79 "vstr echovfun79; set fl vstr s8v80; set rl vstr s6v78; set esc vstr l8; set setvfun vstr vfun79"
set s8v80 "vstr echovfun80; set fl vstr s8v71; set rl vstr s6v79; set esc vstr l8; set setvfun vstr vfun80"

set s9v81 "vstr echovfun81; set fl vstr s9v82; set rl vstr s6v90; set esc vstr l9; set setvfun vstr vfun81"
set s9v82 "vstr echovfun82; set fl vstr s9v83; set rl vstr s6v81; set esc vstr l9; set setvfun vstr vfun82"
set s9v83 "vstr echovfun83; set fl vstr s9v84; set rl vstr s6v82; set esc vstr l9; set setvfun vstr vfun83"
set s9v84 "vstr echovfun84; set fl vstr s9v85; set rl vstr s6v83; set esc vstr l9; set setvfun vstr vfun84"
set s9v85 "vstr echovfun85; set fl vstr s9v86; set rl vstr s6v84; set esc vstr l9; set setvfun vstr vfun85"
set s9v86 "vstr echovfun86; set fl vstr s9v87; set rl vstr s6v85; set esc vstr l9; set setvfun vstr vfun86"
set s9v87 "vstr echovfun87; set fl vstr s9v88; set rl vstr s6v86; set esc vstr l9; set setvfun vstr vfun87"
set s9v88 "vstr echovfun88; set fl vstr s9v89; set rl vstr s6v87; set esc vstr l9; set setvfun vstr vfun88"
set s9v89 "vstr echovfun89; set fl vstr s9v90; set rl vstr s6v88; set esc vstr l9; set setvfun vstr vfun89"
set s9v90 "vstr echovfun90; set fl vstr s9v91; set rl vstr s6v89; set esc vstr l9; set setvfun vstr vfun90"
set s9v91 "vstr echovfun91; set fl vstr s9v81; set rl vstr s6v90; set esc vstr l9; set setvfun vstr vfun91"

Edited by LEWLER
Link to comment
Share on other sites

Lewler Thanks for your suggestions and help. The reverse scrolling thing passed my mind when i prepared the jaymod vsay script but didn't have an idea how to do it. Will come back here and see what i can do. I don't have any coding expertise, i just modified Yvo's name change cfg to suit the vsay cfg. You or for that matter anybody can change and modify this script freely. Go ahead and show your magic.

Link to comment
Share on other sites

Lewler Thanks for your suggestions and help. The reverse scrolling thing passed my mind when i prepared the jaymod vsay script but didn't have an idea how to do it. Will come back here and see what i can do. I don't have any coding expertise, i just modified Yvo's name change cfg to suit the vsay cfg. You or for that matter anybody can change and modify this script freely. Go ahead and show your magic.

 

Glad I could help!

 

Reverse engineering someone else's work is the best way to learn how to write scripts. Even once you know all there is to know it still saves you a HUGE amount of time to edit a similar script instead of starting from scratch.

 

Will come back here and see what i can do

 

The final script I posted at 11:17am is pretty much ready to go. Just change the 4 binds to the key's you want to use and copy/paste all 91 "vfun" and all 91 "echovfun" script lines into the file and it's done.

 

If you have xfire and plan on learning/writing more scripts add me. You can also PM me here. I'll help out wherever I can! I love writing scripts! I currently got quite the project going on myself!

 

xfire username: standal0ne

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.