The Game Modding Community - Since 2001

Team Fortress 2

A Config Script for GameBanana

64 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
# 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|mp3)$/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}"
 Sounds
:
 - DenyExtension
: "/^txt$/i"
 - DenyFile
: "/^readme.+/i"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "custom/{FILE}"
 - AcceptFilePath
: "/sound\\/sound.cache$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/sound\\/.+\\.(wav|mp3)$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/scripts\\/.+\\.txt$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 Effects
:
 - DenyExtension
: "/^txt$/i"
 - DenyFile
: "/^readme.+/i"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "custom/{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
RayHammer username pic Joined 2y ago
Offline
Initial config for VPK support
AoM avatar
AoM username pic Joined 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
32,633 points Ranked 130th
39 medals 5 legendary 8 rare
  • 10 years a member Medal icon
  • Created a Mod Installer Medal icon
  • Achieved Admin clearance Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • Became a Ripe Supporter Medal icon
  • 6 years a member Medal icon
Adding to config to support sounds and unpacked skins

Submitter

RayHammer avatar
RayHammer username pic Joined 2y ago
Far Away

RayHammer avatar
RayHammer

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

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 820 Views
  • 0 Posts
  • 7mo Submitted
  • 30d Modified

Scores

  • Not yet rated
Sign up to access this!

Greetings! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Join the community! Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel