Chips' Fun House Forum Index

Post new topic   Reply to topic

View next topic
View previous topic
Page 1 of 1
Chips' Fun House Forum Index  ~  Our Clubhouse - General Discussion  ~  G-Baby's Spy Script
Author Message
G-Baby
PostPosted: Tue Sep 27, 2005 1:53 am  Reply with quote
Forum Soldier
Forum Soldier


Joined: 27 Sep 2005
Posts: 264
Location: Bellevue, Nebraska

Generally I try to help those who want to learn how to play or figure out how the hell they got killed in a certain way. How it works is you either hit the minus key on the numpad for enemy disguises or the plus key on the numpad for friendly disguises.

echo SPY CFG LOADED

play spy.wav

alias +spyattack "+attack;"
alias -spyattack "-attack; last_disguise;"
bind mouse1 +spyattack

alias enemy_scout "disguise_enemy 1; alias last_disguise enemy_scout;"
alias enemy_sniper "disguise_enemy 2; alias last_disguise enemy_sniper;"
alias enemy_soldier "disguise_enemy 3; alias last_disguise enemy_soldier;"
alias enemy_demoman "disguise_enemy 4; alias last_disguise enemy_demoman;"
alias enemy_medic "disguise_enemy 5; alias last_disguise enemy_medic;"
alias enemy_hwguy "disguise_enemy 6; alias last_disguise enemy_hwguy;"
alias enemy_pyro "disguise_enemy 7; alias last_disguise enemy_pyro;"
alias enemy_spy "disguise_enemy 8; alias last_disguise enemy_spy;"
alias enemy_engineer "disguise_enemy 9; alias last_disguise enemy_engineer"

alias friendly_scout "disguise_friendly 1; alias last_disguise friendly_scout;"
alias friendly_sniper "disguise_friendly 2; alias last_disguise friendly_sniper;"
alias friendly_soldier "disguise_friendly 3; alias last_disguise friendly_soldier;"
alias friendly_demoman "disguise_friendly 4; alias last_disguise friendly_demoman;"
alias friendly_medic "disguise_friendly 5; alias last_disguise friendly_medic;"
alias friendly_hwguy "disguise_friendly 6; alias last_disguise friendly_hwguy;"
alias friendly_pyro "disguise_friendly 7; alias last_disguise friendly_pyro;"
alias friendly_spy "disguise_friendly 8; alias last_disguise friendly_spy;"
alias friendly_engineer "disguise_friendly 9; alias last_disguise friendly_engineer;"

alias enemy "speak enemy; bind kp_ins friendly; bind kp_end enemy_scout; bind 6 enemy_sniper; bind MOUSE2 enemy_soldier; bind 5 enemy_demoman; bind h enemy_medic; bind 7 enemy_hwguy; bind 9 enemy_pyro; bind 8 enemy_spy; bind t enemy_engineer;"
alias friendly "speak your; bind kp_ins enemy; bind kp_end friendly_scout; bind kp_downarrow friendly_sniper; bind kp_pgdn friendly_soldier; bind kp_leftarrow friendly_demoman; bind kp_5 friendly_medic; bind kp_rightarrow friendly_hwguy; bind kp_home friendly_pyro; bind kp_uparrow friendly_spy; bind kp_pgup friendly_engineer;"

bind "kp_minus" "enemy"
bind "kp_plus" "friend"



alias +f "+forward; +reload"
alias -f "-forward; +reload; -reload"
alias +b "+back; +reload"
alias -b "-back; +reload; -reload"
alias +l "+moveleft; +reload"
alias -l "-moveleft; +reload; -reload"
alias +r "+moveright; +reload"
alias -r "-moveright; +reload; -reload"
bind w "+f"
bind s "+b"
bind a "+l"
bind d "+r"

bind "CTRL" "lastinv"


bind "q" "sfeign"

bind "MOUSE3" "+commandmenu 7 1"

bind "r" "+duck"

bind "SHIFT" ffeign

alias talkspy "saveme;say_team I'm a spy you f***ing douche! [H %h A %a]"
bind "z" "talkspy"

bind "." "kill"

bind "g" "throwgren;;primetwo"

sensitivity 10
Back to top
View user's profile Send private message
Chips
PostPosted: Tue Sep 27, 2005 2:18 am  Reply with quote
Grand High Exalted Mystic Ruler
Grand High Exalted Mystic Ruler


Joined: 23 Nov 2004
Posts: 6505
Location: New Jersey

Dang...you have those binds all over the keyboard. Laughing

And shouldn't this: bind "kp_plus" "friend"
be this: bind "kp_plus" "friendly" Question

I'll have to give this a try...rearranging the binds of course. Wink

tks.wav Good Idea

P.S. I'm too lazy to go in game and look...what is +commandmenu 7 1 Question

_________________





The only good game, is a fair game...
Why do we park on driveways and drive on parkways! George Carlin - 1937-2008

-[CfH]-Server Admin
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Audhumla
PostPosted: Tue Sep 27, 2005 2:39 am  Reply with quote
Forum H4xor
Forum H4xor


Joined: 25 Nov 2004
Posts: 4336
Location: Eugene, Oregon

Now tell me how to frontstab perfectly like you D=

_________________

(dead)-[CfH]-Server Admin but--- because I could not stop for death, He kindly stopped for me
Back to top
View user's profile Send private message AIM Address
G-Baby
PostPosted: Tue Sep 27, 2005 8:26 am  Reply with quote
Forum Soldier
Forum Soldier


Joined: 27 Sep 2005
Posts: 264
Location: Bellevue, Nebraska

Chips wrote:
P.S. I'm too lazy to go in game and look...what is +commandmenu 7 1 Question


It brings up the enemy disguise menu showing all nine classes, and you can disguise the old fashion way with clicking on a specific class. On a side note the only problem you may have with this script is that once you change class to another class your weapon might start to automatically fire. To fix this simply just type "-attack" within console.
Back to top
View user's profile Send private message
Chips
PostPosted: Tue Sep 27, 2005 10:54 am  Reply with quote
Grand High Exalted Mystic Ruler
Grand High Exalted Mystic Ruler


Joined: 23 Nov 2004
Posts: 6505
Location: New Jersey

Chips wrote:
And shouldn't this: bind "kp_plus" "friend"
be this: bind "kp_plus" "friendly" Question


Question

_________________





The only good game, is a fair game...
Why do we park on driveways and drive on parkways! George Carlin - 1937-2008

-[CfH]-Server Admin
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Chance!
PostPosted: Tue Sep 27, 2005 4:41 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 30 Nov 2004
Posts: 2918
Location: Raleigh, NC

mine... has alot of useless code, because for some reason it doesn't like if i combine it. Anyway, mine has it so you disguise after each attack.
HOWEVER, if you do use this script, you have re REBIND "+attack; -attack" to mouse1 on your other classes!

Code:
//"say_team Now playing as a Spy"
"+commandmenu 7 1 4 .; say_team (Spy)(%h/%a): Disguising as ENEMY DEMOMAN"

bind mouse2 "+gren1"
bind mouse1 "+attack; +commandmenu 7 1 4 .; -attack"

alias +cmouse2 "+attack"
alias -cmouse2 "-attack; cccmouse2"
alias +cmouse3 "+attack"
alias -cmouse3 "-attack; cccmouse3"
alias +cmouse4 "+attack" 
alias -cmouse4 "-attack; cccmouse4"
alias +cmouse5 "+attack"
alias -cmouse5 "-attack; cccmouse5"
alias +cmouse7 "+attack"
alias -cmouse7 "-attack; cccmouse7"
alias +cmouse8 "+attack"
alias -cmouse8 "-attack; cccmouse8"
alias +cmouse9 "+attack"
alias -cmouse9 "-attack; cccmouse9"
alias cccmouse2 "+commandmenu 7 1 2 ."
alias cccmouse3 "+commandmenu 7 1 3 ."
alias cccmouse4 "+commandmenu 7 1 4 ." 
alias cccmouse5 "+commandmenu 7 1 5 ."
alias cccmouse7 "+commandmenu 7 1 7 ."
alias cccmouse8 "+commandmenu 7 1 8 ."
alias cccmouse9 "+commandmenu 7 1 9 ."
alias ccmouse2 "bind mouse1 +cmouse2"
alias ccmouse3 "bind mouse1 +cmouse3"
alias ccmouse4 "bind mouse1 +cmouse4"
alias ccmouse5 "bind mouse1 +cmouse5"
alias ccmouse7 "bind mouse1 +cmouse7"
alias ccmouse8 "bind mouse1 +cmouse8"
alias ccmouse9 "bind mouse1 +cmouse9"

bind q "+ndis; discard; dropitems"
alias enemyecho "echo Disguise as ENEMY... 1=Scout 2=Sniper 3=Soldier 4=Demoman 5=Medic 6=HW Guy 7=Pyro 8=Spy 9=Engineer"
alias +ndis "bind 1 ndisg1; bind 2 ndisg2; bind 3 ndisg3; bind 4 ndisg4; bind 5 ndisg5; bind 6 ndisg6; bind 7 ndisg7; bind 8 ndisg8; bind 9 ndisg9;enemyecho"
alias -ndis "rbw"
alias ndisg1 "sfeign"
alias ndisg2 "+commandmenu 7 1 2 .; ccmouse2; say_team (Spy)(%h/%a): Disguising as ENEMY SNIPER"
alias ndisg3 "+commandmenu 7 1 3 .; ccmouse3; say_team (Spy)(%h/%a): Disguising as ENEMY SOLDIER"
alias ndisg4 "+commandmenu 7 1 4 .; ccmouse4; say_team (Spy)(%h/%a): Disguising as ENEMY DEMOMAN"
alias ndisg5 "+commandmenu 7 1 5 .; ccmouse5; say_team (Spy)(%h/%a): Disguising as ENEMY MEDIC"
alias ndisg6 "discard; feign"
alias ndisg7 "+commandmenu 7 1 7 .; ccmouse7; say_team (Spy)(%h/%a): Disguising as ENEMY PYRO"
alias ndisg8 "+commandmenu 7 1 8 .; ccmouse8; say_team (Spy)(%h/%a): Disguising as ENEMY SPY"
alias ndisg9 "+commandmenu 7 1 9 .; ccmouse9; say_team (Spy)(%h/%a): Disguising as ENEMY ENGINEER"
alias rbw "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"
Back to top
View user's profile Send private message AIM Address MSN Messenger
Controlled Chaos
PostPosted: Tue Sep 27, 2005 7:50 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 05 Dec 2004
Posts: 1848
Location: Boston

Holy Chit!!!! Shocked I dont have a clue as to what half of that stuff is and i must have ADD beacuse i cant focus on that for more than a minute.



The front stab is actually a some what side stab thingy. Its hard to explain it but it works. Very Happy

_________________

Forever Standing United!!!!



-[CfH]-Server Admin
Back to top
View user's profile Send private message AIM Address
Demasu
PostPosted: Tue Sep 27, 2005 8:00 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 07 Feb 2005
Posts: 3150
Location: Houston

Yeah, I hate it when I get stabbed and die when I can still see them. I'm not supposed to die at full health with one stab when I can see you!

_________________



RL the ultimate roleplaying experience
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Chance!
PostPosted: Tue Sep 27, 2005 8:44 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 30 Nov 2004
Posts: 2918
Location: Raleigh, NC

Controlled Chaos wrote:
Holy Chit!!!! Shocked I dont have a clue as to what half of that stuff is and i must have ADD beacuse i cant focus on that for more than a minute.



The front stab is actually a some what side stab thingy. Its hard to explain it but it works. Very Happy


basically what my code does:
you can choose which class you'd like to do, and it will auto-disguise you as that class until you change class, after each time you fire. you of course can change at any point in time what this is. the c,cc, and ccc mouse part is just lame stuff that i *should* be able to combine in to one line each, but for some reason it screws up if i do.
and yes, i did write the whole script Evil or Very Mad I don't think its bad to use scripts as long as you write them yourselves and understand what they are doing.

As for frontstab... i wish i could do that... i have a hard enough time stabbing a person's back if they are standing still... i always manage to stab their back in a wierd spot that doesn't instant-kill. On the other hand, i once managed to backstab someone as they were flying past me using a conc(they had full life). Go figure.
Back to top
View user's profile Send private message AIM Address MSN Messenger
InfernoWarrior
PostPosted: Thu Sep 29, 2005 5:56 pm  Reply with quote
Forum Soldier
Forum Soldier


Joined: 28 Apr 2005
Posts: 439
Location: New York City

i canty even belive u ppl have that many binds i would find that king of annoying if u touch one wrong button u will never no wtf happens to u
Back to top
View user's profile Send private message
poisonfrog
PostPosted: Fri Sep 30, 2005 10:25 am  Reply with quote
Forum Soldier
Forum Soldier


Joined: 02 Aug 2005
Posts: 288
Location: t dot

that is so confusing. i will stay without binds i think. but it also explains why you kill me so fast.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Chips
PostPosted: Fri Sep 30, 2005 10:56 am  Reply with quote
Grand High Exalted Mystic Ruler
Grand High Exalted Mystic Ruler


Joined: 23 Nov 2004
Posts: 6505
Location: New Jersey

poisonfrog wrote:
that is so confusing. i will stay without binds i think. but it also explains why you kill me so fast.

Killing with the knife is an art...those scripts and binds really don't help you do that. It basically takes the place of using the in game menu to disguise yourself...that's really all.

Another question...I see you have mouse sensitivity in the config. I've long been thinking of doing this myself as different classes are more effective at different settings. Do you have a different sensitivity for each class Question

_________________





The only good game, is a fair game...
Why do we park on driveways and drive on parkways! George Carlin - 1937-2008

-[CfH]-Server Admin
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jum
PostPosted: Fri Sep 30, 2005 3:32 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 17 Jul 2005
Posts: 118

You forgot:

exec stabhacks.cfg
Back to top
View user's profile Send private message
Chance!
PostPosted: Fri Sep 30, 2005 4:10 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 30 Nov 2004
Posts: 2918
Location: Raleigh, NC

yeah... these scripts are just for those of us who are too lazy to constantly go into the menu and choose what to disguise as.
Mine is sorta cheap... combines a few ideas i had for scripts together... oh well, i don't play spy that much anyway.

_________________



-[CfH]-Server Admin
Back to top
View user's profile Send private message AIM Address MSN Messenger
Yur_Mom
PostPosted: Wed Oct 05, 2005 12:04 am  Reply with quote
Forum Medic
Forum Medic


Joined: 30 Aug 2005
Posts: 117
Location: Long Beach, Ca

Wow,
That's alot of work. I envy you guys that can dedicate that much time.

Again I'm too lazy for scripts or hacks!

YM
Back to top
View user's profile Send private message
Display posts from previous:   
All times are GMT - 5 Hours

View next topic
View previous topic
Page 1 of 1
Chips' Fun House Forum Index  ~  Our Clubhouse - General Discussion

Post new topic   Reply to topic

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




Powered by phpBB and Ad Infinitum v1.06