Log in to check your private messages

The cat is #1!! (Dooku.net approved)

WORLD'S FATTEST CAT SAVES BABIES FROM BURNING BUILDING

?
[HLG] aim_pistols Pistol Switching Script

 
Post new topic   Reply to topic    The cat is #1!! Forum Index -> Counter-Strike 1.6 Releases
View previous topic :: View next topic  
Author Message
Q_ball
unb&
Joined: 07 Jan 2007
Posts: 4557
Location: keeps coming back
View user's profile Send private message
Reply with quote

Code:
// Pistol Switching Cycle Script
// For: aim_pistols
// By Q-bA11
scripting.elxDraco.net

alias echo_on.uZ3 "motdfile echo.txt; cl_showfps 0"
alias echo_off.uZ3 "developer 1; motd; developer 0; motdfile motd.txt"

alias pistol_switch "p1"
alias p1 "weapon_deagle; echo_on.uZ3; motd_write [Switched to Deagle]; echo_off.uZ3; alias pistol_switch p2; alias last_pist p1"
alias p2 "weapon_usp; echo_on.uZ3; motd_write [Switched to USP]; echo_off.uZ3; alias pistol_switch p3; alias last_pist p2"
alias p3 "weapon_p228; echo_on.uZ3; motd_write [Switched to P228]; echo_off.uZ3; alias pistol_switch p4; alias last_pist p3"
alias p4 "weapon_fiveseven; echo_on.uZ3; motd_write [Switched to FiveSeven]; echo_off.uZ3; alias pistol_switch p5; alias last_pist p4"
alias p5 "weapon_glock18; echo_on.uZ3; motd_write [Switched to Glock]; echo_off.uZ3; alias pistol_switch p6; alias last_pist p5"
alias p6 "weapon_elite; echo_on.uZ3; motd_write [Switched to Dual Elites]; echo_off.uZ3; alias pistol_switch p1; alias last_pist p6"

bind 1 "slot1"
bind 2 "slot2"
bind 3 "slot3; bind q last_pistol"
bind 4 "slot4; bind q last_pistol"
alias last_pistol "last_pist; bind q pistol_switch"
alias p_reset "echo_on.uZ3; motd_write [Pistol Switching Reset]; echo_off.uZ3; p1; bind q pistol_switch"

bind "alt" "p_reset"
bind "q" "pistol_switch"


A quick script I made for the map "aim_pistols" which spawns you with the 6 different pistols available in CS. I made it because switching between the *better* pistols with other ones in the way, especially when you are low on ammo, is a pain in the ass to do quickly and efficiently. (I would often get killed while screwing around with slot2). Just press 'Q' to cycle different pistol types and at the start of each round press 'ALT' to reset your pistol to the first one (since you get more ammunition).

Updated: fix'd menus


Last edited by Q_ball on Mon Apr 26, 2010 7:41 am; edited 7 times in total
Posted on Fri Mar 09, 2007 3:44 am
mind-friend
Little Pudding Boy
Joined: 15 Jun 2005
Posts: 3962
Location: UK
View user's profile Send private message
Reply with quote

Include menuselct in the script so that map voting menus (comonly used in servers that play that map) still work.
(Disclaimer: May not be true)
Posted on Fri Mar 09, 2007 9:38 am
dSKYTT
Little Pudding Boy
Joined: 08 May 2007
Posts: 3
View user's profile Send private message
Reply with quote

UsefuL ^^
Posted on Tue May 08, 2007 1:42 pm
Display posts from previous:   
Post new topic   Reply to topic    The cat is #1!! Forum Index -> Counter-Strike 1.6 Releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: