The Game Modding Community - Since 2001

Day of Defeat: Source

A Config Script for GameBanana

96 lines | 4 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
# YAML Day of Defeat: Source Config
Constants
:
 "{GAME_NAME}"
: Day of Defeat: Source
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{DODS_PATH}"
   DisplayName
: Where is your {GAME_NAME} folder?
   DefaultPaths
:
  - Program Files (x86)/Steam/steamapps/common/Day of Defeat Source/dod
   - Program Files/Steam/steamapps/common/Day of Defeat Source/dod
  ErrorMessage
: "The {GAME_NAME} folder you specified could not be accessed"
- Command
: CheckExists
  Parameters
:
   Path
: "{DODS_PATH}/dod_pak_000.vpk"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{DODS_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
 Maps
:
 - DenyExtension
: "/^jpg$/i"
 - DenyExtension
: "/^cache$/i"
 - DenyExtension
: "/^rtf$/i"
 - DenyExtension
: "/^doc$/i"
 - DenyExtension
: "/^docx$/i"
 - DenyExtension
: "/^exe$/i"
 - DenyFile
: "/^read ?me.+/i"
 - DenyFile
: "/^credits?/i"
 - DenyFile
: "/^credits?\\.txt/i"
 - DenyFile
: "/^installation/i"
 - DenyFile
: "/^installation.+\\.txt/i"
 - DenyFile
: "/^changelog/i"
 - DenyFile
: "/^changelog.+\\.txt/i"
 - DenyFile
: "/^thumbs\\.db/i"
 # try to match files already in the correct structure
 - AcceptFilePath
: "/scripts\\/soundscapes\\_.+\\.txt$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/resource\\/overviews\\/.+\\.txt$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/resource\\/overviews\\/.+\\_radar\\.txt$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/resource\\/overviews\\/.+\\_radar\\_spectate\\.txt$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/materials\\/.+\\.(vmt|vtf|tga)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/models\\/.+\\.(vtx|mdl|phy|phz|vvd)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/maps\\/.+\\.(bsp|nav|res|txt)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/sound\\/.+\\.(wav|mp3)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 # any files left over or mods with no directory structure - guess where to put them
 - AcceptFile
: "/^soundscapes\\_.+\\.txt$/i"
   DestinationFile
: "scripts/{FILE}"
 - AcceptFile
: "/\\_radar\\.txt$/i"
   DestinationFile
: "resource/overviews/{FILE}"
 - AcceptFile
: "/\\_radar\\_spectate\\.txt$/i"
   DestinationFile
: "resource/overviews/{FILE}"
 - AcceptExtension
: "/^(vmt|vtf|tga)$/i"
   DestinationFile
: "materials/{FILE}"
 - AcceptExtension
: "/^(vtx|mdl|phy|phz|vvd)$/i"
   DestinationFile
: "models/{FILE}"
 - AcceptExtension
: "/^(bsp|nav|res|txt)$/i"
   DestinationFile
: "maps/{FILE}"
 - AcceptExtension
: "/^vpk$/i"
   DestinationFile
: "custom/{FILE}"
 - AcceptExtension
: "/^(wav|mp3)$/i"
   DestinationFile
: "sound/{FILE}"
 Skins
:
 - DenyExtension
: "/^jpg$/i"
 - DenyFile
: "/^readme.+/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\\/.+\\.(wav|mp3)$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/scripts\\/.+\\.txt$/i"
   DestinationFile
: "custom/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 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}"
I'm surprised at how many mods this game has.
Promotional Content

Posts

None found

Embed

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

Credits

Key Authors
Northern3D avatar
Northern3D username pic Joined 3y ago
Offline
US Games Flag Affiliation: US Games
1,124 points Ranked 4449th
15 medals 1 rare
  • 10 submissions featured 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
  • Returned 100 times Medal icon
Mini avatar
Mini username pic Joined 11y ago
Ripe Supporter CivVI Manager Admin
Offline
4,999 points Ranked 983rd
47 medals 7 legendary 9 rare
  • 1st Place - Winter Sprays Contest Medal icon
  • Guardian of the Acid Milk Medal icon
  • Achieved Admin clearance Medal icon
  • Returned 5000 times Medal icon
  • 10 years a member Medal icon
  • 2017 Top Contributor Medal icon
Original Config
AoM avatar
AoM username pic Joined 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
28,178 points Ranked 153rd
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
Unpacked Sounds & Skins™

Submitter

Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,124 points Ranked 4449th
15 medals 1 rare
  • 10 submissions featured 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
  • Returned 100 times Medal icon

Northern3D avatar
Northern3D

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

  • 121 Views
  • 0 Posts
  • 26d Submitted
  • 26d Modified

Scores

  • Not yet rated
Sign up to access this!

Yo, buddy. 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.

Stop Lurking! Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel