Garry's Mod

Garry's Mod

Realistic Combine Soldier AI | almost F.E.A.R. AI
 This topic has been pinned, so it's probably important
kenni  [developer] 14 May, 2022 @ 11:44pm
Updates
I got a lot of suggestions and I just woke up, so I have a lot of ideas I should implement.

- Health perception(using cover when at low health, being more defensive, etc...)
- Making them talk more( like when they are reloading)
- Making them destroy destructible props near the enemy(Such as explosive barrels)
- More(aka what i can come up with as I experiment with the code)

Update as of May 18, 2022:

- Combine soldiers will now talk more when reloading and firing.
- Combine soldiers will avoid the players crosshair, it will hide from the player.
- Combine soldiers react to having low health when in squads, will run away from the enemy and hide.
- Fixed Combine soldiers stealth delay(when they see an enemy they still walk as if they're not seen.)

Update as of May 22, 2022:

- Combine soldiers will now crouch reload or duck when reloading.
- [CHANGED ]Combine soldiers will now move on random nodes when at players crosshair, making it more difficult to actually target them. When the crosshair is aimed at one combine soldier, it will move in random nodes whilst the OTHER soldiers will move away from their origin position, basically they move more to avoid getting aimed by your crosshair. They have different movements for further randomization and difficulty.
- Combine soldiers NOW shoot breakable props if an enemy is behind it.
SEE JUNE 14 UPDATE
- Combine soldiers react to grenades much better, reacting much faster and getting better distance.
SEE JUNE 14 UPDATE
- Combine soldiers now react to one of the squad members getting killed. They will retreat if one of their members get killed.
- Changed
kn_realistic_combine_flank
to
kn_realistic_combine_no_flanking_behavior
to avoid confusion.

Update as of June 5/6, 2022:
- Renamed addon to 'almost F.E.A.R. AI' instead of 'STALKER like AI' because why not.
- Removed combine ai from shooting props because idk how to code it properly.
- ADDON NOW RUNS ON TICK INSTEAD OF THINK,
- Soldier AI now use better flank instead of random nodes in general. Each soldier will have their own unique nodes to flank to.

Update as of June 14, 2022:
- Fixed combine soldiers not reacting better to grenades(they move quickly now when they spot a grenade)
- Added barrel support for that same feature above REMOVED DUE TO PERFORMANCE ISSUES
- FINALLY added prop-shooting or whaterver. basically combine soldiers will now shoot the specific prop the enemy is hiding in. I added this feature before but it was so broken. now its fixed. REMOVED DUE TO PERFORMANCE ISSUES

Update as of June 28, 2022

- Easy customization, there is an options menu to customize the features of this addon. Simply press Q, go to options, scroll down until you see Realistic Combine Soldier AI
- Revised AI schedules from interferring with each other
- More Convars
- Flank behavior has been changed, soldiers can now ambush when they are near the enemy. Only squad leaders and shotgunners can flank the enemy.
- Soldiers can now patrol but off by default
- Users can now scale the gun damage of soldiers, if they are holding their hl2 weapons.
- General fixes to reduce fps lag as much as possible due to bad coding
- More i forgot to mention.

Update as of June 29, 2022

minor update:
- When a player spawns combine soldiers, the other soldiers will seek cover after one second. This has no advantage whatsoever other than setting up a scene for a battle. Can be enabled/disabled in the options tab in Q menu.

Update as of July 6, 2022

The big update has been released! Here are the features
- Soldiers with SMG1 can now use SMG Grenades!
- More customization
- Implemented long visiblity like from INPC
- Option to make soldiers have realistic FOV. You can create stealth missions with this!
- Option to make soldiers not shoot or shoot inaccurately when moving!
- General fixes in coding

Update as of July 27, 2022
addon updated! updates:
- soldiers now react to bullets fired near them, they take cover if theres an enemy. if none, they all take cover but the squad leader will investigate. you can customize the distance which the squad leader investigates the location.
- soldiers can now move fast. off by default. you can customize how fast it moves
- soldiers now have friendly fire disabled by default. recommended to kept on.
Last edited by kenni; 27 Jul, 2022 @ 8:42am
< >
Showing 1-6 of 6 comments
out-dis-bih 21 May, 2022 @ 1:51pm 
is it possible to make them patrol on spawn?
CreepyBlocks 21 May, 2022 @ 4:57pm 
Originally posted by kenni:
I got a lot of suggestions and I just woke up, so I have a lot of ideas I should implement.

- Health perception(using cover when at low health, being more defensive, etc...)
- Making them talk more( like when they are reloading)
- Making them destroy destructible props near the enemy(Such as explosive barrels)
- More(aka what i can come up with as I experiment with the code)

Update as of May 18, 2022:

- Combine soldiers will now talk more when reloading and firing.
- Combine soldiers will avoid the players crosshair, it will hide from the player.
- Combine soldiers react to having low health when in squads, will run away from the enemy and hide.
- Fixed Combine soldiers stealth delay(when they see an enemy they still walk as if they're not seen.)

Update as of May 22, 2022:

- Combine soldiers will now crouch reload or duck when reloading.
- [CHANGED ]Combine soldiers will now move on random nodes when at players crosshair, making it more difficult to actually target them.
- Combine soldiers NOW shoot breakable props if an enemy is behind it.
- Combine soldiers react to grenades much better, reacting much faster and getting better distance.
- Combine soldiers now react to one of the squad members getting killed. They will retreat if one of their members get killed.
oh this is a great keep up the work. we all appreciate it
CreepyBlocks 21 May, 2022 @ 4:58pm 
Originally posted by outdisbih:
is it possible to make them patrol on spawn?
you know your supposed to put comments like those in the suggestions thread right? not that i'm mad it's just more confusing
Ragsimier 23 May, 2022 @ 8:22am 
Originally posted by outdisbih:
is it possible to make them patrol on spawn?
You can suggest it + Random combine addon has combine that patrol, unfortunately their HP is lower, but at the same time it can balance out the battles I guess?
Sunny 6 Jul, 2022 @ 7:36am 
Finally, a new update that I requested. You're doing well!
out-dis-bih 28 Nov, 2022 @ 1:53am 
yknow what would be cool

allow omniscience in the sense that if one of them know where you are, theoretically all of them would communicate and know where you are as well.
< >
Showing 1-6 of 6 comments
Per page: 1530 50