Jump to content



Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Oblivion Knight : (26 February 2024 - 11:30 AM) Whoa I can edit a typo. The technology.
@  Oblivion Knight : (26 February 2024 - 11:29 AM) Obligatory message.
@  Elwood : (02 January 2024 - 04:19 AM) Happy New Year!!!
@  Aaron : (13 February 2023 - 09:19 PM) I'm still out here alive. If you remember me, I hope you're doing well!
@  Aaron : (13 February 2023 - 09:09 PM) 2023 and this place is still up huhh
@  Elwood : (05 January 2023 - 07:58 AM) Ah a Christmas greeting from Wolfie! Even if I saw it way late Merry Christmas and Happy New Year to everybody!
@  Cero : (31 December 2022 - 09:27 PM) Man that bot went crazy
@  Whitewolf8 : (24 December 2022 - 10:02 AM) I return once more on the eve of Christmas to haunt you all again!... Mainly Elwood. Hello!
@  Elwood : (25 November 2022 - 04:58 AM) A bot! Ah the nostalgia!
@  Elwood : (02 November 2022 - 02:30 PM) Yo ho ho ho! Thar be the white wolf!
@  Whitewolf8 : (24 October 2022 - 12:29 AM) Well, blimey it's been a while. Hoy there! If anyone's still alive here anyway.
@  Valke : (21 April 2022 - 12:12 PM) im taking the 2nd shout of 2022 😂
@  Elwood : (03 March 2022 - 10:12 PM) Mwuhahaha! The first shout of 2022 is mine!
@  Fire Blazer : (12 November 2021 - 05:22 PM) *also stretches arms a little*
@  xcrash1998 : (07 November 2021 - 08:42 PM) "streches arms"
@  Ezra : (07 May 2021 - 05:20 AM) Maybe I'll pop on the discord soon
@  Fire Blazer : (01 April 2021 - 08:08 PM) Aaaaaaand done~ :P
@  xcrash1998 : (29 March 2021 - 08:52 AM) I guess we are one more post away from counting to 2500
@  Fire Blazer : (10 March 2021 - 11:39 PM) but I have bad memory and can't remember ;(
@  Elwood : (15 February 2021 - 10:23 AM) I'd like to but I've told you about my issues with discord before.

Photo

TF2 Scripts


  • Please log in to reply
2 replies to this topic

#1 SmashedFish

SmashedFish

    Tom is not for opening

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,858 posts
  • Gender:Not Telling
  • Interests:fictional characters

Posted 10 May 2011 - 05:09 PM

I'm not sure if anyone else even plays TF2, but here are some awesome scripts if you do. Put all this into SteamApps/yourname/team fortress 2/tf/cfg/autoexec.cfg, and make any files/folders that aren't already there.

CODE
alias +cfirepri "slot1; +attack"
alias -cfirepri "-attack; lastinv"

alias +cfiresec "slot2; +attack"
alias -cfiresec "-attack; lastinv"

alias +cfiremel "slot3; +attack"
alias -cfiremel "-attack; lastinv"

bind i +cfirepri
bind o +cfiresec
bind p +cfiremel

alias devtog devtog1
alias devtog1 "developer 1; alias devtog devtog2"
alias devtog2 "developer 0; alias devtog devtog1"

bind [ devtog

alias +rebind "bind 1 cfirepri; bind 2 cfiresec; bind 3 cfiremel"
alias -rebind "bind 1 slot1; bind 2 slot2; bind 3 slot3""

bind shift +rebind


What it does:

Shift: switches 1, 2, and 3 to do something else while Shift is being held. They go back after. Shift can still be bound to something else at the same time.

i or hold Shift and press 1: Takes out your primary and shoots it until you let go. Then it switches back to whatever you were holding before. Doesn't work well for Heavy.

o or hold Shift and press 2: Ditto, with secondary. Good luck with food/thrown secondaries.

p or hold Shift and press 3: Ditto with your melee. That is surprisingly stable.

[: Toggles developer, which overlays the top-left corner of your screen with console text. It can be useful when you're testing scripts, but it's of occasional usability elsewhere.

Images - 11/22 Writing - 5/17 FE: Immortal Shrine
forum_signature__aeiou_by_sakowfniapqf-d

 

Spoiler


Need help with hacking? Post in the subforum, or Skype me (smashedfish76).


#2 Fire Blazer

Fire Blazer

    You ready?

  • Creator
  • 12,103 posts
  • Gender:Male
  • Location:U.S.A.
  • Interests:Too many to list. =P

Posted 10 May 2011 - 07:58 PM

TEAMFORTRESS2

I know some people who play it but I don't. Still, scripting, for a game? Sounds intense. O-o

Bblazer2.png

Signature thanks to Shu.


#3 SmashedFish

SmashedFish

    Tom is not for opening

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,858 posts
  • Gender:Not Telling
  • Interests:fictional characters

Posted 10 May 2011 - 09:00 PM

It's really not, actually. My only prior experience to code when I started doing TF2 scripts was half a year in C++, and I don't even use that.

I'll give you the basics because I'm bored. The basics are as follows:

1. You can put commands into your console or scripts to make them run. If you don't know a certain command, there are a bunch of list to get to know some useful ones.

2. By binding a key to a command, you make it so that hitting the key does the command. (For example, I could type "kill" into the console to die at whim, or I could bind, say, G to kill me whenever I press it.)

3. Then, you can go and make aliases, which are strings of commands that execute in order when the allias is called. (If I had an alias called "lol" which made me taunt and then explode when executed, I could type "lol" into my console or bind a key to lol to execute it whenever.)

Scripting is just making clever aliases and binding them to keys that aren't halfway across the keyboard, all the while learning and following new rules of grammar.

TL;DR Go and read it you nerd, I spent a good five minutes typing that.

Images - 11/22 Writing - 5/17 FE: Immortal Shrine
forum_signature__aeiou_by_sakowfniapqf-d

 

Spoiler


Need help with hacking? Post in the subforum, or Skype me (smashedfish76).





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users