Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

SCRIPTS here (post & request thread)

Page: 8 of 19
 remark 666
08-03-2002, 6:30 AM
#351
right now I have it like this

//Player select
set p-1 "set model reborn/acrobat; color1 0; set name ^7the^5F^7ive^5S^7tar; vstr t-1; set player vstr p-2"
set p-2 "set model reborn/fencer; color1 3; set name ^8.BlackSunOverMidland.; vstr t-2; set player vstr p-1"
set player "vstr p-1"
bind F1 "vstr player"

//Player select 2
set p-3 "set model reborn/forceuser; color1 2; set name ^3.the golden fighter.; vstr t-3; set player vstr p-4"
set p-4 "set model reborn/boss; color1 1; set name ^7[^1fatal^7.^3switch^7]; vstr t-4; set player vstr p-3"
set player "vstr p-3"
bind F2 "vstr player"

it doesn't work right :( can one of you please help ?!?!

and thanx Sith Maximus, I have my CTF like this now

//CTF
bind KP_1 "say_team ^6<<--^1GOING ^1FOR ^1FLAG!"
bind KP_END "say_team ^6<<--^1GOING ^1FOR ^1FLAG!"
bind KP_2 "say_team ^6<<--^1FLAG ^1STOLEN!"
bind KP_DOWNARROW "say_team ^6<<--^1FLAG ^1STOLEN!"
bind KP_3 "say_team ^6<<--^1HAVE ^1FLAG...^1COVER ^1ME ^6NOW!"
bind KP_PGDN "say_team ^6<<--^1HAVE ^1FLAG...^1COVER ^1ME ^6NOW!"

bind KP_4 "say_team ^6<<--^1RETURNING ^1TO ^1GUARD ^1FLAG!"
bind KP_LEFTARROW "say_team ^6<<--^1RETURNING ^1TO ^1GUARD ^1FLAG!"
bind KP_5 "say_team ^6<<--^1GUARDING ^1FLAG!"
bind KP_6 "say_team ^6<<--^1INCOMING ^1ENEMY, ^1DEFEND ^1THE ^1FLAG!"
bind KP_RIGHTARROW "say_team ^6<<--^1INCOMING ^1ENEMY, ^1DEFEND ^1THE ^1FLAG!"
 remark 666
08-03-2002, 6:37 AM
#352
Originally posted by Catch
this may sound really ghey but i make a script and i have no clue how to save it as an extention or whatever, it's just a text document and i dont know how to make it a cfg file to run properly. I don't even know if i understand it at all...

1. open a folder
2. Tools
3. Folder Options
4. View
5. uncheck Hide extantions for known file types.

-go back to that text file

now it's named whatever.txt, rename that to autoexec.cfg

whatever.txt >> autoexec.cfg

make sure the script is in there (and writen right), stick the autoexec.cfg in your Base folder

C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\base (by default)

hope that helps :)
 Catch
08-03-2002, 2:22 PM
#353
You're a freakin genius. Thanks a million.:D
 remark 666
08-03-2002, 4:56 PM
#354
not a big deal, glad I could be of some help :)

and Sith, you had some errors i nthat CTF script, few small things and some fonts, etc

I hope you don't get mad for me posting this

//LINE-1//Press KP7 to start script
set start-reset "vstr start-text; vstr start-keys"
bind KP_HOME "vstr start-reset"

//LINE-2//Start script text
set start-text "echo [^1PRESS ^6KP8 ^1TO ^1CANCEL : ^1PRESS ^6KP9 ^1FOR ^6DEFENCE; echo ^1PRESS ^6KP4 ^1FOR ^6OFFENCE : ^1PRESS ^6KP5 ^1FOR ^6INCOMING; echo ^1PRESS ^6KP6 ^1FOR ^6NEEDS^7]"

//LINE-3//Start keys
set start-keys "bind KP_UPARROW vstr cancel; bind KP_PGUP vstr talk-a0; bind KP_LEFTARROW vstr talk-b0; bind KP_5 vstr talk-c0; bind KP_RIGHTARROW vstr talk-d0"

//Cancel
set cancel "echo [^6ORDERS ^6TEXT ^6RESET^7]; vstr start-text; vstr start-keys"

//Repeat orders text
set repeat-1 "vstr orders-text-1"
set repeat-2 "vstr orders-text-2"
set repeat-3 "vstr orders-text-3"
set repeat-4 "vstr orders-text-4"

//LINE-4//Echo orders text
set orders-text-1 "echo [^6KP8^3=^1CANCEL ^6KP9^3=^1ON ^1DEFENSE ^6KP4^3=^1GUARDING ^1OBJECTIVE; echo ^6KP5^3=^1QBJECTIVE ^1SAFE ^6^6KP6^3=^1PURSUING ^1ENEMY; echo ^6KP1^3=^1RETURNING OBJECTIVE^7]"
set orders-text-2 "echo [^6KP8^3=^1CANCEL ^6KP9^3=^1OBJECTIVE ^6KP4^3=^1ATTACKING; echo ^6KP5^3=^1THROUGH ^1DEFENCES ^KP6^3V=^1OBJ ^1IN ^1SIGHT; echo ^6KP1^3=OBJECTIVE ^1RETRIEVED^7]"
set orders-text-3 "echo [^6KP8^3=^1CANCEL ^6KP9^3=^1LEFT ^6KP4^3=^1RIGHT; echo ^6KP5^3=^1ABOVE ^6KP6^3=^1BELOW ^6KP1^3=^1FLANK^7]"
set orders-text-4 "echo [^6KP8^3=^1CANCEL ^6KP9^3=^1HELP ^6KP4^3=^1AMMO ^6KP5^3=^1COVER; echo ^6KP6^3=^1ENEMY ^1HAS ^1OBJECTIVE; echo ^6KP1^3=^1OBJECTIVE ^1UNDER ^1ATTACK^7]"

//LINE-5//Defence
set talk-a0 "bind KP_UPARROW vstr cancel; bind KP_PGUP vstr repeat-1; bind KP_LEFTARROW vstr talk-a-a; bind KP_5 vstr talk-a-b; bind KP_RIGHTARROW vstr talk-a-c; bind KP_END vstr talk-a-d; bind KP_DOWNARROW vstr talk-a-e; vstr orders-text-1"
set talk-a-a "say_team ^6<<--^1ON ^1DEFENCE!"
set talk-a-b "say_team ^6<<--^1GUARDING ^1FLAG!"
set talk-a-c "say_team ^6<<--^1OBJECTIVE ^1SAFE!"
set talk-a-d "say_team ^6<<--^1PURSUING ^1ENEMY ^1FLAG ^1CARRIER!"
set talk-a-e "say_team ^6<<--^1RETURNING ^1TO ^1GUARD ^1FLAG!"

//LINE-6//Offence
set talk-b0 "bind KP_UPARROW vstr cancel; bind KP_PGUP vstr repeat-2; bind KP_LEFTARROW vstr talk-b-a; bind KP_5 vstr talk-b-b; bind KP_RIGHTARROW vstr talk-b-c; bind KP_END vstr talk-b-d; bind bind KP_DOWNARROW vstr talk-b-e; vstr orders-text-2"
set talk-b-a "say_team ^6<<--^1GOING ^1FOR ^1FLAG!"
set talk-b-b "say_team ^6<<--^1ATTACKING ^1ENEMY!"
set talk-b-c "say_team ^6<<--^1THROUGH ^1ENEMY ^1DEFENCES!"
set talk-b-d "say_team ^6<<--^1FLAG ^1IN ^1SIGHT!"
set talk-b-e "say_team ^6<<--^1FLAG ^1STOLEN!"

//LINE-7//Incoming vstr cancel; bind KP_PGUP vstr repeat-3; bind KP_LEFTARROW vstr talk-c-a; bind KP_5 vstr talk-c-b; bind KP_RIGHTARROW vstr talk-c-c; bind KP_END vstr talk-c-d; bind bind KP_DOWNARROW vstr talk-c-e; vstr orders-text-3"
set talk-c-a "say_team ^6<<--^1INCOMING ^1ENEMY ^1LEFT!"
set talk-c-b "say_team ^6<<--^1INCOMING ^1ENEMY ^1RIGHT"
set talk-c-c "say_team ^6<<--^1INCOMING ^1ENEMY ^1ABOVE"
set talk-c-d "say_team ^6<<--^1INCOMING ^1ENEMY ^1BELOW!"
set talk-c-e "say_team ^6<<--^1INCOMING ^1ENEMY ^1AT ^1FLANK!"

//LINE-8//Need
set talk-d0 "bind KP_UPARROW VSTR CANCEL; BIND KP_PGUP vstr repeat-4; bind KP_LEFTARROW vstr talk-d-a; bind KP_5 vstr talk-d-b; bind KP_RIGHTARROW vstr talk-d-c; bind KP_END vstr talk-d-d; bind bind KP_DOWNARROW vstr talk-d-e; vstr orders-text-4"
set talk-d-a "say_team ^6<<--^1UNDER ^1ATTACK ^1NEED ^1HELP!"
set talk-d-b "say_team ^6<<--^1NEED ^1AMMUNITION!"
set talk-d-c "say_team ^6<<--^1HAVE ^1FLAG...^1COVER ^1ME ^6NOW!"
set talk-d-d "say_team ^6<<--^1ENEMY ^1HAS ^1FLAG...^1NEED ^1ASSISTANCE!"
set talk-d-e "say_team ^6<<--^1DEFEND ^1THE ^1FLAG!"

::this script has been made by Sith Maximus, I only modified it to look right in the console, with the right colors and all)::
 SUPERLEN
08-03-2002, 5:03 PM
#355
Here's my one and only comment on the script thing: thanks for posting it, it was interesting and should be fun to play around with. I don't use scripts in games cos I like the manual dexterity aspect of winning...old school Samurai Showdown :) But to be honest, I don't have problems with scripters...u can still avoid a move regardless if it's scripted or not. I never let one of those multiple backspins in 1.03 kill me and I would stop playing if I couldn't pull off a kick against some one just cos I had to tap twice. In fact, I don't see what the big fuss is...I've never seen a scripter dominate any server, and I've been playing since JK2 first came out. JK2 duels are about timing and dexterity...not just run and gun...so I wouldn't worry bout a little scripting, fellas. It's all in good fun. :)

Reptile Iron
Iron Brigade Iron Jedis
 remark 666
08-03-2002, 5:20 PM
#356
I second that SUPERLEN.

as you can see, it's mostly fun scrits here, this is like my favorite thread in the whole Lucasarts forums :)
 its420onthedot
08-03-2002, 10:34 PM
#357
Superlen,

Scripters, a skillful scripter, will dominate a server easily. Seen it done plenty of times. Don't flame remark.
 Sith Maximus
08-04-2002, 10:47 AM
#358
Thanks for making the changes. I have so many files that I can not find the right ones sometimes. I took care of those changes but forgot to move it to my "finished" folder. Plus helping each other out is what this is all about so if something is wrong, or could be done another way we should sound out and let everyone know. By putting all of our heads togeather we can come up with much better and cleaner scripts, thanks again!
 Sith Maximus
08-04-2002, 10:59 AM
#359
Originally posted by remark 666
right now I have it like this

//Player select
set p-1 "set model reborn/acrobat; color1 0; set name ^7the^5F^7ive^5S^7tar; vstr t-1; set player vstr p-2"
set p-2 "set model reborn/fencer; color1 3; set name ^8.BlackSunOverMidland.; vstr t-2; set player vstr p-1"
set player "vstr p-1"
bind F1 "vstr player"

