Overgrowth
565 평점
Dynamic AI Aggression
3
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
태그: AI, Combat, Script
파일 크기
게시일
업데이트일
907.550 KB
2017년 12월 23일 오후 12시 08분
2025년 3월 16일 오후 7시 52분
업데이트 노트 40개 (보기)

다운로드 위해 구독하기
Dynamic AI Aggression

설명
AI will now adjust their combat aggression based on how they are performing. Aggression will affect their engagement distance, defense, and attack frequency. New AI logic to group fighting, throwing weapons and jump kicking. This will increase game difficulty.

-----------------------------
Features:
-----------------------------
-Rabbits will throw their knife when they have low health
-AI will counter jump kicks by throwing their weapons
-Breakdown AI weapon defenses by applying pressure and surviving counter attacks
-Unarmed AI may focus on dodge disarming when facing an armed opponent
-Dogs are slightly more aggressive and rats are slightly more defensive
-Allowed certain dogs on the level to throw their weapon at a distant targets (In vanilla they will throw their weapons all the time)
-Rats will throw their weapon if their target isn't focused on them during a group fight
-AI may go into high aggression when at low health
-AI's with knives will have a small moment of being stunned when their attack is dodged. Giving a window of opportunity to counter and to prevent a vanilla bug where the AI was able to attack with the knife twice instantly right after dodging or doing a judo throw
-AI aggression parameter at 40-60 will use the mod's default dynamic aggression

Changed how AI will engage a outnumbered opponent:
*AI will keep their distance and surround their target if it is currently attacking another enemy but will still attack when too close
*AI that are waiting will have a random set amount of time before they will move close and attack. This timer can be reset partially if they are engaged or fully if they are knocked down
*Waiting for AI to attack you or playing defensively will result in AI attacking at the same time
*NPCs that have their aggression parameter set to 70+ will ignore this feature and will attack when possible

---------------------------
JUMP KICKS:
---------------------------
Requires "Bloody Combat" (or the reduced version) or the "Balanced Jump Kicks" mods installed for this to work.

That mod includes the edit to the main file that allows AI jump kicking. This is done so mods that edit the aschar will still work with this mod, just without the jumpkick feature)

AI Jump Kick Features:
-Chance that certain rabbits on the level are allowed to do jump kicks. They will make a sound when ready to do so.
-Rabbits will jump kick when hurt or in a group fight
-Rabbits will throw their weapon while the air at close range
-AI will not jump at armed targets and will go on cooldown after the jump kick attempt
-With "Balanced Jump Kicks" all the AI rabbits are allowed to jump kick instead of a limited number

--------------------------
Change Log
--------------------------
1.5.1
-Fixed bugs with weapon calculations for ai defense stamina. It was not increasing as intended
-Fixed AI not performing defensive judo throw when unarmed vs weapons

1.5
-AI's with knives will have a small moment of being stunned when their attack is dodged. Giving a window of opportunity to counter and to prevent a vanilla bug where the AI was able to attack with the knife twice instantly right after dodging or doing a judo throw
-Fixed some math errors for AI throwing chance for dogs and jump targets
-Increased number of rabbits allowed to jumpkick per level from 30% to 50%
-Minor tweak to rabbit and rat minimal knife throw distance

1.4.3
-Fixed rat AI from throwing weapons only at extreme close range. They will need to be a bit further back to consider throwing weapons
-Slightly increased rat aggression
-Slightly increased minimal distance that rabbits will throw their knife

1.4.2
-Fixed AI not attacking while looking at dead bodies
-AI will now be aggressive in a group fight if their target knocked down their current focused target
-Fixed AI stuck in dodge and attack state resulting in AI standing around doing nothing until attacked
-Other minor bug fixes

1.4.1
-Overall group fighting aggression bug fixes and changes
-AI Patients reduced the longer it is waiting while group fighting without contact resulting in more simultaneous attacks. Unless engaged by the player

---------------------
_The rest of the change logs are in the Change Notes tab on this page_

Open to suggestions!
Feel free to edit this and use the scripts for your maps or your own mods

----------------
EDITING
----------------
If you want to modify the mod to have more species or modded characters throw weapons or jump. you will need to change
species == _rabbit
species == _dog
species == _rat

when its under either those two functions:
bool WantsToJump()
bool WantsToThrowItem()

for example you can remove the "species == _rabbit" under "bool WantsToThrowItem()" to have every character throw a knife

or

remove the "species == _rabbit" under "WantsToJump()" to have every character jump when allowed to do so in combat
댓글 87
DarkX5 2025년 1월 17일 오후 2시 48분 
make it so the NPCs give up/drop their weapons whenever the player is on the highest point of the map
<3 2024년 11월 25일 오전 3시 39분 
How do i make them more aggressive?
󠁳⁧⁧kcaj 2024년 3월 30일 오후 12시 02분 
can you make it so they can throw and dropkick regardless of species
BakaKemono  [작성자] 2023년 12월 25일 오후 10시 27분 
No problem and one more update for the year:

1.5
-AI's with knives will have a small moment of being stunned when their attack is dodged. Giving a window of opportunity to counter and to prevent a vanilla bug where the AI was able to attack with the knife twice instantly right after dodging or doing a judo throw
-Fixed some math errors for AI throwing chance for dogs and jump targets
-Increased number of rabbits allowed to jumpkick per level from 30% to 50%
-Minor tweak to rabbit and rat minimal knife throw distance
Geobeetle 2023년 12월 24일 오후 3시 04분 
No worries, I'm just glad you've put the time in at all! Thanks!
BakaKemono  [작성자] 2023년 12월 24일 오후 2시 26분 
Sorry it took a while but is now updated:

1.4.3
-Fixed rat AI from throwing weapons only at extreme close range. They will need to be a bit further back to consider throwing weapons
-Slightly increased rat aggression
-Slightly increased distance that rabbits will throw their knife
Geobeetle 2023년 10월 14일 오전 9시 35분 
Thank you very much sir. Great mod btw it's what's making me keep trying to beat expert campaign with it still on!
BakaKemono  [작성자] 2023년 10월 12일 오후 6시 15분 
I can take a look at it for rats and rabbits and see if distance can be adjusted
Geobeetle 2023년 10월 9일 오후 9시 59분 
You might need to take a look at the rat throwing opportunity coding again though, they throw when they run up to you right in your face killing you instantly with no warning quite often actually. and maybe also add a minimum time out of combat as well because they kill you instantly the second you turn away sometimes as well. This might also add a strategy where you juggle between rat opponents to stop them from going into ranged mode. More fun then dying instantly imo.
Geobeetle 2023년 10월 9일 오후 9시 47분 
YOO nevermind I did it finally the timing is super tight though