Left 4 Dead 2

A Config Script for GameBanana

35 lines | 1 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
---
# Left 4 Dead 2
Constants
:
 "{GAME_NAME}"
: Left 4 Dead 2
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{LEFT_4_DEAD_2_PATH}"
   DisplayName
: Where is your {GAME_NAME} folder?
   DefaultPaths
:
  - Program Files (x86)/Steam/steamapps/common/left 4 dead 2/left4dead2
   - Program Files/Steam/steamapps/common/left 4 dead 2/left4dead2
  ErrorMessage
: "The {GAME_NAME} folder you specified could not be accessed"
- Command
: CheckExists
  Parameters
:
   Path
: "{LEFT_4_DEAD_2_PATH}/pak01_000.vpk"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{LEFT_4_DEAD_2_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
 Skins
:
 - DenyExtension
: "/^jpg$/i"
 - DenyExtension
: "/^txt$/i"
 - DenyFile
: "/^readme.+/i"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "addons/{FILE}"
 Maps
:
 - DenyExtension
: "/^jpg$/i"
 - DenyExtension
: "/^txt$/i"
 - DenyFile
: "/^readme.+/i"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "addons/{FILE}"
Left 4 Dead 2 Modboy config.

Posts

  • Northern3D avatar
    Northern3D username pic Joined 3y ago
    SURFIN' THE WEB
    ?
    US Games Flag Affiliation: US Games
    1,334 points Ranked 3961st
    19 medals 2 rare
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Became a Club Leader Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    6mo
    Plot twist- This time, I AM the one who adds support for unpacked skins and sounds! Mwahahaha!

    ---
    # Left 4 Dead 2
    Constants:
    "{GAME_NAME}": Left 4 Dead 2
    Setup:
    - Command: Prompt
    Parameters:
    Type: Dir
    AliasName: "{LEFT_4_DEAD_2_PATH}"
    DisplayName: Where is your {GAME_NAME} folder?
    DefaultPaths:
    - Program Files (x86)/Steam/steamapps/common/left 4 dead 2/left4dead2
    - Program Files/Steam/steamapps/common/left 4 dead 2/left4dead2
    ErrorMessage: "The {GAME_NAME} folder you specified could not be accessed"
    - Command: CheckExists
    Parameters:
    Path: "{LEFT_4_DEAD_2_PATH}/pak01_000.vpk"
    ErrorMessage: "The {GAME_NAME} folder you specified is invalid"
    - Command: ChangeDir
    Parameters:
    Path: "{LEFT_4_DEAD_2_PATH}"
    ErrorMessage: "Access was denied to your {GAME_NAME} folder"
    FileRules:
    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}"
    Cool! avatar
    Mantra
    Cool!

Embed

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

Credits

Key Authors
AoM avatar
AoM username pic Joined 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
38,505 points Ranked 104th
40 medals 5 legendary 9 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
tom avatar
tom username pic Joined 17y ago
TBS2 Manager Super Admin
Offline
55,897 points Ranked 67th
57 medals 12 legendary 10 rare
  • Achieved Super Admin clearance Medal icon
  • 10 years a member Medal icon
  • Thanked 500 submitters Medal icon
  • Submitted 200 Blogs Medal icon
  • Submitted 200 Threads Medal icon
  • Submitted 60 Polls Medal icon

Submitter

AoM avatar
AoM username pic Joined 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Likely Asleep
38,505 points Ranked 104th
40 medals 5 legendary 9 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

AoM avatar
AoM

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+

Stats

  • 727 Views
  • 3 Posts
  • 10mo Submitted
  • 9mo Modified

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

More Game Configs Scripts

bcp.crwdcntrl.net tracking pixel