//Player select 2
set p-3 "set model reborn/forceuser; color1 2; set name ^3.the golden fighter.; vstr t-3; set player vstr p-4"
set p-4 "set model reborn/boss; color1 1; set name ^7[^1fatal^7.^3switch^7]; vstr t-4; set player vstr p-3"
set player "vstr p-3"
bind F2 "vstr player"

it doesn't work right :( can one of you please help ?!?!



NOt sure is the reborn/forceuser a "mod" skin. The only standard reborn from the game are the ones listed below:

model reborn/boss
model reborn/fencer
model reborn/acrobat
model reborn/blue
model reborn/red
model reborn/default

With that in mind this is how I would do it:
//Name and model
set p-1 "vstr n-1; model (your model here) ; set color1 (saber color here); set name-model vstr p-2"
set p-2 "vstr n-2; model (your model here) ; set color1 (saber color here); set name-model vstr p-3"
set p-3 "vstr n-3; model (your model here) ; set color1 (saber color here); set name-model vstr p-4"
set p-4 "vstr n-4; model (your model here) ; set color1 (saber color here); set name-model vstr p-1"
set name-model "vstr p-1"
bind (your key here) "vstr name-model"

set n-1 "name (first name here)"
set n-2 "name (second name here)"
set n-3 "name (third name here)"
set n-4 "name (forth name here)"

Just fill in the blanks.
 CM Warlock
08-04-2002, 12:42 PM
#360
Boy this is one long thread. :)
Not sure if this was answered already, but I'm wondering if there is a way to make specific taunts.
I assuming the taunt is based on model type since the taunt is different depending on model I have chosen for my player.
I'm wondering if there's a way to have different taunts without changing player models?

If not is there a way to change player model, make a taunt, and swap back to origional player model without having to kill yourself?
 remark 666
08-04-2002, 6:52 PM
#361
yes, I know how to bind it to one key but what I was asking is how to bind

F1 to name1, saber color1, model1...press the same button and it'll go name2, saber color2, model2

AND

F2 to name3, saber color3, model3...press F2 again and it'll go name4, saber color4, model4

I think you get how I put a number next to each, it's what I want, like name1 would be "remark", saber color1 would be red color saber, model1 would be reborn/acrobat, etc..

and yes, reborn/forceuser IS another secret skin, it's abused less then /boss and /acrobat ;)
 Sith Maximus
08-05-2002, 3:12 AM
#362
This will work. Not sure what the "vstr t" commands are for, add them back in after the saber color if you need to. The reason it would not work is because you had both named to "vstr player" So that will casue the problem everytime. You must give every seperate script its own name so that the program can see them as different commands. One command was canceling the other out. By the way I got your message and will get back to you asap.


//Player select 1
set p-1 "set name ^7the^5F^7ive^5S^7tar; model reborn/acrobat; color1 0; set player-1 vstr p-2"
set p-2 "set name ^8.BlackSunOverMidland.; model reborn/fencer; color1 3; set player-1 vstr p-1"
set player-1 "vstr p-1"
bind F1 "vstr player-1"

//Player select 2
set p-3 "set name ^3.the golden fighter.; model reborn/forceuser; color1 2; set player-2 vstr p-4"
set p-4 "set name ^7[^1fatal^7.^3switch^7]; model reborn/boss; color1 1; set player-2 vstr p-3"
set player-2 "vstr p-3"
bind F2 "vstr player-2"
 remark 666
08-05-2002, 4:45 AM
#363
hahaha, thanks sooo much, Ill try it now

P.S. my game play is so much better now, the edited CTF script, names, taunts, breakdance, flip saber (guns servers), spin, etc and so on, it's soooo much more interesting now, with a switch of a key I'm a whole different person, new name, model, saber color, heh

what's next ? maybe setting up force powers ^_^

EDIT: worked, here is how I have my (with a little bit of editing)

//Player select 1
set p-1 "set name ^7the^5F^7ive^5S^7tar; model reborn/acrobat; color1 0; set player-1 vstr p-2"
set p-2 "set name ^8.BlackSunOverMidland.; model reborn/fencer; color1 3; set player-1 vstr p-1"
set player-1 "vstr p-1"
bind F1 "vstr player-1"

//Player select 2
set p-3 "set name ^3.the golden fighter.; model reborn/forceuser; color1 2; set player-2 vstr p-4"
set p-4 "set name ^7[^1fatal^7.^3switch^7]; model reborn/boss; color1 1; set player-2 vstr p-3"
set player-2 "vstr p-3"
bind F2 "vstr player-2"

//Player select 3
set p-5 "set name ^1|:|^5R^7e^5M^7a^5R^7k^1|:|; model reborn/red; color1 0; set player-3 vstr p-6"
set p-6 "set name ^7the^5F^7ive^5S^7tar; model reborn/blue; color1 4; set player-3 vstr p-5"
set player-3 "vstr p-5"
bind F3 "vstr player-3"
 Sith Maximus
08-05-2002, 2:55 PM
#364
You asked for it you got it! The numbers for the forcepowers come from your saved force configurations. This script changes your force powers, model, and saber color. You can edit this in with your other scripts to change your force powers, skin, saber, and model when you die. The numbers are under your base directory. Open them with notepad and copy them into the place that says (PUT NUMBERS HERE). If you just want your powers changed next time then just do a script for that. But you must have at least this much to make it work:

set forcepowers (PUT NUMBERS HERE); forcechanged

You can figure it out from there.;)

