DrVrej / VJ-Base

An addon for Garry's mod that contains bunch of bases to make many different types of addons.
http://steamcommunity.com/sharedfiles/filedetails/?id=131759821
85 stars 36 forks source link

Suggestion - SNPC options for adjusting Reaction Time, Accuracy, and how often ranged SNPCs fire (whether in short bursts or full auto) #116

Open fanAllD opened 2 months ago

fanAllD commented 2 months ago

I think it'd be pretty great to add these options that apply to all existing SNPCs to make fights with them somewhat more realistic (and easier for the player lol). Rather than most ranged NPCs having nearly perfect aim, a nanosecond reaction time (increasing process time doesn't seem to delay an NPC's instantaneous shooting on sight), and the NPC's constantly emptying mag after mag on enemies, having options like these would make it a lot easier to fight NPCs under more fair and reasonable circumstances as well as saving some performance with a lack of constant bullets flying about nonstop.

DrVrej commented 2 months ago

To answer your questions in order:

  1. Reaction time is not effected by process time, they are different things. I have plans to change how this works in the future
  2. Aim is determined by multiple factors: NPC's proficiency, weapon's accuracy, and target's distance. In the next update this system is getting revamped which will make it also be effected by the target's movement speed and whether or not the NPC is actively getting suppressed. I did a little demo of this here: https://www.youtube.com/watch?v=BFYuxB2JO5I Now if you want an NPC to have worse aim, you will have to ask the developer of the NPC to either decrease the NPC's proficiency and/or decrease the weapon's accuracy, unfortunately most developers don't bother to touch these values which is why they seem like "perfect aim."
  3. Weapon firing patterns are also controlled by the developer, which means again you will have to contact the author of whichever addon and see if they are willing to change a weapon's firing pattern.

I will leave this issue open for now for my first point, but the rest are already part of the base that any developer can change for any NPC and weapon.

fanAllD commented 2 months ago
  1. Im looking forward to seeing a reaction time modifier or something similar in the sandbox menu SNPC settings

  2. Suppression mechanic looks dope. Do you think youll add an option that overrides all SNPCs weapon proficiency (kinda like how theres already override modifiers for making all SNPCs have the same sight distance)

  3. Does that mean the firing pattern is decided by the vh base weapon the SNPC is using or the SNPC itself?

DrVrej commented 2 months ago

An override could be possible, but may not work for all NPCs, but I'll look more into it for the future. As for the firing pattern, both the weapon and the NPC can have their own firing patterns. An option for this would be very unreliable due to so many things effecting it, so it's unlikely I'll explore adding an option for this.