Fortress Forever

Go Back   Fortress Forever > Community > Tips and Tutorials

Reply
 
Thread Tools Display Modes
Old 11-20-2007, 03:43 PM   #121
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
Make sure you have set:
cl_autoreload 0

Code:
PUT IN ENGY.CFG
Special Instructions: 
Change w, s, a, d to your desired movement keys. 
Script: 
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"
No problem!
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-20-2007, 03:58 PM   #122
EquilibriuM
G9-
D&A Member
 
EquilibriuM's Avatar
 
Join Date: Sep 2007
Location: Florida
Class/Position: D Solly,Engy
Gametype: ALL
Posts Rated Helpful 0 Times
Thx for all your help brother, and i have decided for all your great work to share my cookies with you, but you gotta get your own milk
__________________
EquilibriuM is offline   Reply With Quote


Old 11-20-2007, 04:48 PM   #123
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
Hooray I love cookies! And no problem...if you want any more let me know I'll be happy to try for ya!

I also have some already made scripts for like engy and spy if ya want em!
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-20-2007, 08:38 PM   #124
EquilibriuM
G9-
D&A Member
 
EquilibriuM's Avatar
 
Join Date: Sep 2007
Location: Florida
Class/Position: D Solly,Engy
Gametype: ALL
Posts Rated Helpful 0 Times
i dont spy play much but let me see the NG script might consider giving it a go.
__________________
EquilibriuM is offline   Reply With Quote


Old 11-20-2007, 09:11 PM   #125
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
Code:
echo ENGINEER CFG LOADED

exec cleanup.cfg
echo Cleanup Config Loaded
wait
exec userconfig.cfg
echo User Config Loaded

//---------------
//---- Alias ----
//---------------

alias sg_loc "say_team Sg going up at %sl"
alias sg_help "say_team My Sg (%sv / %sl) is in trouble {%sh H}{%sa A}"
alias sg_det "say_team Detonating my Sg at %sl; wait; detsentry"
alias dis_loc "say_team Disp. going up at %dl"
alias dis_help "say_team My Disp. at %dl needs supplies {%dh H}{%da A}"
alias dis_det "say_team Detonating my Dispenser at %dl; wait; detdispencer"

//---------------------
//---- Binds Alias ----
//---------------------

alias b_1 "bind KP_END sg_loc"
alias b_2 "bind KP_DOWNARROW sg_help"
alias b_3 "bind KP_PGDN sg_det"
alias b_4 "bind KP_LEFTARROW dis_loc"
alias b_5 "bind KP_5 dis_help"
alias b_6 "bind KP_RIGHTARROW dis_det"
alias binds "b_1; wait; b_2; wait; b_3; wait; b_4; wait; b_5; wait; b_6"

//----------------
//---- O Engy ----
//----------------

alias oengy "say_team Going O Engy!!; wait; wait; sg_loc1; wait; wait; dis_loc1; wait; binds"
alias sg_loc1 "say_team My Sg is %sv at %sl with {%sh H}{%sa A}"
alias dis_loc1 "say_team My Dispenser is at %dl with {%dh H}{%da A}"
bind KP_ENTER "oengy"

//Quick Weapon - put in engineer.cfg
alias quick1 "slot1; wait; alias quickweapon quick2"
alias quick2 "slot2; wait; alias quickweapon quick3"
alias quick3 "slot3; wait; alias quickweapon quick1"
alias quickweapon quick1
bind f "quickweapon"

bind mouse4 "detdismantledispenser; dispenser"
bind mouse3 "detdismantlesentry; sentrygun"
bind g "aimsentry"

bind ALT "+duck"
bind "MWHEELUP"	"invprev"
bind "MWHEELDOWN" "invnext"
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-24-2007, 10:54 PM   #126
eva01
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
how do i clear out binds from previous class cfgs? it seems like using the same buttons carry over. i don't know where i got this from but on the top of all my configs i have
resetbinds
resetnumpad
not sure if that does anything.
it's weird, i have the same button bound for a lot of classes, and they all work ok, except my spy:
bind “UPARROW” “sentrysabotage”
bind “DOWNARROW” “dispensersabotage”
bind “MOUSE4” “cloak”
bind “q” “scloak”
eva01 is offline   Reply With Quote