//Power selector
set p-1 "set forcepowers (PUT NUMBERS HERE); echo [^1DARK ^6JEDI ^6MASTER ^6POWERS^7]; forcechanged; model reborn_master/default; set color1 5; bind DEL vstr powers"
set p-2 "set forcepowers (PUT NUMBERS HERE); echo [^1DARK ^6JEDI ^6KNIGHT ^6POWERS^7]; forcechanged; model reborn_master/default; set color1 5; bind DEL vstr powers"
set p-3 "set forcepowers (PUT NUMBERS HERE); echo [^1DARK ^6JEDI ^6GUARDIAN ^6POWERS^7]; forcechanged; model reborn_master/default; set color1 5; bind DEL vstr powers"
set p-4 "set forcepowers (PUT NUMBERS HERE); echo [^4LIGHT ^6JEDI ^6MASTER ^6POWERS^7]; forcechanged; model luke/default; set color1 3; bind DEL vstr powers"
set p-5 "set forcepowers (PUT NUMBERS HERE); echo [^4LIGHT ^6JEDI ^6KNIGHT ^6POWERS^7]; forcechanged; model luke/default; set color1 3; bind DEL vstr powers"
set p-6 "set forcepowers (PUT NUMBERS HERE); echo [^4LIGHT ^6JEDI ^6GUARDIAN ^6POWERS^7]; forcechanged; model luke/default; set color1 3; bind DEL vstr powers"
set powers "vstr p-1"
bind DEL "vstr powers"
 remark 666
08-05-2002, 4:50 PM
#365
you have a PM ;)

I've also seen a script that lets you get around the cheats off option, it turns them on only for you and lets you shoot like hundreds of rockets really really fast (that's done with cg_yawspeed_fire 1000 and cg_rapid_fire 600 I think) this would be usefull but an ultimate cheat, shame on scripters who use their powers for evil :p
 SkinWalker
08-06-2002, 12:51 AM
#366
If not is there a way to change player model, make a taunt, and swap back to origional player model without having to kill yourself?

This has been working for me:

//Taunt by other models binds
bind kp_slash "model lando;wait 30;+taunt;-taunt;model stormtrooper/red"
bind kp_star "model kyle;wait 30;+taunt;-taunt;model stormtrooper/red"
bind kp_minus "model chiss;wait 30;+taunt;-taunt;model stormtrooper/red"
bind kp_plus "model vader;wait 30;+taunt;-taunt;model stormtrooper/red"

You'll want to customize your own models and play a bit with the wait, but I found that 30 is best for me. Once it's made the model switch once, it does so faster next time around. I wouldn't use one of these taunts in the "heat of battle" otherwise you'll get sliced and diced during the wait of the first switch. You can get away with it (usually) after the first model switch.

This was posted somewhere in this thread (I think), but you're right: this is one LONG thread

BTW... can someone remind me which Kyle model it is that says "Just Takin' Care of Business."?

SkinWalker
 sun
08-06-2002, 2:30 AM
#367
i dunno if this has been mentioned it this thread b4 coz i can't be bothered to surf all 10 pages of posts and replies. Heres my question is there a way to make ur character turn 180 degrees with a press of a button?
 thehomicidalegg
08-06-2002, 4:43 AM
#368
bind x "+right; wait 10; -right"

change the number of wait in the middle cuz i made that up just then
 sun
08-06-2002, 7:52 AM
#369
does that make a 180 degree turn right away or do i have to hold it and turn manually? coz i am finding one that would turn 180 degrees right away in one press w/o holding the button
 Sith Maximus
08-06-2002, 5:42 PM
#370
Just press the button one time. You have to adjust the wait states in the middle to make up for the changes with your system. For me I think it is "wait 4", but on my brothers machine it is like 12. Just mess with it until you get your turn. It may not be perfect everytime, but it will be close.
 CM Warlock
08-06-2002, 6:14 PM
#371
Thanks SkinWalker :D


BTW... can someone remind me which Kyle model it is that says "Just Takin' Care of Business."?

I know the Red Kyle say's that, do the models say different things based on color? :confused:
 MUHAHAHAHAHA
08-06-2002, 11:35 PM
#372
This might be a weird place to ask this, but I have a lot of binds for Jedimod, combos, etc. in my autoexec.cfg, and when I play SP, whenever I go to the console and type a letter of any key that is bound (while still in console), it starts doing the action associated w/ that bind. This is very strange, and I wasn't sure if anyone else ran into this, or knew how to fix it. Is there a way to make it so that autoexec.cfg only runs for MP? Thanks :)
 SkinWalker
08-06-2002, 11:38 PM
#373
I know the Red Kyle say's that, do the models say different things based on color?

It turns out that the model I'm using in the example I posted for you says that..... I only just tried that switch last night :-)


SKin
 MakaVeli_Da_Don
08-07-2002, 12:38 AM
#374
hi i know this is wrong section to be asking this question but noone else seems to know the answer. as u can see from my subject, i want to know how to make my NAME BLACK! i know how to make name any other color via ^1 etc etc. i can even get black colored TEXT via ^0 but when i try
name ^0JohnDoe in console it becomes WHITE after i enter it! i seen people with black letters and they refused to tell me how to do it saying it is a TK clan secret! i say down with this secret and maybe you scripters know how to do since your all so smart. thx for the scripts i luv them!
 thehomicidalegg
08-07-2002, 6:18 AM
#375
dont put all the binds in the autoexec.cfg... have other cfgs so that you can exec those cfgs with keys in autoexec....but its strange in that jedimod binds should not affect the sp and mp game binds as it has its own folder....strange



i thought ^7 was black but i could be wrong...
 Sith Maximus
08-07-2002, 10:14 AM
#376
[i]"make my NAME BLACK!" [/B]

Sorry but the game engine does not allow for black in names, it always switches them to white. This is because in a dark map you cannot see the name. Sorry but your sol on that request.
 Sith Maximus
08-07-2002, 10:17 AM
#377
Originally posted by thehomicidalegg
dont put all the binds in the autoexec.cfg... have other

