Possible improvments on enemy AI companion AI

Post » Fri Jan 22, 2016 8:44 am

I'm sure I'm not the only one that finds the AI a bit lack luster. So I decided to throw some ideas out for improvements. Some of which I understand would be hard to implement. And some might just not work...



Sneak system. -


  • Noone would ever feel at easy after getting shot die, so I think caution should remain unless certain conditions are met.

1. Player has killed all hostiles


2. Player is out of range of hostiles. say 1000 meters and caution will return if player comes back into the caution field.


3. Player has not been detected for 6 in-game hours or has not aroused suspicion for 3 in-game hours.


  • Also I find it hard for a raider not to notice his friends corpse on the ground.So If a enemy sees a dead enemy of the same faction, (implemented as so, is the body in 5 meter radius of the enemy, and if so is the in-game light is high) if so then player will be placed in, or will remain in caution.

  • Also lighting should play a larger role in sneak detection.

  • Better search path finding.


Combat.


  • Enemies should be equipped with more grenades and if the enemy doesn't have line of sight they should be lobbing grenades 1 after another if the player is detected.

  • Enemies should be placing landmines if player is in caution.

  • Higher global damage. (depending on difficulty)

  • Increased enemy accuracy. (depending on difficulty)

  • More flanking.

  • More suiciders (to include a raider suicider, maybe a last man standing thing for raiders).

  • Raiders should stay in groups of 3. (so if you encounter a group of 10 raiders they should be grouped in packs of 3.)

  • If one enemy is not firing the other should be. They should take turns shooting.

Its not perfect ,its just a few ideas...






User avatar
Elea Rossi
 
Posts: 3554
Joined: Tue Mar 27, 2007 1:39 am

Post » Fri Jan 22, 2016 6:23 am

I agree with those and I would also like to add this.



Personally, I think this might make stealth too easy, but let's be realistic...



If you were a guard guarding an area with many other guards and what not, are you really going to assume that every single footstep and tiny sound you hear is somehow an enemy?



What I'm saying is that in areas where there are several dozen enemies they shouldn't all be alerted as soon as they hear something. As long as they don't see you and you walk normally, they won't be immediately aware that there is an enemy nearby. Sure they might turn around to see who it is or walk towards the direction of the sound but unless you are running, or firing a weapon, or doing the obvious thing to attract attention, they shouldn't immediately pull out their gun and start searching for you.



On the other hand if you are in an area where there is only suppose to be a single hostile, it would make sense for them to be alerted by pretty much anything.



If it's an area with a few hostiles I think they should ask if it's their friend if they hear something. If the friend is in the vicinity they will respond back and if the friend is dead or not close by the person may get suspicious and start searching.



Also, if all the enemies can see each other, then I guess it would make sense for them to be alerted by any noise from elsewhere.



I think this can help with balancing the stealth difficulty. You have areas with many hostiles that don't detect you as easily and you have places with fewer hostiles that will.




Those are just my 2 caps and in my opinion it would benefit future TES, Fallout and any other game with stealth mechanics.

User avatar
Devils Cheek
 
Posts: 3561
Joined: Sun Aug 13, 2006 10:24 pm

Post » Fri Jan 22, 2016 2:32 pm

I agree with this sediment, however I feel if one enemy that is aware comes into contact with another that isn't, then the one that wasn't should become aware also.

User avatar
T. tacks Rims
 
Posts: 3447
Joined: Wed Oct 10, 2007 10:35 am

Post » Fri Jan 22, 2016 11:42 am

Also here is how I would personally revamp the detection levels in future Bethesda games,



DANGER: Well obviously this means that at least one hostile enemy see you and is actively engaging in combat with you. Not much to be said here, it's' all hands on deck for them and they will bring out everything they got. As soon all enemies in the DANGER phase are unable to find you, you will enter the ALERT phase.



ALERT: In this mode, at least, one enemy does not have sight of you but is either fully aware of your presences or the presence of someone hostile to them or has previously seen you from the DANGER phase. This phase can also be triggered by companions, allies, friendlies that might be with you and even other enemies if you have more than one enemy faction in an area that aren't just hostile to you but to each other. There are many factors that could trigger Alert mode. Among these is the enemy has previously been in danger mode, the enemy has found a dead ally, the enemy has heard gun shots, explosions, people getting killed or whatnot. During this alert phase, the enemy will signal all of their allies (if there are any) of your presences or the presence of someone else hostile to them. They will do a full sweep of the whole area checking corners, behind or underneath furniture, wardrobes, containers, coolers, cabinets, haystacks and whatever the hell kind of places the player could hide in future games. They will also use smoke grenades, flashbangs, poison gas to draw out the enemy, fire at random places where they think the PC might be, lay down traps, puff up on chems if they are chem users.



In TES. mages will use detect life, cast candlelight spells all over the place as much as they can, cast armor spells like stone flesh, cast rune traps in areas, cast wards spells facing the direction they think the PC might be, cast shock spells at water if they think the PC might be hiding there, cast fire spells at haystacks or any flammable objects if they think PC is hiding there and etc. Archers/rogues will find cover and closely observe and either try to out sneak the player and get the drop on them in the case of the rogue or fire arrows in at where they think the target might be in the case of the archer. Warriors will raise their shields if they have one. If there is more than one warrior they might guard each others rear as they move around and depending on the personality of the warrior they might smash through doors and hiding places with their weapons and such. Everyone will drink boosting potions if they have any. I sure there are tons of things people can add to the list of things NPCS do during the ALERT phase, but we'll not waste any more time.



