Forums » Suggestions

Command Sets

Mar 28, 2004 ctishman link
Y'know, I just don't have all of the console commands I'd like. I know, I'm a greedy pig.

I could normally do this, but /load ing a .txt full of commands just permanently dumps them into wgaf.cfg, which makes me unhappy. Would it be possible to adjust things so that I can load/unload keysets or parts of keysets at will? For example, I'd like to taunt the triflare I just pwnzed in my Prom, so I

/load taunts.txt

(preferably with a bind) and then I press j which says "Taste Serco Fury, Itani Weakling!"

then someone steals our flag, so I press F5, which does this:

/unload (which unloads the most recently loaded bind module and removes the references from the wgaf.cfg)
/load flag.txt

and press j, which says "Serco, Rally to action! They have our flag but we are not defeated! Report to S12 to defend your nation's honor!"



get it?
Mar 29, 2004 randomblast link
heh, i'm not helping a Serco :p
um, and i have no idea how to do it except for....
get an extra USB kb, with a user-space implementation of the driver listening for keystrokes and sending them directly to vendetta as your own hex codes?
Then you can have all your chat-binds on a seperate kb
Mar 29, 2004 ctishman link
Well, I'd like to be able to use my joystick's 9 or so buttons as sort of a ChatStick, but Vendetta happily recognizes it for what it is and refuses to see it as anything else.
Mar 29, 2004 Pirogoeth2 link
You should be able to read only your wgaf.cfg, then execute scripts for temporary bindings in game.
Mar 29, 2004 ctishman link
Rather, Vendetta's approach to Joysticks seems to be all or nothing. Either the joystick is present and is being used as the primary navigation device, or it doesn't exist at all. What I want is to bind the joystick to do something other than steer the ship.
Mar 29, 2004 raybondo link
you should be able to bind the buttons to any command you want.
Mar 29, 2004 ctishman link
Yes, but I'd like to continue using the mouse to change my heading. Is it possible to have my stick and use mouse, too?
Mar 30, 2004 a1k0n link
Absolutely. Joystick buttons are treated exactly like keys; just press the button in the key binding menu. It may complain if you move the stick and the stick axes are bound to rotational axes, but you can select a different axis binding.

I've heard of some people using joysticks for strafing and acceleration and mice for aiming.
Mar 30, 2004 Spellcast link
ctishman. yes it is. but apparently only to a point.

I was experementing with this today because i used to fly with the mouse and use the joystick for strafes. This will work, and you can assign the joystick buttons to any key in the controls section, they will work there as well, even if you have mouselook enabled.
You can have multiple joysticks/game controllers on your computer, and the game will recognize the buttons from all of them, and let you configure each button to do something different. You can also have each axis on each stick configured differently and it will accept input from all of them(for instance 1 stick can control pitch/yaw and another stick control strafe left-right/up-down).
Now comes the part that has me stuck, as far as i can tell you CANNOT bind the joystick buttons using the /bind command, so you cant bind them to an alias. it would appear that typing /bind JOY0BUTTON0 <command> you would be able to bind <command> to the first button on the first joystick, but you cant. it does not recognize the joystick buttons as keypresses. it acknowledges the mouse buttons because i have several text alias messages bound to my mouse buttons.

Ray / A1k0n am i missing something? does the game not recognize the buttons by the name they appear as in the keyboard config interface?

I determined that the first joystick is JOY0, the second JOY1 etc and that the buttons are BUTTON0, BUTTON1, BUTTON2, etc.
They show up in the keyboard config when i bind them to a key as "JOY0BUTTON0" AND "JOY1BUTTON0" (the first button on each of my joysticks) however when i try to type those identifiers into the /bind command it doesn't accept them. As long as all i try to use them for are the predefined commands and set them via the congigure interface i have no trouble, it's only when i try to bind them using /bind that nothing happens.
Mar 30, 2004 a1k0n link
Hmm. I believe that that's supposed to work, and recent changes to the input parser might have changed that, but I'm speculating. Ray would be able to answer, while I can just post and rant uselessly in this thread while appearing to be authoritative! Go me!
Mar 30, 2004 ctishman link
Go A1k0n!
Mar 31, 2004 raybondo link
Currently you cannot use the bind command to bind joystick buttons. I'll have to make that work again some time.
Mar 31, 2004 Spellcast link
shouldn't that be "I'll have to make that work again 'SOON'" ?
Mar 31, 2004 ctishman link
Can you manually write them into your wgaf.cfg?
Mar 31, 2004 raybondo link
No, you have to edit the config.ini file but it is similar.
Apr 01, 2004 ctishman link
mmkay