Forums » General

Example alias' and binds...

Jul 10, 2003 BusMasteR link
filename: eva_ext.cfg:
-----------------------------------------------------

echo "Loading Auto Pilot Extention..."
bind v ""
bind < ""
alias -evarollr "+StrafeRight - ; +RotateCCW - ;"
alias +evarollr "+StrafeRight ; +RotateCCW ;"
alias -evarolll "+StrafeLeft - ; +RotateCW - ;"
alias +evarolll "+StrafeLeft ; +RotateCW ;"

alias UseEvasive "bind v +evarollr ; bind < +evarolll ; bind F8 NoEvasive ; echo Eva.Keys.Activated... ;"
alias NoEvasive "load noeva.cfg ; echo Eva.Keys.Deactivated... ;"
alias LoadEVA "load evaext.cfg"

bind F7 LoadEVA
bind F8 UseEvasive
echo "Basic Evasive Manuevering System Loaded..."
echo "Press F8 to toggle keys [< + v]..."

filename: noeva.cfg
----------------------------------------
bind < ""
bind v ""
bind F8 UseEvasive

place them in the vendetta dir run do "load evaext.cfg" from game...
This aint special or nothing but should give n00bs an idea of what and how alias' and binds can be used...
[F7, F8, <, v] keys used...

(I DO *NOT* USE THIS PERSONALLY - i made it for the n00bs of TPi)
Jul 10, 2003 Eldrad link
You know on your echo's you can say 'Eva Keys Activated' inside the " ".

Ooo... I didn't know you could load .cfg files.
Jul 10, 2003 slappyknappy link
This is fantastic. And helpful. And constructive.

Thanks.

/me hands Bus a gold star.
Jul 10, 2003 Forum Moderator link
Excellent post/thread. That's what it's all about. Thanks!
Jul 10, 2003 Eldrad link
Here's one I made last night... I posted it under a different thread but I'll copy it here too:

alias aim1 "set autoaim 0; bind 'key' aim2"
alias aim2 "set autoaim 1; bind 'key aim1"
bind 'key' aim1

This allows you to toggle autoaim (or any other command) when you hit the 'key'. Would be useful for traders using eff engines easier than typing +turbo each time.
Jul 11, 2003 Rabid Panda link
/launch EVA
/launch Ragnarock
/load Pudding.ini
World Status: Orange Pudding
Jul 11, 2003 BusMasteR link
Tnks =)

/me loves orange pudding %D (and gold stars too, slappy ;)

(if you notice Eldrad you cant because echo also have to be inside the "" and will cause it to linebreak on spaces)

EDIT: btw - can someone point me to a "small" freeware perl interpreter for windows and mac (i need it to complete my scripts, for making it an installable independent package)
Jul 11, 2003 slappyknappy link
mac has perl built in (in v10+).

...speaking of macs, I tried to use the files you suggested; I put them in the same directory as the Vendetta application, *and* I put them inside the application bundle itself. Still, the "load eva_ext.cfg" didn't work. Am I doing something wrong?
Jul 11, 2003 BusMasteR link
the eva_ext.cfg and noeva.cfg should be placed in the vendetta dir itself. If the "/load eva_ext.cfg" doesn't work try using a full path to it (eg. c:\vendetta_dir\eva_ext.cfg) - if that works you will need to adjust these 2 lines in 'eva_ext.cfg' to use full paths for the load statements:

alias NoEvasive "load noeva.cfg ; echo Eva.Keys.Deactivated... ;"
alias LoadEVA "load evaext.cfg"

ps: i *really* dont know jack about mac, so i use windows as an example since most ppl know that...

EDIT(again =): tnks slappy didn't know... how about tail and wget - are there any equals for them?
Jul 11, 2003 Celkan link
Quote:
alias NoEvasive "load noeva.cfg ; echo Eva.Keys.Deactivated... ;"
alias LoadEVA "load evaext.cfg"

you can use apostraphes. I use them so I can use spaces.
it would look like this:
alias noEvasive "load noeva.cfg; echo 'Eva Keys Deactivated...'"

and it would show on screen Eva Keys Deactivated
otherwise if you use spaces it shows
Eva
Keys
Deactivated

and using the "."s doewsn't look right to me. here's my binding that utilizes it.

alias startup1 "echo '***Itani Flight Systems v3.2.10***'; echo '***Produced by Guild Software***'; +Brakes; +Accelerate;"
bind 8 startup1
alias startup2 "echo '***Neutral Flight Control v3.2.10***'; echo '***Produced by Guild Software***'; +Brakes; +Accelerate;"
bind 9 startup2
alias startup3 "echo '***Serco Control Program v3.2.10***'; echo '***Produced by Guild Software***'; +Brakes; +Accelerate;"
bind 0 startup3
alias aimon "Set autoaim 1; echo '***Aim Support v3.2.10 now ON***'"
bind ? aimon
alias aimoff "Set autoaim 0; echo '***Aim Support v3.2.10 now OFF***'"
bind / aimoff

EDIT: it looks cool too...
Jul 11, 2003 Eldrad link
BusMateR: You can, you just have to use ' (single quotes) and " (double quotes). You're right that you can't using double quotes inside other double quotes.

slappyknappy they icon you double click to run vendetta is a folder. You right (or ctrl) click on it and say "View contents" in Finder or cd vendetta.app/Contents/ in terminal to get into it.
Jul 11, 2003 slappyknappy link
Eldrad,

I did that... it didn't work.

/me is confused

(thanks though)
Jul 11, 2003 Eldrad link
Weird it works fine for me...
/me joins slappyknappy's confusion
Jul 13, 2003 BusMasteR link
Tnks Eldrad - i didn't know the ' could be used too...

** EDIT: text deleted **
Jul 13, 2003 Celkan link
slappyknappy: look at my previous post to see how it was(is) done. My configuration there works.