Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Garry's Mod

A Config Script for GameBanana

146 6 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
136
137
138
139
140
141
142
143
144
145
146
---
# YAML Garry's Mod Config
Constants:
 "{GAME_NAME}": "GMod"
Setup:
- Command: Prompt
  Parameters:
   Type: Dir
   AliasName: "{GMOD_PATH}"
   DisplayName: "Where is your {GAME_NAME} folder?"
   DefaultPaths:
   - Program Files/steam/steamapps/common/garrysmod/garrysmod
   - Program Files (x86)/steam/steamapps/common/garrysmod/garrysmod
   - steam/steamapps/common/garrysmod/garrysmod
  ErrorMessage: "The {GAME_NAME} folder you specified is invalid"
- Command: CheckExists
  Parameters:
   Path: "{GMOD_PATH}/garrysmod_dir.vpk"
  ErrorMessage: "The {GAME_NAME} folder you specified is invalid"
- Command: ChangeDir
  Parameters:
   Path: "{GMOD_PATH}"
  ErrorMessage: "Access was denied to your {GAME_NAME} folder"
FileRules:
 # GameFiles:
 # - AcceptExtension: "/^(bsp|nav|res|txt)$/i"
   # DestinationFile: "maps/{FILE}"
 # - AcceptExtension: "/^(dupe)$/i"
   # DestinationFile: "dupes/{FILE}"
 # - AcceptExtension: "/^(saves)$/i"
   # DestinationFile: "saves/{FILE}"
 # - AcceptExtension: "/^(demo)$/i"
   # DestinationFile: "demos/{FILE}"
 # Textures:
 # - AcceptFilePath: "/materials\\/.+\\.(vmt|vtf|raw|txt)$/i"
   # DestinationFile: "{MATCHED_FILE_PATH}"
 # - 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"
 - DenyFile: "/^info?\\.txt/i"
 - DenyFile: "/^addon?\\.txt/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: "addons/{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"
 - DenyExtension: "/^vpk$/i"
 - DenyFile: "/^read ?me.+/i"
 - DenyFile: "/^credits?/i"
 - DenyFile: "/^credits?\\.txt/i"
 - DenyFile: "/^info?\\.txt/i"
 - DenyFile: "/^addon?\\.txt/i"
 - DenyFile: "/^installation/i"
 - DenyFile: "/^installation.+\\.txt/i"
 - DenyFile: "/^changelog/i"
 - DenyFile: "/^changelog.+\\.txt/i"
 - DenyFile: "/^thumbs\\.db/i"
 - DenyFile: "/^desktop\\.ini/i"
   DestinationFile: "addons/{FILE}"
 - AcceptFilePath: "/materials\\/.+\\.(vmt|vtf)$/i"
   DestinationFile: "addons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/models\\/.+\\.(vtx|mdl|vvd|phy)$/i"
   DestinationFile: "addons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/sound\\/.+\\.(wav|mp3)$/i"
   DestinationFile: "addons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/scripts\\/.+\\.txt$/i"
   DestinationFile: "addons/{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: "/^info?\\.txt/i"
 - DenyFile: "/^addon?\\.txt/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: "addons/{FILE}"
 - AcceptFilePath: "/sound\\/sound.cache$/i"
   DestinationFile: "addons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/sound\\/.+\\.(ogg|wav|mp3)$/i"
   DestinationFile: "addons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptFilePath: "/scripts\\/.+\\.txt$/i"
   DestinationFile: "addons/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"

Garry's Mod add-on script

A test script for Garry's Mod. Support for "Game Files" is not officially added, and therefore that category is not available yet.

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

Comments

Sign up to access this!
  • MarioDox avatar
    MarioDox username pic Joined 5y ago
    Searchin' love
    ?
    Mario's Company Flag Affiliation: Mario's Company
    11,970 points Ranked 478th
    32 medals 3 legendary 5 rare
    • Returned 5000 times Medal icon
    • Submitted 50 Maps Medal icon
    • 30 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • 10 submissions featured Medal icon
    • Submitted 50 Skins Medal icon
    MarioDox avatar
    MarioDox
    Mario's Company Flag
    Affiliation
    Mario's Company
    access_time 2y
    "Below will print as "Hello gamer! Where is your Obsidian Conflict (Mod) folder?"

    "Obsidian Conflict"
    URL to post:

Embed

menu
Afis Paylas
Resim URL si
HTML Yerlestirme Kodu
BB yerlestirme kodu
Markdown Yerlestirme Kodu

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
HL2 Manager
Offline
11,295 points Ranked 512th
31 medals 6 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Achieved Game Manager clearance Medal icon
GMod config scripter
tom avatar
tom username pic Joined 18y ago
TBS2 Manager Super Admin
Online
Home > Bugs
39,373 points Ranked 104th
64 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 13y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
61,176 points Ranked 65th
46 medals 5 legendary 12 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 9y ago
HL2 Manager
Away
11,295 points Ranked 512th
31 medals 6 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Achieved Game Manager clearance 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

menu

Attributes

Language
CFG/Config

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 1.2k
  • mode_comment 1
  • access_time 2y
  • access_time 1y

More from Submitter

menu

WiPs by Submitter

menu

More Game Configs Scripts