OpenArena Message Boards

OpenArena Contributions => Maps => Topic started by: gavinyog on March 11, 2007, 09:29:38 PM



Title: bind items
Post by: gavinyog on March 11, 2007, 09:29:38 PM
any one give example to bind items?


Title: Re: bind items
Post by: tw3k on March 11, 2007, 09:42:22 PM
bind a "weapon 2" //machine gun
bind f "weapon 7" //rail
bind c "+movedown"
bind d "+back"
bind e "+forward"
bind f "+moveright"
bind g "weapon 3" //shotgun
bind h "weapon 8" //lightning
bind r "weapon 5" //rocketlauncher
bind w "weapon 6" //plasma
bind MOUSE1 "kill"


Title: Re: bind items
Post by: gavinyog on March 11, 2007, 09:45:00 PM
so should i use the ( " ) sign?


Title: Re: bind items
Post by: tw3k on March 11, 2007, 09:47:29 PM
if your editing your cfg file, yes.


Title: Re: bind items
Post by: gavinyog on March 11, 2007, 09:49:16 PM
if i want to do it while playing OA after pressing the console button?


Title: Re: bind items
Post by: Blaenk on March 11, 2007, 10:15:11 PM
Then no, don't, if through console, don't use quotes.


Title: Re: bind items
Post by: dmn_clown on March 11, 2007, 10:26:22 PM
bind MOUSE1 "kill"


Do NOT do that, that is the suicide command.


Title: Re: bind items
Post by: Blaenk on March 11, 2007, 10:57:29 PM
LOL, whoever said to do that sucks.


Title: Re: bind items
Post by: tw3k on March 11, 2007, 11:24:04 PM
;D


Title: Re: bind items
Post by: gavinyog on March 11, 2007, 11:51:01 PM
haha!!!


Title: Re: bind items
Post by: gavinyog on March 11, 2007, 11:52:30 PM
bind a "weapon 2" //machine gun
bind f "weapon 7" //rail
bind c "+movedown"
bind d "+back"
bind e "+forward"
bind f "+moveright"
bind g "weapon 3" //shotgun
bind h "weapon 8" //lightning
bind r "weapon 5" //rocketlauncher
bind w "weapon 6" //plasma
bind MOUSE1 "kill"

so do i need to use the // key?


Title: Re: bind items
Post by: tw3k on March 12, 2007, 12:04:14 AM
if your just entering them into the console, then, no

just type it like:
/bind a weapon 2

once you have everything configured to your likeing then you save your cfg using the writeconfig command.

so in the console:
/writeconfig somecfg.cfg

or you can use the name autoexec.cfg to have that  configuration load when you start the game.

then to use that config use:
/exec somecfg.cfg




Title: Re: bind items
Post by: hyp3rfocus on March 12, 2007, 01:55:48 PM
hi tw3k, i didn't know about the /writeconfig and /exec commands. very useful, thanks for that.


Title: Re: bind items
Post by: L^a^Z87 on March 12, 2007, 03:02:48 PM
can i exec an alt name??


Title: Re: bind items
Post by: tw3k on March 12, 2007, 04:42:06 PM
sure