| View previous topic :: View next topic |
| Author |
Message |
chancity
Only a bear can have bear powers
Joined: 31 Aug 2006
Posts: 521
Location: Somewhere in Asia
|
|
|
I like this one more than the m_loop one. I also added a bomb plant becaue with this no recoil script it has autoshoot in it and its kinda hard to plant the bomb. I also added a little script so that you don't auto throw nades. btw this is the best recoil script ive used.
| Code: | //Credit: DTackle1
//DToggler
alias [dt].oggler "[dt].oggleron"
alias [dt].oggleron "bind mouse1 +[dt].recl;alias [dt].oggler [dt].oggleroff;speak activated"
alias [dt].oggleroff "bind mouse1 +attack;alias [dt].oggler [dt].oggleron;speak deactivated"
//The recoil script
alias +[dt].recl "alias _special [dt];[dt]"
alias -[dt].recl "alias _special;-lookup;-attack"
alias [dt] "special;+[dt].attackd;wait;-[dt].attackd"
alias +[dt].attackd "[dt].pitchdown;+attack;+lookdown;wait;[dt].d"
alias -[dt].attackd "[dt].pitchup;+lookup;wait;[dt].a"
alias [dt].a "-lookup"
alias [dt].d -lookdown;-attack"
alias [dt].pitchdown "cl_pitchspeed 14"
alias [dt].pitchup "cl_pitchspeed 2"
//The Bomb plant
alias [dt].bomb "slot5;bind mouse1 +[dt].plant"
alias +[dt].plant "+attack"
alias -[dt].plant "-attack;bind mouse1 +[dt].recl"
hud_fastswitch 1
//The nade throw
alias [dt].nadethrow "slot4;bind mouse1 +[dt].throw"
alias +[dt].throw "+attack"
alias -[dt].throw "-attack;bind mouse1 +[dt].throw2"
alias +[dt].throw2 "+attack"
alias -[dt].throw2 "-attack;bind mouse1 +[dt].recl"
//EDIT THESE//
bind 5 "[dt].bomb"
bind mouse1 "+[dt].recl"
bind <key> "[dt].oggler"
bind 4 "[dt].nadethrow"
|
I'm to lazy to make a pitch scroll so here is a menu, lol i hope its all right. I haven't tested it.
| Code: | " " " [Pitchspeed Settings]"
}
" " " [Pitchspeed Up]"{
" " " [One]" "alias [dt].pitchdown cl_pitchspeed 1"
" " " [Two]" "alias [dt].pitchdown cl_pitchspeed 2"
" " " [Three]" "alias [dt].pitchdown cl_pitchspeed 3"
" " " [Four]" "alias [dt].pitchdown cl_pitchspeed 4"
" " " [Five]" "alias [dt].pitchdown cl_pitchspeed 5"
" " " [Six]" "alias [dt].pitchdown cl_pitchspeed 6"
" " " [Seven]" "alias [dt].pitchdown cl_pitchspeed 7"
" " " [Eight]" "alias [dt].pitchdown cl_pitchspeed 8"
" " " [Nine]" "alias [dt].pitchdown cl_pitchspeed 9"
" " " [Ten]" "alias [dt].pitchdown cl_pitchspeed 10"
}
" " " [Pitchspeed Down]"{
" " " [Seven]" "alias [dt].pitchup cl_pitchspeed 7"
" " " [Eight]" "alias [dt].pitchup cl_pitchspeed 8"
" " " [Nine]" "alias [dt].pitchup cl_pitchspeed 9"
" " " [Ten]" "alias [dt].pitchup cl_pitchspeed 10"
" " " [Eleven]" "alias [dt].pitchup cl_pitchspeed 11"
" " " [Twelve]" "alias [dt].pitchup cl_pitchspeed 12"
" " " [Thirteen]" "alias [dt].pitchup cl_pitchspeed 13"
" " " [Fourteen]" "alias [dt].pitchup cl_pitchspeed 14"
}
" " " [The Rest of Pitchspeed Down]"{
" " " [Fifteen]" "alias [dt].pitchup cl_pitchspeed 15"
" " " [Sixteen]" "alias [dt].pitchup cl_pitchspeed 16"
" " " [Seventeen]" "alias [dt].pitchup cl_pitchspeed 17"
" " " [Eighteen]" "alias [dt].pitchup cl_pitchspeed 18"
" " " [Nineteen]" "alias [dt].pitchup cl_pitchspeed 19"
" " " [Twenty]" "alias [dt].pitchup cl_pitchspeed 20"
" " " [Twenty-one]" "alias [dt].pitchup cl_pitchspeed 21"
" " " [Twenty-two]" "alias [dt].pitchup cl_pitchspeed 22"
}
}
|
Heres the fastswitch keys. You don't really need but if you want to get a nade right away you can use this
| Code: | //hand grenade
alias [dt].henade "weapon_hegrenade;bind mouse1 +heattack"
alias +[dt].heattack "+attack"
alias -[dt].heattack "-attack;bind mouse1 +[dt].recl "
//smoke grenade
alias [dt].sknade "weapon_smokegrenade;bind mouse1 +[dt].skattack"
alias +[dt].skattack "+attack"
alias -[dt].skattack "-attack;bind mouse1 +[dt].recl "
//flash grenade
alias [dt].flnade "weapon_flash;bind mouse1 +[dt].flattack"
alias +[dt].flattack "+attack"
alias -[dt].flattack "-attack;bind mouse1 +[dt].recl "
//edit these
bind <key> "[dt].henade"
bind <key> "[dt].sknade"
bind <key> "[dt].flnade"
|
Last edited by chancity on Thu Dec 21, 2006 10:09 pm; edited 8 times in total
|
|
| Posted on Wed Dec 20, 2006 10:03 pm |
 |
