The Game Modding Community - Since 2001

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

  • 4mo
    Northern3D avatar
    Northern3D username pic Joined 3y ago
    PROBABLY DEAD
    US Games Flag Affiliation: US Games
    1,356 points Ranked 3818th
    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
    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
33,013 points Ranked 127th
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
tom avatar
tom username pic Joined 17y ago
TBS2 Manager Super Admin
Online
Homepage
53,227 points Ranked 69th
55 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
33,013 points Ranked 127th
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

AoM avatar
AoM

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

  • 565 Views
  • 3 Posts
  • 7mo Submitted
  • 6mo Modified

Scores

  • Not yet rated
Sign up to access this!

SEX! Ok, we got your attention. 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

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel