lfnetwork.com mark read register faq members calendar

Thread: SCRIPTS here (post & request thread)
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 06-22-2002, 01:26 AM   #1
JaraDaj
 
JaraDaj's Avatar
 
Join Date: Apr 2002
Location: Dagabah
Posts: 103
SCRIPTS here

Let's try and make this thread just scripts that we have made or find so we can share them all. It keeps all the "scripts" posts into one area so we don't have people making many threads, thus keeping the board a little cleaner.

If you aren't a scripter or have a strong opinion against scripts, i suggest you not post here and go to another post. But since most of you who don't like scripts will post anyway, try and make it short so the others who enjoy this stuff can find info quicker. Be aware that spamming will prob get you banned so let's keep this clean.


Taunting;

bind X "+taunt"


Light stance lunge attack;

set "lunge" "+movedown;wait;wait;+movedown;wait;wait;wait;+for ward;wait;+attack;wait;wait;wait;wait;wait;wait;-movedown;-attack;-forward"

bind X "vstr lunge"



Heavy stance DFA attack;

set "dfa" "+attack;wait;wait;wait;wait;wait;wait;wait;wait;w ait;wait;wait;wait;wait;wait;wait;wait;wait;wait;w ait;wait;wait;wait;wait;wait;wait;wait;wait;wait;w ait;wait;wait;wait;wait;wait;wait;wait;wait;wait;w ait;wait;wait;wait;wait;wait;wait;wait;wait;wait;w ait;wait;wait;wait;wait;wait;wait;wait;wait;wait;w ait;wait;wait;wait;wait;+forward;+moveup;wait;wait ;wait;wait;-forward;-moveup;-attack"

bind X "vstr dfa"



Any stance, back attack without the 180 degree move;

set "backstab" "+back;+moveright;+attack;wait;wait;-back;-moveright;-attack"

bind X "vstr backstab"


Kick while attacker is infront of you;

set "fkick" "+forward; +moveup; wait; -moveup; wait; +moveup; wait; -moveup; -forward"

bind X "vstr fkick"



Basic scripting knowledge;

Scripts only do things that you can normaly do ingame with buttons. They just allow you to bind many moves into one button. Every button has a + and a -. The plus is when the button is pressed down, the minus is when the button is release. You should always have a - if you have a + otherwise you will not beable to stop the move.

waits in a script is a measure of time. They allow you to configure your script for timing moves, and to compensate for lag. You can write waits like so to shorten the script;

wait; wait; wait would also equal wait3

*note, once a script is start you must let it finish. You cannot do anything else while it is running, so too many waits will leave you open. It's a good idea to start with a small number of waits then add more if need be.

The first lines usually is where you define what you are doing;

set "fkick" " (code)"
| | \
| \ This is your list of commands/moves
\ tells the name of the variable
tells the system you are setting a variable

At the end you will need to bind it to a key;

bind X "vstr (name of variable)"
| | \
| \ this names the variable you are binding
\ this is the key you want to bind the move to
Tells the system you are binding here



For a full list of commands you can either type cmdlist in the console. Or open your cfg with notepad/wordpad. I suggest saving it as a different name since edditing this cfg can cuase harm to you binds.


To run a script, you should open notepad. Copy/paste the script into notepad or write a script in notepad. Then save it with a cfg extention. Leave the cfg file in the same directory as the other cfgs. In game you should go to the console (american version just hit shift+~) and type;

exec (name of file).cfg

You can bind the execution of the script to a key also;

bind "f1" "exec test.cfg"


And last but not least you can name it autoexec.cfg and it should execute automatically when you start the game.

PS. tried to edit it so the points would be aligned, but it didn't work. The basic ideas are here so it should atleast give you an idea. Let the knowledge flow begin.... or the flaming whatever comes first. *note, let's try to ignore the flames... they are atleast nice enough to bump the post.


I would like to die peacefully and in my sleep, just like my grandfather. Not screaming in panic like the passingers in the car he was driving.
JaraDaj is offline   you may: quote & reply,
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Help Center > Strategy Shack > SCRIPTS here (post & request thread)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:14 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.