DiZaRkYs Script Compilation and Autoexec Guide
Rules Latest Posts Who's Online
Search
Search Forums
Advanced Search
RSS Feed

DiZaRkYs Script Compilation and Autoexec Guide

#  Oct 06, 2007 at 8:46 PM
Join Date:
Sep 20, 2007
Post Count:
842
 
xylotism 77309
Loading...
Specialty: Spy
Steam ID: xylotism
Clan: {TF2F} Community
 
Quote:
Originally Posted by joeblow
Yeah, just any time I press the number pad '0' key, it should announce with text that I have red or blue disguises loaded. What is the echo lines and where do they go in the autoexec.cfg file? Right after the bind line for the button?
alias [redaliasname] "[command for red team?];bind kp_0 [bluealiasname];echo red Now using red team"
alias [bluealiasname] "[command for blue team?];bind kp_0 [redaliasname];echo blue Now using blue team"

replace [bluealiasname] with whatever alias you want with for the blue team, and red for the red team. replace [command for * team?] with whatever the command is to switch your disguise to that team... I don't know it.

Basically that will use kp_0 to switch between team colors, and it'll give you a "Now using * team" message in your chat window.

I'm not sure if "echo [color]" works, exactly. If it does, it'll make the text the same color as the team. If not, you can remove the word red or blue right after echo and it'll all show up the same color, but it'll still have the words to tell you the difference.

I made that way overcomplicated, sorry.
#  Oct 07, 2007 at 6:15 PM
Join Date:
Oct 01, 2007
Post Count:
14
 
RoninRamzi 77804
Loading...
Specialty: Soldier
Steam ID: RoninRamzi
 
is there any sort of script to set a key to a speech command such as "e" for "MEDIC"

Thanks in advance
#  Oct 07, 2007 at 6:18 PM
Join Date:
Sep 24, 2007
Post Count:
352
 
DiZaRkY 77510
Loading...
Specialty: Demoman
Steam ID: DiZaRkY
 
that's not a script but a simple bind. you'll find what you need here.
#  Oct 07, 2007 at 6:48 PM
Join Date:
Oct 01, 2007
Post Count:
14
 
RoninRamzi 77804
Loading...
Specialty: Soldier
Steam ID: RoninRamzi
 
Thanks for that I found it


VOICEMENU
Syntax: voicemenu <menu_number> <phrase_number>
Description: This command is basically a direct method of using the 'z', 'x', and 'c' keys to send voice messages. Basically this allows you to bind a voice message directly to a key in the same fashion as how 'e' is by default bound to call in a Medic.

Menu Phrase:
0 0: Medic
0 1: Thanks
0 2: Go
0 3: Move Up
0 4: Flank Left
0 5: Flank Right
0 6: Yes
0 7: No

1 0: Incoming
1 1: Cloaked Spy
1 2: Sentry Ahead
1 3: Teleporter Here
1 4: Dispenser Here
1 5: Sentry Here
1 6: Activate Ubercharge
1 7: (Medic Only) Ubercharge Ready

2 0: Help
2 1: Battlecry
2 2: Cheers
2 3: Jeers
2 4: Positive
2 5: Negative
2 6: Nice Shot
2 7: Good Job

but where do I enter the specific key I want? thanks again for the help DIZ
#  Oct 07, 2007 at 6:59 PM
Join Date:
Oct 01, 2007
Post Count:
14
 
RoninRamzi 77804
Loading...
Specialty: Soldier
Steam ID: RoninRamzi
 
nm worked it out, thanks anyway
#  Oct 07, 2007 at 7:01 PM
Join Date:
Sep 24, 2007
Post Count:
352
 
DiZaRkY 77510
Loading...
Specialty: Demoman
Steam ID: DiZaRkY
 
it would be:
bind "x" "voicemenu 0 0"
bind "y" "voicemenu 1 0"
bind "z" "voicemenu 2 0"

x can be replaced by any key, and what that bind does is make it so when you press x, it calls for "medic". the second one says "incoming" when you press y, and the third one says "help" when you press z. you can input those commands into the console directly, or put em in your config, or whatever you choose. they both work.
#  Oct 08, 2007 at 8:25 AM
Join Date:
Oct 05, 2007
Post Count:
7
 
Shifty54 77924
Loading...
 
I changed/added to/tweaked the class config script. Just in case anyone finds it more helpful to have their class change and config load at the same time.

//Class Config Clear. 
alias cc0 "exec (your.cfg); developer 1; echo ::Config Restored::; wait 100; developer 0"
bind KP_INS "cc0"

Basically make a standard config with the base keys, standard mouse buttons that work for every class. This helps reset it if it gets a little weird.


//Class Config Loader
alias scout "join_class scout;exec scout.cfg; developer 1; echo ::Scout Config Loaded::; wait 100; developer 0"
alias soldier "join_class soldier; exec soldier.cfg; developer 1; echo ::Soldier Config Loaded::; wait 100; developer 0"
alias pyro "join_class pyro; exec pyro.cfg; developer 1; echo :: Pyro Config Loaded::; wait 100; developer 0"
alias demo "join_class demoman; exec demoman.cfg; developer 1; echo ::  Demoman Config Loaded::; wait 100; developer 0"
alias hwg "join_class heavyweapons; exec heavy.cfg; developer 1; echo ::Heavy Config Loaded::; wait 100; developer 0"
alias engi "join_class engineer; exec engineer.cfg; developer 1; echo ::Engineer Config Loaded::; wait 100; developer 0"
alias medic "join_class medic; exec medic.cfg; developer 1; echo ::Medic Config Loaded::; wait 100; developer 0"
alias sniper "join_class sniper; exec sniper.cfg; developer 1; echo ::Sniper Config Loaded::; wait 100; developer 0"
alias spy "join_class spy; exec spy.cfg; developer 1; echo ::Spy Config Loaded::; wait 100; developer 0"