JamieMadrox
Little Pudding Boy
Joined: 29 May 2006
Posts: 792
|
|
|
Nice work and yeah I remember cracking up while trying to find a work-around for that damn nade crap.
Btw, look into my script and integrate an alias for each nade being able to use them as a hotkey (makes it more userfriendly for nade-hotkey<3ers <- doh.)
Suggestions (either you do it, or I do it for myself once I find the time):
- bind KEY "messagemode cl_pitchspeed"
- Metascript for cl_pitchspeed settings (I should do that maybe, metascripts ftw)
- Nade Hotkeys
[EDIT]:
do you think I could attach this one to the Apis+Bhop script I've made? After failing at coding some friggin Terror/CT aR using different pitchspeed for each weapon, I got lazy and didn't create a proper aR script. [Credits for sure]
|
|
| Posted on Thu Dec 21, 2006 1:28 am |
 |
chancity
Only a bear can have bear powers
Joined: 31 Aug 2006
Posts: 521
Location: Somewhere in Asia
|
|
|
Ya go ahead, it took me awhile to think of the nade stuff. But it works great i think. Just credit me =). I also added the stuff you requested. also whats meta script...lol
|
|
| Posted on Thu Dec 21, 2006 3:17 am |
 |
JamieMadrox
Little Pudding Boy
Joined: 29 May 2006
Posts: 792
|
|
|
DTackle1 wrote:Ya go ahead, it took me awhile to think of the nade stuff. But it works great i think. Just credit me =). I also added the stuff you requested. also whats meta script...lol
a Metascript is similar to an invisible Menu.
Basicaly you just klick one button and it rebinds 1 to 9 with the options, then you click one of the options and it changes back - quite simple but effective when wanting to create things like an Value switcher but don't wanna bind 9 Keys or scroll through the values.
Therefor you're using metascripts.
|
|
| Posted on Thu Dec 21, 2006 7:14 pm |
 |
chancity
Only a bear can have bear powers
Joined: 31 Aug 2006
Posts: 521
Location: Somewhere in Asia
|
|
|
|
| Posted on Thu Dec 21, 2006 10:02 pm |
 |
JamieMadrox
Little Pudding Boy
Joined: 29 May 2006
Posts: 792
|
|
|
That's what a metascript is. Adjust the pitchspeeds to your need.
It basicaly works like that: press a bound key and it will rebind 1-9 with possible settings (working similar to a menu) - press one of the settings and dang! - it rebinds 1 to 9 to normal again.
aw, there we go:
| Code: |
Metascript 1:
//basic
alias "meta" "bind 1 x1; bind 2 x2; bind 3 x3; bind 4 x4; bind 5 x5; bind 6 x6; bind 7 x7; bind 8 x8; bind 9 x9"
alias "norm" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9"
alias "w1" "wait"
//metabinds
alias "x1" "p1; w1; norm"
alias "x2" "p2; w1; norm"
alias "x3" "p3; w1; norm"
alias "x4" "p4; w1; norm"
alias "x5" "p5; w1; norm"
alias "x6" "p6; w1; norm"
alias "x7" "p7; w1; norm"
alias "x8" "p8; w1; norm"
alias "x9" "p9; w1; norm"
//pitchspeed [ADJUST HERE]
alias "p1" "cl_pitchspeed 0.5" // Glock & low/no recoil secondaries
alias "p3" "cl_pitchspeed 1" // DGL & low recoil secondaries
alias "p4" "cl_pitchspeed 2.5" //USP, PARA, FAMAS & low recoil secs & pris
alias "p5" "cl_pitchspeed 3" //M4 & medium recoil pris
alias "p6" "cl_pitchspeed 4" //AK & high recoil pris
alias "p7" "cl_pitchspeed 4.5" //AK [for bursts only] & Duals when using Apis
alias "p8" "cl_pitchspeed 225" //standard pitchspeed
alias "p9" "w1; norm" //cancel your action
//Bind [ADJUST HERE]
bind "alt" "meta"
//desc
//press your key, then 1-9 to chose your desired pitchspeed
|
| Code: |
Metascript 2:
//basic
alias "+meta" "bind 1 x1; bind 2 x2; bind 3 x3; bind 4 x4; bind 5 x5; bind 6 x6; bind 7 x7; bind 8 x8; bind 9 x9"
alias "-meta" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9"
alias "w1" "wait"
//metabinds
alias "x1" "p1; w1"
alias "x2" "p2; w1"
alias "x3" "p3; w1"
alias "x4" "p4; w1"
alias "x5" "p5; w1"
alias "x6" "p6; w1"
alias "x7" "p7; w1"
alias "x8" "p8; w1"
alias "x9" "p9; w1"
//pitchspeed [ADJUST HERE]
alias "p1" "cl_pitchspeed 0.5" // Glock & low/no recoil secondaries
alias "p3" "cl_pitchspeed 1" // DGL & low recoil secondaries
alias "p4" "cl_pitchspeed 2.5" //USP, PARA, FAMAS & low recoil secs & pris
alias "p5" "cl_pitchspeed 3" //M4 & medium recoil pris
alias "p6" "cl_pitchspeed 4" //AK & high recoil pris
alias "p7" "cl_pitchspeed 4.5" //AK [for bursts only] & Duals when using Apis
alias "p8" "cl_pitchspeed CUSTOMHERE"
alias "p9" "cl_pitchspeed 225" //standard pitchspeed
//bind [ADJUST HERE]
bind "alt" "+meta"
//desc
//hold down your key AND while keeping it pressed chose your fave pitchspeed.
|
| Code: |
//Meta adjustments
//metabinds with echo
//just switch this with "metabinds"
alias "dev1" "developer 1"
alias "dev0" "developer 0"
alias "x1" "dev1; p1; w1; echo Loaded Pitchspeed Setting 1; dev0"
alias "x2" "dev1; p2; w1; echo Loaded Pitchspeed Setting 2; dev0"
alias "x3" "dev1; p3; w1; echo Loaded Pitchspeed Setting 3; dev0"
alias "x4" "dev1; p4; w1; echo Loaded Pitchspeed Setting 4; dev0"
alias "x5" "dev1; p5; w1; echo Loaded Pitchspeed Setting 5; dev0"
alias "x6" "dev1; p6; w1; echo Loaded Pitchspeed Setting 6; dev0"
alias "x7" "dev1; p7; w1; echo Loaded Pitchspeed Setting 7; dev0"
alias "x8" "dev1; p8; w1; echo Loaded Pitchspeed Setting 8; dev0"
alias "x9" "dev1; p9; w1; echo Loaded Pitchspeed Setting 9; dev0" |
just pick'n'mix or stuff :P
DTackle1 wrote:Ya go ahead, it took me awhile to think of the nade stuff. But it works great i think. Just credit me =). I also added the stuff you requested. also whats meta script...lol
heh, could've just used my script there :P (since it's exactly the same). Would've saved some time.
[OT]:
btw. I found a way to detect if you're CT or T using the commandmenu.
I will propably soon code an Advanced Anti Recoil using that way of determining someones Team. I don't know if I find the time though.
|
|
| Posted on Fri Dec 22, 2006 2:19 am |
 |
mind-friend
Little Pudding Boy
Joined: 15 Jun 2005
Posts: 3962
Location: UK
|
|
|
dont use rebind use realias.(Disclaimer: May not be true)
|
|
| Posted on Fri Dec 22, 2006 1:30 pm |
 |
ELX[Draco]
♂♂♂♀♂ ◡ ◕
Joined: 11 Apr 2005
Posts: 8419
Location: The Netherlands
|
|
|
mind-friend wrote:dont use rebind use realias. Yep.
Way better.
|
|
| Posted on Fri Dec 22, 2006 1:40 pm |
 |
b2k5
Little Pudding Boy
Joined: 25 Apr 2006
Posts: 1395
Location: Germany
|
|
|
ELX[Draco] wrote:mind-friend wrote:dont use rebind use realias. Yep.
Way better.
tell me why :)
|
|
| Posted on Fri Dec 22, 2006 2:20 pm |
 |
mind-friend
Little Pudding Boy
Joined: 15 Jun 2005
Posts: 3962
Location: UK
|
|
|
because if the user dosnt like the keys he will have to reright the entire script.(Disclaimer: May not be true)
|
|
| Posted on Fri Dec 22, 2006 2:23 pm |
 |
b2k5
Little Pudding Boy
Joined: 25 Apr 2006
Posts: 1395
Location: Germany
|
|
|
ah ok userfriendlyness ;)
|
|
| Posted on Fri Dec 22, 2006 2:50 pm |
 |
