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

#  Dec 21, 2007 at 8:01 AM
Join Date:
Oct 14, 2007
Post Count:
324
 
Specialty: Soldier
Steam ID: randomcraziness1800
Clan: {TF2F}
 
Quote:
Originally Posted by cry4me_sky
ok so i made a cleanup config that has stuff like this:


//configrestore

bind "MOUSE1" "MOUSE1"
bind "MOUSE2" "MOUSE2"
bind "MOUSE3" "MOUSE3"
bind "MWHEELUP" "MWHEELUP"
bind "MWHEELDOWN" "MWHEELDOWN"
bind "f1" "f1"
bind "f2" "f2"
bind "f3" "f3"
bind "f4" "f4"
bind "f5" "f5"
bind "f6" "f6"
bind "f7" "f7"
bind "f8" "f8
bind "f9" "f9"
bind "f10" "f10"
bind "f11" "f11"
bind "f12" "f12"




will this help at all? or do i have to bind mous1 to attack and so on?


That'll get you a bunch of console errors and not much else. This would work:

bind mouse1 +attack
bind mouse2 +attack2

and so on.
#  Dec 21, 2007 at 8:12 AM
Join Date:
Oct 14, 2007
Post Count:
324
 
Specialty: Soldier
Steam ID: randomcraziness1800
Clan: {TF2F}
 
Sorry for the double post, but I wanted to know if it would be possible to make script that fires shots off in rapid succession for the pistol, as my finger can't click very fast. All I would need is the method of shooting quickly, I could take care of the rest.
#  Dec 21, 2007 at 9:37 AM
Join Date:
Oct 19, 2007
Post Count:
170
 
cry4me_sky 78823
Loading...
GamerTag: cry4mesky
 
ok i made one like that, noww for some reason one of the scripts om using keeps unbinding m1 from attack and even when i hit the configrestore to load the default one with m1 bound to attack i have to go into options and change it when i change my class to a scout for some reason
#  Dec 23, 2007 at 12:06 PM
Join Date:
Dec 23, 2007
Post Count:
8
 
rawk619 81430
Loading...
 
Hi.  Im really not very experienced with scripting.  Would this work for the automedi-gun?  I made a new file autoexec, with just this in it:

Alias mediccfg "exec medic.cfg"
//Auto-Medigunalias +automedigun "-attack; use tf_weapon_medigun; wait 3; +attack"alias -automedigun ""




Plus how would I change the key used to say, "P"   ?


Thanks
#  Dec 24, 2007 at 4:33 PM
Join Date:
Dec 23, 2007
Post Count:
8
 
rawk619 81430
Loading...
 
help plz.  i did try that script in game and no luck...Automedigun
#  Dec 28, 2007 at 5:29 AM
Join Date:
Oct 14, 2007
Post Count:
324
 
Specialty: Soldier
Steam ID: randomcraziness1800
Clan: {TF2F}
 
Quote:
Originally Posted by rawk619
Hi.  Im really not very experienced with scripting.  Would this work for the automedi-gun?  I made a new file autoexec, with just this in it:

Alias mediccfg "exec medic.cfg"
//Auto-Medigunalias +automedigun "-attack; use tf_weapon_medigun; wait 3; +attack"alias -automedigun ""




Plus how would I change the key used to say, "P"   ?


Thanks

I'll quickly make something up for you.

//Auto-Medigun Script
alias +auto "+attack; bind p -auto"
alias -auto "-attack; bind p +auto"
bind p +auto

Just press p to activate the auto-medigun, and press p again to stop it. If you want to change it to something else, simply change the letter p to something else in the script.
#  Feb 10, 2008 at 10:49 AM
Join Date:
Feb 05, 2008
Post Count:
3
 
Parker 82763
Loading...
Specialty: Pyro
 
hi there all a quick question (sorry it may be a long post) i been loving trying out scripts for the first time but im stuck on the default cfg setup and command i made a default cfg file and put patty's class selction script in there and the duck toggle too but when i add the command (bind "+" "exec default.cfg") into my soldiers cfg it wont switch it to default it keeps it on my soldier cfg ive tried putting the command at the top and bottom of my soldier cfg but the command still wont work here's some details on what ive got setup so far

