| View previous topic :: View next topic |
| Author |
Message |
six-five-two
Little Pudding Boy
Joined: 22 Apr 2006
Posts: 34
|
|
|
Anyways, if your reloading and suddenly, someone starts attacking you, you can just press mouse1 and it will stop reloading and shoot.
This is my first script, comments are welcome.
I am pretty sure someone did this before though...
| Code: | //When you fire while your reloading, it stops reloading and shoots.
//by Six-five-two
alias +eO6.rattack "+attack; eO6.rattacktog"
alias -eO6.rattack "-attack; alias eO6.rattacktog eO6.rattacktog1"
alias eO6.rattacktog "eO6.rattacktog1"
alias eO6.rattacktog1 " "
alias eO6.rattacktog2 "lastinv; wait; lastinv"
alias +eO6.reload "+reload; alias eO6.rattacktog eO6.rattacktog2"
alias -eO6.reload "-reload"
bind "mouse1" "+eO6.rattack"
bind "r" "+eO6.reload" |
Last edited by six-five-two on Fri Jul 28, 2006 11:35 pm; edited 1 time in total
|
|
| Posted on Fri Jul 28, 2006 9:42 pm |
 |
ELX[Draco]
♂♂♂♀♂ ◡ ◕
Joined: 11 Apr 2005
Posts: 8419
Location: The Netherlands
|
|
|
I suggest you use two times lastinv for the case the person likes to have his pistol there (or anything else), nice script tho. Too bad it's a somewhat common script, there isn't much new stuff around lately.
|
|
| Posted on Fri Jul 28, 2006 10:07 pm |
 |
