Right Click = Grenade throw? Created 16 years ago2007-08-10 07:30:09 UTC by aaron_da_killa aaron_da_killa

Created 16 years ago2007-08-10 07:30:09 UTC by aaron_da_killa aaron_da_killa

Posted 16 years ago2007-08-10 07:30:09 UTC Post #231747
I was wondering if there was a way to make the right mouse button throw a grenade (with out coding)? Maybe there is an impulse command that throws a grenade and I can bind it to the right mouse button?
Posted 16 years ago2007-08-10 13:33:46 UTC Post #231773
I can't think of any solution that doesn't involve coding.. Some kind of .cfg file, binding the RMB to +attack, that'd be executed when the player deploys his grenade is probably the next closest thing. You'd have to use Spirit for that, and even then I'm not sure if it's possible.
Daubster DaubsterVault Dweller
Posted 16 years ago2007-08-10 13:51:32 UTC Post #231774
Binding the RMB to switch to your grenade and then attack, and maybe then have it switch back to previous weapon.
Posted 16 years ago2007-08-10 14:35:46 UTC Post #231778
Sounds like coding would be required to be efficient. Like holding the button to build up momentum.
monster_urby monster_urbyGoldsourcerer
Posted 16 years ago2007-08-10 14:40:55 UTC Post #231780
i could make a script that makes right click switch to a nade and then through it
Posted 16 years ago2007-08-10 19:32:25 UTC Post #231812
You Could firewaler? That would be awesome!!!

Well here is an update, I have binded the the rmb to instantly swap to the grenade but the next step it to actually also through the grenade aswell. My question now is are you able to bind the rmb to more than one command, eg: bind "mouse2" "+gren1, +attack"

And thankfully the mod I'm wanting to do this for is using spirit of half-life. To be honest most people should be using it, soooo many features.
Posted 16 years ago2007-08-14 08:59:49 UTC Post #232058
Go for something like: bind MOUSE2 "slot5 (not sure if this is the right command for the slot, search config.cfg for it);+attack;+attack"

I think that should work.. I think.
Daubster DaubsterVault Dweller
Posted 16 years ago2007-08-14 09:01:37 UTC Post #232059
Doesn't work. Just tried it myself, all it does is select the fifth slot.
The Mad Carrot The Mad CarrotMad Carrot
Posted 16 years ago2007-08-14 12:20:39 UTC Post #232071
what if you put an extra 5 +attack's in there
Tetsu0 Tetsu0Positive Chaos
Posted 16 years ago2007-08-14 16:45:05 UTC Post #232086
it might work in spirit? I don't know.
You must be logged in to post a response.