IPB

Welcome Guest ( Log In | Register )

BF2 bot medic, Bot revive another bot?
csk1997
post Feb 23 2017, 03:41 AM
Post #1


Enlisted
*

Group: Soldiers
Posts: 2
Joined: 15-November 16
Member No.: 11,918



So the bot medic always revive the player instantly. But they seldom revive another bot. Any ways to make them revive bot more often?

This post has been edited by csk1997: Feb 23 2017, 03:43 AM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 3)
M.Combat
post Feb 26 2017, 07:32 AM
Post #2


Mediocre animator and modder
******

Group: Soldiers
Posts: 2,068
Joined: 4-October 06
Member No.: 2,251



In mods\bf2\AI\AIBehaviours.ai (or whatever your mod folder is) you can try increasing this value. It should make them more likely to revive each other.

rem *** Construct standard weights ***
aiSettings.createBehaviourModifiers StandardWeights
aiSettings.setBehaviourModifier Avoid 1.0
aiSettings.setBehaviourModifier MoveTo 1.0
aiSettings.setBehaviourModifier Idle 0.1
aiSettings.setBehaviourModifier Fire 7.5
aiSettings.setBehaviourModifier Special 3.0
aiSettings.setBehaviourModifier TakeCover 2.0
aiSettings.setBehaviourModifier Change 1.9
aiSettings.setBehaviourModifier Revive 3.0
aiSettings.setBehaviourModifier c4 1.0
aiSettings.setBehaviourModifier Special2 1.0
aiSettings.setBehaviourModifier Special3 1.0
aiSettings.setBehaviourModifier Random 1.0
aiSettings.setBehaviourModifier Triggerable 1.0


--------------------
Go to the top of the page
 
+Quote Post
Dnamro
post Feb 26 2017, 09:29 PM
Post #3


CinC (for now)
Group Icon

Group: Mr. Admin
Posts: 6,805
Joined: 28-December 03
From: Fort Hood, TX
Member No.: 46



QUOTE (csk1997 @ Feb 23 2017, 03:41 AM) *
So the bot medic always revive the player instantly. But they seldom revive another bot. Any ways to make them revive bot more often?


No, it is hardcoded for bots to prioritize players over other bots. So, just don't die so much, and then the bots will be able to revive other bots more often.


--------------------
No, my Avatar is not my dog.
Go to the top of the page
 
+Quote Post
csk1997
post Mar 2 2017, 03:44 AM
Post #4


Enlisted
*

Group: Soldiers
Posts: 2
Joined: 15-November 16
Member No.: 11,918



QUOTE (Dnamro @ Feb 27 2017, 11:29 AM) *
QUOTE (csk1997 @ Feb 23 2017, 03:41 AM) *
So the bot medic always revive the player instantly. But they seldom revive another bot. Any ways to make them revive bot more often?


No, it is hardcoded for bots to prioritize players over other bots. So, just don't die so much, and then the bots will be able to revive other bots more often.


I guess that the "value" of reviving players is hardcoded but the value of reviving bot can be changed in AIbehavior.ai. For instance I changed the value to 44.0 resulting bot prioritize bots over player. My assumption is that bot doesn't revive bot because the value of "Fire" is higher than "Revive". So whenever an enemy is insight bot will prioritize firing at them. Now I swap these two value and bot revive both player and bot. Problem solved.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th March 2017 - 12:18 AM