Page 1 of 1
Bot ignored player
Posted: Sat Jul 18, 2020 12:10 pm
by haskoman
Hi Lovatto,
Bots not attack player, you need attack first and after bot work and attack, can you help me please,
Its strange this bug and no error ;(
Re: Bot ignored player
Posted: Sat Jul 18, 2020 1:12 pm
by Lovatto
Which MFPS version are you using?
Happens in all game modes?
Re: Bot ignored player
Posted: Sat Jul 18, 2020 1:25 pm
by haskoman
i have the last update 1.7.5, is work good on TDM but no for FFA ;(
Re: Bot ignored player
Posted: Sun Jul 19, 2020 3:50 am
by Lovatto
I check this and I find an easy solution for this:
in bl_AIShooterAgent.cs -> RandomPatrol(bool precision) ->
Add these lines:
Code: Select all
if (agentBehave == AIAgentBehave.Agressive && Target == null)
{
Target = GetNearestPlayer;
}
after these lines:
Code: Select all
else
{
SetDebugState(25);
AgentState = agentBehave == AIAgentBehave.Agressive ? AIAgentState.Following : AIAgentState.Searching;
precisionArea = 8;
}
}
else
{
SetDebugState(26);
AgentState = AIAgentState.Patroling;
So it should look like this:
Let me know if this works for you.
Re: Bot ignored player
Posted: Sun Jul 19, 2020 5:51 am
by haskoman
woooooooooooooow now is work 1000000% you need update asset i think this bug is for all have buy MFPS, thanks my friend