Team Fortress 2

A Config Script for GameBanana

Attention Gamer! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending RayHammer points.
  • Post: Give RayHammer your thoughts on this Script.
  • Vote: Help RayHammer win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Interested?

Sign up

Already a Bananite? Login

48 lines | 2 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
# YAML Team Fortress 2 Config
Constants
:
 "{GAME_NAME}"
: Team Fortress 2
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{TEAM_FORTRESS_2_PATH}"
   DisplayName
: Where is your {GAME_NAME} folder?
   DefaultPaths
:
  - Program Files (x86)/Steam/steamapps/common/Team Fortress 2/tf
   - Program Files/Steam/steamapps/common/Team Fortress 2/tf
  ErrorMessage
: "The {GAME_NAME} folder you specified could not be accessed"
- Command
: CheckExists
  Parameters
:
   Path
: "{TEAM_FORTRESS_2_PATH}/tf2_misc_dir.vpk"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{TEAM_FORTRESS_2_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
 Skins
:
 - DenyExtension
: "/^jpg$/i"
 - DenyFile
: "/^readme.+/i"
 - DenyFile
: "/^thumbs.db/i"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "custom/{FILE}"
 - AcceptFilePath
: "/materials\\/.+\\.(vmt|vtf)$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/models\\/.+\\.(vtx|mdl|vvd|phy)$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/sound\\/sound.cache$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/sound\\/.+\\.wav$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/scripts\\/.+\\.txt$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 Maps
:
 - DenyExtension
: "/^jpg$/i"
 - DenyExtension
: "/^txt$/i"
 - DenyFile
: "/^readme.+/i"
 - DenyFile
: "/^thumbs.db/i"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "custom/{FILE}"
 - AcceptExtension
: "/^bsp$/i"
   DestinationFile
: "maps/{FILE}"
Team Fortress 2 Modboy Config

Please do comment down below if you found any bugs or simply have a suggestion

Todos

Add other installation categories

Posts

None found

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Key Authors
RayHammer avatar DeadArt Flag
Affiliation
DeadArt
RayHammer username pic Joined 2y ago
Offline
DeadArt Flag Affiliation: DeadArt
304 points Ranked 13500th
12 medals 2 rare
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • 8-14 Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • One month a member Medal icon
  • Reached 1,000 Points Medal icon
  • 6 months a member Medal icon
  • Returned 100 times Medal icon
Initial config for VPK support
AoM avatar
AoM username pic Joined 11y ago
Admin AC:NL Manager UT2k4 Manager
Offline
22,753 points Ranked 195th
35 medals 4 legendary 7 rare
  • 10 years a member Medal icon
  • Created a Mod Manager Medal icon
  • Achieved Admin clearance Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • 6 years a member Medal icon
  • Achieved Game Manager clearance Medal icon
Adding to config to support non-packed skins

Submitter

RayHammer avatar
RayHammer username pic Joined 2y ago
Being Dead
DeadArt Flag Affiliation: DeadArt
304 points Ranked 13500th
12 medals 2 rare
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • 8-14 Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • One month a member Medal icon
  • Reached 1,000 Points Medal icon
  • 6 months a member Medal icon
  • Returned 100 times Medal icon

RayHammer avatar
RayHammer
DeadArt Flag
Affiliation
DeadArt

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Sub-category
Game Configs
Super-category
Modboy

Stats

Posts
0
Views
264
Date Added
1mo
Date Modified
17d

Scores

  • Not yet rated
Sign up to access this!

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
bcp.crwdcntrl.net tracking pixel