Garry's Mod

Garry's Mod

539 ratings
Reinforcements System
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Movie, Roleplay
File Size
Posted
Updated
10.912 MB
4 Oct, 2024 @ 1:41pm
5 Mar @ 3:20am
22 Change Notes ( view )

Subscribe to download
Reinforcements System

In 1 collection by Ryocery
Vampire Stuff
17 items
Description
Need backup! Need backup!

An overly complicated system for sending in reinforcements through teleportation based on global battle state.

Make sure you have both Half Life Episodes mounted for more backup variety.

The mod will take into account the overall battlefield, looking at each and every NPC to scale and measure their strength. It takes a lot of factors into account, both their overall weapon proficiency as well as the weapon they use. Their overall tactics as an NPC, etc.

Based on this it will automatically send reinforcements for whichever faction on the battlefield it deems to be weakest. Allowing the battle to continue for longer without player intervention or setting dedicated spawnpoints.

The goal of the mod is to skip using any spawnpoint system and to allow battles to last longer organically through a scaling (albeit simple) battle algorithm.

The algorithm increases the chance for backup automatically depending on how severe the overall power gap is in the battlefield.

CVARS
bs_backup_enabled 1 bs_backup_strength 1.3 -- keep this above 1 unless you want massively diminishing returns bs_backup_chance 1 -- out of 20, higher is bigger chance bs_backup_cooldown 20 -- in seconds bs_backup_player_strength 3 -- how powerful you wish to be seen as by the system, set to 1 to be rebel equivalent, 20 for one man army bs_backup_radius 500 -- how big the radius is around which backup can be called. bs_backup_player_relay 1 -- whether the player can call for resistance backup. bs_backup_resistance_enabled 1 bs_backup_combine_enabled 1 bs_backup_zombie_enabled 1 bs_backup_antlion_enabled 1

Important Notes (READ THIS)

Using Ignore Players massively influences the mod.

If you have it enabled, the mod will consider you an outsider and not take you into account. If you disable it (thus become targetable), you, the player, will become a medium that can be used to call reinforcements and will also be considered a very strong opponent by the algorithm. Thus know that when you enter the battle, it will give a great advantage to all other factions.

The player is considered as the rebel faction by default, this may be updated based on demand.

This does not work for Nextbots as it relies on HL2's inherent factions.

Credits
This mod uses effects from the Lambda Wars Teleporter mod, as a result it is a required dependency.

Same goes for the Xen grenade for alien related spawns like zombies and antlions.

Used map: gm_forestforts
Popular Discussions View All (2)
4
9 Jul @ 8:37pm
suggestion
Icky Vikky
3
1 Mar @ 6:38am
epic suggestion i have
Funny Engineer
102 Comments
Terrifyingly Bad YT 11 Jul @ 11:29am 
Otherwise a great mod. ^^
Terrifyingly Bad YT 11 Jul @ 11:28am 
Having the ability to change player faction would be really nice. It would pair greatly with mods changing the players default faction, and would improve the overall experience of this mod!
(I wanna make a Vid about this mod sometime)
moon 5 May @ 3:33pm 
map??
Medic 13 Apr @ 1:20pm 
are they suppose to despawn after no combat?
i keep spawning Father Grigori and they keep despawning with the reinforcement animation.
Vidgamenut 7 Apr @ 4:51am 
Are some combine reinforcements spawning under the map on gm_construct for anyone else?
They spawn under the hill next to the ramp and the secret room, summon combine reinforcements and noclip under there.
Ryocery  [author] 5 Mar @ 3:24am 
I'll just revert any changes that were made regarding the last update. If it's still corrupted then it might be a different mod.
Fluffy 5 Mar @ 2:26am 
some weird issue is occuring where your addon has corrupted itself and now just cant be removed anymore

now i cant even launch my game how do i go about fixing this issue?
meierhans 4 Mar @ 4:50am 
I found the bugger. It is:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/comments/206474243

Sorry for wasting your time, I added both at the same time, and jumped to conclusions due to the output..
meierhans 1 Mar @ 1:36pm 
Thank you for the quick reply. I did not expect this addon still beeing maintained.
I hope I will find the time to look into it in the next days.
Ryocery  [author] 1 Mar @ 11:28am 
That's not supposed to happen and in the current source code no debug printing remains (and that should've been the case in the currently active version too). I just updated it again, hopefully it should now be fixed? If not, there is a chance your version just refuses to update.