Garry's Mod

Garry's Mod

123 ratings
Insane Stats
5
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun
File Size
Posted
Updated
4.710 MB
25 May, 2023 @ 6:02am
13 Jul @ 4:10pm
50 Change Notes ( view )

Subscribe to download
Insane Stats

Description
Customizable ConVar and ConCommand Manager is optional, but you will need it to configure advanced settings of this addon!

Backstory
Sometime back in 2017, I used to be in development of a gamemode about playing campaign maps, levelling up and getting skills to take down enemies and bosses that increase in level faster than the player. My intention for the gamemode was to allow players to add entities to the maps they play to automatically go from one to another as well as defining custom map triggers and hint messages, but I couldn't figure out how to make that work, so during development everything was hardcoded in Lua, including custom map logic and ending triggers. After 4 or so years in development, 20k lines of code and way too much ambition, the gamemode itself is now discontinued due to spaghetti code and horrible optimization.

But while the gamemode now just sits idly on my hard drive, I haven't given up on the ideas that I have put into it. I have no idea whether they'll be interesting, but it would be a shame to let several thousand lines of code just rotting away. That's why I've released this addon, which contains various standalone scraps of the gamemode's features as standalone modules.

Modules
All features can be individually disabled with ConVars, you don't need all of these to be active at once.

Infinite Health and Armor
This overrides the normal health and armor Lua methods, allowing entities to have far beyond 2147483647 health. Armor can also be applied to arbitrary entities, not just the player.

Experience
This allows entities to level up by killing other entities. Health, armor, damage, resistance and XP scales can be modified. You can also set a max level for entities and how spawned entity levels are determined.

Weapon Prefixes And Suffixes System 2
The sequel to WPASS, another addon I abandoned. This allows weaponry to gain any number of prefixes and suffixes, called modifiers. WPASS2 introduces the ability for armor batteries to also gain modifiers.

To swap your current modified weapon with another, press the Use key (default E). While holding Sprint (default Shift), modified weapons that are picked up will give ammo instead. Same thing goes for armor batteries.

Both players and NPCs can use these modified weapons and armor batteries against each other. There are a total of over 100 modifiers for weapons and armor batteries. Almost all skills that were in the abandoned gamemode have been implemented as modifiers.

Weapon rarities are in this order: Common (White), Uncommon (Green), Rare (Blue), Epic (Purple), Superior (Red), Legendary (Orange), Insane (Yellow), Galactic (Lime), Monstrous (Sky), Aetheric (Aqua).

Coin Drops
This allows entities to gain coins by killing other entities or breaking props. Coins currently can only be spent in the Insane Stats Coin Shop for weapons, items, rerolling WPASS2 modifiers and respeccing skills. The Coin Shop is located under Entities in the spawnmenu.

Skill System
This allows players to gain skill points by leveling up and spend them on the Insane Stats Skill Grid. Skills give very similar effects to WPASS2 attributes but allow for more control.

Sound Fixes
This module makes the following fixes:
  • Sound requests with incorrect filename extensions are corrected
  • In singleplayer, most sounds are now paused when the game is paused
  • Most music played by ambient_generics are now affected by the music volume slider and unaffected by DSP (i.e. being underwater)

Miscellaneous
A bunch of features too small to put in a separate addon. By default all these features are disabled.
  • game_text to chat
  • Ammo crates give 9999 ammo, limited only by gmod_maxammo
  • Level transitions have cooldowns

Closing Thoughts
This addon does a lot of questionable Lua overrides, so things are likely to break with other addons that modify how health or weapons work. If there are any issues with this addon, let me know in the comments.

All monochrome icons are made by Lorc[lorcblog.blogspot.com], obtained from game-icons.net

The GitHub version can be found here[github.com].
Popular Discussions View All (2)
0
26 Feb @ 12:05pm
add erase data and save menu
SalaaMohamed05
0
20 Mar, 2024 @ 9:11pm
So, about the new Skills system. Yay or Nay?
Canadian Morgana
431 Comments
Calamity Andrade 15 Jul @ 10:10pm 
Sadly the issue persists with even fractional ammo values being disabled.
corruptphoton 15 Jul @ 8:19pm 
Huh.

I guess MWB just doesn't work with ammo efficiency perks then.
Piengineer12  [author] 15 Jul @ 8:04pm 
That's exactly what disabling fractional ammo values does.
corruptphoton 15 Jul @ 7:32pm 
Ammo efficiency perks don't work well with MWB, it just causes the weapons to fire blanks for some reason, and the same thing happens after I disabled fractional ammo values.

My guess with zero scripting experience is that MWB dislikes when each shot consumes anywhere between 0 to 0.9999 bullets and not 1 bullet exactly

Maybe add an option to have ammo efficiency perks instead refill 1 ammo immediately upon consumption or something?
Piengineer12  [author] 14 Jul @ 9:58am 
Well, what better addon configuration library is out there? No one told me anything about design or how things should look, so I went with allowing configuration through both the spawnmenu and in CCVCCM.
RouteVenus 14 Jul @ 9:48am 
@piengineer12 idk anything about the convars mod but you chose probably the most unintuitive and clunky way to let people customize your mod
Piengineer12  [author] 14 Jul @ 2:25am 
You can configure individual elements under Insane Stats -> Client in the spawnmenu, or check out the insanestats_hud_* ConVars.
RouteVenus 13 Jul @ 9:51pm 
how do i disable the hud? i want to use this with another mod that already integrates this mod into their hud
Calamity Andrade 11 Jul @ 3:42pm 
Okay, so... got another bug, but its unrelated to the prior ones. Not sure as to how, but as of today, the game is failing to properly spawn me with all the weapons I normally use and their attachments, and its specifically this one. I checked the console and its saying "[Insane Stats Server] Failed to give weapon_physgun to Player [1][Calamity Andrade]!" This only began happening today and I did not download any new addons between last night and today.
Calamity Andrade 7 Jul @ 3:48pm 
Updating my report on the blacklisting of effects. I just levelled up a gun and got the motivation perk, despite the fact I had it on the blacklist. Seems the blacklisting system is not functioning all that well