Garry's Mod

Garry's Mod

422 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 @ 1:41pm
4 Nov @ 7:14am
20 Change Notes ( view )

Subscribe to download
Reinforcements System

In 1 collection by Oinari-sama
Vampire Stuff
13 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 (1)
2
5 Oct @ 11:46am
epic suggestion i have
Funny Engineer
84 Comments
SleepyNotDead 4 Nov @ 7:29am 
Much appreciated.
Oinari-sama  [author] 4 Nov @ 7:14am 
Done.
SleepyNotDead 4 Nov @ 7:02am 
Can you please make it so that metrocops dont always spawn in with manhacks? its very annoying.
Oinari-sama  [author] 31 Oct @ 2:57am 
it seems to work for me, maybe try the options tab instead? It has a button to restart the whole mod in case something like this happens.
Lost Game Dev 31 Oct @ 12:37am 
setting bs_backup_enabled to 0 doesnt disable it!
Specneo 20 Oct @ 9:40am 
"[Reinforcements System] lua/autorun/battle_system.lua:677: Tried to use a NULL entity!
1. StopSound - [C]:-1
2. unknown - lua/autorun/battle_system.lua:677"
Specneo 14 Oct @ 5:34pm 
[Reinforcements System] lua/autorun/battle_system.lua:677: Tried to use a NULL entity!
1. StopSound - [C]:-1
2. unknown - lua/autorun/battle_system.lua:677
forsomethings1 12 Oct @ 6:12pm 
I would suggest adding a weapon override setting for spawned npc's instead of hard coding what they spawn with. Otherwise 10/10 mod. Great job!
我是小卡齐娜1903年 12 Oct @ 9:54am 
Are this work like VJ SNPCS ?? Because i want to make a VJ SNPCS gun fight using this ???
LEGENDARY2015 10 Oct @ 8:42pm 
hey, I was wondering if you were able to make a mod that spawn an NPC for a certain ammount of time. then deletes it. And, you can pick what npc spawnlist it can randomize from