Skip to content

Commit

Permalink
Easier for end user to change settings
Browse files Browse the repository at this point in the history
## Commented the following things:
 - Chat binds; they are my personal preference. One can uncomment them if they like
 - Updated the zoom bind

# Added functionality & fixes:
 - Added Jag-Effect binds
 - Fixed 0 not being mapped properly
 - Updated key references link
 - Added way to execute enhancements (they work terribly w/ bad internet)
  • Loading branch information
nfitzen committed Jul 26, 2018
1 parent 9c81452 commit dcbe279
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 29 deletions.
38 changes: 23 additions & 15 deletions README.md
@@ -1,36 +1,44 @@
# nfitzen's Custom Scripts

These are some [custom scripts](//github.com/nfitzen/tf2-content/releases/latest) made by @nfitzen, while borrowing some concepts from GameBanana.
[Website](//nathaniel.fitzenrider.com/tf2-content)
These are some [custom scripts](https://github.com/nfitzen/tf2-content/releases/latest) made by @nfitzen, while borrowing some concepts from GameBanana.
[Website](https://nathaniel.fitzenrider.com/tf2-content)

[Usage](#usage)

## Build info

Requires a [custom 7zSFX module](//github.com/OlegScherbakov/7zSFX) (for making SFX)
Requires a [custom 7zSFX module](https://github.com/OlegScherbakov/7zSFX) \(for making SFX\)

You need [7-Zip](//www.7-zip.org/)
You need [7-Zip](https://www.7-zip.org/) \(the compiler script downloads a cmd-only ver. automatically if not in path\)

That's it!


## Usage

If you want to \(hopefully\) decrease your client-server latency \(less facestabs yay\), you may run
`exec apply_enhancements` in console. *Use only with good internet!*

#### Key
<toggleScript> \- toggles various functions in script. _default: SHIFT_
- \<toggleScript\> \- toggles various functions in script. _default: SHIFT_

- \<attack\> \- button to attack _default: left\-click/MOUSE1_

&lt;attack&gt; \- button to attack _default: left\-click/MOUSE1_
- \<attack2\> \- button for secondary attack _default: right\-click/MOUSE2_

&lt;attack2&gt; \- button for secondary attack _default: right\-click/MOUSE2_
Click [here](file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Team%20Fortress%202/tf/custom/ncustomcontent/cfg/default_keybinds.cfg)
and edit the keybinds to your liking. \(default_keybinds.cfg in tf/custom/ncustomcontent\)

If you want to change the keybinds go [here](https://wiki.teamfortress.com/wiki/Scripting#List_of_key_names)

### Spy

#### Stabsap Script
- **<span class="u">HIGHLY BUGGY!</span>**

1. Hold &lt;toggleScript&gt; and &lt;attack&gt; to stab \(hopefully an Engineer\) and immediately pull out your sapper.
1. Hold \<toggleScript\> and \<attack\> to stab \(hopefully an Engineer\) and immediately pull out your sapper.

2. Hold &lt;attack&gt; and &lt;toggleScript&gt; to keep sapping. Let go of &lt;attack&gt; to stop and then let go of &lt;toggleScript&gt;
2. Hold \<attack\> and \<toggleScript\> to keep sapping. Let go of \<attack\> to stop and then let go of \<toggleScript\>

#### Ambassador Script (zoom script)

Expand All @@ -40,16 +48,16 @@ That's it!

#### Replace Sentry:

1. Hold &lt;toggleScript&gt; and &lt;attack2&gt; to destroy your current sentry and rebuild another
1. Hold \<toggleScript\> and \<attack2\> to destroy your current sentry and rebuild another

#### Eureka Effect Script:

1. Press &lt;teleport&gt; to teleport to spawn
1. Press \<teleport\> to teleport to spawn

* Hold \<toggleScript\> key and press \<teleport\> to teleport to your tele exit

* Hold &lt;toggleScript&gt; key and press &lt;teleport&gt; to teleport to your tele exit
### Soldier

Soldier
---
#### Rocket Jump Script:

1. &lt;togglescript&gt; + &lt;attack&gt; = rocket jump
1. \<togglescript\> + \<attack\> = rocket jump
6 changes: 6 additions & 0 deletions src/ncustomcontent/cfg/apply_enhancements.cfg
@@ -0,0 +1,6 @@
// You may use these if you have good internet.
cl_interp 0.0325
cl_interp_ratio 1
rate 60000
cl_updaterate 66
cl_cmdrate 66
3 changes: 1 addition & 2 deletions src/ncustomcontent/cfg/autoexec.cfg
@@ -1,2 +1 @@
exec default_keybinds
exec enhancement_defaults
exec default_keybinds
46 changes: 34 additions & 12 deletions src/ncustomcontent/cfg/default_keybinds.cfg
@@ -1,17 +1,24 @@
// For a list of key references, go to here:
// For a list of key references, go to here: https://github.com/nfitzen/tf2-content#usage

// Don't touch this unless you know what you're doing:
// Don't touch these unless you know what you're doing:
alias +toggleScript ""
alias -toggleScript ""

alias +teleport lastdisguise
alias +zoom ""
alias -zoom ""

alias +teleport ""
alias -teleport ""

alias engieloadout3 ""
alias engieloadout4 ""

alias +sentryReBuild ""
alias -sentryReBuild ""

// Put whatever key you want in here for activating scripts. Default SHIFT.
bind SHIFT +toggleScript

bind B +teleport

alias +mouse_click "+attack; spec_next"
alias -mouse_click "-attack"

Expand All @@ -31,13 +38,28 @@ bind 6 "slot6"
bind 7 "slot7"
bind 8 "slot8"
bind 9 "slot9"
bind 0 "slot0"
unbind Q
bind 0 "slot10"
bind B "lastdisguise; +teleport" // Keep the default (lastdisguise) and add Eureka Effect teleport

// If you want separate keys for these:
//////////////////////////////////////////
// bind KEY lastdisguise //
// bind KEY +teleport //
//////////////////////////////////////////

bind Q +zoom

// bind Q lastinv // default keybind in TF2 (uncomment if you like that)

// For Jag-Effect; set to what you like
// bind MOUSE4 "engieloadout3"
// bind MOUSE5 "engieloadout4"

// My personal bind messages. I main Spy so ofc some of these are stupid.

bind KP_PLUS "say Random crits are fair and balanced!"
bind KP_INS "say ( ͡° ͜ʖ ͡°)"
bind KP_ENTER "say Binds are cancer."
bind KP_PGDN "say Soldier takes skill, aiming at the ground is really hard."
bind KP_LEFTARROW "say W+M1 takes real skill. Why else would Team Pyro win?"
// bind KP_PLUS "say Random crits are fair and balanced!"
// bind KP_INS "say ( ͡° ͜ʖ ͡°)"
// bind KP_ENTER "say Binds are cancer."
// bind KP_PGDN "say Soldier takes skill, aiming at the ground is really hard."
// bind KP_LEFTARROW "say W+M1 takes real skill. Why else would Team Pyro win?"
// bind KP_END "say You can't play TEAM Fortress 2 without a good team.; say (that actually defends the fortress)"

0 comments on commit dcbe279

Please sign in to comment.