Chips' Fun House Forum Index

Post new topic   Reply to topic

View next topic
View previous topic
Page 1 of 3
Goto page 1, 2, 3  Next
Chips' Fun House Forum Index  ~  Questions, Suggestions and Recommendations  ~  Couple Scripts
Author Message
Transient
PostPosted: Thu Mar 17, 2005 8:39 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 14 Mar 2005
Posts: 130
Location: Pennsylvania

I figured I would post some of the basic scripts that are commonly used for us lazy folk such as the reload script:

// Move and Reload Keys
alias +w "+forward;+reload"
alias -w "-forward;+reload;wait;-reload"
alias +s "+back;+reload"
alias -s "-back;+reload;wait;-reload"
alias +l "+moveleft;+reload"
alias -l "-moveleft;+reload;wait;-reload"
alias +r "+moveright;+reload"
alias -r "-moveright;+reload;wait;-reload"
bind w "+w"
bind s "+s"
bind a "+l"
bind d "+r"

This reload script does not jam up upon death, you can respawn fine everytime.

Here is the quick weapon switch script also:

// Quick weapon swap
alias shoot "+attack; wait; -attack"
alias weapon "slot3; shoot; bind SHIFT weapon2"
alias weapon2 "slot5; shoot; bind SHIFT weapon"
bind SHIFT weapon
Back to top
View user's profile Send private message
Nerve-ana
PostPosted: Thu Mar 17, 2005 8:43 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 08 Dec 2004
Posts: 2504
Location: NJ

were the hell do i put this?? Please explain

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Chance!
PostPosted: Thu Mar 17, 2005 9:42 pm  Reply with quote
Forum H4xor
Forum H4xor


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

the easy way i handle all this - type it, or copy and paste it, into your console
should work. class-specific ones i haven't bothered with...

_________________



-[CfH]-Server Admin
Back to top
View user's profile Send private message AIM Address MSN Messenger
Wahoo
PostPosted: Fri Mar 18, 2005 11:19 am  Reply with quote
Forum Soldier
Forum Soldier


Joined: 10 Mar 2005
Posts: 352

to use it, open notepad, cope and paste that code in, and save it in the tfc folder and call it userconfig.cfg

_________________
Back to top
View user's profile Send private message
Transient
PostPosted: Fri Mar 18, 2005 6:08 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 14 Mar 2005
Posts: 130
Location: Pennsylvania

you need to find the proper steam folder

BY default is should be located c:\programfiles\valve\steam\steampapps\youracct\teamfortressclassic\tfc

in that folder is a .cfg file called userconfig.cfg. For simplicity sake put it there.
Back to top
View user's profile Send private message
gilliam
PostPosted: Fri Mar 18, 2005 6:48 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 25 Nov 2004
Posts: 1269
Location: sacramento ca

i have my reload setup to react to my releasing mouse1.
bind mouse1 +attackx
alias +attackx "-reload; +attack"
alias -attackx "-attack; +reload"
much less effort in a reload script.

as far as "jam up upon death" it does sti there untill you press fire again or your reload key. i like how this keeps me from repawning till i want to.

i keep all my scripts in tfc/scripts folder
i have one just for turning on the swing hook (hookon.cfg) and the taunts script(which i need new taunts Razz )

_________________
Albert Einstein once said “The only reason for time is so that everything doesn’t happen at once.”
-[CfH]-Server Admin
Hanlon's Razor. Never attribute to malice that which can be adequately explained by stupidity.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Plasma
PostPosted: Sat Mar 19, 2005 12:49 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 14 Dec 2004
Posts: 113
Location: Tallahassee, FL

It's easier to put it all in the autoexec. Trust me, if I can do it, you can haha. And if your computer crashes you don't have to do it again Smile.

_________________
We can't stop here! This is bat country!
Back to top
View user's profile Send private message AIM Address MSN Messenger
Transient
PostPosted: Mon Mar 21, 2005 6:16 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 14 Mar 2005
Posts: 130
Location: Pennsylvania

//Throw flag Script

alias specthrow "dropitems; wait; dropitems; wait; dropitems; wait; dropitems; wait; dropitems; wait; dropitems"
alias "+st1" "specthrow"
alias "-st1" "specthrow"

//Auto Use Script
alias specuse "+use; wait; -use; wait; +use; wait; -use; wait; +use; wait; -use; wait; +use; wait; -use; wait; +use; wait; -use"
alias "+su1" "specuse"
alias "-su1" "specuse"

alias x1 "bind mouse4 +st1; developer 1; echo Special Throw on; developer 0; bind pgdn x2"
alias x2 "bind mouse4 +su1; developer 1; echo Special Use on; developer 0; bind pgdn x1"
bind mouse4 "+st1"
bind pgdn x1
Back to top
View user's profile Send private message
Audhumla
PostPosted: Mon Mar 21, 2005 7:43 pm  Reply with quote
Forum H4xor
Forum H4xor


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

My throw flag:

alias throwflag "say_team OmgZ I tossed t3h flag!!1! [%h|%a]; dropitems"
bind MOUSE5 "throwflag"

My reload:

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"

_________________

(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
gilliam
PostPosted: Mon Mar 21, 2005 8:35 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 25 Nov 2004
Posts: 1269
Location: sacramento ca

doesnt that make your movement controls lagged?

_________________
Albert Einstein once said “The only reason for time is so that everything doesn’t happen at once.”
-[CfH]-Server Admin
Hanlon's Razor. Never attribute to malice that which can be adequately explained by stupidity.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Audhumla
PostPosted: Mon Mar 21, 2005 9:06 pm  Reply with quote
Forum H4xor
Forum H4xor


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

I've never noticed that.

_________________

(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
Chance!
PostPosted: Mon Mar 21, 2005 9:41 pm  Reply with quote
Forum H4xor
Forum H4xor


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

trans... your flag throw script, do you bind a key to +st1 and another to -st1? or what.
i'm still fairly noobish with scripting...

_________________



-[CfH]-Server Admin
Back to top
View user's profile Send private message AIM Address MSN Messenger
Transient
PostPosted: Mon Mar 21, 2005 10:46 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 14 Mar 2005
Posts: 130
Location: Pennsylvania

you only need to bind the +st part. The + represents the pushing of the button. the - is what happens when you release the button.
Back to top
View user's profile Send private message
gilliam
PostPosted: Mon Mar 21, 2005 11:54 pm  Reply with quote
Forum H4xor
Forum H4xor


Joined: 25 Nov 2004
Posts: 1269
Location: sacramento ca

Transient wrote:
//Throw flag Script

alias specthrow "dropitems; wait; dropitems; wait; dropitems; wait; dropitems; wait; dropitems; wait; dropitems"
alias "+st1" "specthrow"
alias "-st1" "specthrow"

//Auto Use Script
alias specuse "+use; wait; -use; wait; +use; wait; -use; wait; +use; wait; -use; wait; +use; wait; -use; wait; +use; wait; -use"
alias "+su1" "specuse"
alias "-su1" "specuse"

alias x1 "bind mouse4 +st1; developer 1; echo Special Throw on; developer 0; bind pgdn x2"
alias x2 "bind mouse4 +su1; developer 1; echo Special Use on; developer 0; bind pgdn x1"
bind mouse4 "+st1"
bind pgdn x1


get rid of the extra aliases and just bind a key to "specuse"

_________________
Albert Einstein once said “The only reason for time is so that everything doesn’t happen at once.”
-[CfH]-Server Admin
Hanlon's Razor. Never attribute to malice that which can be adequately explained by stupidity.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Transient
PostPosted: Tue Mar 22, 2005 8:53 pm  Reply with quote
Forum Medic
Forum Medic


Joined: 14 Mar 2005
Posts: 130
Location: Pennsylvania

the use of aliases for pressing and unpressing of a key is far better then just pushing a button when you don't use any _special binds. You will get 2x the amount of actions without creating a bind that is too long that would prevent you from doing a second action timely.
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 3
Goto page 1, 2, 3  Next
Chips' Fun House Forum Index  ~  Questions, Suggestions and Recommendations

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