BoB
Little Pudding Boy
Joined: 08 Jun 2005
Posts: 716
|
|
|
| Code: |
alias B.ARnext "B.next"
alias B.ARprev "B.prev"
alias B.next "B.AR0.0"
alias B.prev "B.AR0.0"
alias B.AR0.0 "cl_pitchspeed 0.0;alias B.next B.AR1.0;alias B.prev B.AR6.5;B.ARE0.0"
alias B.AR1.0 "cl_pitchspeed 1.0;alias B.next B.AR1.5;alias B.prev B.AR0.0;B.ARE1.0"
alias B.AR1.5 "cl_pitchspeed 1.5;alias B.next B.AR2.0;alias B.prev B.AR1.0;B.ARE1.5"
alias B.AR2.0 "cl_pitchspeed 2.0;alias B.next B.AR2.5;alias B.prev B.AR1.5;B.ARE2.0"
alias B.AR2.5 "cl_pitchspeed 2.5;alias B.next B.AR3.0;alias B.prev B.AR2.0;B.ARE2.5"
alias B.AR3.0 "cl_pitchspeed 3.0;alias B.next B.AR3.5;alias B.prev B.AR2.5;B.ARE3.0"
alias B.AR3.5 "cl_pitchspeed 3.5;alias B.next B.AR4.0;alias B.prev B.AR3.0;B.ARE3.5"
alias B.AR4.0 "cl_pitchspeed 4.0;alias B.next B.AR4.5;alias B.prev B.AR3.5;B.ARE4.0"
alias B.AR4.5 "cl_pitchspeed 4.5;alias B.next B.AR5.0;alias B.prev B.AR4.0;B.ARE4.5"
alias B.AR5.0 "cl_pitchspeed 5.0;alias B.next B.AR5.5;alias B.prev B.AR4.5;B.ARE5.0"
alias B.AR5.5 "cl_pitchspeed 5.5;alias B.next B.AR6.0;alias B.prev B.AR5.0;B.ARE5.5"
alias B.AR6.0 "cl_pitchspeed 6.0;alias B.next B.AR6.5;alias B.prev B.AR5.5;B.ARE6.0"
alias B.AR6.5 "cl_pitchspeed 6.5;alias B.next B.AR0.0;alias B.prev B.AR6.0;B.ARE6.5"
// Echo
alias B.ARE1.0 "motd_write **********-Anti-Recoil 1.0-**********;developer 1;motd;developer 0"
alias B.ARE1.5 "motd_write **********-Anti-Recoil 1.5-**********;developer 1;motd;developer 0"
alias B.ARE2.0 "motd_write **********-Anti-Recoil 2.0-**********;developer 1;motd;developer 0"
alias B.ARE2.5 "motd_write **********-Anti-Recoil 2.5-**********;developer 1;motd;developer 0"
alias B.ARE3.0 "motd_write **********-Anti-Recoil 3.0-**********;developer 1;motd;developer 0"
alias B.ARE3.5 "motd_write **********-Anti-Recoil 3.5-**********;developer 1;motd;developer 0"
alias B.ARE4.0 "motd_write **********-Anti-Recoil 4.0-**********;developer 1;motd;developer 0"
alias B.ARE4.5 "motd_write **********-Anti-Recoil 4.5-**********;developer 1;motd;developer 0"
alias B.ARE5.0 "motd_write **********-Anti-Recoil 5.0-**********;developer 1;motd;developer 0"
alias B.ARE5.5 "motd_write **********-Anti-Recoil 5.5-**********;developer 1;motd;developer 0"
alias B.ARE6.0 "motd_write **********-Anti-Recoil 6.0-**********;developer 1;motd;developer 0"
alias B.ARE6.5 "motd_write **********-Anti-Recoil 6.5-**********;developer 1;motd;developer 0"
alias B.ARE0.0 "motd_write **********-Anti-Recoil 0.0-**********;developer 1;motd;developer 0" |
A scroller is just so much easier
| Code: |
Bind "key" B.ARnext
Bind "key" B.ARprev
|
No menus, no complications, no problems - more flexibility, more user-friendly.
P.S. For the nades, personally I'd do this.
| Code: |
alias +B.HEnade "weapon_hegrenade;+attack"
alias -B.HEnade "slot1;-attack"
Bind "key" +B.HEnade
|
Rinse and repeat for the other nades.
|
|
| Posted on Sun Dec 24, 2006 10:31 am |
 |
WotaN
Little Pudding Boy
Joined: 12 Feb 2006
Posts: 1339
Location: Fcuk
|
|
|
BoB!! update your CSS script-pack the link is downQuem dii diligunt, adolescens moritur
|
|
| Posted on Sun Dec 24, 2006 11:12 am |
 |
|