Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [38c] Merchant prince with deathwish  (Read 393 times)

kaypy

  • Bay Watcher
    • View Profile
[38c] Merchant prince with deathwish
« on: March 31, 2008, 10:17:00 am »

I'm seeing some bizarre behavior with a merchant prince pursued by goblins. Every so often the merchant would get a good lead on the goblins, but instead of heading either (a) off the map or (b) to my fortress, he would instead opt for (c) back to the goblins...

Maybe it shows he had guts, but in the end the goblins demonstrated that in a more literal (and messy) fashion. I copied the save file before he fell to them if it will help.

Logged

Derakon

  • Bay Watcher
    • View Profile
Re: [38c] Merchant prince with deathwish
« Reply #1 on: March 31, 2008, 10:29:00 am »

Once a friendly unit gets far enough away from the enemies they're running from, they forget about running and try to go to their current destination by the shortest path possible. This does, yes, frequently mean heading back in the direction they were running from.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

kaypy

  • Bay Watcher
    • View Profile
Re: [38c] Merchant prince with deathwish
« Reply #2 on: March 31, 2008, 10:37:00 am »

If his destination was somewhere remotely sensible he would have avoided the goblins...

A reload to make sure it worked under vanilla (I have some graphic tweakage applied) shed some more light on the matter. Goblins chased him too close to the fortress defenses and got shot up. With them out of the way, he was able to proceed to his actual objective: walk to the middle of a random plateau and turn his brain off.

Logged

kaypy

  • Bay Watcher
    • View Profile
Re: [38c] Merchant prince with deathwish
« Reply #3 on: March 31, 2008, 10:41:00 am »

quote:
Originally posted by kaypy:
<STRONG>If his destination was somewhere remotely sensible he would have avoided the goblins...</STRONG>

Just to clarify, by this I mean:
The edge of the map was to the north.
The fortress was to the south.
The goblins were to the east.

There wasn't any reason for him to go east, except that that was where his plateau of brainlessness was waiting. So yeah he was just trying to go to his destination, but his destination doesn't make any sense.

Logged