Chaosforge Forum

  • December 03, 2024, 14:27
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Small improvement in enemy AI  (Read 2298 times)

Anarchic Fox

  • Elder
  • Lance Corporal
  • *
  • *
  • Offline Offline
  • Posts: 37
    • View Profile
Small improvement in enemy AI
« on: January 19, 2009, 18:01 »

Right now the enemies all gravitate toward the center of the level, over time.  Instead, for each computer-generated level, the game could select a different location at random and have the enemies gravitate towards it, instead.  Their behavior would be much the same, but the player would no longer know that he can find all the monsters in the center if he waits long enough.  This would make the game slightly more unpredictable, and eliminate the cheap tactic of standing to one side of the level and firing down the center line.

A more sophisticated approach could have multiple gathering points so that the monster wanders toward whichever is closest, and custom gathering points for the special levels.  I don't know how difficult any of this is to code, though.
Logged

MaiZure

  • Marketing/PR Ops Lead
  • Greater Elder
  • Major General
  • *
  • *
  • Offline Offline
  • Posts: 827
  • Retired 1-Star General (.993)
    • View Profile
    • Project repository
Re: Small improvement in enemy AI
« Reply #1 on: January 19, 2009, 18:08 »

Do enemies actually gravitate towards the center of the level? I never noticed this.
Logged
Hell Knight 1st Lt. (.997)
[22/13/9/2/0]

Anarchic Fox

  • Elder
  • Lance Corporal
  • *
  • *
  • Offline Offline
  • Posts: 37
    • View Profile
Re: Small improvement in enemy AI
« Reply #2 on: January 19, 2009, 21:01 »

Yeah, though since many of them can't open doors or cross lava, not all of them make it there.
Logged
Pages: [1]