Garry's Mod

Garry's Mod

2,712 ratings
Toggle Globals
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Realism
File Size
Posted
Updated
2.001 KB
30 Jun, 2017 @ 1:58am
1 Jul, 2017 @ 8:48am
2 Change Notes ( view )

Subscribe to download
Toggle Globals

In 1 collection by Jaxswat
Jaxswat's Gmod Addons
3 items
Description
Toggle globals is a small but useful tool that lets you set the game globals with ease. Globals control underlying functionality from Half-Life 2 that has been previously disabled in Garry's Mod, and now you can control them!



You can find the control panel at Options > Jaxswat's Options > Toggle Globals





You can enable things like:
  • Calm Metropolice
    This is what was used in Half-Life 2 before Gordon became a criminal.

  • Friendly Antlions
    This was enabled in Half-Life 2 where you use the antlions as a weapon.

  • Lowered Weapons
    This is what was used multiple times in Half-Life 2 to lower the weapons in first-person. (Only works for default weapons.)

  • No Player Damage
    Used at the beginning of Half-Life 2 so Gordon wouldn't die.

TG adds a fancy new command called toggle_global which lets you toggle Global States[wiki.garrysmod.com] for the current game.

Example usage for getting a global state:
toggle_global gordon_precriminal

Example usage for setting a global state:
toggle_global gordon_precriminal 1

Globals can be set to 0 (OFF), 1 (ON), or 2 (DEAD/DISABLED).

You could put the above command in a config file. Good for RP servers who don't want metrocops killing their users.

If you like my content, join my steam group!



This addon was created out of necessity after I saw this reddit post on the /r/gmod subreddit.[redd.it]
Popular Discussions View All (2)
35
15 Oct, 2020 @ 11:55pm
j
neuron
15
11 Sep, 2018 @ 4:06pm
Friday The 13th Here I Come
tomedome90
264 Comments
matt_ 19 Apr @ 11:34am 
i havent even used the mod yet, but this is a MUST HAVE, im sure of it
MrGasmask 21 Jul, 2023 @ 11:24am 
it breaks the game, making combine soldiers friendly but metropolice is still hostile. Everything else works fine tho
DAKO 21 Jun, 2023 @ 5:26am 
friendly antlions is the thing i was looking for so long
Yeetus_Feetus 15 Apr, 2023 @ 9:27am 
Cool mod, but is it possible for the metrocops to only attack you if you shoot them? Or if you hit them?
baconsalt35 18 Feb, 2023 @ 3:34pm 
solid addon, but there should be more toggles.
sekkea 26 Jan, 2023 @ 9:22pm 
cool thing i found with the lower weapons it works with tfa weapons little thing but its cool
:steamthumbsup:
RandomOne 21 Jan, 2023 @ 10:43am 
There was one addon that could do that
But now it doesnt exist anymore.
Black Hat 25 Nov, 2022 @ 1:09am 
could you make an addon that allows you to choose the difficulty of NPC's. its kinda stupid to see a single rebel kill 2 elites combine soldiers before being killed
prof_aaron 24 Oct, 2022 @ 4:57am 
is it possible to make the metropolice pack NPCs abide by the precriminal variable
iChris08 18 Mar, 2022 @ 5:47pm 
does this conflict with improved stealth mod?