Garry's Mod

Garry's Mod

126 arvostelua
Insane Stats
5
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun
Tiedostokoko
Julkaistu
Päivitetty
4.743 MB
25.5.2023 klo 6.02
29.7. klo 16.46
51 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Insane Stats

Kuvaus
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].
Suositut keskustelut Näytä kaikki (2)
2
26.7. klo 13.33
add erase data and save menu
SalaaMohamed05
0
20.3.2024 klo 21.11
So, about the new Skills system. Yay or Nay?
Canadian Morgana
446 kommenttia
Piengineer12  [tekijä] 3.8. klo 6.38 
To stop Armor Batteries from gaining modifiers, set "insanestats_wpass2_chance_unowned_battery", "insanestats_wpass2_chance_player_battery" and "insanestats_wpass2_chance_other_battery" to 0.

The hitbox of jewels are actually broken. I've tried to fix it but nothing I do seems to work.

Custom shop categories were planned, but were later scrapped as it takes so much effort for how little everyone seems to care about them.

I think I should just ditch CCVCCM and just implement a configuration panel specific to this addon but that will take a long time too.
dinogutt 1.8. klo 16.46 
Essantially a copy of the Item shop tab that you can change the name of, and make multiple of (?)
dinogutt 1.8. klo 13.39 
Got another question (sorry for asking so much, but its a big mod and I want to ask things):

Is it possible to add custom shop categories, for example a tab with LVS vehicles?
dinogutt 1.8. klo 12.06 
Another question, as I can't edit my last one, but is it possible to increase the basic pickup range for coins, or add an option to do so? I installed the Jewel pack and I noticed that I often have to walk over a jewel multiple times before it picks it up, as if I have to line up perfectly or it doesn't pick it up.
dinogutt 1.8. klo 8.51 
Hi again, got another question. How do I disable the prefix system for shield batteries and return them to normal? Alternatively is there a Shield regenration skill and where on the tree do I find it?
BuddyManZ 31.7. klo 18.33 
[Insane Stats] lua/insane_stats/sh_infhealth.lua:126: Something tried to set max health on Entity [40][item_battery] to nan!
1. assert - [C]:-1
2. SetMaxHealth - lua/insane_stats/sh_infhealth.lua:126
3. InsaneStats_ApplyLevel - lua/insane_stats/sv_xp.lua:258
4. InsaneStats_SetXP - lua/insane_stats/sh_xp.lua:469
5. v - lua/insane_stats/sv_wpass2.lua:1894
6. Run - lua/includes/modules/hook.lua:102
7. v - lua/insane_stats/sv_base.lua:51
8. unknown - lua/includes/modules/hook.lua:102
dinogutt 31.7. klo 8.02 
I figured something out. You can copy and paste a JSON into the shop, so I copied a list with many empty slots and pasted it into a text editor, then added weapon IDs into the empty slots, then copied everything and "pasted" it back into the shop. Tedious, but it works.
Piengineer12  [tekijä] 30.7. klo 15.48 
Unfortunately no, especially with the questionable decisions I've made when building CCVCCM. Either I'll have to make CCVCCM 2 or create a config UI from scratch, both of which I currently lack motivation for.
dinogutt 30.7. klo 14.25 
Hello, I just found this mod and think its great, just what I was looking for with leveling, skills, and a shop, and more.

I have a question, is there a way to quickly add all the weapons from the Weapons menu, or from a specific category to the coins shop Possible Weapons list, or do I have to write in each item manually?
(please tell me there is a way)
dodo 26.7. klo 11.33 
thanks,will also find a drop weapon mod since need to test guns before pick one to use a lot