Old 11-24-2007, 11:13 PM   #127
4est
Fortress Forever Staff
 
4est's Avatar
 
Join Date: Mar 2007
Location: OK
Posts Rated Helpful 0 Times
Send a message via Yahoo to 4est
Quote:
Originally Posted by eva01
how do i clear out binds from previous class cfgs? it seems like using the same buttons carry over. i don't know where i got this from but on the top of all my configs i have
resetbinds
resetnumpad
not sure if that does anything.
it's weird, i have the same button bound for a lot of classes, and they all work ok, except my spy:
bind “UPARROW” “sentrysabotage”
bind “DOWNARROW” “dispensersabotage”
bind “MOUSE4” “cloak”
bind “q” “scloak”

If you are feeling froggy (no offense to the French) you can create a binds.txt file. It should include EVERY SINGLE BIND.

Start each config with this at the top

unbindall
exec binds.cfg


Example from TFC
Code:
// binds.cfg

// This sets up all your binds that are not class specific (in your <class>.cfg files)

bind "kp_end" "exec onetap.cfg" // executes the one tap grenade cfg
bind "kp_minus" "vent1"			// toggles between the Ingame and the Ventrilo voice/text comm aliases 
bind "capslock" "+vtxt1"  		// ingame voice comm button
bind ALT "changeclass"			// to change to a different class
bind TAB "+showscores"			// shows scores
bind ` "toggleconsole"			// brings down the console
bind INS "snapshot"				// take screen shot		
bind "ESCAPE" "cancelselect"

bind 1 slot1
bind 2 slot2
bind 3 slot3
bind 4 slot4
bind 5 slot5
bind 6 "dismantle 2;dismantle 1;dismantle 4;dismantle 5;say_team -ENGY=[%h, %a]=- Dismantling"  //univ NG dismantle - thx Dough
bind 8 "kill"				// kills you
bind 0 "say H:%h A:%a"		// dispalys Health & Armor stats to mm1

bind , +det5PACK			// sets a 5 second det pack
bind . +det20PACK			// sets a 20 second det pack
bind / +det50PACK			// sets a 50 second det pack
bind b "special"			// special ability 
bind e "+use"				// use - duh!


bind "f" "throwgren; primeone"	// primary grenade throw/prime - double tap nades
bind "g" "throwgren; primetwo"	// secondary grenade throw/prime - double tap nades
bind "m" ""						// ONLY bound in classdefault.cfg to to announce setting a detpack or to announce spy disguise
bind "i" "flaginfo" 			// gives flag information
bind "c" "dropitems;say_team THROWING FLAG [H:%h A:%a];speak flag"			// Throws flag and speaks, "FLAG"
bind "r" "+reload"  			// reload
bind "t" "impulse 201" 			// sprays
bind "y" "messagemode"			// say, mm1 - message mode 1
//bind "u" "messagemode2"		// mm2, team say. In each <classname>.cfg it's bound to the commcfg files specific to each class
bind "x" "discard"																// to throw packs
bind "z" "saveme;say_team Ow! God Damnit I broke a nail.. MEDIC!! [H:%h A:%a]"	// call for medic
	
bind CTRL "+duck"				// to duck
bind SPACE "+jump"				// jump
bind SHIFT "+commandmenu"		// the main command menu
bind ENTER "+attack"			// selected weapon attack

// movement keys

bind a "+moveleft"
bind d "+moveright"
bind s "+back"
bind w "+forward"

// mouse button binds

bind "mouse1" "+attack"					// selected weapon attack
bind "mwheelup" "slot2;wait;slot3"    	// selects shotty (scout, demoman, pyro), super shotty (medic, spy, solja, engineer and HW) or sniper's AR
bind "mwheeldown" "slot4;wait;slot5"	// selects highest slot weapon for all classes except Engineer

//bind "mouse2" "#swipe"               	// melee + quick weapon alias.  Each class uses 1 of 4 aliases.  Demo and sniper cfgs bind mouse3.

//bind "mouse3" "ds"            		// dets sentry          -in engineer.cfg
//bind "mouse4" "dpez"					// Det dispenser alias  -in engineer.cfg

//bind "mouse3" "silent"				// silent feign and drops packs -in spy.cfg
//bind "mouse4" "ffeign"				// feign and throw flag/packs	-in spy.cfg

//bind "mouse2" "detpipe; wait; tf_weapon_pl"  	// det pipes and instantly switch to greens
//bind "mouse4" "w00t" 							// Toggles between ability to shoot straight down and not shoot straight down.
//bind "mwheeldown" "slot4"						// selects blues

//bind "mouse2" "special"						// Zoom			-in sniper.cfg
//bind "mouse4" "tf_weapon_sniperrifle" 		// Sniper rifle	-in sniper.cfg

// communication binds

bind F3 "say_team %i I'm right behind you ...Nice ass! [H:%h A:%a]"
bind F4 "say_team w00t..Enemy SG down! Get that flag / key! [H:%h A:%a]"

bind F5 "say_team Affirmative / YES / You da man [H:%h A:%a]"
bind F6 "say_team Negative / NO / Bite me [H:%h A:%a]"
bind F7 "say_team Where is our flag / key? [H:%h A:%a]"
bind F8 "say_team Where is the Enemy flag / key? [H:%h A:%a]"

bind F9 "say_team Cover Me - Out of position / Resupply! [H:%h A:%a]"
bind F10 "say_team Unf. Im capping that Mofo! [H:%h A:%a]"
bind F11 "say_team Need help with our flag! [H:%h A:%a]"
bind F12 "say_team Need help getting the enemy flag! [H:%h A:%a]"
Then if a class needed some specific binds, you'd set them in the <classname>.cfg
TFC example (all I have access to at work)
Code:
// demoman.cfg

unbindall				// unbinds all keys
exec binds.cfg			// executes binds.cfg - sets all binds

say_team [DEMOMAN] Spam.cfg Loaded!

// Reference binds.cfg and classdefault.cfg for other binds and aliases

bind "u" "exec commcfg/demoman2.cfg"  			// say_team comm gives player class, health and armour

bind "mouse2" "detpipe; wait; tf_weapon_pl"  	// det pipes and instantly switch to greens

bind "mouse3" "+14swipe"               			// melee + quick weapon

bind "mwheeldown" "slot4"						// selects blues
__________________
Welcome to ZOMBOCOM!
Support FF:

Last edited by 4est; 11-24-2007 at 11:23 PM.
4est is offline   Reply With Quote


Old 11-24-2007, 11:24 PM   #128
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
You could also set up a cleanup.cfg for the keys that are changed between classes:

Open a new notepad document
Paste the keys you currently use for different classes and preface them with unbind
Then name this new notepad doc. cleanup.cfg
Code:
echo Clean Up Config Loaded

unbind mwheelup
unbind mwheeldown
unbind alt
unbind mouse2
unbind mouse3
unbind mouse4
unbind f
unbind g
unbind shift
unbind ctrl
Then put this line in each class.cfg

Code:
exec cleanup.cfg
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-25-2007, 01:48 AM   #129
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
this is my engie build script for sentry gun..for some reason it wont tell the location of the sentry when i build it..only when it dets. can anyone give me a hand?


alias buildsent "sentrygun; wait; say_team building sentry at %sl; bind mouse3 detsent"
alias detsent "detdismantlesentry; wait; say_team sentry blown at %sl; bind mouse3 buildsent"
bind "mouse3" "buildsent"
Zatoichi is offline   Reply With Quote


Old 11-25-2007, 01:55 AM   #130
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
idk why it isn't working for you, but try this and see if it helps:

Code:
alias buildsent "sentrygun; wait; loc1; bind mouse3 detsent" 
alias detsent "detdismantlesentry; wait; loc2; bind mouse3 buildsent" 
alias loc1 "say_team building sentry at %sl"
alias loc2 "say_team sentry blown at %sl"
bind "mouse3" "buildsent"
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-25-2007, 03:27 PM   #131
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
thx for the help, but still a no go. maybe it needs more waits till the gun is actually built before it announces its location??
Zatoichi is offline   Reply With Quote


Old 11-25-2007, 08:42 PM   #132
eva01
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
thx guys, i'll give it a try.
eva01 is offline   Reply With Quote


Old 11-25-2007, 10:59 PM   #133
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
It shouldn't need wait's but idk give it a try.
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-26-2007, 03:13 PM   #134
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
Hey guys I'm back! School is over yay ^^


Quote:
Originally Posted by Zatoichi
this is my engie build script for sentry gun..for some reason it wont tell the location of the sentry when i build it..only when it dets. can anyone give me a hand?


alias buildsent "sentrygun; wait; say_team building sentry at %sl; bind mouse3 detsent"
alias detsent "detdismantlesentry; wait; say_team sentry blown at %sl; bind mouse3 buildsent"
bind "mouse3" "buildsent"
It's not telling you the sentry location, because it's not built yet, you should make a SG status bind:

Ex:
Code:
alias sgstats "say_team Sentry gun built at {%sl}"

bind "" "sgstats"
You could use waits, but the problem is that using to many of them will freeze you for X ammount of seconds, until waits finish. (I've experienced that with demoman)

So best option for me, is that bind.

Hope I could help ^^
DarK_TaO is offline   Reply With Quote


Old 11-26-2007, 03:20 PM   #135
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
He lives! Welcome back man!
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-26-2007, 10:34 PM   #136
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
thx for confirming my suspicions. i only have a 3 button mouse so this is what i came up with..and i think it works well for me.

alias buildsent "sentrygun;wait; bind mouse3 announce"
alias announce "say_team ^2sentry built at %sl; wait; bind mouse3 detsent"
alias detsent "detdismantlesentry; wait; say_team ^2sentry blown at %sl; bind mouse3 buildsent"
bind "mouse3" "buildsent"

press once to build, then again to announce location, then again to det it. it announces in red to hopefully make it more visable.
Zatoichi is offline   Reply With Quote


Old 11-26-2007, 11:15 PM   #137
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
Quote:
Originally Posted by Zatoichi
thx for confirming my suspicions. i only have a 3 button mouse so this is what i came up with..and i think it works well for me.

alias buildsent "sentrygun;wait; bind mouse3 announce"
alias announce "say_team ^2sentry built at %sl; wait; bind mouse3 detsent"
alias detsent "detdismantlesentry; wait; say_team ^2sentry blown at %sl; bind mouse3 buildsent"
bind "mouse3" "buildsent"

press once to build, then again to announce location, then again to det it. it announces in red to hopefully make it more visable.
Watch it, always remember to click after building, or when you want to detonate it, and you forgot to click again, you will send a team msg instead of blowing the SG up. Just a reminder ^^
DarK_TaO is offline   Reply With Quote


Old 11-26-2007, 11:18 PM   #138
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
hehe rgr that, i made a server and for about an hour just ran around building sentrys..but ill probably forget by the next time i play lol.
Zatoichi is offline   Reply With Quote


Old 11-27-2007, 06:19 AM   #139
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
in situations like that i generally just make a menu script...it's much easier and only takes up one page...I'll post an example when I get a chance to later.
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 11-28-2007, 01:02 AM   #140
pF
no war but class war
Fortress Forever Staff
 
pF's Avatar
 
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout
Gametype: ctf
Affiliations: [w~k!]
Posts Rated Helpful 3 Times
I'd be interested in menu scripting.. the radial selection thing for spies and engies is a nice idea, but i prefer the simple [1. - n.] menues of old!
pF is offline   Reply With Quote


Reply


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

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 01:28 PM.


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