Obsidian Conflict

A Config Script for GameBanana

Obsidian Conflict Co-op Mod Mounting Script

135 lines | 5 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
# YAML Obsidian Conflict 0.1.3.5 Modboy 3.X Config
Constants:
 "{GAME_NAME}": Obsidian Conflict 0.1.3.5
Setup:
- Command: Prompt
  Parameters:
   Type: Dir
   AliasName: "{OBSIDIAN_PATH}"
   DisplayName: Where is your {GAME_NAME} folder?
   DefaultPaths:
   - Program Files/steam/steamapps/sourcemods/obsidian
   - Program Files (x86)/steam/steamapps/sourcemods/obsidian
   - steam/steamapps/sourcemods/obsidian
   # Future Steam Release Paths
   # - Program Files/steamapps/common/Obsidian Conflict/obsidian
   # - Program Files (x86)/steamapps/common/Obsidian Conflict/obsidian
   # - steamapps/common/Obsidian Conflict/obsidian
  ErrorMessage: "The {GAME_NAME} folder you specified is invalid"
- Command: CheckExists
  Parameters:
   # Below we check that unins000.exe exists.
   # If it doesn't, the chosen game directory is incorrect.
   Path: "{OBSIDIAN_PATH}/unins000.exe"
  ErrorMessage: "The {GAME_NAME} folder you specified is invalid"
- Command: ChangeDir
  Parameters:
   Path: "{OBSIDIAN_PATH}"
  ErrorMessage: "Access was denied to your {GAME_NAME} folder"
FileRules:
 # GameFiles:
 # - AcceptExtension: "/^(bsp|nav|res|txt)$/i"
 #  DestinationFile: "maps/{FILE}"
 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"
 - DenyFile: "/^desktop\\.ini/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: "/maps\\graphs\\.(ain)$/i"
   DestinationFile: "{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/sound\\/.+\\.(ogg|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: "add-ons/{FILE}"
 - AcceptExtension: "/^(ogg|wav|mp3)$/i"
   DestinationFile: "sound/{FILE}"
 Skins:
 - 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"
 - DenyFile: "/^desktop\\.ini/i"
 - AcceptExtension: "/^vpk$/i"
   DestinationFile: "add-ons/{FILE}"
 - AcceptFilePath: "/materials\\/.+\\.(vmt|vtf)$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/models\\/.+\\.(vtx|mdl|vvd|phy)$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/sound\\/.+\\.(wav|mp3)$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/scripts\\/.+\\.txt$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 Sounds:
 - 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"
 - DenyFile: "/^desktop\\.ini/i"
 - AcceptExtension: "/^vpk$/i"
   DestinationFile: "add-ons/{FILE}"
 - AcceptFilePath: "/sound\\/sound.cache$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/sound\\/.+\\.(ogg|wav|mp3)$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/scripts\\/.+\\.txt$/i"
   DestinationFile: "add-ons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
A script for mounting Obsidian Conflict mods. Code for the future Steam release is included, but commented out until the time comes.

Game Hub Link: https://gamebanana.com/games/157

Posts

Embed

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

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 8y ago
Offline
4,419 points Ranked 1157th
22 medals 3 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Building Bridges Entrant Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon
OC config scripter
tom avatar
tom username pic Joined 17y ago
TBS2 Manager Super Admin
55,923 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
Original CS:S config
AoM avatar
AoM username pic Joined 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
38,647 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
Editing support

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 8y ago
Away
4,419 points Ranked 1157th
22 medals 3 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Building Bridges Entrant Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon

Reverend V92 avatar
Reverend V92

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

Attributes

Language
CFG/Config

Share

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

Stats

  • 351 Views
  • 2 Posts
  • 7mo Submitted
  • 7mo 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