blocks.gif
Navigation
 

icon_home.gif Home
icon_community.gif Community
tree-T.gif Forums
tree-T.gif Feeds
tree-T.gif Tutorials
tree-T.gif Surveys
icon_poll.gif Enemy Territory
tree-T.gif Server Rules
icon_members.gif Site
tree-T.gif Statistics
tree-L.gif Sitemap

 

blocks.gif
ET - QW Status
 

 

blocks.gif
ET Jaymod - Status
 

 

blocks.gif
TS Block
 

BBA TeamSpeak Viewer

 

 
Buffalo Bad Ass: Forums
 


  Buffalo Bad Asses :: View topic - "Switch to alternate" - button
 
"Switch to alternate" - button
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Buffalo Bad Asses Forum Index -> FAQ's & Game Help
View previous topic :: View next topic  
Author Message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Tue Jan 01, 2008 5:36 am    Post subject: "Switch to alternate" - button Reply with quote

New problem.. So i cant replace that button in jaymod, its mouse 2, but i cant replace it.. i can replace it in normal mod but when i run to jaymod i cant.. so what i can do?


Thanks


***Late***
Back to top
View user's profile Send private message
Fish
Newbie
Newbie


Joined: Jun 06, 2007
Posts: 40
Location: Somewhere in 2/3 of the world...
Status: Offline

PostPosted: Tue Jan 01, 2008 3:55 pm    Post subject: Reply with quote

You could create a config which will contain all your binds. That way you can "exec" it and it will loads all the binds you want, in any ET mod.

Creat a file using notepad called: autoexec.cfg

Put it in the "etmain" folder in your ET directory.

Make sure you save it with the CFG file extension. Make sure to select ALL FILES so it doesn't save with the .txt file extension.

Insert this code into the autoexec.cfg (it is the default ET binds):

Code:

unbindall
bind TAB "+scores"
bind ESCAPE "togglemenu"
bind SPACE "+moveup"
bind , "mapzoomout"
bind - "zoomout"
bind . "mapzoomin"
bind 0 "weaponbank 10"
bind 1 "weaponbank 1"
bind 2 "weaponbank 2"
bind 3 "weaponbank 3"
bind 4 "weaponbank 4"
bind 5 "weaponbank 5"
bind 6 "weaponbank 6"
bind 7 "weaponbank 7"
bind 8 "weaponbank 8"
bind 9 "weaponbank 9"
bind = "zoomin"
bind ` "toggleconsole"
bind a "+moveleft"
bind b "+zoom"
bind c "+movedown"
bind d "+moveright"
bind e "+leanright"
bind f "+activate"
bind g "+mapexpand"
bind l "openlimbomenu"
bind m "mvactivate"
bind q "+leanleft"
bind r "+reload"
bind s "+back"
bind t "messagemode"
bind u "messagemode3"
bind v "mp_quickmessage"
bind w "+forward"
bind x "+prone"
bind y "messagemode2"
bind z "mp_fireteammsg"
bind ~ "toggleconsole"
bind CAPSLOCK "+speed"
bind ALT "+stats"
bind CTRL "+topshots"
bind SHIFT "+sprint"
bind F1 "vote yes"
bind F2 "vote no"
bind F3 "ready"
bind F4 "notready"
bind F11 "autoscreenshot"
bind F12 "autorecord"
bind KP_LEFTARROW "selectbuddy 3"
bind KP_5 "selectbuddy 4"
bind KP_RIGHTARROW "selectbuddy 5"
bind KP_END "selectbuddy 0"
bind KP_DOWNARROW "selectbuddy 1"
bind KP_PGDN "selectbuddy 2"
bind KP_ENTER "mp_fireteamadmin"
bind KP_INS "selectbuddy -2"
bind KP_DEL "selectbuddy -1"
bind MOUSE1 "+attack"
bind MOUSE2 "weapalt"
bind MWHEELDOWN "weapprev"
bind MWHEELUP "weapnext"


From there, you can modify which keys are bound to which functions. Say I wanted to make MOUSE2 crouch instead of weapon alt. I'd change "bind MOUSE2 "weapalt"" TO "bind MOUSE2 "+down"". Because Weapon alt was on MOUSE2 before it will be unbound, so you'll have to find a new key for it.

After you have started ET AND loaded Jaymod (or joined a jaymod server), pull down console and type: /exec autoexec.cfg

Upon doing so all your binds will be set according to the code in the autoexec.cfg file.

If you confused or got questions, just let me know.
_________________

"There are three types of people in this world, those who can count, and those who can't"
Back to top
View user's profile Send private message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Wed Jan 02, 2008 12:41 am    Post subject: Reply with quote

i will try this, hope i understand.. thanks fish.
Back to top
View user's profile Send private message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Wed Jan 02, 2008 1:45 am    Post subject: Reply with quote

ok now i maked notepad copyed that code to it, named autoexec.cfg and then saved to etmain, but it isnt working, dunno why but i got same by just doing /bind mouse3 weapalt. :) :) :) but thanks wery much :D
Back to top
View user's profile Send private message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Wed Jan 02, 2008 8:51 am    Post subject: Reply with quote

ok now i want to know how it works whit autoexec.cfg.. hope u can say what went wrong.
Back to top
View user's profile Send private message
Fish
Newbie
Newbie


Joined: Jun 06, 2007
Posts: 40
Location: Somewhere in 2/3 of the world...
Status: Offline

PostPosted: Thu Jan 03, 2008 12:23 am    Post subject: Reply with quote

Make sure all the correct binds that you want are set in the autoexec.cfg.

Then, you'll need to type /exec autoexec.cfg in console after you've joined the server you are going to play on.
_________________

"There are three types of people in this world, those who can count, and those who can't"
Back to top
View user's profile Send private message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Thu Jan 03, 2008 12:00 pm    Post subject: Reply with quote

i have done that it just loads some voice cfg, what should give info from del (doesnt work eihter) and i tested to but normal cfg again and nothing..
Back to top
View user's profile Send private message
Fish
Newbie
Newbie


Joined: Jun 06, 2007
Posts: 40
Location: Somewhere in 2/3 of the world...
Status: Offline

PostPosted: Thu Jan 03, 2008 12:46 pm    Post subject: Reply with quote

If you have an instant messagenger (e.g. AIM, Yahoo!, etc.), I'd be glad to help you set up the autoexec.cfg. Just let me know.
_________________

"There are three types of people in this world, those who can count, and those who can't"
Back to top
View user's profile Send private message
TrenchRager
BBA Backer


Joined: Jan 04, 2008
Posts: 1

Status: Offline

PostPosted: Sun Jan 06, 2008 8:16 am    Post subject: Reply with quote

I actually asked in-game if Jaymod supported alt fire because it wouldn't let me configure the button, either. The only way I got it to work was to 'default' the layout before I joined the server. I'll get around to a custom .cfg file in a day or two. It's been about a year since I played this game, so I'm trying to ease into it.
Back to top
View user's profile Send private message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Mon Jan 07, 2008 1:08 pm    Post subject: Reply with quote

Sry i dont understand where those cant be huh but i dont have those, atleast i think that i dont have.
Back to top
View user's profile Send private message
Weapon_NeXt
Bad Ass Groupie
Bad Ass Groupie


Joined: Nov 27, 2007
Posts: 321
Location: Making you cross-eyed with the Shotgun I point above your nose! :)
Status: Offline

PostPosted: Tue Jan 08, 2008 6:57 pm    Post subject: Reply with quote

All you should have to do is this.

Code:

/bind mouse2 +attack2


And make sure you save to your Jaymod profile with this.
Code:

/writeconfig etconfig.cfg

_________________
Pron: It's porn for the dyslexic.
Back to top
View user's profile Send private message
Hautsi
Banned Idiot


Joined: Oct 18, 2006
Posts: 8
Location: Behind God's Back
Status: Offline

PostPosted: Wed Jan 09, 2008 6:54 am    Post subject: Reply with quote

Its working whitout that but nice to know if i try some new binds.

Thanks to Fish and Weapon for replies.


***Late***
Back to top
View user's profile Send private message
HoosierDaddy
Newbie
Newbie


Joined: Jan 05, 2008
Posts: 6

Status: Offline

PostPosted: Tue Jan 15, 2008 10:04 am    Post subject: Next logical bind question Reply with quote

The next logical question regarding this thread would be:


Can you bind more than one kind of command to a key?

For instance, say I wanted to shoot and crouch at the same time... is this possible on a single key?


Thanks...
Back to top
View user's profile Send private message
Zeus
BBA BigBoss
BBA BigBoss


Joined: Oct 05, 2006
Posts: 2101
Location: Going insane one day at a time.
Status: Offline

PostPosted: Tue Jan 15, 2008 10:46 am    Post subject: Re: Next logical bind question Reply with quote

HoosierDaddy wrote:
The next logical question regarding this thread would be:


Can you bind more than one kind of command to a key?

For instance, say I wanted to shoot and crouch at the same time... is this possible on a single key?


Thanks...


Yes, but you would have to write a script for it, then bind that cfg script to the key. I dont have the time to go through it right now, but I know 999 had a sample somewhere if its still around, if not I am sure google will kick some up for you to use or look at.
_________________
Back to top
View user's profile Send private message Visit poster's website
Fish
Newbie
Newbie


Joined: Jun 06, 2007
Posts: 40
Location: Somewhere in 2/3 of the world...
Status: Offline

PostPosted: Tue Jan 15, 2008 4:04 pm    Post subject: Reply with quote

The basic code line for mulitple commands per key is:

Code:
bind [key] "[command 1]; [command 2]"


For example:

Code:
bind K "kill; say I just killed myself"


On pressing K you would kill yourself (hence the kill command) then say in the global chat (hence the say command) "I just killed myself". This is a useless script, but demonstrates the concept. It can be much more useful for example:

Code:
bind 1 "weaponbank 1; cg_drawgun 0"
bind 2 "weaponbank 2; cg_drawgun 0"
bind 3 "weaponbank 3; cg_drawgun 0"
bind 4 "weaponbank 4; cg_drawgun 1""
bind 5 "weaponbank 5; cg_drawgun 1"
bind 6 "weaponbank 6; cg_drawgun 1"
bind 7 "weaponbank 7; cg_drawgun 1"
bind 8 "weaponbank 8; cg_drawgun 1"
bind 9 "weaponbank 9; cg_drawgun 1"
bind 0 "weaponbank 10; cg_drawgun 1"


These are the basic weapon binds (to 1, 2, 3, etc.) with the command to hide or show the weapon on the HUD. When cg_drawgun is set to 0 the weapon won't be drawn. When set to 1, it will be drawn. So for the knife, pistol, and SMG when selected will not show, but any other weapon will.

Scripting can get a bit more advanced when you start using variables. For example:

Code:
set alpha "kill; say I just killed myself"
bind K "vstr alpha"


Using the set command, I assigned a couple commands to the varible "alpha". Then using the vstr command bound to K, I told ET to run the "alpha" varible.

The possibilities are quite numerous.
_________________

"There are three types of people in this world, those who can count, and those who can't"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Buffalo Bad Asses Forum Index -> FAQ's & Game Help All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group
Version 2.1 by Nuke Cops © 2003 http://www.nukecops.com
Techra-Dark theme pack by Kenetix

 

Forums ©