Guest HertogJan Posted April 20, 2002 Posted April 20, 2002 Hi! I'm used to script for Counter-Strike, and I found the alias system of CS very convenient... I tried using the same technique for JK2, but it didn't work! How does scripting for JK2 / Quake 3 work? I would like to tweak my Jk2 to the max...
Phr00t Posted April 20, 2002 Posted April 20, 2002 It works in the same way as Quake 3 works (ie, rather retardedly). Make an autoexec.cfg file and place it in /base/. To set your aliases, use this setup. seta myaliasname "say My Alias; say Does ; say This" and to bind it... bind mykey "vstr myaliasname" the "vstr" command executes the contents of a variable. The only downside is that you cannot create +and-commands. =[
Guest HertogJan Posted April 20, 2002 Posted April 20, 2002 Ah thx m8, that's just what I needed... And yeah, it is a retarded way, I'd rather have the Counter-Strike method... I liked the + commands! There isn't ANY way to make a + and - command? Ah well, at least now I can make toggle commands HertogJan's toggle crouch script: seta tcrouch crouchon seta crouchon "+crouch; seta tcrouch crouchoff" seta crouchoff "-crouch; seta tcrouch crouchon" bind c "vstr tcrouch" Although I'm not sure if +crouch exists BTW, do you know how to make a "crouch only" script, that will make you crouch instead of roll when running (guess you all know why I'd want that )
Recommended Posts
Archived
This topic is now archived and is closed to further replies.