bind KP_END "scout"
bind KP_DOWNARROW "soldier"
bind KP_PGDN "pyro"
bind KP_LEFTARROW "demo"
bind KP_5 "hwg"
bind KP_RIGHTARROW "engi"
bind KP_HOME "medic"
bind KP_UPARROW "sniper"
bind KP_PGUP "spy"


Obviously, you have to have separate config files and make sure they are named correctly for all this to work, but you know that already. Now keep things in order and easy to use.

Hope this helps at least someone.
Shifty

#  Oct 08, 2007 at 1:57 PM
Join Date:
Oct 05, 2007
Post Count:
81
 
L A Z E R 77934
Loading...
Specialty: Demoman
 
Engineer scripts are very helpful.

You can exploit the auto duck script though...gattle the button while moving, you'll duck very fast while moving at normal speed, still can shoot and jump.

Anyways, nice finds and thanks!
#  Oct 21, 2007 at 6:17 AM
Join Date:
Sep 29, 2007
Post Count:
15
 
space cowboy 77703
Loading...
Specialty: Spy
Clan: im too good for clans
 
is there anyway to make a spy script that disguises between 4 classes (medic, engineer, sniper, pyro) randomly when i press a button? i guess it would have to have a button to tell what team im on also.
#  Oct 22, 2007 at 11:33 PM
Join Date:
Oct 22, 2007
Post Count:
10
 
 
how would I simply bind the keys to use my num-pad (1-9) to desguise while I'm a spy? Thanks!

Copyright 2007-2008 All Rights Reserved

Team Fortress 2


2 Guys 1 Kill: {TF2F} FlyingPenguin - (102 kill assists)
Captures Blocked: Nimbli Bimbli - (26 captures blocked)
Dominator: {TF2F} Bitch Nasty - (25 dominations)
Flags Captured: Corporal Clegg - (11 flags captured)
Flags Defended: MechaEdd - (12 flags defended)
Physician Assisted Homicide: {TF2F}SME®BUI©K - (271 medic kill assists)
Points Captured: {TF2F}SME®BUI©K - (30 points captured)
Revenger: Count_Flakula - (10 revenges)
Spy Power: Chro - (19 objects killed as spy)
Ubercharger: {TF2F}SME®BUI©K - (89 ubercharges)
Axe Man: {TF2F} Ninja Dude - (18 kills with fireaxe)
Axtinguished: {TF2F} BOOSH Rizzilio - (81 kills with axtinguisher)
Batter Up!: soup! - (16 kills with bat)
Biggest Prick: Sam - ClutchKill.com - (8 kills with syringegun)
Blood Sucker: {TF2F}SME®BUI©K - (30 kills with blutsauger)
Broke Backburner: {TF2F} FlyingPenguin - (223 kills with backburner)
Can You Dig It?: {TF2F}.TüRb!NE. - (3 kills with shovel)
Doctor's Certificate: Maero - (16 kills with bonesaw)
Drunken Brawler: [???] Deviruchi - (4 kills with bottle)
Epic Defender: {TF2F} Spy - (9 kills with wrench)
Fire Spitter: {TF2F}blistering - (100 kills with flamethrower)
Flare Gunner: {TF2F} FlyingPenguin - (12 kills with flare gun)
Grenade Spammer: GeneralSheep - (47 kills with pipe)
Grey Matter: STar - (168 snipings as sniper)
Hadouken Master: Xandier - (1 kills with pyro taunt)
Hot Potato: {TF2F} BOOSH Rizzilio - (4 kills with rocket deflection)
I <3 Sasha: {TF2F} Bitch Nasty - (181 kills with minigun)
Knife Maniac: {TF2F} Dartagnan - (109 knifings)
Last Resort: [Ba-El] BoC - (26 kills with smg)
Manslayer: [FRGT] Klare - (10 kills with machete)
Master Fister: Maero - (3 kills with fists)
Peashooter Marksman: Corporal Clegg - (48 kills with scout pistol)
Pickle Squad Award: [NH]Pitt - (18 pickles man handled)
Rocket Scientist: [TF2F]Lancer - (217 kills with rocket)
Scatter Shot: Corporal Clegg - (147 kills with scattergun)
Sentrygun Master: Numenor - (142 kills with sentrygun)
Spam Blocker: {TF2F} BOOSH Rizzilio - (1 kills with pipe deflection)
Spy Checker: {TF2F} Fanlaen - (5 kills with pistol)
Sticky Explosion: {TF2F}Album - (105 kills with pipe remote)
Ubersawer: Psycholord - (27 kills with ubersaw)
Stats Refreshed 6/24/2008 5:00:03 AM CST
AddThis Social Bookmark Button
Fortcast Podcast
Donate
Welcome, you are not logged in.
Login or Register
Team Fortress 2 Fort Team Fortress 2 Fort