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
Sign up to access this!

Todos

Add other installation categories

Embed

Сподели банер
URL на изображението
HTML код за вграждане
BB код за вграждане
Markdown код за вграждане

Credits

Key Authors
RayHammer avatar
RayHammer username pic Joined 3y ago
Offline
101 points Ranked 31594th
13 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 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
44,186 points Ranked 93rd
43 medals 5 legendary 10 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 3y ago
Far Away
101 points Ranked 31594th
13 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

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

Game

Sign up to access this!

Category

Sub-category
Game Configs
Super-category
Modboy

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 1.2k Views
  • 1ySubmitted
  • 2moModified

Scores

  • Not yet rated
Sign up to access this!

WiPs by Submitter

More Game Configs Scripts

bcp.crwdcntrl.net tracking pixel