Source-checkedWeapons, items & crafting

Portable Force Field

by Tau · for Garry's Mod

A hand-held force field grenade! 2016/9/16 Added a version that follows the player around! Shows up as "Hex-Shield (local)". Uses the suit battery as fuel, so you need to have the suit charged. Added…

1.2MDownloads
7 yr agoLast updated
656 KBFile size
Steam WorkshopSource

About Portable Force Field

From Steam Workshop

A hand-held force field grenade! 2016/9/16 Added a version that follows the player around! Shows up as "Hex-Shield (local)". Uses the suit battery as fuel, so you need to have the suit charged. Added…

A hand-held force field grenade!

2016/9/16

  • Added a version that follows the player around! Shows up as "Hex-Shield (local)". Uses the suit battery as fuel, so you need to have the suit charged.
  • Added the cvar [code]cl_hexshieldcolor[/code] which allows you to change the color of the shield (default is "31 0 255"). Changes are applied when the weapon is switched to.
  • Made the grenade stick to dynamic objects!
  • Changes and performance improvements.
  • Many major enhancements.

Generates a force field that stops bullets and other objects and protects entities. The field lasts 32 seconds before expiring. Hold down MOUSE1 to lift, release to throw, or press MOUSE2 to cancel. The design is based off of the Bubble Shield from Halo 3, as it appeared in the Starry Night trailer. Shows up as "Hex-Shield" and is located in the "Other" weapons.

2017/2/28 Added a mode to help figure out why some people can't get it to work correctly. Set the console variable hexshield_diagnostic to 1, clear the console, equip the normal Hex-Shield Grenade (not the "local" version) and press the primary fire key. If it doesn't work, check the console and tell me what it says.

2017/3/1 After looking at the results people have sent me, I have figured out what's wrong. These weapons don't use the normal SWEP.PrimaryAttack and SWEP.SecondaryAttack functions and work completely differently. They basically check the player's command input with Player.KeyPressed inside of a Tick hook instead. This was necessary because of the complicated way the weapons work. For some reason, for some people, the KeyPressed function is returning false, even though the PrimaryAttack function is still being called. About 10% of all players are having this issue. Coming up with a reasonable fix for this from my end would be almost impossible, and my only option might be to completely re-write the code. I will be investigating this issue and trying to find a solution.

2017/3/2 I removed the diagnostic mode and I added a hacky and messy temporary fix for the issue people were having. Test both weapons and let me know if they work! I will still consider re-writing the addon to work like a normal SWEP, but it will be painful.

Let me know about ANY other bugs or strange behavior immediately! If the shield does not appear EXACTLY the same as it does in the images, let me know immediately and give me details!

If you have any suggestions or concerns, ask in the comments and I will do my best to respond.

Highlights

From source data

Footprint

A 656 KB download, rated a light load on a server.

Last update

Its author last shipped an update 7 yr ago.

Portable Force Field on Nxeon

From our catalogue
One-click install
Supported on Nxeon Garry's Mod servers. We download it from Steam Workshop, place it, and restart the server.
Server load
light
Smallest plan we suggest
Garry's Mod — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2020-01-10, released 2020-01-10, 656 KB

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of Portable Force Field.

Run Portable Force Field on a Garry's Mod server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Compatibility

Game
Garry's Mod
File size
656 KB

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
  • ✓AuthorTau, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

Portable Force Field, answered

Generated from the mod’s own source data.

Is it free?

Yes. Portable Force Field is free to download from Steam Workshop.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Portable Force Field on a Garry's Mod server.

Deploy in about a minute from $3.99 a month, then add Portable Force Field in one click.