Half-Life: Blue Shift

A Config Script for GameBanana

77 lines | 3 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
---
# YAML Half-Life: Blue Shift Modboy Config
Constants
:
 "{GAME_NAME}"
: "Half-Life: Blue Shift"
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{HALFLIFE_BLUE_SHIFT_PATH}"
   DisplayName
: "Where is your {GAME_NAME} folder?"
   DefaultPaths
:
  - Program Files (x86)/Steam/steamapps/common/Half-Life/bshift
   - Program Files/Steam/steamapps/common/Half-Life/bshift
  ErrorMessage
: "The {GAME_NAME} folder you specified could not be accessed"
- Command
: CheckExists
  Parameters
:
   Path
: "{HALFLIFE_BLUE_SHIFT_PATH}/models"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{HALFLIFE_BLUE_SHIFT_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
: "/gfx\\/env\\/.+\\.tga$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/maps\\/.+\\.(bsp|res|txt|nav)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/models\\/.+\\.mdl$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/sound\\/.+\\.wav$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/sprites\\/.+\\.spr$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/overviews\\/.+\\.bmp$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 # any files left over or mods with no directory structure - guess where to put them
 - AcceptExtension
: "/^(nav|bsp|res|txt)$/i"
   DestinationFile
: "maps/{FILE}"
 - AcceptExtension
: "/^tga$/i"
   DestinationFile
: "gfx/env/{FILE}"
 - AcceptExtension
: "/^wad/i"
   DestinationFile
: "{FILE}"
 - AcceptExtension
: "/^wav$/i"
   DestinationFile
: "sound/ambience/{FILE}"
 - AcceptExtension
: "/^spr$/i"
   DestinationFile
: "sprites/{FILE}"
 - AcceptExtension
: "/^bmp$/i"
   DestinationFile
: "overviews/{FILE}"
 - AcceptExtension
: "/^mdl$/i"
   DestinationFile
: "models/{FILE}"
 Skins
:
 - DenyExtension
: "/^jpg$/i"
 - DenyFile
: "/^readme.+/i"
 # try to match files already in the correct structure
 - AcceptFilePath
: "/sound\\/.+\\.wav$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/models\\/.+\\.mdl$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 # any files left over or mods with no directory structure - guess where to put them
 - AcceptExtension
: "/^mdl$/i"
   DestinationFile
: "models/{FILE}"
Sign up to access this!

Embed

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

Credits

Key Authors
Northern3D avatar
Northern3D username pic Joined 4y ago
Offline
hl2-reloaded Flag Affiliation: hl2-reloaded
3,025 points Ranked 3833rd
20 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
tom avatar
tom username pic Joined 17y ago
TBS2 Manager Super Admin
53,678 points Ranked 73rd
58 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

Northern3D avatar
Northern3D username pic Joined 4y ago
PROBABLY DEAD
hl2-reloaded Flag Affiliation: hl2-reloaded
3,025 points Ranked 3833rd
20 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

Northern3D avatar
Northern3D

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+
  • 281 Views
  • 6moSubmitted
  • 3moModified

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

More Game Configs Scripts

bcp.crwdcntrl.net tracking pixel