Note that if you entered the ALERT phase from the DANGER phase, it will never decrease so long as you are in the area. The simple fact is unless a person is a complete nincompoop with no sense of self-preservation they will not just slowly give up searching for an enemy they already saw earlier after only a few moments and pretend like nothing has happened. If you saw a thief breaking into your house and you cannot find him, are you are just going to give up and act like nothing happened? Of course not!.



If you entered the ALERT phase from the DANGER phase, it will only be a matter of time before the enemies find you and trigger the DANGER phase again unless you kill/pacify them before they find you or leave the area. When you leave the area you have to wait a while before things finally return to normal. The OP suggest 3-6 hours, but I will suggest 24 hours. :P Even if you are the one who triggers an ALERT phase, so long as you never triggered the DANGER phase, if a companion, ally, friendly, or opposing hostile is killed by the ALERTED enemy or found dead by them then the ALERT phase will decrease since the enemy would attribute the ALERT to that particular person who is now dead assuming you don't do something to stir up the phase again. Enemies in ALERT phase will not suffer from sneak damage bonuses.




CAUTION: At least one hostile enemy is suspicious but unaware of the actual presences of any enemies. Again this like ALERT phases is not just triggered by the PC but also companions and allies, even potentially other enemies if you have more than one faction in a location is hostile not just to you but to each other. This is triggered by noises, sight, and (hopefully in future games) smell. The sound is self-explanatory and you have my previous post to explain some of it. I'm hoping in future games, our character can emanate a sense of smell towards NPCS, so we could either smell like crap as a result of doing dirty things like swimming through a sewer or smell incredibly good if we say spray alchemical ingredients that smell good or perfume. Such smells if strong enough can also attract the attention of enemies. As for sight, if the enemy gets a tiny glimpse of the player for less than a second, that could also potentially raise suspicion causing them to go to CAUTION. Distance also plays a huge factor in smell and sight too. In caution mode, enemies will go and check out the source of the suspicion and will equip night vision, thermal vision, flares, torches, candlelight spells and whatnot if they are in a dark area and casually search for a few moments, if the enemy has friends nearby they might ask them to come with them to search. After a while, the detection meter slowly decreases from CAUTION to DETECTED or UNDETECTED. Enemies in CAUTION phase will still suffer sneak damage bonuses. Each time a CAUTION phase is triggered without it entering ALERT or DANGER, the amount of time it takes for CAUTION to decrease to DETECTED or UNDETECTED increases dramatically.



DETECTED: Detected by at least one non-hostile.



UNDETECTED: Well self-explanatory. There will be two different forms of undetected and I will explain which is which in a bit. All hostiles and non-hostiles alike both suffer from sneak damage bonuses.




Honestly, I find the stealth UI in both Fallout and TES to be way too in your face. For me, what I would do is make the detection meter a small orb at the bottom corner of the screen. It will grow brighter the closer it gets to the next alert phase and grow dimmer when it is closer to returning to the previous stage.



Green for completely undetected, blue for undetected by everyone except companions, white for detected by non-hostiles, yellow for caution, orange for alert and finally red for danger.



I'm kinda of iffy as to whether it would be good to just add 6 orbs representing each phase at the bottom with numbers on each indicating how many hostiles or non-hostiles are in each phase.

User avatar
Chris Cross Cabaret Man
 
Posts: 3301
Joined: Tue Jun 19, 2007 11:33 pm

Post » Fri Jan 22, 2016 3:34 am

Yes of course. Base on the detection meter I made in the last post. If one enemy is in CAUTION mode he will ask a buddy to join him if there is one nearby. Anything beyond that level and it's a team.

User avatar
The Time Car
 
Posts: 3435
Joined: Sat Oct 27, 2007 7:13 pm

Post » Thu Jan 21, 2016 11:16 pm

well it is a option


what annoys me most is that npcs stop searching or do not even react when you sneak kill one of their friends and they find the body


you can kill a whole group of them one by one and the last one will eventually behave like nothing just happenend it is silly


User avatar
Daniel Brown
 
Posts: 3463
Joined: Fri May 04, 2007 11:21 am

Post » Fri Jan 22, 2016 6:16 am

if enemies see the body , then a new mechanic would need to be implemented where u hide the body and personally i wouldn't want to hide every body



my suggestions for improving companions are: The Problem



- Hold Ground button ( press Q on ground will move to that location and stay there ) - ( when i order them to go in one place they go there and come back to me after 1 second )

( press Q on enemy will focus fire on that enemy ) - ( if i tell them to attack then go and hide behind cover )

- Follow me ( retreat to me ) button - (alot of times they just get stuck somewhere and when i'm in the middle of the fight they are nowhere to be found )

User avatar
Gen Daley
 
Posts: 3315
Joined: Sat Jul 08, 2006 3:36 pm


Return to Fallout 4