Garry's Mod

Garry's Mod

1,585 ratings
Forcefields V2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
95.977 KB
Jun 26, 2016 @ 9:09pm
Jul 4, 2016 @ 1:04pm
5 Change Notes ( view )

Subscribe to download
Forcefields V2

Description
A quick foreword:

You're probably thinking, "Don't you already have a forcefield addon uploaded here?"

The answer is yes, and a considerable amount of time has passed since I made it.
I'd like to think my coding skills have improved greatly since then, and so I decided to revisit the addon and make it better.

What is it?

A place-able forcefield entity that sizes to the boundaries of any doorway you install it in. This forcefield will only allow whitelisted players and teams to pass through.

Why do I care?

Maybe you run a DarkRP server and you want your police station to use forcefields; maybe you're building a secret lair and only want your friends inside; MAYBE YOU LIKE FORCEFIELDS.

Dunno, I won't tell you how to live your life.

How do I use it?

1.) Open your spawn menu, navigate to the "Entities" tab, select the "Forcefields" category.
2.) Aim at a wall where you want the forcefield installed. It will attempt to find the closest wall across from it.
3.) Spawn the forcefield.
4.) Hold your slow-walk key (LEFT ALT by default) and press your USE key (E by default) to bring up the menu.
5.) Configure the options to your liking.
6.) Press USE to turn the forcefield on or off.

The "Manage Contributors" menu controls who, other than yourself, can edit the forcefield's settings.
Being on the contributor list allows that player to turn the forcefield on and off as well.

Caveats

• If spawned in a doorway which is too small, the forcefield will sometimes fail to find a wall and fall under the map.
• Forcefields cannot and should not be persisted!
• Forcefields cannot be duplicated and should not be used in saves. You are welcome to try, but they usually broke for me during testing.
Popular Discussions View All (5)
1
Jan 7 @ 12:49am
How do i make the forcefield Not go sideways
My Dreams Make Me WOoZy
5
Sep 4, 2018 @ 12:47pm
Is there anyway to make it be sure npc cant walk through it?
LtVivs
2
Jun 5, 2021 @ 2:39pm
Whitelist doesn't work anymore, I tested it, I can't pass through.
♬♫~Joe Blaze~♫♬
213 Comments
how rotate it?
seabazian Jan 27 @ 6:34am 
i'm experiencing extreme mental pain at you because you're shouting at a creator with a mod that hasn't been updated since 2016 and will most likely never be updated again
Robertman Jan 10 @ 5:07am 
One of the Forcefield pillars clips into the wall, fix it please?
i have no Forcefield reskin's or anything that conflicts with it.
Dr. Strangelove Jan 7 @ 12:49am 
Seems like it only faces one way.
recrut83 Mar 28, 2024 @ 2:36am 
The mod doesn't work because when I assign myself, I can't get through the force field! Please fix it! :steamthumbsdown:
Joemate The Australasian Figbird Jan 16, 2024 @ 5:57pm 
nice
♬♫~Joe Blaze~♫♬ Jan 3, 2024 @ 3:32am 
This mod deserves a remake.
BIGBADAUD999 Oct 28, 2023 @ 1:01pm 
Crashing when Rebel joining in my squad
Ripper Aug 9, 2023 @ 3:43pm 
For those struggling with it not allowing you through the field even though you're whitelisted, I've learned that any mods that reskin the physical barrier props themselves (such as the HL:A remodels) break this mod.
Mankz Jul 12, 2023 @ 10:16pm 
Is there an option where which npcs can and can't come thourgh it. (vj npcs can't come through it cuz half life alyx combines are vj base)