i got the patty's class selection script to work a treat auto loading my soldier script which includes rocket jump and crouch toggle my soldier cfg is as follows

//Rocket Jump
alias +rocketjump "+jump;+duck;wait;+attack"
alias -rocketjump "-jump;-attack;wait;wait;wait;-duck"
bind mouse2 "+rocketjump"

//Duck Toggle
alias duckToggle "duck1"
alias duck1 "+duck; alias duckToggle duck2"
alias duck2 "-duck; alias duckToggle duck1"
 
//Duck Toggle Key Binding:
bind "c" "duckToggle"



and my autoexec cfg file has been working fine for loading my other cfg's and my duck toggle it looks as follows

//CLASS ALIASES
Alias scoutcfg "exec scout.cfg"
Alias snipercfg "exec sniper.cfg"
Alias soldiercfg "exec soldier.cfg"
Alias demomancfg "exec demoman.cfg"
Alias mediccfg "exec medic.cfg"
Alias hwguycfg "exec hwguy.cfg"
Alias pyrocfg "exec pyro.cfg"
Alias spycfg "exec spy.cfg"
Alias engineercfg "exec engineer.cfg"

//CLASS BINDINGS
BIND "KP_END" "scoutcfg"
BIND "KP_DOWNARROW" "snipercfg"
BIND "KP_PGDN" "soldiercfg"
BIND "KP_LEFTARROW" "demomancfg"
BIND "KP_5" "mediccfg"
BIND "KP_RIGHTARROW" "hwguycfg"
BIND "KP_HOME" "pyrocfg"
BIND "KP_UPARROW" "spycfg"
BIND "KP_PGUP" "engineercfg"

//Duck Toggle
alias duckToggle "duck1"
alias duck1 "+duck; alias duckToggle duck2"
alias duck2 "-duck; alias duckToggle duck1"
 
//Duck Toggle Key Binding:
bind "c" "duckToggle"


and my default cfg looks like this

//CLASS ALIASES
Alias scoutcfg "exec scout.cfg"
Alias snipercfg "exec sniper.cfg"
Alias soldiercfg "exec soldier.cfg"
Alias demomancfg "exec demoman.cfg"
Alias mediccfg "exec medic.cfg"
Alias hwguycfg "exec hwguy.cfg"
Alias pyrocfg "exec pyro.cfg"
Alias spycfg "exec spy.cfg"
Alias engineercfg "exec engineer.cfg"

//CLASS BINDINGS
BIND "KP_END" "scoutcfg"
BIND "KP_DOWNARROW" "snipercfg"
BIND "KP_PGDN" "soldiercfg"
BIND "KP_LEFTARROW" "demomancfg"
BIND "KP_5" "mediccfg"
BIND "KP_RIGHTARROW" "hwguycfg"
BIND "KP_HOME" "pyrocfg"
BIND "KP_UPARROW" "spycfg"
BIND "KP_PGUP" "engineercfg"

//Duck Toggle
alias duckToggle "duck1"
alias duck1 "+duck; alias duckToggle duck2"
alias duck2 "-duck; alias duckToggle duck1"
 
//Duck Toggle Key Binding:
bind "c" "duckToggle"


the question is where do i put -  bind "+" "exec default.cfg" in my soldier cfg as ive tried many a ways (even set up a alias command) but it still wont work i must be missing something simple
#  Feb 11, 2008 at 4:35 PM
Join Date:
Feb 05, 2008
Post Count:
3
 
Parker 82763
Loading...
Specialty: Pyro
 
think ive figured it out now got it working sweet many thanks for the guide
#  Feb 16, 2008 at 7:28 PM
Join Date:
Oct 07, 2007
Post Count:
619
 
Specialty: Medic
Steam ID: mellowshipslinky
 
So the new update said it added the ability to execute class .cfgs. Has anyone gotten this to work because I have a .cfg for each class (named pyro.cfg, medic.cfg, etc) and they won't execute.
#  Feb 17, 2008 at 12:23 AM
Join Date:
Sep 18, 2007
Post Count:
3136
 
Savage-Alien 77215
Loading...
Steam ID: #tf2f <[][Savage Alien][]
Clan: {TF2F} Community
King AdminsSquigMember
 
This feature works in LAN games only for the present.
An error occurs when it attempts config exec on net games.

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