Right your are! I use the autoexec.cfg to load my other cfg files. Currently I use one for my player, one for scripts, one for my command controls, one for communication, one for system, and another for my ctf text script. All of my mods have cfg files in the mod folders that I load when I eneter that mod. Like the one for jedimod is jmod.cfg. Its the only way to go.:D
 Hand_Solo
08-07-2002, 3:56 PM
#378
Hey all. I actually took the time to read through all of the pages in this thread (now I think it's time for a nap...), and I don't recall seeing this question before.
I was wondering if anyone had any insight on how to switch Force powers in game without having to kill yourself and respawn.
Example: I usually set my Seeing to max power, but I want to be able to hit a button and toggle over to a configuration that puts all those force points over to Absorb (for when I find myself in the middle of a mele).
If there's anyone out there that could give me a hand, I'd appreciate it!! :cool:
 MakaVeli_Da_Don
08-07-2002, 11:58 PM
#379
no, actually i do have the 1.04 patch and stil the person had a black NAME!! the first part was green and red while middle was BLACK! there must be a way to get black name because either the guy hacked the server or hes some kinda guru who knows everything about JO..................:jawa
 SkinWalker
08-08-2002, 12:18 AM
#380
I think you'll have to kill yourself and respawn. As far as I've been able to discern, there's no way to make the new force powers go into effect until the next spawn.

The good news is that there were several posts in this thread on force settings.

BTW, if I'm wrong on this, someone PLEASE correct me. But the respawn makes sense... I'm sure it has to do with the player config being initiated.

SKinWalker
 remark 666
08-08-2002, 3:28 AM
#381
i've also seen a black name, not untill I wanted one I cared, now I want one (.BlackSunOverMidland.) and I see it black in the menu but ingame it's white, I'm 100% sure I've seen a black name

there must be some way to make it black, medetate on this I will... (even though that won't help anything, hehe)
 thehomicidalegg
08-08-2002, 5:02 AM
#382
perhaps you see white, they see black?
 remark 666
08-08-2002, 7:56 AM
#383
I've asked, on my name they see white too, I've tried ^8 and ^0....mabe there is some number that's secret and actually does make it black....hmm.....
 Sith Maximus
08-08-2002, 10:55 AM
#384
Originally posted by Hand_Solo
I was wondering if anyone had any insight on how to switch Force powers in game without having to kill yourself and respawn.
[/B]

You MUST die first! No other way. What you could do is use one of the force change scripts above and add in the kill command at the start of it. That might work...I have not tried that, I just wait until I die.
 MakaVeli_Da_Don
08-08-2002, 2:13 PM
#385
i shall heaven and earth asunder till fid out how to make my name black! i' glad someone else finally saw a black named person...u prolly saw a TK.....some scripter in here must KNOW! these guys are so smart!
 Hand_Solo
08-08-2002, 2:23 PM
#386
Hey, thanks guys...unfortunately, it wasn't the answer I was hoping for.
I'd hate having to put a -1 in my kill total. (although it would be a hell of a lot better than falling off the edge of a map because of f*ing LAG!)
:swear:

I've found this thread to be incredibly informative - keep it up! :D
 Hand_Solo
08-08-2002, 3:02 PM
#387
MakaVeli_Da_DoN, I can't figure out why you'd want your name to appear in black. When I play, my screen resolution is maxed out and I can barely read the messages or names when they're in white! If they're blue , forget it. I can only imagine how poor black would look (especially on a dark map).
 Sith Maximus
08-08-2002, 3:04 PM
#388
Originally posted by MakaVeli_Da_Don
i shall heaven and earth asunder till fid out how to make my name black! i' glad someone else finally saw a black named person...u prolly saw a TK.....some scripter in here must KNOW! these guys are so smart!

We will work on it for you. I personally have never seen it but will give it a shot as I pop on and off my server tonight. Get back to you on Friday.:D But do not get your hopes too high...........:nut:
 Nutritious414
08-08-2002, 4:16 PM
#389
Heh yeah we're smart.
 Sith Maximus
08-08-2002, 8:14 PM
#390
:joy: :laughing: :newbie: :nut: :naughty: :cheers:

Nuff said!
 remark 666
08-08-2002, 8:36 PM
#391
any progress on the scripts in your PM, Maximus ? no hurry, just wondering

and Hand_Solo, it's not for you that we want the black font, it's for us to feel better about our name and to have our names the way WE want them ;)

"maybe I should do that **** so J can get payed" - ICP : "Terrible"
 Sith Maximus
08-09-2002, 12:54 AM
#392
Try to post by tomorrow.......been setting up my server this week!
 Master Burner
08-09-2002, 1:55 AM
#393
hey i'm looking for a script that 1 change my name 2 change my model and 3 change my model when i klick on one buttom...

i have tried with "bind i name ^1[JHQ]^5Master_Duchai;; bind i model jedi;; bind i model reborn" with no luck :-\

and do anyone in here know how to change the saber color with the TCK Color Mod?? (the one thats with the jedimod)
 Sith Maximus
08-09-2002, 11:10 AM
#394
This is mine; edit as requird

//Name and model
set name-1 "bind KP_DEL vstr dinsult1; vstr darkname-2; model reborn/boss; vstr saber-reborn; vstr hilts-2; set my-name vstr name-2"
set name-2 "bind KP_DEL vstr yinsult1; vstr lightname-2; model yoda/default; vstr saber-yoda; vstr hilts-1; set my-name vstr name-3"
set name-3 "bind KP_DEL vstr linsult-1; vstr lightname-3; model luke/default; vstr saber-luke; vstr hilts-3; set my-name vstr name-4"
set name-4 "bind KP_DEL vstr dinsult1; vstr darkname-1; model yoda/red; vstr saber-red-yoda; vstr hilts-1; set my-name vstr name-5"
set name-5 "bind KP_DEL vstr yinsult1; vstr lightname-1; model yodaghost/default; vstr saber-ghost; set my-name vstr name-1"
set my-name "vstr name-1"
bind INS "vstr my-name"

//Resize
set grow "vstr size-1;wait 50;vstr size-2;wait 50;vstr size-3;wait 50;vstr size-4;wait 50;vstr size-5"
bind DEl "vstr grow"

//Sith
set darkname-1 "set name (your name here)"
set darkname-2 "set name (your name here)"

//Light
set lightname-1 "set name (your name here)"
set lightname-2 "set name (your name here)"
set lightname-3 "set name (your name here)"

//Tck saber colors
set saber-reborn "set tck_red1 255; set tck_green1 25; set tck_blue1 50; set tck_red2 255; set tck_green2 25; set tck_blue2 50"
set saber-yoda "set tck_red1 1; set tck_green1 255; set tck_blue1 98; set tck_red2 1; set tck_green2 255; set tck_blue2 98"
set saber-luke "set tck_red1 1; set tck_green1 255; set tck_blue1 1; set tck_red2 1; set tck_green2 1; set tck_blue2 255"
set saber-red-yoda "set tck_red1 255; set tck_green1 1; set tck_blue1 125; set tck_red2 255; set tck_green2 1; set tck_blue2 125"
set saber-ghost "set tck_red1 1; set tck_green1 255; set tck_blue1 200; set tck_red2 1; set tck_green2 255; set tck_blue2 200"

//Hilts

set hilts-1 "set hilt yoda; set hilt2 yoda"
set hilts-2 "set hilt ancient; set hilt2 ancient"
set hilt-3 "set hilt quigon; set hilt2 quigon"


This changes your name, tck saber color, model and the hilts that you use. Just replace the names and so forth. The default bound key is INSERT (INS) but you can change that to the one you want.
The numbers for the tck are the same numbers from the slider bar. tck_red1 would be the red value of saber no 1 and tck_red2 is the red value of saber no 2. You get the idea.....enjoy!:D
 Master Burner
08-09-2002, 5:01 PM
#395
Thx Just what i was looking for :D i'll just copy them into the Autothing.cfg file right?
 Hand_Solo
08-09-2002, 5:40 PM
#396
Originally posted by remark 666

and Hand_Solo, it's not for you that we want the black font, it's for us to feel better about our name and to have our names the way WE want them ;)



