| Author |
Topic: How to bind more than one command ? |
| spike232~rb |
General Member Since: Dec 23, 2006 Posts: 5892 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Saturday, Sep. 27, 2003 10:45 pm |
 |
| Quote | | Can anyone tell me what is wrong with leaning? |
The grey area of leaning is the hitbox bug where the hitbox does not lean with the player so all weapons which use the hitbox (shotgun, knife, grenade) will effectivly pass throguth the player when they lean.
Some leagues are tring to stop people using scripts to aid them in exploiting this bug and even just normal scripts.
| Quote | It is ok if i bind like this ? eg: bind x "command1; command2; command3" |
yes, but i think theres a prob where the 2nd command might not be turned off if its a + one, not sure if it was ever fixed |
 |
|
|
| a liquid squid~rb |
General Member Since: Dec 23, 2006 Posts: 102 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Sunday, Sep. 28, 2003 06:12 am |
 |
this could be totally wrong for SOF2 (as far as commands), but a good bet would be to use an alias..
for instance: if i wanted to make a key that turned on something only until i released the key, all I would have to do is something like this:
alias +showframes "cl_showfps 1" alias -showframes "cl_showfps 0" bind F11 +showframes
A toggle key would be like this: alias showframes0 "cl_showfps 1;bind F12 showframes1" alias showframes1 "cl_showfps 0;bind F12 showframes0" bind F12 showframes0
The "+" before the "showframes", in the first example, is basically telling the game that "showframes" is not a toggle key. For example, when you hold down the 'attack' button you keep attacking until you realease it... this is because your mousebutton is bound to "+attack" When you release the mousebutton the command "-attack" is executed automatically... The reason you dont see a "-attack" in your config file is because the command "attack" is an actual command, with either the attacking or not attacking state. However, with this:
alias +showframes "cl_showfps 1" alias -showframes "cl_showfps 0" bind F11 +showframes
You DO have to define the "-showframes", because the command "showframes" is not a command... Its just the name for a command, or a set of commands... (poorly explained, i know)
Anyways... Using the same idea, a jump/crouch command could be made.. +moveup = jump +movedown = duck -moveup = brings you out of the jumping state -movedown = brings you out of the ducking state
alias +jumpduck "+moveup; +movedown" <-happens when you push space key alias -jumpduck "-moveup;-movedown" <-happens when you release space bind SPACE +jumpduck
(note: this may or may not work, I have not tested in this game)
With that as a guide, you should be able to figure this one out yourself... later |
 |
|
|
| tjh566~rb |
General Member Since: Dec 23, 2006 Posts: 935 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Sunday, Sep. 28, 2003 01:52 pm |
 |
| Quote | alias +showframes "cl_showfps 1" alias -showframes "cl_showfps 0" bind F11 +showframes |
y not just: bind x "toggle cl_showfps" |
 |
|
|
| a liquid squid~rb |
General Member Since: Dec 23, 2006 Posts: 102 Last: Dec 23, 2006 [view latest posts] |
|
|
|
|
| COLOSSOS~rb |
General Member Since: Dec 23, 2006 Posts: 17 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Monday, Sep. 29, 2003 04:08 am |
 |
Its ok dudes! I have find out about this. THANKS!! anyway all of you Something else what i want to know it is that is it any script for mirc to use it that i can see info for my sof2 server ? eg: map, players, says etc. etc. etc. Do someone knows something about it ? Thanks to all of you  |
 |
|
|
| PsychoMark~rb |
General Member Since: Dec 23, 2006 Posts: 215 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Monday, Sep. 29, 2003 07:33 am |
 |
| Quote (spike232 @ Sep. 28 2003, 12:45 am) | The grey area of leaning is the hitbox bug where the hitbox does not lean with the player so all weapons which use the hitbox (shotgun, knife, grenade) will effectivly pass throguth the player when they lean.
Some leagues are tring to stop people using scripts to aid them in exploiting this bug and even just normal scripts. |
Ah yes, the famous "shotgun bug"... seen those people playing as well, going into lean-crouch-move mode as soon as they see you...
...unfortunately I know about the hitbox and completely ignore their efforts . That is, when using a shotgun... as for the grenade: I don't think leaning will make that much of a difference if it explodes next to them  |
 |
|
|
| spike232~rb |
General Member Since: Dec 23, 2006 Posts: 5892 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Category: SoFII General Posted: Monday, Sep. 29, 2003 04:38 pm |
 |
| Quote (PsychoMark @ Sep. 29 2003, 8:33 am) | as for the grenade: I don't think leaning will make that much of a difference if it explodes next to them  |
no but it does make a big difference if ur nade passes right throught them and then explodes far behind them insted of hitting them and either exploding or bouncing next to them. |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|