No More Room in Hell

No More Room in Hell

168 ratings
Barricade Anywhere
2
   
Award
Favorite
Favorited
Unfavorite
Category: Mutators
File Size
Posted
Updated
14.979 KB
2 Nov, 2024 @ 8:40am
2 Nov, 2024 @ 10:28am
2 Change Notes ( view )

Subscribe to download
Barricade Anywhere

In 1 collection by durkhaz
My Mutators
14 items
Description
This mutator gives players the ability to place barricades anywhere they want. This works in both survival and objective mode. Pure VScript, doesn't require any custom content.
Works better with Better Barricades!

How to activate:
Listen server:
  1. Subscribe to this item
  2. Open Create Server menu
  3. Press the * button next to difficulty
  4. Check "Barricade Anywhere"
  5. Start

Dedicated server:

Add "barricade_anywhere" to sv_mutators list.
Make sure to check this item regularly to not miss any new updates / bug fixes.

Usage:
When in build mode with the hammer (ATTACK2), players can place a barricade blueprint with RELOAD. Pressing SPRINT will flip the boards horizontally.
Invalid blueprints will show up as red, and can't be built.
If you can think of a better control scheme, let me know in the comments below!

Customization:
Available console commands:
Command
Description
Default
sv_barricade_anywhere_place_on_boards
Allows boards to be placed on other boards
1
sv_barricade_anywhere_check_valid
Check if board placement is valid
1
sv_barricade_anywhere_show_hint
Show key hint when first used
1
sv_barricade_anywhere_clear_map
Removes all default barricade spots
1
sv_barricade_anywhere_extra_boards
Extra boards hammers get in obj mode
2
sv_barricade_anywhere_angle_variation
Adds angle variation to blueprints
1

Technical notes:
The script validates the placement of boards so zombies can destroy them. The entity origin (middle of the board) can't be occluded, and the board can't be stuck in world geometry. This can be disabled with sv_barricade_anywhere_check_valid 0, but it's not recommended.

In objective mode, the player is given a random amount of boards when first picking up a hammer. This can be disabled by setting sv_barricade_anywhere_extra_boards to 0.
14 Comments
lel 21 Feb @ 1:06am 
nice
Krieg Korps! 6 Nov, 2024 @ 11:57am 
Awesome work, mate!
People like you make NMRiH kicks ass of NMRiH2!!
RaidBaygon 4 Nov, 2024 @ 8:11pm 
Nice
EoRdk 4 Nov, 2024 @ 10:38am 
perfect
Stelient 4 Nov, 2024 @ 2:44am 
please, add vertical, i want build 2nd floor for house, with vertical will be easier
TsukasaSato 3 Nov, 2024 @ 6:05pm 
Thanks for the mod,love it!
Qwazzy 3 Nov, 2024 @ 3:38pm 
Excellent mutator. Should make multiple maps more interesting.
Stranger 3 Nov, 2024 @ 12:55am 
And THAT what we need officially
DarkX5 2 Nov, 2024 @ 5:38pm 
I built a house

bravo mod
RoyDJ 2 Nov, 2024 @ 1:56pm 
now this is lovely :zeye: