bindning buttons

Any discussion concerning Dream-Evil and its servers will be held here.
lunajamba
Server Administrator
Posts: 66
Joined: Fri Dec 23, 2011 1:18 am
Steam Username: lunajamba449
Location: Sweden

bindning buttons

Post by lunajamba »

I learned yesterday that you could bind keys to make scripts. For example press f2 to buy weapons. I wonder if its possible to change 3 (switch to knife) to mousebutton 4/5. i have 2 addional buttons on my Razer deathadder which i like to use ingame. But as a newb in this scripting thing i'd like to hear what you guys know about this, if its even possible.
// jackluna
N3bulouz
Server Administrator
Posts: 1009
Joined: Tue Dec 01, 2009 5:48 pm
Steam Username: beehpz
Location: Netherlands
Contact:

Re: bindning buttons

Post by N3bulouz »

Uhm, can't you just change this in Settings/Controls ?
Image
lunajamba
Server Administrator
Posts: 66
Joined: Fri Dec 23, 2011 1:18 am
Steam Username: lunajamba449
Location: Sweden

Re: bindning buttons

Post by lunajamba »

not this im afraid, you can only change meny keys and movement;/
// jackluna
User avatar
fruitbowl 1
Server Administrator
Posts: 436
Joined: Sun Mar 21, 2010 2:23 pm
Steam Username: joniz_93

Re: bindning buttons

Post by fruitbowl 1 »

Interesting, I have a deathadder too so I'll try to check if there's a way to bind the side buttons.
Asus M4A89GTD Pro | AMD Phenom II X4 955 Black Edition @ 3.2GHz | ASUS EAH5770 + Sapphire Vapor-X HD5770 in CF | Corsair XMS3 Venegeance 2x4GB CL9 | Western Digital Caviar Black 750GB |OCZ ModXStream Pro 600W | Fractal Design Define R4
KickFoot
Server Administrator
Posts: 538
Joined: Mon Jul 27, 2009 11:11 pm
Location: Hermosa Suecia
Contact:

Re: bindning buttons

Post by KickFoot »

This is how my binds are when playing:
ScrollUp = Flashbang
Mouse5 = Grenade
4 = Smoke
ScrollDown = Jump

To bind your additional buttons, you simply type e.g:
bind "mouse4" "use weapon_flashbang"
bind "mouse5" "use weapon_smokegrenade"

or if you want to use them to buy...

bind "mouse4" "buy weapon_awp"
bind "mouse5" "buy weapon_m4a1"

I believe this is how they must look in your config file, but if you want to do it through console, just remove the quotation marks on mouse5 and mouse4 (like this: bind mouse4 "buy weapon_awp").

This is how you bind the knife: bind mouse4 "use weapon_knife"
Image
User avatar
fruitbowl 1
Server Administrator
Posts: 436
Joined: Sun Mar 21, 2010 2:23 pm
Steam Username: joniz_93

Re: bindning buttons

Post by fruitbowl 1 »

Thanks kickfoot!
Asus M4A89GTD Pro | AMD Phenom II X4 955 Black Edition @ 3.2GHz | ASUS EAH5770 + Sapphire Vapor-X HD5770 in CF | Corsair XMS3 Venegeance 2x4GB CL9 | Western Digital Caviar Black 750GB |OCZ ModXStream Pro 600W | Fractal Design Define R4
lunajamba
Server Administrator
Posts: 66
Joined: Fri Dec 23, 2011 1:18 am
Steam Username: lunajamba449
Location: Sweden

Re: bindning buttons

Post by lunajamba »

thanks!:)
// jackluna
Post Reply