First. I think there should be a site or a section on one devoted just to scripting... Scripting is cool!
You can do a lot of nice things with it.
I enjoy creating characters with scripts, i mean, making .cfg's that set up different nickname, saber color, force powers, name, and key bindings. Then you can fast switch to the right character for a special game, server, or ocation...
about cheatscripting... im not on it... i prefer practicing and getting better everyday. Why did i get the game for if i am not going to enjoy it. Darkside scripting is so absurd that maybe sometime someone will come out with a script that plays on its own. Whats the point of it?
That doesnt mean that i wont try to script moves just for the fun. Altough id never use it on game. Many of you -i know- darkside script just because you enjoy 'coding' new specials and stuff. Admit it. Scripting is another way to mine fun out of jk2.
There should be a scripting contest!!!!
WOOOOOHOOOOO!!!!!!
It works! I did a practice one modifying the sample one by NemoX using the 4 hidden reborn models. Works great!
set PickModel "vstr model_00"
set NextModel "vstr model_01"
set PrevModel "vstr model_02"
set model_00 "set PickModel model reborn/acrobat; set PrevModel vstr model_03; set NextModel vstr model_01; echo Reborn Acrobat"
set model_01 "set PickModel model reborn/boss; set PrevModel vstr model_00; set NextModel vstr model_02; echo Reborn Boss"
set model_02 "set PickModel model reborn/fencer; set PrevModel vstr model_01; set NextModel vstr model_03; echo Reborn Fencer"
set model_03 "set PickModel model reborn/forceuser; set PrevModel vstr model_02; set NextModel vstr model_00; echo Reborn Force User"
bind 2 vstr PickModel
bind 3 vstr NextModel
bind 4 vstr PrevModel
Now I'll make one with all the models & post it as soon as I'm done.
those force changing binds work.. i dunno what that stuff does or why it does what it does...maybe someone who scripts this can explain! :)
those force changing binds work Raz.. i dunno what that stuff does or why it does what it does...maybe someone who scripts this can explain! :)
theres also another inbuilt model: jedi/j2, but he still looks like a pediphile
Originally posted by thehomicidalegg
theres also another inbuilt model: jedi/j2, but he still looks like a pediphile
I thought it was jedi/jk1 & I couldn't get it to work, so I left it out.
Oh well, LOL.
EDIT NOTE: I have updated the script to include the hidden jedi/j2 model that we forgot about. Thanks to HomicidalEgg for the heads up. The script now has all 91 models in alphabetical order.
*********************************************
Here it is fellas! All the playable models (including the hidden ones) to scroll through & select from.
Thanks to everyone for the input. This is more your bind than mine, I just did the grunt work, lol.
This is formatted a bit differently from the practice one I did above with the 4 hidden reborn models, so don't mix the two. Otherwise it is ready to go. Just copy & paste, & change the bottom 3 bind keys to whatever you want. I've already tested it & it seems to work great. Enjoy!
set UseModel "vstr Model-01"
set NextModel "vstr Model-02"
set PreviousModel "vstr Model-03"
set Model-01 "set UseModel model bespin_cop; set PreviousModel vstr Model-91; set NextModel vstr Model-02; echo bespin_cop"
set Model-02 "set UseModel model bespin_cop/blue; set PreviousModel vstr Model-01; set NextModel vstr Model-03; echo bespin_cop/blue"
set Model-03 "set UseModel model bespin_cop/red; set PreviousModel vstr Model-02; set NextModel vstr Model-04; echo bespin_cop/red"
set Model-04 "set UseModel model chiss; set PreviousModel vstr Model-03; set NextModel vstr Model-05; echo chiss"
set Model-05 "set UseModel model chiss/blue; set PreviousModel vstr Model-04; set NextModel vstr Model-06; echo chiss/blue"
set Model-06 "set UseModel model chiss/red; set PreviousModel vstr Model-05; set NextModel vstr Model-07; echo chiss/red"
set Model-07 "set UseModel model desann; set PreviousModel vstr Model-06; set NextModel vstr Model-08; echo desann"
set Model-08 "set UseModel model desann/blue; set PreviousModel vstr Model-07; set NextModel vstr Model-09; echo desann/blue"
set Model-09 "set UseModel model desann/red; set PreviousModel vstr Model-08; set NextModel vstr Model-10; echo desann/red"
set Model-10 "set UseModel model galak; set PreviousModel vstr Model-09; set NextModel vstr Model-11; echo galak"
set Model-11 "set UseModel model galak/blue; set PreviousModel vstr Model-10; set NextModel vstr Model-12; echo galak/blue"
set Model-12 "set UseModel model galak/red; set PreviousModel vstr Model-11; set NextModel vstr Model-13; echo galak/red"
set Model-13 "set UseModel model gran; set PreviousModel vstr Model-12; set NextModel vstr Model-14; echo gran"
set Model-14 "set UseModel model gran/blue; set PreviousModel vstr Model-13; set NextModel vstr Model-15; echo gran/blue"
set Model-15 "set UseModel model gran/red; set PreviousModel vstr Model-14; set NextModel vstr Model-16; echo gran/red"
set Model-16 "set UseModel model imperial; set PreviousModel vstr Model-15; set NextModel vstr Model-17; echo imperial"
set Model-17 "set UseModel model imperial/blue; set PreviousModel vstr Model-16; set NextModel vstr Model-18; echo imperial/blue"
set Model-18 "set UseModel model imperial/red; set PreviousModel vstr Model-17; set NextModel vstr Model-19; echo imperial/red"
set Model-19 "set UseModel model imperial/commander; set PreviousModel vstr Model-18; set NextModel vstr Model-20; echo imperial/commander"
set Model-20 "set UseModel model imperial/officer; set PreviousModel vstr Model-19; set NextModel vstr Model-21; echo imperial/officer"
set Model-21 "set UseModel model imperial_worker; set PreviousModel vstr Model-20; set NextModel vstr Model-22; echo imperial_worker"
set Model-22 "set UseModel model imperial_worker/blue; set PreviousModel vstr Model-21; set NextModel vstr Model-23; echo imperial_worker/blue"
set Model-23 "set UseModel model imperial_worker/red; set PreviousModel vstr Model-22; set NextModel vstr Model-24; echo imperial_worker/red"
set Model-24 "set UseModel model jan; set PreviousModel vstr Model-23; set NextModel vstr Model-25; echo jan"
set Model-25 "set UseModel model jan/blue; set PreviousModel vstr Model-24; set NextModel vstr Model-26; echo jan/blue"
set Model-26 "set UseModel model jan/red; set PreviousModel vstr Model-25; set NextModel vstr Model-27; echo jan/red"
set Model-27 "set UseModel model jedi; set PreviousModel vstr Model-26; set NextModel vstr Model-28; echo jedi"
set Model-28 "set UseModel model jedi/blue; set PreviousModel vstr Model-27; set NextModel vstr Model-29; echo jedi/blue"
set Model-29 "set UseModel model jedi/red; set PreviousModel vstr Model-28; set NextModel vstr Model-30; echo jedi/red"
set Model-30 "set UseModel model jedi/j2; set PreviousModel vstr Model-29; set NextModel vstr Model-31; echo jedi2"
set Model-31 "set UseModel model jeditrainer; set PreviousModel vstr Model-30; set NextModel vstr Model-32; echo jeditrainer"
set Model-32 "set UseModel model jeditrainer/blue; set PreviousModel vstr Model-31; set NextModel vstr Model-33; echo jeditrainer/blue"
set Model-33 "set UseModel model jeditrainer/red; set PreviousModel vstr Model-32; set NextModel vstr Model-34; echo jeditrainer/red"
set Model-34 "set UseModel model kyle; set PreviousModel vstr Model-33; set NextModel vstr Model-35; echo kyle"
set Model-35 "set UseModel model kyle/blue; set PreviousModel vstr Model-34; set NextModel vstr Model-36; echo kyle/blue"
set Model-36 "set UseModel model kyle/red; set PreviousModel vstr Model-35; set NextModel vstr Model-37; echo kyle/red"
set Model-37 "set UseModel model lando; set PreviousModel vstr Model-36; set NextModel vstr Model-38; echo lando"
set Model-38 "set UseModel model lando/blue; set PreviousModel vstr Model-37; set NextModel vstr Model-39; echo lando/blue"
set Model-39 "set UseModel model lando/red; set PreviousModel vstr Model-38; set NextModel vstr Model-40; echo lando/red"
set Model-40 "set UseModel model luke; set PreviousModel vstr Model-39; set NextModel vstr Model-41; echo luke"
set Model-41 "set UseModel model luke/blue; set PreviousModel vstr Model-40; set NextModel vstr Model-42; echo luke/blue"
set Model-42 "set UseModel model luke/red; set PreviousModel vstr Model-41; set NextModel vstr Model-43; echo luke/red"
set Model-43 "set UseModel model monmothma; set PreviousModel vstr Model-42; set NextModel vstr Model-44; echo monmothma"
set Model-44 "set UseModel model monmothma/blue; set PreviousModel vstr Model-43; set NextModel vstr Model-45; echo monmothma/blue"
set Model-45 "set UseModel model monmothma/red; set PreviousModel vstr Model-44; set NextModel vstr Model-46; echo monmothma/red"
set Model-46 "set UseModel model morgan/default_mp; set PreviousModel vstr Model-45; set NextModel vstr Model-47; echo morgan"
set Model-47 "set UseModel model morgan/blue; set PreviousModel vstr Model-46; set NextModel vstr Model-48; echo morgan/blue"
set Model-48 "set UseModel model morgan/red; set PreviousModel vstr Model-47; set NextModel vstr Model-49; echo morgan/red"
set Model-49 "set UseModel model prisoner; set PreviousModel vstr Model-48; set NextModel vstr Model-50; echo prisoner"
set Model-50 "set UseModel model prisoner/blue; set PreviousModel vstr Model-49; set NextModel vstr Model-51; echo prisoner/blue"
set Model-51 "set UseModel model prisoner/red; set PreviousModel vstr Model-50; set NextModel vstr Model-52; echo prisoner/red"
set Model-52 "set UseModel model rebel; set PreviousModel vstr Model-51; set NextModel vstr Model-53; echo rebel"
set Model-53 "set UseModel model rebel/blue; set PreviousModel vstr Model-52; set NextModel vstr Model-54; echo rebel/blue"
set Model-54 "set UseModel model rebel/red; set PreviousModel vstr Model-53; set NextModel vstr Model-55; echo rebel/red"
set Model-55 "set UseModel model reborn; set PreviousModel vstr Model-54; set NextModel vstr Model-56; echo reborn"
set Model-56 "set UseModel model reborn/blue; set PreviousModel vstr Model-55; set NextModel vstr Model-57; echo reborn/blue"
set Model-57 "set UseModel model reborn/red; set PreviousModel vstr Model-56; set NextModel vstr Model-58; echo reborn/red"
set Model-58 "set UseModel model reborn/acrobat; set PreviousModel vstr Model-57; set NextModel vstr Model-59; echo reborn/acrobat"
set Model-59 "set UseModel model reborn/boss; set PreviousModel vstr Model-58; set NextModel vstr Model-60; echo reborn/boss"
set Model-60 "set UseModel model reborn/fencer; set PreviousModel vstr Model-59; set NextModel vstr Model-61; echo reborn/fencer"
set Model-61 "set UseModel model reborn/forceuser; set PreviousModel vstr Model-60; set NextModel vstr Model-62; echo reborn/forceuser"
set Model-62 "set UseModel model reelo; set PreviousModel vstr Model-61; set NextModel vstr Model-63; echo reelo"
set Model-63 "set UseModel model reelo/blue; set PreviousModel vstr Model-62; set NextModel vstr Model-64; echo reelo/blue"
set Model-64 "set UseModel model reelo/red; set PreviousModel vstr Model-63; set NextModel vstr Model-65; echo reelo/red"
set Model-65 "set UseModel model rodian; set PreviousModel vstr Model-64; set NextModel vstr Model-66; echo rodian"
set Model-66 "set UseModel model rodian/blue; set PreviousModel vstr Model-65; set NextModel vstr Model-67; echo rodian/blue"
set Model-67 "set UseModel model rodian/red; set PreviousModel vstr Model-66; set NextModel vstr Model-68; echo rodian/red"
set Model-68 "set UseModel model shadowtrooper; set PreviousModel vstr Model-67; set NextModel vstr Model-69; echo shadowtrooper"
set Model-69 "set UseModel model shadowtrooper/blue; set PreviousModel vstr Model-68; set NextModel vstr Model-70; echo shadowtrooper/blue"
set Model-70 "set UseModel model shadowtrooper/red; set PreviousModel vstr Model-69; set NextModel vstr Model-71; echo shadowtrooper/red"
set Model-71 "set UseModel model stormpilot; set PreviousModel vstr Model-70; set NextModel vstr Model-72; echo stormpilot"
set Model-72 "set UseModel model stormpilot/blue; set PreviousModel vstr Model-71; set NextModel vstr Model-73; echo stormpilot/blue"
set Model-73 "set UseModel model stormpilot/red; set PreviousModel vstr Model-72; set NextModel vstr Model-74; echo stormpilot/red"
set Model-74 "set UseModel model stormtrooper; set PreviousModel vstr Model-73; set NextModel vstr Model-75; echo stormtrooper"
set Model-75 "set UseModel model stormtrooper/blue; set PreviousModel vstr Model-74; set NextModel vstr Model-76; echo stormtrooper/blue"
set Model-76 "set UseModel model stormtrooper/red; set PreviousModel vstr Model-75; set NextModel vstr Model-77; echo stormtrooper/red"
set Model-77 "set UseModel model swamptrooper; set PreviousModel vstr Model-76; set NextModel vstr Model-78; echo swamptrooper"
set Model-78 "set UseModel model swamptrooper/blue; set PreviousModel vstr Model-77; set NextModel vstr Model-79; echo swamptrooper/blue"
set Model-79 "set UseModel model swamptrooper/red; set PreviousModel vstr Model-78; set NextModel vstr Model-80; echo swamptrooper/red"
set Model-80 "set UseModel model tavion; set PreviousModel vstr Model-79; set NextModel vstr Model-81; echo tavion"
set Model-81 "set UseModel model tavion/blue; set PreviousModel vstr Model-80; set NextModel vstr Model-82; echo tavion/blue"
set Model-82 "set UseModel model tavion/red; set PreviousModel vstr Model-81; set NextModel vstr Model-83; echo tavion/red"
set Model-83 "set UseModel model trandoshan; set PreviousModel vstr Model-82; set NextModel vstr Model-84; echo trandoshan"
set Model-84 "set UseModel model trandoshan/blue; set PreviousModel vstr Model-83; set NextModel vstr Model-85; echo trandoshan/blue"
set Model-85 "set UseModel model trandoshan/red; set PreviousModel vstr Model-84; set NextModel vstr Model-86; echo trandoshan/red"
set Model-86 "set UseModel model ugnaught; set PreviousModel vstr Model-85; set NextModel vstr Model-87; echo ugnaught"
set Model-87 "set UseModel model ugnaught/blue; set PreviousModel vstr Model-86; set NextModel vstr Model-88; echo ugnaught/blue"
set Model-88 "set UseModel model ugnaught/red; set PreviousModel vstr Model-87; set NextModel vstr Model-89; echo ugnaught/red"
set Model-89 "set UseModel model weequay; set PreviousModel vstr Model-88; set NextModel vstr Model-90; echo weequay"
set Model-90 "set UseModel model weequay/blue; set PreviousModel vstr Model-89; set NextModel vstr Model-91; echo weequay/blue"
set Model-91 "set UseModel model weequay/red; set PreviousModel vstr Model-90; set NextModel vstr Model-01; echo weequay/red"
bind x vstr UseModel
bind y vstr NextModel
bind z vstr PreviousModel
LOL, grunt work is an understatement...I commend you on your patience because i'm sure it must have taken quite a bit of time to do this...Good Job on the script.
I agree with NemoX, grunt work is an understatement. Thanks for the time that you've put into that script.
ToppDog, great work...now if I only found few keys for the use of this...
EDIT: I have it as
bind kp_plus vstr UseModel
bind kp_minus vstr NextModel
bind kp_star vstr PreviousModel
and I think you should split the script into red and blue, this is too many to go through...
maybe have 2 EXTRA buttons, the same way as now but it goes through ONLY normal (default) models but buld in two more keys, one for blue and one for red team support, so I go through all the models but if I want one in red/blue I'll press a key and it'll choose blue, press another key and it'll choose red, I hope you understand what I'm trying to say here...
Originally posted by remark 666
and I think you should split the script into red and blue, this is too many to go through...
maybe have 2 EXTRA buttons, the same way as now but it goes through ONLY normal (default) models but buld in two more keys, one for blue and one for red team support, so I go through all the models but if I want one in red/blue I'll press a key and it'll choose blue, press another key and it'll choose red, I hope you understand what I'm trying to say here...
Yeah I thought of that too. But I'm not sure it could be included in the same script. I think you'd have to have three separate scripts using the same format but with slightly different names. And you would also have to either change the model name tag slightly, or make sure that none of the model tags repeat the same number if unaltered. For example:
Normal models 1-35
set UseModel "vstr Model-01"
set NextModel "vstr Model-02"
set PreviousModel "vstr Model-03"
Red Models 36-63
set UseRedModel "vstr Model_01" or "vstr Model-36
set NextRedModel "vstr Model_02" or "vstr Model-37
set PreviousRedModel "vstr Model_03" or "vstr Model-38
Blue Models 64-91
set UseBlueModel "vstr Model*01" or "vstr Model-64
set NextBlueModel "vstr Model*02" or "vstr Model-65
set PreviousBlueModel "vstr Model*03" or "vstr Model-66
You could use three rows of three keys each to line up the three scripts, such as:
Keypad 7, 8, 9 for the normal script
Keypad 4, 5, 6 for the red script
Keypad 1, 2, 3 for the blue script
Anyway, I'm sure you get the idea. I will work on this too but I wanted to get that out for anyone who doesn't want to wait. I'm off to catch dinner & a flick.
Thanks again guys,
Later
great idea, it would ages take to circle through the 90+ skins
I have another idea using 3 scripts but still use the same keys to cycle through the models, only 1 new key would need to be added.
Ex. Use 1, 2, 3 for each script, all you would need to add is at the end of the default script add the line: bind KP_INS exec Blue.cfg
at the end of the blue script add the line bind KP_INS exec red.cfg and at the end of the red script add the line bind KP_INS exec default.cfg
Hope that made sense.
Here you go, I have tested it and it works.
//Start Of Default Models Script
//Save Me As ModelsDefault.cfg
set UseModel "vstr Model-01"
set NextModel "vstr Model-02"
set PreviousModel "vstr Model-35"
set Model-01 "set UseModel model bespin_cop; set PreviousModel vstr Model-35; set NextModel vstr Model-02; echo Bespin Cop"
set Model-02 "set UseModel model chiss; set PreviousModel vstr Model-01; set NextModel vstr Model-03; echo Chiss"
set Model-03 "set UseModel model desann; set PreviousModel vstr Model-02; set NextModel vstr Model-04; echo Desann"
set Model-04 "set UseModel model galak; set PreviousModel vstr Model-03; set NextModel vstr Model-05; echo Galak"
set Model-05 "set UseModel model gran; set PreviousModel vstr Model-04; set NextModel vstr Model-06; echo Gran"
set Model-06 "set UseModel model imperial; set PreviousModel vstr Model-05; set NextModel vstr Model-07; echo Imperial"
set Model-07 "set UseModel model imperial/commander; set PreviousModel vstr Model-06; set NextModel vstr Model-08; echo Imperial Commander"
set Model-08 "set UseModel model imperial/officer; set PreviousModel vstr Model-07; set NextModel vstr Model-09; echo Imperial Officer"
set Model-09 "set UseModel model imperial_worker; set PreviousModel vstr Model-08; set NextModel vstr Model-10; echo Imperial Worker"
set Model-10 "set UseModel model jan; set PreviousModel vstr Model-09; set NextModel vstr Model-11; echo Jan"
set Model-11 "set UseModel model jedi; set PreviousModel vstr Model-10; set NextModel vstr Model-12; echo Jedi"
set Model-12 "set UseModel model jedi/j2; set PreviousModel vstr Model-11; set NextModel vstr Model-13; echo Jedi 2"
set Model-13 "set UseModel model jeditrainer; set PreviousModel vstr Model-12; set NextModel vstr Model-14; echo Jedi Trainer"
set Model-14 "set UseModel model kyle; set PreviousModel vstr Model-13; set NextModel vstr Model-15; echo Kyle"
set Model-15 "set UseModel model lando; set PreviousModel vstr Model-14; set NextModel vstr Model-16; echo Lando"
set Model-16 "set UseModel model luke; set PreviousModel vstr Model-15; set NextModel vstr Model-17; echo Luke"
set Model-17 "set UseModel model monmothma; set PreviousModel vstr Model-16; set NextModel vstr Model-18; echo Mon Mothma"
set Model-18 "set UseModel model morgan/default_mp; set PreviousModel vstr Model-17; set NextModel vstr Model-19; echo Morgan Ghost"
set Model-19 "set UseModel model prisoner; set PreviousModel vstr Model-18; set NextModel vstr Model-20; echo Prisoner"
set Model-20 "set UseModel model rebel; set PreviousModel vstr Model-19; set NextModel vstr Model-21; echo Rebel"
set Model-21 "set UseModel model reborn; set PreviousModel vstr Model-20; set NextModel vstr Model-22; echo Reborn"
set Model-22 "set UseModel model reborn/acrobat; set PreviousModel vstr Model-21; set NextModel vstr Model-23; echo Reborn Acrobat"
set Model-23 "set UseModel model reborn/boss; set PreviousModel vstr Model-22; set NextModel vstr Model-24; echo Reborn Boss"
set Model-24 "set UseModel model reborn/fencer; set PreviousModel vstr Model-23; set NextModel vstr Model-25; echo Reborn Fencer"
set Model-25 "set UseModel model reborn/forceuser; set PreviousModel vstr Model-24; set NextModel vstr Model-26; echo Reborn Forceuser"
set Model-26 "set UseModel model reelo; set PreviousModel vstr Model-25; set NextModel vstr Model-27; echo Reelo"
set Model-27 "set UseModel model rodian; set PreviousModel vstr Model-26; set NextModel vstr Model-28; echo Rodian"
set Model-28 "set UseModel model shadowtrooper; set PreviousModel vstr Model-27; set NextModel vstr Model-29; echo Shadowtrooper"
set Model-29 "set UseModel model stormpilot; set PreviousModel vstr Model-28; set NextModel vstr Model-30; echo Stormpilot"
set Model-30 "set UseModel model stormtrooper; set PreviousModel vstr Model-29; set NextModel vstr Model-31; echo Stormtrooper"
set Model-31 "set UseModel model swamptrooper; set PreviousModel vstr Model-30; set NextModel vstr Model-32; echo Swamptrooper"
set Model-32 "set UseModel model tavion; set PreviousModel vstr Model-31; set NextModel vstr Model-33; echo Tavion"
set Model-33 "set UseModel model trandoshan; set PreviousModel vstr Model-32; set NextModel vstr Model-34; echo Trandoshan"
set Model-34 "set UseModel model ugnaught; set PreviousModel vstr Model-33; set NextModel vstr Model-35; echo Ugnaught"
set Model-35 "set UseModel model weequay; set PreviousModel vstr Model-34; set NextModel vstr Model-01; echo Weequay"
bind del vstr "UseModel"
bind end vstr "NextModel"
bind pgdn "vstr PreviousModel"
bind ins exec modelsblue.cfg
//End Of Default Models Script
//Start Of Blue Models Script
//Save Me As ModelsBlue.cfg
set UseModel "vstr Model-01"
set NextModel "vstr Model-02"
set PreviousModel "vstr Model-28"
set Model-01 "set UseModel model bespin_cop/blue; set PreviousModel vstr Model-28; set NextModel vstr Model-02; echo ^5Bespin ^5Cop"
set Model-02 "set UseModel model chiss/blue; set PreviousModel vstr Model-01; set NextModel vstr Model-03; echo ^5Chiss"
set Model-03 "set UseModel model desann/blue; set PreviousModel vstr Model-02; set NextModel vstr Model-04; echo ^5Desann"
set Model-04 "set UseModel model galak/blue; set PreviousModel vstr Model-03; set NextModel vstr Model-05; echo ^5Galak"
set Model-05 "set UseModel model gran/blue; set PreviousModel vstr Model-04; set NextModel vstr Model-06; echo ^5Gran"
set Model-06 "set UseModel model imperial/blue; set PreviousModel vstr Model-05; set NextModel vstr Model-07; echo ^5Imperial"
set Model-07 "set UseModel model imperial_worker/blue; set PreviousModel vstr Model-06; set NextModel vstr Model-08; echo ^5Imperial ^5Worker"
set Model-08 "set UseModel model jan/blue; set PreviousModel vstr Model-07; set NextModel vstr Model-09; echo ^5Jan"
set Model-09 "set UseModel model jedi/blue; set PreviousModel vstr Model-08; set NextModel vstr Model-10; echo ^5Jedi"
set Model-10 "set UseModel model jeditrainer/blue; set PreviousModel vstr Model-09; set NextModel vstr Model-11; echo ^5Jedi ^5Trainer"
set Model-11 "set UseModel model kyle/blue; set PreviousModel vstr Model-10; set NextModel vstr Model-12; echo ^5Kyle"
set Model-12 "set UseModel model lando/blue; set PreviousModel vstr Model-11; set NextModel vstr Model-13; echo ^5Lando"
set Model-13 "set UseModel model luke/blue; set PreviousModel vstr Model-12; set NextModel vstr Model-14; echo ^5Luke"
set Model-14 "set UseModel model monmothma/blue; set PreviousModel vstr Model-13; set NextModel vstr Model-15; echo ^5Mon ^5Mothma"
set Model-15 "set UseModel model morgan/blue; set PreviousModel vstr Model-14; set NextModel vstr Model-16; echo ^5Morgan"
set Model-16 "set UseModel model prisoner/blue; set PreviousModel vstr Model-15; set NextModel vstr Model-17; echo ^5Prisoner"
set Model-17 "set UseModel model rebel/blue; set PreviousModel vstr Model-16; set NextModel vstr Model-18; echo ^5Rebel"
set Model-18 "set UseModel model reborn/blue; set PreviousModel vstr Model-17; set NextModel vstr Model-19; echo ^5Reborn"
set Model-19 "set UseModel model reelo/blue; set PreviousModel vstr Model-18; set NextModel vstr Model-20; echo ^5Reelo"
set Model-20 "set UseModel model rodian/blue; set PreviousModel vstr Model-19; set NextModel vstr Model-21; echo ^5Rodian"
set Model-21 "set UseModel model shadowtrooper/blue; set PreviousModel vstr Model-20; set NextModel vstr Model-22; echo ^5Shadowtrooper"
set Model-22 "set UseModel model stormpilot/blue; set PreviousModel vstr Model-21; set NextModel vstr Model-23; echo ^5Stormpilot"
set Model-23 "set UseModel model stormtrooper/blue; set PreviousModel vstr Model-22; set NextModel vstr Model-24; echo ^5Stormtrooper"
set Model-24 "set UseModel model swamptrooper/blue; set PreviousModel vstr Model-23; set NextModel vstr Model-25; echo ^5Swamptrooper"
set Model-25 "set UseModel model tavion/blue; set PreviousModel vstr Model-24; set NextModel vstr Model-26; echo ^5Tavion"
set Model-26 "set UseModel model trandoshan/blue; set PreviousModel vstr Model-25; set NextModel vstr Model-27; echo ^5Trandoshan"
set Model-27 "set UseModel model ugnaught/blue; set PreviousModel vstr Model-26; set NextModel vstr Model-28; echo ^5Ugnaught"
set Model-28 "set UseModel model weequay/blue; set PreviousModel vstr Model-27; set NextModel vstr Model-01; echo ^5Weequay"
bind del vstr "UseModel"
bind end vstr "NextModel"
bind pgdn "vstr PreviousModel"
bind ins "exec modelsred.cfg"
//End Of Blue Models Script
//Start Of Red Models Script
//Save Me As ModelsRed.cfg
set UseModel "vstr Model-01"
set NextModel "vstr Model-02"
set PreviousModel "vstr Model-28"
set Model-01 "set UseModel model bespin_cop/red; set PreviousModel vstr Model-28; set NextModel vstr Model-02; echo ^1Bespin ^1Cop"
set Model-02 "set UseModel model chiss/red; set PreviousModel vstr Model-01; set NextModel vstr Model-03; echo ^1Chiss"
set Model-03 "set UseModel model desann/red; set PreviousModel vstr Model-02; set NextModel vstr Model-04; echo ^1Desann"
set Model-04 "set UseModel model galak/red; set PreviousModel vstr Model-03; set NextModel vstr Model-05; echo ^1Galak"
set Model-05 "set UseModel model gran/red; set PreviousModel vstr Model-04; set NextModel vstr Model-06; echo ^1Gran"
set Model-06 "set UseModel model imperial/red; set PreviousModel vstr Model-05; set NextModel vstr Model-07; echo ^1Imperial"
set Model-07 "set UseModel model imperial_worker/red; set PreviousModel vstr Model-06; set NextModel vstr Model-08; echo ^1Imperial ^1Worker"
set Model-08 "set UseModel model jan/red; set PreviousModel vstr Model-07; set NextModel vstr Model-09; echo ^1Jan"
set Model-09 "set UseModel model jedi/red; set PreviousModel vstr Model-08; set NextModel vstr Model-10; echo ^1Jedi"
set Model-10 "set UseModel model jeditrainer/red; set PreviousModel vstr Model-09; set NextModel vstr Model-11; echo ^1Jedi ^1Trainer"
set Model-11 "set UseModel model kyle/red; set PreviousModel vstr Model-10; set NextModel vstr Model-12; echo ^1Kyle"
set Model-12 "set UseModel model lando/red; set PreviousModel vstr Model-11; set NextModel vstr Model-13; echo ^1Lando"
set Model-13 "set UseModel model luke/red; set PreviousModel vstr Model-12; set NextModel vstr Model-14; echo ^1Luke"
set Model-14 "set UseModel model monmothma/red; set PreviousModel vstr Model-13; set NextModel vstr Model-15; echo ^1Mon ^1Mothma"
set Model-15 "set UseModel model morgan/red; set PreviousModel vstr Model-14; set NextModel vstr Model-16; echo ^1Morgan"
set Model-16 "set UseModel model prisoner/red; set PreviousModel vstr Model-15; set NextModel vstr Model-17; echo ^1Prisoner"
set Model-17 "set UseModel model rebel/red; set PreviousModel vstr Model-16; set NextModel vstr Model-18; echo ^1Rebel"
set Model-18 "set UseModel model reborn/red; set PreviousModel vstr Model-17; set NextModel vstr Model-19; echo ^1Reborn"
set Model-19 "set UseModel model reelo/red; set PreviousModel vstr Model-18; set NextModel vstr Model-20; echo ^1Reelo"
set Model-20 "set UseModel model rodian/red; set PreviousModel vstr Model-19; set NextModel vstr Model-21; echo ^1Rodian"
set Model-21 "set UseModel model shadowtrooper/red; set PreviousModel vstr Model-20; set NextModel vstr Model-22; echo ^1Shadowtrooper"
set Model-22 "set UseModel model stormpilot/red; set PreviousModel vstr Model-21; set NextModel vstr Model-23; echo ^1Stormpilot"
set Model-23 "set UseModel model stormtrooper/red; set PreviousModel vstr Model-22; set NextModel vstr Model-24; echo ^1Stormtrooper"
set Model-24 "set UseModel model swamptrooper/red; set PreviousModel vstr Model-23; set NextModel vstr Model-25; echo ^1Swamptrooper"
set Model-25 "set UseModel model tavion/red; set PreviousModel vstr Model-24; set NextModel vstr Model-26; echo ^1Tavion"
set Model-26 "set UseModel model trandoshan/red; set PreviousModel vstr Model-25; set NextModel vstr Model-27; echo ^1Trandoshan"
set Model-27 "set UseModel model ugnaught/red; set PreviousModel vstr Model-26; set NextModel vstr Model-28; echo ^1Ugnaught"
set Model-28 "set UseModel model weequay/red; set PreviousModel vstr Model-27; set NextModel vstr Model-01; echo ^1Weequay"
bind del vstr "UseModel"
bind end vstr "NextModel"
bind pgdn "vstr PreviousModel"
bind ins "exec modelsdefault.cfg"
//End Of Red Models Script
Please know that switching models too fast can cause a command overflow in the server and the player will most likely be auto-kicked by the server.
Dak_iSuk,
I understand what you're saying, but these scripts are modified so that they won't do that. These are scripts that TOGGLE THE MODEL NAMES ONLY until you find the one you want, then you press a different button to change to the one you picked.
While pressing the next or previous button, you don't change models at all. You just see the names of the next or previous model to choose from in the upper left hand corner of your screen. When the name of the model you want is on the screen, you press the use button & then it will change to that model only.
All it basically does is let you select between all the hidden & regular models without having to open up the player menu screen.
Give it a try. I think you'll really like it.
NemoX, that is really cool! I'm gonna try those out for sure!
Originally posted by ToppDog
Dak_iSuk,
I understand what you're saying, but these scripts are modified so that they won't do that. These are scripts that TOGGLE THE MODEL NAMES ONLY until you find the one you want, then you press a different button to change to the one you picked.
While pressing the next or previous button, you don't change models at all. You just see the names of the next or previous model to choose from in the upper left hand corner of your screen. When the name of the model you want is on the screen, you press the use button & then it will change to that model only.
All it basically does is let you select between all the hidden & regular models without having to open up the player menu screen.
Give it a try. I think you'll really like it.
NemoX, that is really cool! I'm gonna try those out for sure!
ToppDog is 100% correct, all these scripts do is save you from constantly opening the Player Menu to change the model. You will definitely find it very usefule, I know i do.
Thanks ToppDog, You saved me a lot of Grunt Work thanks to the script you made.
two things
1. for the blue team chooser, make ^5 instead of ^4, the dark blue is hard to see on a lot of maps :) (edit your post if you want to do that ?)
2. make sure to have exec modelsdefault.cfg in autoexec.cfg guys
Thx, for the feedback remark 666, I was thinking about using ^5 but ended up going with ^4. The blue script has now been edited to use ^5.
Originally posted by ToppDog
Thanks again guys,
Later
You deserve the credit on this one. Great job and nice additions as well by NemoX. This is what this thread is all about. Working to come up with ways to make our gameplay more enjoyable by taking mundane or annoying tasks and making them more user friendly.
On that note I would like to let everyone know that I am in final testing of my npc spawn script for server admins in Jedimod and Jediplus servers. As I was finishing it this weekend I noticed that someone made a file for dl at Jjk2files that is along the same lines as my new script.
But I will let you know that my spawn npc script contains 24 models with 8 different weapons as well as good and evil alignments and the ability to spawn them in singles or as platoons. Its a massive cfg collection of 101 files total. But that was the only way to make the script not crash a server. It also allows for it to be modular. So if you only want to use 4, 7, or 10 npc spawn models you can do this with very little effort on your part. You will also be able to use my setup which takes ten keys or the other that takes only four keys. That choice I will leave to you.
I should have it all tested by the end of the week and then I will prob send it into jk2files as well as jediknightii. I will let you all know when it is all finished!:D
set cg_draw2d "0"; set cg_fov "20"; set con_notifytime "0"; wait 10; screenshot silent; wait 10; set cg_fov "120"; set cg_draw2d "1"; set con_notifytime "5"
what this script does is turn off the HUD zoom in and take a screenshot.
Enjoy
Originally posted by Hot Soup
pathetic
hear something ?...nope
great job with the scripts, I can see a bright future. Still up for that website idea ? anyone...
Originally posted by Sith Maximus
On that note I would like to let everyone know that I am in final testing of my npc spawn script for server admins in Jedimod and Jediplus servers. As I was finishing it this weekend I noticed that someone made a file for dl at Jjk2files that is along the same lines as my new script.
But I will let you know that my spawn npc script contains 24 models with 8 different weapons as well as good and evil alignments and the ability to spawn them in singles or as platoons. Its a massive cfg collection of 101 files total. But that was the only way to make the script not crash a server. It also allows for it to be modular. So if you only want to use 4, 7, or 10 npc spawn models you can do this with very little effort on your part. You will also be able to use my setup which takes ten keys or the other that takes only four keys. That choice I will leave to you.
I should have it all tested by the end of the week and then I will prob send it into jk2files as well as jediknightii. I will let you all know when it is all finished!:D
Hey man, that's my script you're talking about! I've already sent in V 1.1 of it which has the ability to spawn NPCs with any of ALL the four alignments, as well as platoons. And all this is in "only" 24 cfg files (177kB unzipped). It's controlled by 4 keys.
Well well....just refined mine down today to be 29 files for 24 npc characters in all alignments and with platoons! Damn! Oh well it all for everyones benifit! Thanks for the hard work. I will not send mine in....it will just confuse the issue. But if you want to see it send me a pm! Next time I better not be playing so much and script faster! LOL!:D
Originally posted by Sith Maximus
Well well....just refined mine down today to be 29 files for 24 npc characters in all alignments and with platoons! Damn! Oh well it all for everyones benifit! Thanks for the hard work. I will not send mine in....it will just confuse the issue. But if you want to see it send me a pm! Next time I better not be playing so much and script faster! LOL!:D
post it here anyways, if we do that site idea I'll make sure to add it in :)
Golly gee thanks buddy......ya bring a tear to my eye! :ball:
Well do my man!:D
anyone know a script that lets you do blue lunge from medium stance and bring u back to medium when you finish lunging
This has been covered pretty well in this thread. It can be done easily in the first 2 versions, but I think in 1.04 they fixed it so you cannot make the SaberAttackCycle command repeat in a script, so it looks like it won't work.
Originally posted by Hot Soup
pathetic
Sheesh, actually signed up for a username just to say one word.
yeah, he's the pathetic one...
hey guys, I'm thinking of doing a beta script site this weekend, that is...if I don't work.
I'm working on my mod team's web site and want to add a script section. I can put quite a few of my own custom scripts, but I think a lot of the scripts posted in this forum would be very useful to a lot of people as well. So I am officially asking for permission from the authors of these scripts to post them to our web site. The site itself won't be available until next week.
ok this is supposed to take out people in sabre locks but when i do it its says something about at1 default set:default or something involving those words(sorry I can't be specific). Anyway could you guys look over it and tell me whats wrong. I have it saved as autoexec.cfg so its auto executed.
set "attacking" "vstr at1"
set "at1" "+attack; set "attacking" "vstr at2""
set "at2" "-attack; set "attacking" "vstr at1""
bind q "attacking"
p.s. So nobody thinks I'm cheap I'll explain why I want this script. First of all I know this DSbr guy who drops me in less than 5 seconds and I want to get him. The second reason is so I can stop scripters from taking me down in seconds.
Originally posted by Primesghost
I'm working on my mod team's web site and want to add a script section. I can put quite a few of my own custom scripts, but I think a lot of the scripts posted in this forum would be very useful to a lot of people as well. So I am officially asking for permission from the authors of these scripts to post them to our web site. The site itself won't be available until next week.
Feel free to use anything I put up here.
Originally posted by Haemon
ok this is supposed to take out people in sabre locks but when i do it its says something about at1 default set:default or something involving those words(sorry I can't be specific). Anyway could you guys look over it and tell me whats wrong. I have it saved as autoexec.cfg so its auto executed.
set "attacking" "vstr at1"
set "at1" "+attack; set "attacking" "vstr at2""
set "at2" "-attack; set "attacking" "vstr at1""
bind q "attacking"
p.s. So nobody thinks I'm cheap I'll explain why I want this script. First of all I know this DSbr guy who drops me in less than 5 seconds and I want to get him. The second reason is so I can stop scripters from taking me down in seconds.
I think this would work better as a toggle with one key. I use a very simple keybind, & I have yet to see anything else that works faster than this incredibly simple bind. Here goes:
Bind q "+attack; -attack"
It is incredibly fast & unless someone is using a similar script, you will probably win against them too fast for them not to know you are using a script, even in blue!
I don't like saber locks. I think they're pretty useless & an interuption in the game. So I use this script merely to make sure the lock is a tie. I really have no interest in beating the other guy, I just want to make sure I don't get beaten & killed while I'm on the ground. All i have to do is tap periodically to make sure nobody is winning the lock until it is over. Then I wait until the other guy is ready & we continue fighting.
Also remember that stance has a lot to do with winning a lock. You want to switch to red as soon as possible when you get in one.
Originally posted by Haemon
ok this is supposed to take out people in sabre locks but when i do it its says something about at1 default set:default or something involving those words(sorry I can't be specific). Anyway could you guys look over it and tell me whats wrong. I have it saved as autoexec.cfg so its auto executed.
set "attacking" "vstr at1"
set "at1" "+attack; set "attacking" "vstr at2""
set "at2" "-attack; set "attacking" "vstr at1""
bind q "attacking"
p.s. So nobody thinks I'm cheap I'll explain why I want this script. First of all I know this DSbr guy who drops me in less than 5 seconds and I want to get him. The second reason is so I can stop scripters from taking me down in seconds.
Lol, unless you haven't noticed, we really don't care why you use the script. I don't think too many people have had very much luck with saber lock scripts, the general concensus is that it would be more effective to bind attack to your mouse wheel as well as whatever you normally use, then you can just spin the wheel. But it's really up to you which way to go with it. The problem with the script you posted is the quotes. You have way too many of em. It should be:
set at1 "+attack; set attacking vstr at2"
set at2 "-attack; set attacking vstr at1"
set attacking "vstr at1"
bind q "vstr attacking"
But now that I look at that, it really won't work too well. Maybe something like this:
set at1 "+attack; wait; -attack; set attacking vstr at2"
set at2 "+attack; wait; -attack; set attacking vstr at1"
set attacking "vstr at1"
bind q "vstr attacking"
Ok thanks for the lock stuff.
@Primesghost> I skipped the last 7 pages so I don't know if the flames had stopped.
Anyway keep up the good work for making the little things easier for guys like me(ie. changing names and skins).
Okay guys, I've got some new ones for you based on the same concept as the model next/prev/select script. & then I've got some questions on the last one I'm working on.
Select Saber Color (allows you to scroll next/previous & then select)
set UseSaberColor "vstr Color-1"
set NextSaberColor "vstr Color-2"
set PreviousSaberColor "vstr Color-3"
set Color-1 "set UseSaberColor color1 4; set PreviousSaberColor vstr Color-6; set NextSaberColor vstr Color-2; echo Blue"
set Color-2 "set UseSaberColor color1 3; set PreviousSaberColor vstr Color-1; set NextSaberColor vstr Color-3; echo Green"
set Color-3 "set UseSaberColor color1 2; set PreviousSaberColor vstr Color-2; set NextSaberColor vstr Color-4; echo Yellow"
set Color-4 "set UseSaberColor color1 1; set PreviousSaberColor vstr Color-3; set NextSaberColor vstr Color-5; echo Orange"
set Color-5 "set UseSaberColor color1 0; set PreviousSaberColor vstr Color-4; set NextSaberColor vstr Color-6; echo Red"
set Color-6 "set UseSaberColor color1 5; set PreviousSaberColor vstr Color-5; set NextSaberColor vstr Color-1; echo Purple"
bind a vstr UseSaberColor
bind b vstr NextSaberColor
bind c vstr PreviousSaberColor
Select Name (allows you to scroll next/previous & then select)
set UseName "vstr Name-01"
set NextName "vstr Name-02"
set PreviousName "vstr Name-03"
set Name-01 "set UseName name ^1RedName; set PreviousName vstr Name-07; set NextName vstr Name-02; echo Name: ^1RedName"
set Name-02 "set UseName name ^2GreenName; set PreviousName vstr Name-01; set NextName vstr Name-03; echo Name: ^2GreenName"
set Name-03 "set UseName name ^3YellowName; set PreviousName vstr Name-02; set NextName vstr Name-04; echo Name: ^3YellowName"
set Name-04 "set UseName name ^4BarkBlueName; set PreviousName vstr Name-03; set NextName vstr Name-05; echo Name: ^4BarkBlueName"
set Name-05 "set UseName name ^5LightBlueName; set PreviousName vstr Name-04; set NextName vstr Name-06; echo Name: ^5LightBlueName"
set Name-06 "set UseName name ^6PurpleName; set PreviousName vstr Name-05; set NextName vstr Name-07; echo Name: ^6PurpleName"
set Name-07 "set UseName name ^7WhiteName; set PreviousName vstr Name-06; set NextName vstr Name-01; echo Name: ^7WhiteName"
bind x vstr UseName
bind y vstr NextName
bind z vstr PreviousName
I hope you like those, of course with the names one you can modify it to have as many names as you want.
Now the question I have is with the final version of these scroll/select scripts that I'm trying to write for complete characters. You would scroll thru the next/previous selections, & when you choose one, it would change the name, saber color, model, & do a taunt for that character. This is what I tried, but it doesn't quite work:
set UsePlayer "vstr Player-01"
set NextPlayer "vstr Player-02"
set PreviousPlayer "vstr Player-03"
set Player-01 set UsePlayer color1 0; name ^1NameOne; model jan; +taunt; -taunt; set PreviousPlayer vstr Player-04; set NextPlayer vstr Player-02; echo Player: ^1NameOne"
set Player-02 set UsePlayer color1 1; name ^2NameTwo; model kyle; +taunt; -taunt; set PreviousPlayer vstr Player-01; set NextPlayer vstr Player-03; echo Player: ^2NameTwo"
set Player-03 set UsePlayer color1 2; name ^3NameThree; model stormtrooper; +taunt; -taunt; set PreviousPlayer vstr Player-02; set NextPlayer vstr Player-04; echo Player: ^3NameThree"
set Player-04 set UsePlayer color1 3; name ^4NameFour; model swamptrooper; +taunt; -taunt; set PreviousPlayer vstr Player-03; set NextPlayer vstr Player-01; echo Player: ^4NameFour"
bind 1 vstr UsePlayer
bind 2 vstr NextPlayer
bind 3 vstr PreviousPlayer
The problem is that it tries to execute everything after the first ";" when you press the next/previous buttons instead of waiting until you press the select button. When you press the select button it executes the part in front of the first ";" like it should.
I'm trying to get all the text between "set UsePlayer" & "set PreviousPlayer" in each line to be read as a single unit & be executed when you press the UsePlayer button. But it only accepts the first bit of text until you reach the ";".
I've tried including that section in quotes as in a bind, but that didn't work. I'm thinking that I might have to somehow put those sections as separate scripts that the "set UsePlayer" command would then execute. Any ideas?
// Saber Colors
set saber1 "color1 0;bind F9 vstr saber2"
set saber2 "color1 1;bind F9 vstr saber3"
set saber3 "color1 2;bind F9 vstr saber4"
set saber4 "color1 3;bind F9 vstr saber5"
set saber5 "color1 4;bind F9 vstr saber6"
set saber6 "color1 5;bind F9 vstr saber1"
bind F9 vstr saber1
scrolls through the saber colors...
I know it has been posted before but can someone post a working bind for clean screenshot?
example:
press a key, takes screenshot with no text or hud image
AND
press another key, takes screenshot with no text but with hud image
EDIT:
this one is much better
set saber1 "color1 0;bind F9 vstr saber2; echo ^1Red"
set saber2 "color1 1;bind F9 vstr saber3; echo ^3Orange"
set saber3 "color1 2;bind F9 vstr saber4; echo ^3Yellow"
set saber4 "color1 3;bind F9 vstr saber5; echo ^2Green"
set saber5 "color1 4;bind F9 vstr saber6; echo ^5Blue"
set saber6 "color1 5;bind F9 vstr saber1; echo ^6Purple"
bind F9 vstr saber1
enjoy :)
Originally posted by ToppDog
Now the question I have is with the final version of these scroll/select scripts that I'm trying to write for complete characters. You would scroll thru the next/previous selections, & when you choose one, it would change the name, saber color, model, & do a taunt for that character. This is what I tried, but it doesn't quite work:
set UsePlayer "vstr Player-01"
set NextPlayer "vstr Player-02"
set PreviousPlayer "vstr Player-03"
set Player-01 set UsePlayer color1 0; name ^1NameOne; model jan; +taunt; -taunt; set PreviousPlayer vstr Player-04; set NextPlayer vstr Player-02; echo Player: ^1NameOne"
set Player-02 set UsePlayer color1 1; name ^2NameTwo; model kyle; +taunt; -taunt; set PreviousPlayer vstr Player-01; set NextPlayer vstr Player-03; echo Player: ^2NameTwo"
set Player-03 set UsePlayer color1 2; name ^3NameThree; model stormtrooper; +taunt; -taunt; set PreviousPlayer vstr Player-02; set NextPlayer vstr Player-04; echo Player: ^3NameThree"
set Player-04 set UsePlayer color1 3; name ^4NameFour; model swamptrooper; +taunt; -taunt; set PreviousPlayer vstr Player-03; set NextPlayer vstr Player-01; echo Player: ^4NameFour"
bind 1 vstr UsePlayer
bind 2 vstr NextPlayer
bind 3 vstr PreviousPlayer
The problem is that it tries to execute everything after the first ";" when you press the next/previous buttons instead of waiting until you press the select button. When you press the select button it executes the part in front of the first ";" like it should.
I'm trying to get all the text between "set UsePlayer" & "set PreviousPlayer" in each line to be read as a single unit & be executed when you press the UsePlayer button. But it only accepts the first bit of text until you reach the ";".
I've tried including that section in quotes as in a bind, but that didn't work. I'm thinking that I might have to somehow put those sections as separate scripts that the "set UsePlayer" command would then execute. Any ideas?
Hmmmm... First of all, there is no quotation mark after the "set Player-0X" parts. Maybe they just got lost when copying the script into the forum.
Since you can't nest quotation marks, you need to put the commands UsePlayer should execute in separate variables.
Ex:
set Player-01 "set UsePlayer vstr JanModel; set PreviousPlayer vstr Player-04; set NextPlayer vstr Player-02; echo Player: ^1NameOne"
set JanModel "color1 0; name ^1NameOne; model jan; +taunt; -taunt;"
Just keep doing that with the other models. (You can't have to many, though)
thanks guys, this is what I got, rewrote these from scratch, using your examples though, thanks a bunch :)
// Name Scroll
set UseName "vstr Name01"
set NextName "vstr Name02"
set PreviousName "vstr Name07"
set Name01 "set UseName name ^7the^5F^7ive^5S^7tar; set PreviousName vstr Name07; set NextName vstr Name02; echo ^7the^5F^7ive^5S^7tar"
set Name02 "set UseName name ^5the^7F^5ive^7S^5tar; set PreviousName vstr Name01; set NextName vstr Name03; echo ^5the^7F^5ive^7S^5tar"
set Name03 "set UseName name ^1[^3moNkey^1.poop^3]; set PreviousName vstr Name02; set NextName vstr Name04; echo ^1[^3moNkey^1.poop^3]"
set Name04 "set UseName name ^7:^2R^7e^3m^1@^6r^5K^7:; set PreviousName vstr Name03; set NextName vstr Name05; echo ^7:^2R^7e^3m^1@^6r^5K^7:"
set Name05 "set UseName name ^0.BlackSunOverMidland.; set PreviousName vstr Name04; set NextName vstr Name06; echo ^0.BlackSunOverMidland."
set Name06 "set UseName name ^5||tsutomu.nihei||; set PreviousName vstr Name05; set NextName vstr Name07; echo ^5||tsutomu.nihei||"
set Name07 "set UseName name ^1De^7:^1Vadasy^7__; set PreviousName vstr Name06; set NextName vstr Name01; echo ^1De^7:^1Vadasy^7__"
bind F11 vstr "UseName"
bind F10 vstr "NextName"
bind F12 vstr "PreviousName"
// Fav. Model Scroll
set UseFav "vstr Fav01"
set NextFav "vstr Fav02"
set PreviousFav "vstr Fav08"
set Fav01 "set UseFav model reborn; set PreviousFav vstr Fav10; set NextFav vstr Fav02; echo ^6Reborn"
set Fav02 "set UseFav model reborn/acrobat; set PreviousFav vstr Fav01; set NextFav vstr Fav03; echo ^4Reborn ^4Acrobat"
set Fav03 "set UseFav model reborn/boss; set PreviousFav vstr Fav02; set NextFav vstr Fav04; echo ^1Reborn ^1Boss"
set Fav04 "set UseFav model reborn/fencer; set PreviousFav vstr Fav03; set NextFav vstr Fav05; echo ^2Reborn ^2Fencer"
set Fav05 "set UseFav model reborn/forceuser; set PreviousFav vstr Fav04; set NextFav vstr Fav06; echo ^3Reborn ^3Forceuser"
set Fav06 "set UseFav model imperial; set PreviousFav vstr Fav05; set NextFav vstr Fav07; echo ^5Imperial"
set Fav07 "set UseFav model imperial/commander; set PreviousFav vstr Fav06; set NextFav vstr Fav08; echo ^5Imperial ^5Commander"
set Fav08 "set UseFav model imperial/officer; set PreviousFav vstr Fav07; set NextFav vstr Fav01; echo ^5Imperial ^5Officer"
set Fav09 "set UseFav model reborn/red; set PreviousFav vstr Fav08; set NextFav vstr Fav10; echo ^1Reborn ^1Red"
set Fav10 "set UseFav model reborn/blue; set PreviousFav vstr Fav09; set NextFav vstr Fav01; echo ^5Reborn ^5Blue"
Originally posted by zworqy
Hmmmm... First of all, there is no quotation mark after the "set Player-0X" parts. Maybe they just got lost when copying the script into the forum.
Since you can't nest quotation marks, you need to put the commands UsePlayer should execute in separate variables.
Ex:
set Player-01 "set UsePlayer vstr JanModel; set PreviousPlayer vstr Player-04; set NextPlayer vstr Player-02; echo Player: ^1NameOne"
set JanModel "color1 0; name ^1NameOne; model jan; +taunt; -taunt;"
Just keep doing that with the other models. (You can't have to many, though)
Thanks Zworgy, that is exactly what I was looking for.
I'll get back to everyone when I've got it working.
Okay, I need some more help again.
Is it possible to have an autoexec file that is too large? I have finally finished all the scripts I've been working on, but none of them work with all of them in the same file.
I checked the scripts by dividing them in half. Both halves work perfect individually, but when they are combined in one file none of them work at all.
It's not a problem with conflicting scripts because there are scripts in there that have nothing to do with other scripts that should still work.
Is there a way to have 2 autoexec files where at the end of the first one it will execute the second one without using a keybind?
you dont need 2 put all scripts in the autoexec.cfg. put each script in its own config file and then you can either link them in the autoexec.cfg by adding exec #####.cfg in the file. or you can bind it to a key in the autoexec so you can decide when to execute it.
Thanks man! That was fast!
I wanted a bind for taunts from different skins. So my model wouldn't need to be changed to say another taunt. Of some reason though it's only I who hear it! Here's the bind I did:
bind x "model morgan; engage_duel; wait; wait; wait; wait; wait; wait; model rebel/blue"
So supposedly this would make my rebel say *May The force be with you* and remain a blue rebel. But it's only I who hear and not my opponents...Anyone know a working better way to do this? Thanks!
Check your other post about this for the answer.
Some scripts for a server admin:
//Kick or ban
set MORON-1 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^60^7];set kick-player rcon Clientkick 0;set ban-player rcon Clientban 0;set moron vstr moron-2"
set MORON-2 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^61^7];set kick-player rcon Clientkick 1;set ban-player rcon Clientban 1;set moron vstr moron-3"
set MORON-3 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^62^7];set kick-player rcon Clientkick 2;set ban-player rcon Clientban 2;set moron vstr moron-4"
set MORON-4 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^63^7];set kick-player rcon Clientkick 3;set ban-player rcon Clientban 3;set moron vstr moron-5"
set MORON-5 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^64^7];set kick-player rcon Clientkick 4;set ban-player rcon Clientban 4;set moron vstr moron-6"
set MORON-6 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^65^7];set kick-player rcon Clientkick 5;set ban-player rcon Clientban 5;set moron vstr moron-7"
set MORON-7 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^66^7];set kick-player rcon Clientkick 6;set ban-player rcon Clientban 6;set moron vstr moron-8"
set MORON-8 "echo [^1KICK ^1: ^1BAN ^1CLIENT ^67^7];set kick-player rcon Clientkick 7;set ban-player rcon Clientban 7;set moron vstr moron-1"
set MORON "vstr MORON-1"
bind KP_HOME "vstr moron"
bind KP_UPARROW "vstr kick-player"
bind KP_PGUP "vstr ban-player"
These are for a Jedimod or Jediplus server or any of the other new mods thatuse it as a base
//Server mod commands
set scommand-1 "echo [^1BOXING: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set mod_boxing 0;set on rcon set mod_boxing 1;set scommand vstr scommand-2"
set scommand-2 "echo [^1PUSHALL: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set mod_pushall 0;set on rcon set mod_pushall 1;set scommand vstr scommand-3"
set scommand-3 "echo [^1GRAPPLE: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set mod_grapple 0;set on-3 rcon set mod_grapple 2;set scommand vstr scommand-4"
set scommand-4 "echo [^1HILTS: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon mod_hilts 0;set on mod_hilts 1;set scommand vstr scommand-5"
set scommand-5 "echo [^1CLIENTSCALE: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set mod_clientscale 0;set on rcon set mod_clientscale 1;set off rcon set mod_hilts 0;set on-4 rcon set mod_hilts 1;set scommand vstr scommand-6"
set scommand-6 "echo [^1SCALEMODELS: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set mod_scaleModels 0;set on rcon set mod_scaleModels 1;set scommand vstr scommand-7"
set scommand-7 "echo [^1NERFSPIN: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set mod_nerfspin 0;set on rcon set mod_nerfspin 1;set scommand vstr scommand-8"
set scommand-8 "echo [^1DUALBLADES: ^3KPDOWN=2 : ^3PGDN=1^7];set off rcon set mod_dualblade 2;set on rcon set mod_dualblade 1;set scommand vstr scommand-9"
set scommand-9 "echo [^1VOTEING: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set g_allowvote 0;set on rcon set g_allowvote 1;set scommand vstr scommand-10"
set scommand-10 "echo [^1FORCEREGEN: ^3KPDOWN=O : ^3PGDN=NORMAL^7];set off rcon set g_ForceRegenTime 0;set on rcon set g_ForceRegenTime 200;set scommand vstr scommand-11"
set scommand-11 "echo [^1KICKTAG: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off vstr kickoff;set on vstr kickon;set scommand vstr scommand-12"
set scommand-12 "echo [^1TOGGLE ^1LIGHTNING: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set g_forcePowerDisable 128;set on rcon set g_forcePowerDisable 0;set scommand vstr scommand-13"
set scommand-13 "echo [^1TOGGLE ^1WEAPONS: ^3KPDOWN=ALL ^3ON : ^3PGDN=ALL ^3OFF^7];set off rcon set g_weaponDisable 65531;set on rcon set g_weaponDisable 0;set scommand vstr scommand-14"
set scommand-14 "echo [^1TOGGLE ^1EXTENDED: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set g_enableextended 0;set off rcon set g_enableextended 1;set scommand vstr scommand-15"
set scommand-15 "echo [^1TOGGLE ^1ALL ^1FORCEPOWERS: ^3KPDOWN=OFF : ^3PGDN=ON^7];set off rcon set g_forcePowerDisable 131198;set on rcon set g_forcePowerDisable 0;set scommand vstr scommand-1"
set scommand vstr scommand-1"
bind KP_LEFTARROW "vstr scommand"
bind KP_5 "vstr off"
bind KP_RIGHTARROW "vstr on"
set kickoff "rcon set mod_tag 0;wait;rcon set mod_tagBacks 0"
set kickon "rcon set mod_tag 1;wait;rcon set mod_tagBacks 1"
Hope ya like em, they work great.