JK2 Script Help -1 reply

  • 1
  • 2

Please wait...

Shmible

I don't spend enough time here

50 XP

10th June 2004

0 Uploads

22 Posts

0 Threads

#1 14 years ago

Hi I was wondering if anyone could give me a script that goes from blue stance, to red, does a red lunge, then goes back to blue stance. I tried making one myelf, but I suck at scripting, so I couldn't do it.




AC :: Cobra

Lead Programmer

50 XP

5th February 2004

0 Uploads

18 Posts

0 Threads

#2 14 years ago

Hi Shmible, I have a beta code that works for me. Now make sure you're on Fast stance when you hit the key. It will do the red lunge and go back to the blue stance automatically:

set redSaberMove "+speed; +attack; -attack; wait 60; +attack; -attack; wait 50; +forward; +attack; -attack; +moveup; wait 5; -moveup; -forward; -speed;" set saberCycle "wait 5; saberAttackCycle; wait 5;" bind b "vstr saberCycle; vstr saberCycle; vstr redSaberMove; vstr saberCycle" // [first in blue stance then] cycle once to yellow, cycle again to red. Do lunge, and go back to blue stance

You can make a .cfg out of that. Just open notepad, rename the .txt to .cfg and go into the game and do "exec myscript.cfg" or whatever. I hope this works. Somtimes the "wait" for the red lunge are different since CPU speeds are different. Just modify it until you find what you like. Just press "b" or whatever key you set to... Change "bind b" to the key you want. It should do the rest. Not the best script ever, but I hope its what you are looking for. :cool: Hope this helps, - [color=blue]AC[/color] :: [color=blue]C[/color]obra




Shmible

I don't spend enough time here

50 XP

10th June 2004

0 Uploads

22 Posts

0 Threads

#3 14 years ago

ok thanx




Zero_final

I'm a VERY good skinner :D

50 XP

7th February 2004

0 Uploads

224 Posts

0 Threads

#4 14 years ago

this can go longer. if you wanted,you could go back to blue and do a blue lunge if the code was made right.




Shmible

I don't spend enough time here

50 XP

10th June 2004

0 Uploads

22 Posts

0 Threads

#5 14 years ago

The script that Cobra gave me didn't work. So, any other suggestions? And no, I don't need the blue lunge, but thanx anyways.




Dark Maul

|*|*|*|*|*|*|*|*|

50 XP

14th November 2002

0 Uploads

863 Posts

0 Threads

#6 14 years ago

How did you use it? You put it in a cfg right? don't forget to type "exec whatYouCalledIt" before you try to use it.




Shmible

I don't spend enough time here

50 XP

10th June 2004

0 Uploads

22 Posts

0 Threads

#7 14 years ago

Yeah. I executed it too. It said that some of the things didn't exhist.




Kold

Silly Noob

50 XP

12th June 2004

0 Uploads

14 Posts

0 Threads

#8 14 years ago

duno




Dark Maul

|*|*|*|*|*|*|*|*|

50 XP

14th November 2002

0 Uploads

863 Posts

0 Threads

#9 14 years ago

what exactly did it say didn't exist?




Shmible

I don't spend enough time here

50 XP

10th June 2004

0 Uploads

22 Posts

0 Threads

#10 14 years ago

Well. When I push the binded key (v) it says "vstr : execute a variable command". Then it says unknown command /. When I execute the file it says so much stuff that I can't even remember.




  • 1
  • 2