GoldenEye: Source Forums

  • December 02, 2024, 08:43:46 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [BUG] AI can't detonate Remote Mines  (Read 15751 times)

0 Members and 2 Guests are viewing this topic.

GamerXYZ

  • Agent
  • *
  • Posts: 12
  • Reputation Power: 2
  • GamerXYZ has no influence.
  • Offline Offline
[BUG] AI can't detonate Remote Mines
« on: October 28, 2018, 05:06:19 am »

AI will never use Remote Mines. For instance if Remote Mines are the only weapon available, they will exclusively use Slappers. If you mod the game so that no one starts with Slappers, then they will throw Remote Mines, but won't detonate them (their inability to do so probably being the reason why they never use them if they have something else).

Certainly don't want them to be able to look through walls and detonate their mines at the right time always, but it would be nice if they at least detonated their mines at random intervals.
« Last Edit: October 28, 2018, 05:09:28 am by GamerXYZ »
Logged

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 506
  • Reputation Power: 372
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [BUG] AI can't detonate Remote Mines
« Reply #1 on: October 28, 2018, 08:58:36 pm »

This could potentially be done, but I feel it's best to just keep the bots away from mines when possible.  More often than not they just kill themselves, so they're better off using pretty much any other weapon.  If at some point in time we manage to get them working online I'll try to fix up their non-hitscan weapon usage, but for now I feel they're better off just not using remote mines at all.

Either way, good job noticing that they avoid using remote mines!  It certainly takes some effort to prove.  Just for you I'll try to set it up so that if they ever do get forced into using the remote mines they actually detonate them when they run out, Perfect Dark style.
« Last Edit: October 28, 2018, 09:14:00 pm by Entropy-Soldier »
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

GamerXYZ

  • Agent
  • *
  • Posts: 12
  • Reputation Power: 2
  • GamerXYZ has no influence.
  • Offline Offline
Re: [BUG] AI can't detonate Remote Mines
« Reply #2 on: October 28, 2018, 10:25:39 pm »

The reason I discovered it was due to a custom Arsenal weaponlist making use of all 5 weapons unused in the other Arsenal weaponlists (Mines, Silenced PP7, and Sniper). It was pretty noticable when after all the Proximity Mine kills (lvl 1) there were suddenly a lot of Slappers kills and 0 Remote Mine kills (lvl 2). Some changes in the Arsenal Python file to fix this "unwanted" behavior by disabling Slappers then revealed the real problem.

Unfortunately the infinite ammo in Arsenal would also mean detonation at 0 ammo wouldn't work. But since it's currently intended behavior I understand if for the unforseeable future it remains like this. Thanks for still trying to look into it though! :)
Logged
Pages: [1]   Go Up