Digital Paint Discussion Board
Paintball 2: The Game => Help and Support => Resolved Help & Support => Topic started by: {appy Hamper on April 29, 2006, 03:26:56 PM
-
Is there a link, or some guide you can point me to that explains the variables and terminologies of config. files? Especially alias-ing.
Also - Is there any way to set a function key for alternate uses of buttons? ex. holding "shift" while pressing "mouse1" equals "kick" (or whatever combination)
-
All you have to do is goto the top of the site, there is a Link called Docs. Then go down for guides on all sorts of commands and stuff.
-
Consolidated link at: http://dpball.com/forums/index.php?topic=1559.0 (http://dpball.com/forums/index.php?topic=1559.0)
There is currently no option to use modifier keys in conjunction with another key (i.e. shift+b = empty_co2)
As for aliasing... you can bind a key to do more than one thing. For example if you wanted to bind a key to duck and shoot at the same time, and when you release it to stop shooting and stand up, it would look like these following lines:
alias +duckshoot "+movedown;+attack"
alias -duckshoot "-movedown;-attack"
bind KEY +duckshoot
Some people also like switching hands while strafing. (I have no idea why, but I've seen this asked at least 3 times on the servers, so I'll do that one too)
alias +lefty "+moveleft;hand 0"
alias -lefty "-moveleft;hand 2"
bind KEY +lefty
alias +righty "+moveright;hand 1"
alias -righty "-moveright;hand 2"
bind KEY +righty
Whenever binding a key to do more than one command at a time, you must put quotation marks (" ") around the line, and put a semicolon ( ; ) in between each separate command.
One such command I use is when I have a 100 round hopper and I want to drop it and pick up at 200 round hopper, but I don't want to only have 40 ammo in my new hopper if my 100 round hopper was full. Just be careful of your surroundings, because this will drop up to 75 ammo in increments of 25, so if you have something like 30 ammo, 55 ammo, or 80 ammo you're only going to be left with 5 before you pick it all back up.
bind KEY "dropammo;dropammo;dropammo;drophopper"
-
thanks, I appreciate your time!
ok so the + - thing confused me earlier.
am I correct to say:
alias +whateverIdecidetocallthisaction "+action1;+action2;+action3..."
alias -whateverIdecidetocallthisaction "-action1;-action2;-action3..."
bind "themagicbutton" "+whateverIdecidetocallthisaction"
now this automatically puts in:
bind "-themagicbutton" (release of button) "-whateverIdecidetocallthisaction"
right?
or would I have to push "themagicbutton" again to stop its actions?
-
alias h1 "echo (R);hand 0;seta crosshair 20;bind MOUSE3 h2"
alias h2 "echo (L);hand 1;seta crosshair 22;bind MOUSE3 h1"
//alias h3 "echo (M);hand 2;seta crosshair 21;bind MOUSE3 h1"
bind MOUSE3 ""h1 // mid mouse button to switch hands
-
You are correct in that it kind of automatically binds -whateverIdecidetocallthisaction to whenever you release the magic button. You don't need to push it again to stop it.
-
There's no built-in way to have key combinations do different things, though if you really wanted to, you could probably do it through some fancy aliases.
-
Yeah after I thought about it, I decided it would actually be better to just have some aliases that assigned and re-assigned mouse1. (instead of trying to hold shift, move, and still click accurately - which would be a pain in encoding too, I think) I ended up with:
alias adkill "bind mouse1 viewgib;bind g noadkill;echo gibber
alias noadkill "bind mouse1 +attack;bind g adkill;echo normal
bind "g" "adkill"
This works pretty well. Especially for that guy that keeps spawn killing me...
-
is there a way to make it when you are eliminated you say something?
-
Like "lfmao"? That would be annoying. So, no.
-
lol, that should be added to the criteria for a global ban imo.
-
Post removed
-
alias ns1 "say lmfao; bind r ns2"
alias ns2 "say lmao; bind r ns3"
alias ns3 "say lucky shot; bind r ns4"
alias ns4 "say 2gud; bind r ns1"
bind r ns1
It's not random but it should do the trick.
-
Like "lfmao"? That would be annoying. So, no.
*lmfao
-
I think smokey missed the joke. :)
-
/me doesnt believe it was a joke....heh
-
Playah obviously hasn't played with er33t. ;)
-
;D