Garry's Mod

Garry's Mod

422 betyg
Reinforcements System
2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Movie, Roleplay
Filstorlek
Lades upp
Uppdaterades
10.912 MB
4 okt @ 13:41
4 nov @ 7:14
20 ändringsnotiser ( visa )

Abonnera för att ladda ner
Reinforcements System

I 1 samling av Oinari-sama
Vampire Stuff
13 artiklar
Beskrivning
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
Populära diskussioner Visa alla (1)
2
5 okt @ 11:46
epic suggestion i have
Funny Engineer
84 kommentarer
SleepyNotDead 4 nov @ 7:29 
Much appreciated.
Oinari-sama  [skapare] 4 nov @ 7:14 
Done.
SleepyNotDead 4 nov @ 7:02 
Can you please make it so that metrocops dont always spawn in with manhacks? its very annoying.
Oinari-sama  [skapare] 31 okt @ 2:57 
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 okt @ 0:37 
setting bs_backup_enabled to 0 doesnt disable it!
Specneo 20 okt @ 9:40 
"[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 okt @ 17:34 
[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 okt @ 18:12 
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!
Are this work like VJ SNPCS ?? Because i want to make a VJ SNPCS gun fight using this ???
LEGENDARY2015 10 okt @ 20:42 
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