Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Hunting AI  (Read 394 times)

Veroule

  • Bay Watcher
    • View Profile
Hunting AI
« on: June 15, 2007, 12:09:00 am »

I was watching my super legendary miner turned hunter hunt.  It would seem that the hunting AI currently is something like run back and forth acrossed the left edge of the map until something gets in the way.

More specifically the way jobs are handled makes it do that.  It does a run to point X,Y and since nothing interfered and nothing is close by it does another run to point X,Y.  If anything gets in the way causing a course correction then it actually attacks.

I saw something in the recent dev list about teach hunters where to stop and figured that perhaps since the code is fresh in your mind and no one really reported anything before we could actually get hunting to hunt.

I realise the map I am playing on with this particular guy isn't very aggressive.  On many maps the current hunting method works because the creatures are more aggressive.

I would like to see hunters consider range of sight on every step, until they lock onto a target.  It is fine if they walk at partial speed to show this, they are stalking after all.  If they are hunting with a crossbow they should continue stalking into prey until in range and then start firing, range being a matter of marksdwarf skill and sneaking being an actual skill in the fortress mode.  They should not run right past a bunch of things.  If they are using a melee weapon to hunt then again stalk in and make a charge or leap.

Basically a few thing I really noticed that make hunting totally useless right now.

Logged
"Please, spare us additional torture; and just euthanise yourselves."
Delivered by Tim Curry of Clue as a parody of the lead ass from American Idol in the show Psych.

Veroule

  • Bay Watcher
    • View Profile
Re: Hunting AI
« Reply #1 on: June 16, 2007, 02:38:00 pm »

Another one I saw with a hunter, he locked on to a group of rhesus maques.  After shooting 2 of them he took on the Return Kill job.  However, he kept cancelling it because he got too close to the other ones.  That particular cancellation should have resulted in him just aiming at killing the rest.
Logged
"Please, spare us additional torture; and just euthanise yourselves."
Delivered by Tim Curry of Clue as a parody of the lead ass from American Idol in the show Psych.

Sophie

  • Escaped Lunatic
    • View Profile
Re: Hunting AI
« Reply #2 on: June 18, 2007, 01:37:00 pm »

My hunters never work either, i think they do what you said... just walking up and down the map, one lil' dwarf managed to bring an entire elephant back my himself   :eek:

couldn't the hunters go in groups instead of the suicide missions? i really wish i had my own source of meat!

Logged
Re: Hunting AI
« Reply #3 on: June 18, 2007, 02:35:00 pm »

One novice hunter brought back a giant jaguar once. I was so proud of him that I quickly reassigned him before he got his dumb ass killed by 9 hippos.

Yeah, returning the kill is very buggy due to interrupts, and 9 of 10 times if you don't hands on manage your hunter, the only corpse you get is your hunters. (Actually I think it's due to behavior like cancelling the hunting job to eat or something when 2 tiles away from a dangerous animal)

Logged