six-five-two
Little Pudding Boy
Joined: 22 Apr 2006
Posts: 34
|
|
|
ELX[Draco] wrote:I suggest you use two times lastinv for the case the person likes to have his pistol there (or anything else
Done!
Thanks for your comment.
|
|
| Posted on Fri Jul 28, 2006 11:36 pm |
 |
DarkShadow
Little Pudding Boy
Joined: 21 Aug 2005
Posts: 897
Location: www.vacdisabled.net
|
|
|
Would be nice to have something cancel it after you're done reloading, or it will just do lastinv2 if you click no matter how long after you reloaded.
|
|
| Posted on Sat Jul 29, 2006 4:36 am |
 |
ELX[Draco]
♂♂♂♀♂ ◡ ◕
Joined: 11 Apr 2005
Posts: 8419
Location: The Netherlands
|
|
|
I have an reload script lying around, which I don't have access to at this moment, but it uses m_pitch to solve the problem dark mentioned.
|
|
| Posted on Tue Aug 01, 2006 10:24 pm |
 |
TheDrag0n
Little Pudding Boy
Joined: 10 Apr 2007
Posts: 5
|
|
|
thanks, but i have a littel problem.
when i start to reload, and press mouse1 to shot, its work fine.
but after i complete the reload, and trying to shoot again, its "stop" after the first shot(first ball).
can you fix it, after the full reload it will shoot as usual ?
ty.
|
|
| Posted on Tue Apr 10, 2007 1:21 am |
 |
chancity
Only a bear can have bear powers
Joined: 31 Aug 2006
Posts: 521
Location: Somewhere in Asia
|
|
|
try this
| Code: | //by Six-five-two and DTackle1
//m_pitch stop reload and shoot
alias delay1 "alias m_pitch delay2"
alias delay2 "alias m_pitch;bind mouse1 +attack"
alias +aattack "lastinv;wait;lastinv"
alias -aattack "bind mouse1 +attack"
alias +rreload "+reload;bind mouse1 +aattack;alias m_pitch delay1"
alias -rreload "-reload"
bind <key> "+rreload"
|
|
|
| Posted on Tue Apr 10, 2007 3:19 am |
 |
TheDrag0n
Little Pudding Boy
Joined: 10 Apr 2007
Posts: 5
|
|
|
i check it too, but if you try to shoot after 2 sec of reload, its do nothing.
if you trying to shoot after 1 sec of reloading, its work, but still not good..its stop the reload, and you need to pess again on mouse1..
i mean, its stop totally, no shooting after.
thanks.
|
|
| Posted on Tue Apr 10, 2007 3:48 pm |
 |
chancity
Only a bear can have bear powers
Joined: 31 Aug 2006
Posts: 521
Location: Somewhere in Asia
|
|
|
try one of these
| Code: | //by Six-five-two and DTackle1
//m_pitch stop reload and shoot
alias delay1 "alias m_pitch delay2"
alias delay2 "alias m_pitch delay3"
alias delay3 "alias m_pitch delay4"
alias delay4 "alias m_pitch;bind mouse1 +attack
alias +aattack "lastinv;wait;lastinv"
alias -aattack "bind mouse1 +attack"
alias +rreload "+reload;bind mouse1 +aattack;alias m_pitch delay1"
alias -rreload "-reload"
bind r "+rreload"
|
| Code: | //by Six-five-two and DTackle1
//m_pitch stop reload and shoot
alias delay1 "alias m_pitch delay2"
alias delay2 "alias m_pitch delay3"
alias delay3 "alias m_pitch;bind mouse1 +attack"
alias +aattack "lastinv;wait;lastinv"
alias -aattack "bind mouse1 +attack"
alias +rreload "+reload;bind mouse1 +aattack;alias m_pitch delay1"
alias -rreload "-reload"
bind r "+rreload"
|
|
|
| Posted on Tue Apr 10, 2007 9:24 pm |
 |
TheDrag0n
Little Pudding Boy
Joined: 10 Apr 2007
Posts: 5
|
|
|
thanks, i took the first one.
|
|
| Posted on Tue Apr 10, 2007 10:11 pm |
 |
westside420
Little Pudding Boy
Joined: 12 Mar 2007
Posts: 42
|
|
|
Or, you could train one of your fingers to double tap on a key! Guess what key?
|
|
| Posted on Tue Apr 10, 2007 11:39 pm |
 |
Raz
Little Pudding Boy
Joined: 03 Nov 2007
Posts: 1
|
|
|
Detected or not detected ?
|
|
| Posted on Sun Nov 04, 2007 12:49 pm |
 |
AnAkIn
Little Pudding Boy
Joined: 02 Jan 2006
Posts: 2812
|
|
|
Detected by what ?
by HLG, yes it's detected, just need to add random tags to the aliases...
EDIT: done.
|
|
| Posted on Sun Nov 04, 2007 1:25 pm |
 |
Agent69
Little Pudding Boy
Joined: 25 Jun 2008
Posts: 62
Location: Fontana, Ca
|
|
|
this script can now be used with any other script that is using +attack
awp whore for example, when you reload your config is saved,
this script will rebind mouse1 to stop reload function of this script, after a few sec's your binds will return to normal,
if you don't use mouse1 for +attack just change it in the script.
| Code: | ///////////////////////////////////////////////////////////////////////////
// by Six-five-two and DTackle1 @ scripting.elxdraco.net
// m_pitch stop reload and shoot
// Modified by: =Agent69= tSm @ csload.com
alias eO6.rldelay1 "alias m_pitch eO6.rldelay2"
alias eO6.rldelay2 "alias m_pitch eO6.rldelay3"
alias eO6.rldelay3 "alias m_pitch eO6.rldelay4"
alias eO6.rldelay4 "alias m_pitch;eO6.rlcbk_load;alias +eO6.rreload +eO6.rreload.1;alias -eO6.rreload -eO6.rreload.1"
alias +eO6.aattack "lastinv;wait;lastinv"
alias -eO6.aattack "eO6.rlcbk_load;alias +eO6.rreload +eO6.rreload.1;alias -eO6.rreload -eO6.rreload.1"
alias +eO6.rreload "+eO6.rreload.1"
alias -eO6.rreload "-eO6.rreload.1"
//bind is set to mouse1 - change if needed
alias +eO6.rreload.1 "eO6.rlcbk_save;+reload;bind mouse1 +eO6.aattack;alias m_pitch eO6.rldelay1;alias +eO6.rreload"
alias -eO6.rreload.1 "-reload"
alias eO6.rlcbk_save "writecfg eO6reloadbackup; eO6.rlcbmes"
alias eO6.rlcbk_load "exec eO6reloadbackup.cfg"
alias eO6.rlcbmes "eO6.motd.1; motd_write Config Reload Backup Succesfull..; eO6.motd.0"
alias eO6.motd.1 "motdfile echo.txt; cl_showfps 0"
alias eO6.motd.0 "developer 1; motd; developer 0; motdfile motd.txt"
bind "anykey" "+eO6.rreload"
/////////////////////////////////////////////////////////////////////////// |
|
|
| Posted on Fri Aug 08, 2008 1:16 am |
 |
|