Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Simple Wrestler AI  (Read 963 times)

Captain Mayday

  • Bay Watcher
  • A Special Kind of Terrible
    • View Profile
Simple Wrestler AI
« on: December 04, 2008, 02:38:45 am »

We were chatting in IRC and this idea was proposed.
Currently, whether a wrestler punches or grapples seems random.
Perhaps the game should check whether a punch is likely to do significant damage, and, if so, do that. Otherwise, grapple.

Alternatively, this check could add weight to a random movement, such as exists now, making punches more likely than grapples when this will do more damage, and vice versa.
Logged
Why not join us on IRC? irc.newnet.net #bay12games

Pilsu

  • Bay Watcher
    • View Profile
Re: Simple Wrestler AI
« Reply #1 on: December 04, 2008, 05:26:24 am »

How exactly do you determine something like that?
Logged

Captain Mayday

  • Bay Watcher
  • A Special Kind of Terrible
    • View Profile
Re: Simple Wrestler AI
« Reply #2 on: December 04, 2008, 05:52:23 am »

How exactly do you determine something like that?

Attack strength (including size modifications) vs toughness (with damblock)
Logged
Why not join us on IRC? irc.newnet.net #bay12games

TrombonistAndrew

  • Bay Watcher
    • View Profile
Re: Simple Wrestler AI
« Reply #3 on: December 04, 2008, 10:08:19 am »

Optimally, the difference seems to be whether the AI creature wants to kill or immobilize or disarm the other. Going for a kill without regard to anything else, punch. But if immobilization is wanted, grapple and try to go for stance parts. Similarly for disarm: grapple and go for grasp parts.

Thus, the question becomes whether it's better to just smash something's chest in (giant vs. something) or to disarm it first, then smash it (something vs. well-armed dwarf).
Logged

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: Simple Wrestler AI
« Reply #4 on: December 04, 2008, 10:31:50 am »

How exactly do you determine something like that?

Attack strength (including size modifications) vs toughness (with damblock)

Perhaps the skill in wrestling should be also a factor.
Logged

Captain Mayday

  • Bay Watcher
  • A Special Kind of Terrible
    • View Profile
Re: Simple Wrestler AI
« Reply #5 on: December 04, 2008, 10:42:29 am »

How exactly do you determine something like that?

Attack strength (including size modifications) vs toughness (with damblock)

Perhaps the skill in wrestling should be also a factor.

In next version that's more likely, due to the wrestling skill being broken up at least 4 ways.
Logged
Why not join us on IRC? irc.newnet.net #bay12games

Skid

  • Bay Watcher
    • View Profile
Re: Simple Wrestler AI
« Reply #6 on: December 04, 2008, 10:57:23 am »

Currently wrestling doesn't do anything to immobilize an enemy until something is actually broken. You can grab their left hand with both arms and your knees, but it doesn't stop them from punching you with it anyway.
Logged
Playing a cheesemaker in an average Fortress 'round here would be. Freaking. Terrifying.

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: Simple Wrestler AI
« Reply #7 on: December 04, 2008, 11:14:23 am »

How exactly do you determine something like that?

Attack strength (including size modifications) vs toughness (with damblock)

Perhaps the skill in wrestling should be also a factor.

In next version that's more likely, due to the wrestling skill being broken up at least 4 ways.

Ah yeah...good point.  :)
Logged