Fortress Forever

Go Back   Fortress Forever > Community > Tips and Tutorials

Reply
 
Thread Tools Display Modes
Old 09-17-2007, 02:02 AM   #41
Zess-
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
What do these scripts do? I'm a bit new to the Team Fortress universe. :P
Zess- is offline   Reply With Quote


Old 09-17-2007, 03:32 AM   #42
DarK_TaO
Mapper ^^
 
Join Date: Apr 2007
Location: yes (:
Posts Rated Helpful 0 Times
Send a message via ICQ to DarK_TaO Send a message via MSN to DarK_TaO
Here you are guys, my spy cfg. You need to put the .zip into Cfgs/alias, otherwise it won't work.
http://files.filefront.com/Aliaszip/.../fileinfo.html

By pressing shift, you have different types of disguises.

shift+1= Blue disguises
shift+2= Red disguises
shift+3= Green disguises
shift+4= Yellow disguises
shift+5= Enemy disguises
shift+6= Friendly disguises

Once you have selected the disguise type, you press the number of the class in the numeric pad. (Ej: 1- scout; 2-sniper; etc.)

by pressing 0 from the pad, you cloak, with the "." you make a silent cloak, and with intro, you stop cloaking.

By pressing "+" you get maximum speed (because speed variates according to the disguise, i haven't checked this, in FF)

That's it. Enjoy

Spy.cfg

Code:
//***************************
//----------- Spy -----------
//***************************

clear
echo [Spy] cfg loaded.
say_team Playing as <.Spy.>

//*****		    *****
//--------UnBinds--------
//*****		    *****

unpad		// Unbind numeric pad alias.

//*****		      *****
//---------Aliases---------
//*****		      *****

//==========================
//--- Prime [Pill] + Msg ---
//==========================

alias pastisi	"primetwo; alias pasti pastino"
alias pastino	"throwgren; say_team Throwing {Pill}; alias pasti pastisi
alias pasti	"pastisi"

//========================
//------ Disguising ------
//========================

//    ------
//--- Speeds ---
//    ------
alias vscout 	"cl_forwardspeed 400;cl_sidespeed 400;cl_backspeed 400"
alias vsniper	"cl_forwardspeed 400;cl_sidespeed 400;cl_backspeed 400"
alias vsolly	"cl_forwardspeed 240;cl_sidespeed 240;cl_backspeed 240"
alias vdemo	"cl_forwardspeed 290;cl_sidespeed 290;cl_backspeed 290"
alias vmedic	"cl_forwardspeed 320;cl_sidespeed 320;cl_backspeed 320"
alias vhw	"cl_forwardspeed 140;cl_sidespeed 140;cl_backspeed 140"
alias vpyro	"cl_forwardspeed 300;cl_sidespeed 300;cl_backspeed 300"
alias vspy	"cl_forwardspeed 400;cl_sidespeed 400;cl_backspeed 400"
alias vengy	"cl_forwardspeed 400;cl_sidespeed 400;cl_backspeed 400"
alias vmax	"cl_forwardspeed 400;cl_sidespeed 400;cl_backspeed 400"

//    ------
//--- Status ---
//    ------

alias spystats1 say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>"
alias spystats2 say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>"
alias spystats3 say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>"
alias spystats4 say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>"
alias spystats5 say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>"
alias spystats6 say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>"
alias spystats7 say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>"
alias spystats8 say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>"
alias spystats9 say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>"

//    ---------------
//--- Enemy Disguises ---
//    ---------------

alias escout	"disguise enemy scout ;say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>; alias spystats spystats1"
alias esniper	"disguise enemy sniper ;say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>; alias spystats spystats2"
alias esolly	"disguise enemy soldier ;say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>; alias spystats spystats3"
alias edemo	"disguise enemy demoman ;say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>; alias spystats spystats4"
alias emedic	"disguise enemy medic ;say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>; alias spystats spystats5"
alias ehw	"disguise enemy hwguy ;say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>; alias spystats spystats6"
alias epyro	"disguise enemy pyro ;say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>; alias spystats spystats7"
alias espy	"disguise enemy spy ;say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>; alias spystats spystats8"
alias eengy	"disguise enemy engineer ;say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>; alias spystats spystats9"

//    ------------------
//--- Friendly Disguises ---
//    ------------------

alias fscout	"disguise friendly scout ;say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>; alias spystats spystats1"
alias fsniper	"disguise friendly sniper ;say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>; alias spystats spystats2"
alias fsolly	"disguise friendly soldier ;say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>; alias spystats spystats3"
alias fdemo	"disguise friendly demoman ;say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>; alias spystats spystats4"
alias fmedic	"disguise friendly medic ;say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>; alias spystats spystats5"
alias fhw	"disguise friendly hwguy ;say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>; alias spystats spystats6"
alias fpyro	"disguise friendly pyro ;say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>; alias spystats spystats7"
alias fspy	"disguise friendly spy ;say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>; alias spystats spystats8"
alias fengy	"disguise friendly engineer ;say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>; alias spystats spystats9"

//---      ---
//--- Blue ---
//---      ---

alias bscout	"disguise blue scout ;say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>; alias spystats spystats1"
alias bsniper	"disguise blue sniper ;say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>; alias spystats spystats2"
alias bsolly	"disguise blue soldier ;say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>; alias spystats spystats3"
alias bdemo	"disguise blue demoman ;say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>; alias spystats spystats4"
alias bmedic	"disguise blue medic ;say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>; alias spystats spystats5"
alias bhw	"disguise blue hwguy ;say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>; alias spystats spystats6"
alias bpyro	"disguise blue pyro ;say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>; alias spystats spystats7"
alias bspy	"disguise blue spy ;say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>; alias spystats spystats8"
alias bengy	"disguise blue engineer ;say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>; alias spystats spystats9"

//---     ---
//--- Red ---
//---     ---

alias rscout	"disguise red scout ;say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>; alias spystats spystats1"
alias rsniper	"disguise red sniper ;say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>; alias spystats spystats2"
alias rsolly	"disguise red soldier ;say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>; alias spystats spystats3"
alias rdemo	"disguise red demoman ;say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>; alias spystats spystats4"
alias rmedic	"disguise red medic ;say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>; alias spystats spystats5"
alias rhw	"disguise red hwguy ;say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>; alias spystats spystats6"
alias rpyro	"disguise red pyro ;say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>; alias spystats spystats7"
alias rspy	"disguise red spy ;say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>; alias spystats spystats8"
alias rengy	"disguise red engineer ;say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>; alias spystats spystats9"

//---       ---
//--- Green ---
//---       ---

alias gscout	"disguise green scout ;say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>; alias spystats spystats1"
alias gsniper	"disguise green sniper ;say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>; alias spystats spystats2"
alias gsolly	"disguise green soldier ;say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>; alias spystats spystats3"
alias gdemo	"disguise green demoman ;say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>; alias spystats spystats4"
alias gmedic	"disguise green medic ;say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>; alias spystats spystats5"
alias ghw	"disguise green hwguy ;say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>; alias spystats spystats6"
alias gpyro	"disguise green pyro ;say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>; alias spystats spystats7"
alias gspy	"disguise green spy ;say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>; alias spystats spystats8"
alias gengy	"disguise green engineer ;say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>; alias spystats spystats9"

//---        ---
//--- Yellow ---
//---        ---

alias yscout	"disguise yellow scout ;say_team [Spy] As ==> {Scout} <%h.hp|%a.ap>; alias spystats spystats1"
alias ysniper	"disguise yellow sniper ;say_team [Spy] As ==> {Sniper} <%h.hp|%a.ap>; alias spystats spystats2"
alias ysolly	"disguise yellow soldier ;say_team [Spy] As ==> {Soldier} <%h.hp|%a.ap>; alias spystats spystats3"
alias ydemo	"disguise yellow demoman ;say_team [Spy] As ==> {Demoman} <%h.hp|%a.ap>; alias spystats spystats4"
alias ymedic	"disguise yellow medic ;say_team [Spy] As ==> {Medic} <%h.hp|%a.ap>; alias spystats spystats5"
alias yhw	"disguise yellow hwguy ;say_team [Spy] As ==> {HwGuy} <%h.hp|%a.ap>; alias spystats spystats6"
alias ypyro	"disguise yellow pyro ;say_team [Spy] As ==> {Pyro} <%h.hp|%a.ap>; alias spystats spystats7"
alias yspy	"disguise yellow spy ;say_team [Spy] As ==> {Spy} <%h.hp|%a.ap>; alias spystats spystats8"
alias yengy	"disguise yellow engineer ;say_team [Spy] As ==> {Engineer} <%h.hp|%a.ap>; alias spystats spystats9"



//=============================
//------ Select Disguise ------
//=============================

alias +select_dis "bind 1 blue_dis; bind 2 red_dis; bind 3 green_dis; bind 4 yellow_dis; bind 5 enemy_dis; bind 6 friend_dis"
alias -select_dis "exec slots.cfg"

alias enemy_dis	 "exec Alias/Enemy_dis.cfg"
alias friend_dis "exec Alias/Friend_dis.cfg"
alias blue_dis   "exec Alias/Blue_dis.cfg"
alias red_dis	 "exec Alias/Red_dis.cfg"
alias green_dis	 "exec Alias/Green_dis.cfg"
alias yellow_dis "exec Alias/Yellow_dis.cfg"

//===================
//------ Feign ------
//===================

alias death	"dropitems;discard;cloak"
alias deaths	"dropitems;discard;scloak"
alias nodeath	"scloak"

//==================
//------ Misc ------
//==================

//--- knife/Super Shotty ---
alias +ss "slot1; +attack;"
alias -ss "-attack; wait; slot3"

//     ---------------------
//---- Shoot/Disguise as Spy ----
//     ---------------------

alias +spyatt	"+attack"
alias -spyatt	"-attack; vsoldier; esoldier"

//---- Don't! ----

alias dont	"say_team [Spy] Don't! shoot me! [%i] <%h.hp|%a.ap>"


//*****		    *****
//---------Binds---------
//*****		    *****

bind "space"	"+ss"		// Manteniendo acuchilla, luego cambia a la shotgun
bind "shift"	"+select_dis"	// Cambia a la velocidad del soldado
bind "q"	"lastinv"	// Ultima arma en el inventario

//************
//Spy Disguise
//************
//-=-=-=TECLA-=-=-=-=-=-Velocidad/Disfraz-=-=-

bind "kp_end"		"vscout;dis_type1"	// Disguises as: Scout
bind "kp_downarrow"	"vsniper;dis_type2"	// Disguises as: Sniper
bind "kp_pgdn"		"vsoldier;dis_type3"	// Disguises as: Sold
bind "kp_leftarrow"	"vdemoman;dis_type4"	// Disguises as: Demo
bind "kp_5"		"vmedic;dis_type5"	// Disguises as: Medic
bind "kp_rightarrow"	"vhwguy;dis_type6"	// Disguises as: Hw
bind "kp_home"		"vpyro;dis_type7"	// Disguises as: Pyro
bind "kp_uparrow"	"vspy;dis_type8"	// Disguises as: Spy
bind "kp_pgup"		"vengineer;dis_type9"	// Disguises as: Engy

//-------Simulacion de Muertes-------

bind "kp_plus"	"vmax"		// Velocidad maxima
bind "kp_ins"	"death"		// Simula muerte ruidosa
bind "kp_del"	"deaths"	// Simula muerte silenciosamente
bind "kp_enter"	"nodeath"	// Dejar de simular muerte


Mouse.cfg


Code:
//*****		    *****
//-------Mouse.Cfg-------
//*****		    *****

bind "mouse1" 	  "+attack"
bind "mouse2" 	  "throwgren;primetwo"
bind "mouse3" 	  "throwgren;primeone"
bind "mwheeldown" "+jump"
bind "mwheelup"	  "+jump"
default_fov 	  "120"

Last edited by DarK_TaO; 09-17-2007 at 03:46 AM.
DarK_TaO is offline   Reply With Quote


Old 09-18-2007, 01:56 PM   #43
IvaQuaL
 
IvaQuaL's Avatar
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
woah, wait a second. you can set your max moving speed !
IvaQuaL is offline   Reply With Quote


Old 09-19-2007, 02:45 PM   #44
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
having some troubles with your script DT..i have everything as you pasted, and i can change classes, but not to hw, soldier, demo, engie..which just happen to be the most used lol..dont know what the problem is..in console it says that "rdemoman is not a recognized command" and if i press it again it will change it to vdemoman, it does this for all the classes that i cant change to.
Zatoichi is offline   Reply With Quote


Old 09-19-2007, 05:01 PM   #45
JactusCack
 
JactusCack's Avatar
 
Join Date: Apr 2007
Posts Rated Helpful 0 Times
All I want is for right click to be conc grenades (for medic and scout) and for every other character the right click do whatever it used to :P

Last edited by JactusCack; 09-19-2007 at 07:05 PM.
JactusCack is offline   Reply With Quote


Old 09-19-2007, 05:35 PM   #46
Player
D&A Member
 
Join Date: Mar 2007
Location: Europe
Posts Rated Helpful 1 Times
Put bind "mouse2" "toggletwo" ("+gren2" if you don't use double tap) into your med/scout class configs, and put bind "mouse2" "toggleone" ("+gren1") into all other class configs.
Player is offline   Reply With Quote


Old 09-21-2007, 08:04 PM   #47
Industry
 
Industry's Avatar
 
Join Date: Jul 2007
Posts Rated Helpful 0 Times
I, too, am trying to use your Engy SG and Disp scripts and it only builds. Does not det or dismantle. Anyone have one that works?
Industry is offline   Reply With Quote


Old 09-22-2007, 12:03 AM   #48
PorkChopVII
The "other" white meat....
 
PorkChopVII's Avatar
 
Join Date: Sep 2007
Location: Tulsa, Ok
Posts Rated Helpful 0 Times
Quote:
Originally Posted by Zatoichi
having some troubles with your script DT..i have everything as you pasted, and i can change classes, but not to hw, soldier, demo, engie..which just happen to be the most used lol..dont know what the problem is..in console it says that "rdemoman is not a recognized command" and if i press it again it will change it to vdemoman, it does this for all the classes that i cant change to.
check the code, i can see that his vdemoman or even rdemoman isnt properly identified to be called that way. When he declared the variable, it was created as vdemo or rdemo etc then when its called he has it as vdemoman. To rectify it just edit the variables, to what you are trying to disguise to, match. Same thing goes for the hwguy, he declared it as vhw, or bhw, etc, but when he calls for the action he called it as vhwguy etc.

I there is a lot goin on in these so i can see why its easily missed, and there are .cfg files that are listed so a lot of the cfg that he posted cant be used unless you seperate the alias into seperate files. of course i havnt dled his scripts or i would know, so i could be wrong. if you need assistance lemme know.


i hope i said this right to be understanding.. sometimes i tend to confuse people.
PorkChopVII is offline   Reply With Quote


Old 09-22-2007, 02:36 AM   #49
Industrial
 
Industrial's Avatar
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Quote:
Originally Posted by Circuitous
As was said before, class configs exec on every spawn.

So, if you want to set up automatic switching between your two preferred weapons, simply put them in as their own lines - secondary first, then primary.

So, as an example,

Code:
pyro.cfg

slot5
slot4
Or the appropriate ff_weapon commands.
you can also redefine aliases in your class configs.

Code:
// autoexec.cfg
bind mouse3 "+attack3" // unexistant command by default

...

// soldier.cfg
alias "+attack3" "slot3;wait;+attack"
alias "-attack3" "-attack;slot5"
this will make your middle mouse button swap, shoot and swap back depending on class.
Industrial is offline   Reply With Quote


Old 09-22-2007, 06:23 AM   #50
Industry
 
Industry's Avatar
 
Join Date: Jul 2007
Posts Rated Helpful 0 Times
This bind will work to build/dismantle/detonate a sentry and dispenser.

Quote:
bind "KEY" "sentrygun; dismantlesentry; detsentry"
bind "KEY" "dispenser; dismantledispenser; detdispenser"
Industry is offline   Reply With Quote


Old 09-25-2007, 09:01 PM   #51
MadEddie
 
MadEddie's Avatar
 
Join Date: Sep 2007
Location: Chichester UK
Posts Rated Helpful 0 Times
Fixed Config

For those trying the Doc's code on the first post for engineer...the code below is what he meant to post

Code:
//Build Sentry/Det Sentry (WILL DISMANTLE IF WITHIN DISMANTLE DISTANCE)
alias buildset1 "sentrygun; alias sentrybuilddet buildset2"
alias buildset2 "dismantlesentry; detsentry; alias sentrybuilddet buildset1"
alias sentrybuilddet buildset1
bind "KEY" "sentrybuilddet"

//Build Dispenser/Det Dispenser (WILL DISMANTLE IF WITHIN DISMANTLE DISTANCE)
alias builddis1 "dispenser; alias dispenserbuilddet builddis2"
alias builddis2 "dismantledispenser; detdispenser; alias dispenserbuilddet builddis1"
alias dispenserbuilddet builddis1
bind "KEY" "dispenserbuilddet"
MadEddie is offline   Reply With Quote


Old 09-26-2007, 01:08 AM   #52
lollerskates
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
This sniper script will toggle the sniper rifle's charge on and off without requiring you keep your +attack1 button pressed down, which I think is much more comfortable.

Code:
alias charge0 charge1
alias charge1 "+attack;alias charge0 charge2"
alias charge2 "-attack;alias charge0 charge1"
bind mouse1 charge0
When you press mouse1 it'll start charging, and when you press it again it'll release the charge and fire. If you're killed while it's charging, +attack might still be on when you respawn, but I don't think it's a big deal.

Quote:
Originally Posted by DarK_TaO
Here you are guys, my spy cfg.
I think it's way too complicated, and has too many unnecessary functions. The more complicated a script is, the more likely it's going to break down or malfunction. Disguising is pretty smooth in FF, there shouldn't be a need for such a monstrous script. I only have a few quick keys for the disguises I use the most, and a separate key for "loud" cloaking.

The only spy script I currently have is this:
Code:
alias +slow "cl_forwardspeed 230;cl_sidespeed 230;cl_backspeed 230"
alias -slow "cl_forwardspeed 9999;cl_sidespeed 9999;cl_backspeed 9999"
230 is a hwguy's speed. Soldiers have an almost identical speed so I can use +slow to disguise as both. I haven't checked the demoman's speed to see if I need to slow down when disguised as one.

Your speed values are incorrect. I used hud_speedometer to make mine accurate.

Quote:
Originally Posted by IvaQuaL
woah, wait a second. you can set your max moving speed !
Yes, but you can't set it beyond the maximum speed of your class.
lollerskates is offline   Reply With Quote


Old 09-28-2007, 03:47 AM   #53
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
thx porkchop good catch!
Zatoichi is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.