I understand where you're coming from... I play MP using a Boba Fett or Darth Vader skin, but unless an opponent has the same skin in their base folder, they can't see it......
Just throwing my 2 cents in there.
Tell you what...if I figure out how to change the font to black, I'll be the first guy to post it here!:D
 Master Burner
08-09-2002, 6:05 PM
#397
DAMN can't get it to work...
wrote this in the autoexec.cfg file in the mod folder (then it should load it automatically right?) and btw the CS is my bro's clan... i wan't so that the JHQ is on the "i" key and the CS is on the "o" key... so can anyone tell me what i have done wrong??


//Name and model JHQ
set name-1 "bind KP_DEL vstr dinsult1; vstr JHQname-1; model Marax_Duchai/default; vstr saber-Marax; vstr hilts-2; set my-name vstr name-2"

set name-2 "bind KP_DEL vstr yinsult1; vstr JHQname-2; model Anai_Duchai/default; vstr saber-Marax; vstr hilts-1; set my-name vstr name-3"

set name-3 "bind KP_DEL vstr linsult-1; vstr JHQname-3; model jedi/default; vstr saber-Marax; vstr hilts-3; set my-name vstr name-1"

set my-name "vstr name-1"
bind i "vstr my-name"

//CS Name/Model
set name-3 "bind KP_DEL vstr dinsult1; vstr CSname-1; model Anai_Duchai; vstr saber-Anai; vstr hilts-2; set my-name vstr name-4"

set name-4 "bind KP_DEL vstr yinsult1; vstr CSname-2; model jedi/default; vstr saber-Anai; vstr hilts-1; set my-name vstr name-3"

set my-name "vstr name-3"
bind o "vstr my-name"



//CS
set CSname-1 "set name (^4[^6CS^4]Anai^4[^5XO^4])"
set CSname-2 "set name (^4[^6CS^4]Anai^4[^5XO^4])"

//JHQ
set JHQname-1 "set name (^1[JHQ]^5Master_Duchai)"
set JHQname-2 "set name (^1[JHQ]^5Master_Duchai)"
set JHQname-3 "set name (^1[JHQ]^5Master_Duchai)"

//Tck saber colors
set saber-Marax "set tck_red1 163; set tck_green1 212; set tck_blue1 255; set tck_red2 255; set tck_green2 212; set tck_blue2 163"

set saber-Anai "set tck_red1 255; set tck_green1 212; set tck_blue1 163; set tck_red2 163; set tck_green2 212; set tck_blue2 255"


//Hilts

set hilts-1 "set hilt Anakinep2; set hilt2 anakin"
set hilts-2 "set hilt Anakinep2; set hilt2 ancient"
set hilt-3 "set hilt Anakinep2; set hilt2 qui-gon"
 zworqy
08-09-2002, 8:17 PM
#398
Burner:

Let's see...
* most aliases are called xxxxx-1 but dinsult1 and yinsult1 are not. Is this correct?

* name-3 is used both in JHQ and CS section.

* the last hilt alias is hilt-3 not hilts-3.

* I don't think the "vstr name-1" command is executed in the
"set my-name" setting.
 Master Burner
08-09-2002, 9:09 PM
#399
Originally posted by zworqy
Burner:

Let's see...
* most aliases are called xxxxx-1 but dinsult1 and yinsult1 are not. Is this correct?

* name-3 is used both in JHQ and CS section.

* the last hilt alias is hilt-3 not hilts-3.

* I don't think the "vstr name-1" command is executed in the
"set my-name" setting.


donno don't know very much about scripting.... but at least i can see where your going with the name-3 and hilt-3(or the other numbers) all i did was copy Sith Maximus' and edited it...
 Primesghost
08-10-2002, 6:06 AM
#400
Originally posted by JaraDaj
Besides, arguing over the internet is like running in the special olympics. No matter who wins, you still look stupid.

Ok, right off the bat, that's about the funniest thing I've heard all week. Mind if I use that?

JaraDaj: Are you a programmer by any chance? If not, you should really consider a career in Application Develoment (That's what I do), you seem to have a talent for it.

Scripting for the Quake 3 engine (JK2 is based on the Quake 3 engine and 99% of the scripts written for Quake 3 will work in JK2) is a lot like programming.

For all those who have flamed in this thread: Get over it man. Whether it's cheating or not, whether it's unfair or not, it's not going away......ever.

I'm an application developer, which means that I write the code behind programs such as media players, word processors, and video games. Lemme break it down for ya. When JK2 starts up, it reads in all the QVM files (Quake Virtual Machine). In these files are the building blocks of the game (basically the mathematical operations performed by the computer that are then translated into what you see on the screen). Then comes the audio/visual stuff: models, images, .wav files (actually JK2 utilizes MP3 sound files). After this is done, the final step is to load the configuration files (cfg). These configuration files tell the game engine which keys should perform what actions and how the graphics, audio, and other environment settings are configured on the local machine. So, you see, without the configuration files, it would be impossible to play the game because no keyboard buttons would actually do anything.

"So", you say, "Why not just 'hard code' the button configurations into the game engine itself and do away with the ability to change the default button settings all together?"

That's a good question, here's why Raven will never do it:

It would require a complete retooling of the original source code. They would have to replace certain variable names, whose values are read in from the configuration files, to their literal counterparts. We're talking about a major change-up of several thousand lines of code. Then you have to remember that the keys on a standard keyboard in America are not represented by the same characters on a standard keyboard in any other non-english speaking country. This means that Raven now has to not only re-work the code, but has to re-work the code for every single language in the world. You starting to see why this just isn't cost effective? We coders aren't cheap you know.

Ok, I'll get down off my soap box now.

I wanted to let everyone pertinent to this thread know that there are several VERY high quality tutorials on the Web for writing these things. If you'd like to learn more about how it's done, you can start by going to http://www.planetquake.com/thebind/)

This site is written for binding in Quake 3, but for the most part it works the same in JK2.

Here are a few of my own scripts (excuse the comments in a few of em, I sometimes tend to get a little comment happy):


// When you press the bound key you crouch, press again to stand up
set crouch1 "+movedown; echo Crouching...; set crouch vstr crouch2"
set crouch2 "-movedown; echo Standing...; set crouch vstr crouch1"

set crouch "vstr crouch1"

bind c "vstr crouch"

// When you press the bound key you run, press again to walk (you have to disable the always run feature or the messages will display backwards)
set run1 "+speed; echo Running...; set run vstr run2"
set run2 "-speed; echo Walking...; set run vstr run1"

set run "vstr run1"

bind shift "vstr run"

// Press the bound key to start recording a demo, again to stop
// Record up to 80 demos in a session before they start to overwrite
// ******************************
// *Written By: =sRs=Primesghost*
// * Demo Config Ver: 1.2 *
// * www.quakemonster.com) *
// ******************************

// Installation:
// --------------------------------------------------------------------------------------
// Place this code into a Notepad text file.
// Save the file with any filename you wish.
// Edit the file's ".txt" extension to ".cfg"
// copy the file into your "Quake III Arena\baseq3" folder
// (this folder is usually found at "driveletter:Program Files\Quake III Arena\baseq3")
// --------------------------------------------------------------------------------------
//
// Usage:
// ---------------------------------------------------
// While playing Quake 3: Arena
// Load the config (cfg) file: /exec ConfigName
// ---------------------------------------------------

// Begin code

// demo(01 - 80) are basically variables with specific commands attached to each.
// The commands attached to the demo(01 - 80) alternate the recording process.
// The first time the bound key is pressed, demo1 is triggered.
//
// demo1:
// Turns on Synchronous Client mode
// Begins recording of a demo with the filename "demo0001"
// Turns off Synchronous Client mode
// Binds the key (whichever key was bound to demo) to demo2
//
// demo2:
// Stops the recording of current demo
// Binds the key (whichever key was bound to demo) to demo3
//
// The cycle continues up to 40 demos and starts over (this will record over previous demos).
//
set demo1 "g_synchronousclients 1; record demo0001; g_synchronousclients 0; set demo vstr demo2"
set demo2 "stoprecord; set demo vstr demo3"
set demo3 "g_synchronousclients 1; record demo0002; g_synchronousclients 0; set demo vstr demo4"
set demo4 "stoprecord; set demo vstr demo5"
set demo5 "g_synchronousclients 1; record demo0003; g_synchronousclients 0; set demo vstr demo6"
set demo6 "stoprecord; set demo vstr demo7"
set demo7 "g_synchronousclients 1; record demo0004; g_synchronousclients 0; set demo vstr demo8"
set demo8 "stoprecord; set demo vstr demo9"
set demo9 "g_synchronousclients 1; record demo0005; g_synchronousclients 0; set demo vstr demo10"
set demo10 "stoprecord; set demo vstr demo11"
set demo11 "g_synchronousclients 1; record demo0006; g_synchronousclients 0; set demo vstr demo12"
set demo12 "stoprecord; set demo vstr demo13"
set demo13 "g_synchronousclients 1; record demo0007; g_synchronousclients 0; set demo vstr demo14"
set demo14 "stoprecord; set demo vstr demo15"
set demo15 "g_synchronousclients 1; record demo0008; g_synchronousclients 0; set demo vstr demo16"
set demo16 "stoprecord; set demo vstr demo17"
set demo17 "g_synchronousclients 1; record demo0009; g_synchronousclients 0; set demo vstr demo18"
set demo18 "stoprecord; set demo vstr demo19"
set demo19 "g_synchronousclients 1; record demo0010; g_synchronousclients 0; set demo vstr demo20"
set demo20 "stoprecord; set demo vstr demo21"
set demo21 "g_synchronousclients 1; record demo0011; g_synchronousclients 0; set demo vstr demo22"
set demo22 "stoprecord; set demo vstr demo23"
set demo23 "g_synchronousclients 1; record demo0012; g_synchronousclients 0; set demo vstr demo24"
set demo24 "stoprecord; set demo vstr demo25"
set demo25 "g_synchronousclients 1; record demo0013; g_synchronousclients 0; set demo vstr demo26"
set demo26 "stoprecord; set demo vstr demo27"
set demo27 "g_synchronousclients 1; record demo0014; g_synchronousclients 0; set demo vstr demo28"
set demo28 "stoprecord; set demo vstr demo29"
set demo29 "g_synchronousclients 1; record demo0015; g_synchronousclients 0; set demo vstr demo30"
set demo30 "stoprecord; set demo vstr demo31"
set demo31 "g_synchronousclients 1; record demo0016; g_synchronousclients 0; set demo vstr demo32"
set demo32 "stoprecord; set demo vstr demo33"
set demo33 "g_synchronousclients 1; record demo0017; g_synchronousclients 0; set demo vstr demo34"
set demo34 "stoprecord; set demo vstr demo35"
set demo35 "g_synchronousclients 1; record demo0018; g_synchronousclients 0; set demo vstr demo36"
set demo36 "stoprecord; set demo vstr demo37"
set demo37 "g_synchronousclients 1; record demo0019; g_synchronousclients 0; set demo vstr demo38"
set demo38 "stoprecord; set demo vstr demo39"
set demo39 "g_synchronousclients 1; record demo00020; g_synchronousclients 0; set demo vstr demo40"
set demo40 "stoprecord; set demo vstr demo41"
set demo41 "g_synchronousclients 1; record demo00021; g_synchronousclients 0; set demo vstr demo42"
set demo42 "stoprecord; set demo vstr demo43"
set demo43 "g_synchronousclients 1; record demo00022; g_synchronousclients 0; set demo vstr demo44"
set demo44 "stoprecord; set demo vstr demo45"
set demo45 "g_synchronousclients 1; record demo00023; g_synchronousclients 0; set demo vstr demo46"
set demo46 "stoprecord; set demo vstr demo47"
set demo47 "g_synchronousclients 1; record demo00024; g_synchronousclients 0; set demo vstr demo48"
set demo48 "stoprecord; set demo vstr demo49"
set demo49 "g_synchronousclients 1; record demo00025; g_synchronousclients 0; set demo vstr demo50"
set demo50 "stoprecord; set demo vstr demo51"
set demo51 "g_synchronousclients 1; record demo00026; g_synchronousclients 0; set demo vstr demo52"
set demo52 "stoprecord; set demo vstr demo53"
set demo53 "g_synchronousclients 1; record demo00027; g_synchronousclients 0; set demo vstr demo54"
set demo54 "stoprecord; set demo vstr demo55"
set demo55 "g_synchronousclients 1; record demo00028; g_synchronousclients 0; set demo vstr demo56"
set demo56 "stoprecord; set demo vstr demo57"
set demo57 "g_synchronousclients 1; record demo00029; g_synchronousclients 0; set demo vstr demo58"
set demo58 "stoprecord; set demo vstr demo59"
set demo59 "g_synchronousclients 1; record demo0030; g_synchronousclients 0; set demo vstr demo60"
set demo60 "stoprecord; set demo vstr demo61"
set demo61 "g_synchronousclients 1; record demo0031; g_synchronousclients 0; set demo vstr demo62"
set demo62 "stoprecord; set demo vstr demo63"
set demo63 "g_synchronousclients 1; record demo0032; g_synchronousclients 0; set demo vstr demo64"
set demo64 "stoprecord; set demo vstr demo65"
set demo65 "g_synchronousclients 1; record demo0033; g_synchronousclients 0; set demo vstr demo66"
set demo66 "stoprecord; set demo vstr demo67"
set demo67 "g_synchronousclients 1; record demo0034; g_synchronousclients 0; set demo vstr demo68"
set demo68 "stoprecord; set demo vstr demo69"
set demo69 "g_synchronousclients 1; record demo0035; g_synchronousclients 0; set demo vstr demo70"
set demo70 "stoprecord; set demo vstr demo71"
set demo71 "g_synchronousclients 1; record demo0036; g_synchronousclients 0; set demo vstr demo72"
set demo72 "stoprecord; set demo vstr demo73"
set demo73 "g_synchronousclients 1; record demo0037; g_synchronousclients 0; set demo vstr demo74"
set demo74 "stoprecord; set demo vstr demo75"
set demo75 "g_synchronousclients 1; record demo0038; g_synchronousclients 0; set demo vstr demo76"
set demo76 "stoprecord; set demo vstr demo77"
set demo77 "g_synchronousclients 1; record demo0039; g_synchronousclients 0; set demo vstr demo78"
set demo78 "stoprecord; set demo vstr demo79"
set demo79 "g_synchronousclients 1; record demo00040; g_synchronousclients 0; set demo vstr demo80"
set demo80 "stoprecord; set demo vstr demo1"

// Sets demo equal to demo1
set demo "vstr demo1"

// Binds F12 to the vstr demo
bind f12 "vstr demo"

// End code

Keep up the good work, I'm working on a comprehensive explanation of how scripts work and a few good scripting habits. I'll post it here when I finish it.
Page: 8 of 19