Charging Crossbowmen

Discussion in 'The Temple of Elemental Evil' started by Gaear, Nov 12, 2009.

Remove all ads!
  1. Ranth

    Ranth Established Member

    Joined:
    Jan 26, 2008
    Messages:
    829
    Likes Received:
    1
    FYI, I think we assumed this, but if you attack Black Jay, he charges. Also, his sheep come to his rescue... cute.

    Update, he charges my mage (who I shot him with) and when he is right next to my mage, he tries to shoot her.


    Update 2:
    I noticed that BlackJays PY file was different between 5.5.0 and 5.6.1
    The 5.6.1 file had a disband command at the end of it (and maybe other changes, I didnt look very close). So I cracked open the 5.5.0 file, copied it, replaced everything in his 5.6.1 file with the 5.5.0 version, and now he doesn't charge :)

    Update again: Crap, he didn't charge b/c I was surrounded by sheep.
     
    Last edited: Nov 22, 2009
  2. Ranth

    Ranth Established Member

    Joined:
    Jan 26, 2008
    Messages:
    829
    Likes Received:
    1
    When you delete everything except "from toee import *" from BlackJays PY file (which most mobs share) he still charges. Therefore, the problem is somewhere else.
     
  3. Ranth

    Ranth Established Member

    Joined:
    Jan 26, 2008
    Messages:
    829
    Likes Received:
    1
    Also replaced all of 5.6.1's SCR folder with 5.5.0's SCR folder. He still charges.
    Then I tried to replace 5.6.1's protos.tab with 5.5.0 and the game crashed (not surprising).

    At least we know that the problem is probably not in the SCR folder.

    Update:
    Activated Vanilla, then 5.6.0 . Then replaced BJ's PY and DLG file with 5.5.0 and attacked with new party (old saves corrupted) and he still charges.

    UPDATE!!! When you go ahead and replace the strategy.tab file from 5.5.0 (after replacing his DLG and PY) he no longer charges. Dont know why though.
     
    Last edited: Nov 22, 2009
  4. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    He uses the default strategy, see previous posts...
     
  5. Ranth

    Ranth Established Member

    Joined:
    Jan 26, 2008
    Messages:
    829
    Likes Received:
    1
    I am not sure if that matters.

    Some combination of replacing his PY, DLG and strategy.tab files with the 5.5.0 versions stops him from charging. I know the strategy.tab file has something to do with it, because he keeps charging if you only replace the PY and DLG.
     
    Last edited: Nov 22, 2009
  6. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Some things I've tried, using the Moathouse courtyard bandits as a test bed:

    • using the 5.5 .dll: no change
    • replacing the .mobs with new identical ones: no change

    Other observations:

    • Using the 5.5 .dll, bandits with crossbows in random encounters will not switch weapons, will not approach, will 5 foot step, and will switch to melee weapons if they are cornered. Unfortunately, despite literally dozens of worldmap travels all over the place using the 5.6 .dll, I can't get a RE with bandits to compare against. Ironically, they appeared in the very first worldmap travel I tried using the 5.5 .dll.
    • Spawning a crossbow weilding bandit using the 5.5 .dll will result in them switching immediately to their melee weapon. Because of the fact that they're spawned right on top of the party, I'm not sure if they're doing this as a 'go-melee' response or something more like the 5.6 weapon switch error.

    [edit]

    Further observation:

    • Removing the generic spawner (the one that controls the appearance of the Big 3) from the Moathouse exterior map causes the brigand crossbowman in the easterly corner of the courtyard to behave normally. The other two crossbowmen still behave abnormally. The newly normal crossbowman is nearest of all brigands to the removed generic spawner: the gs is almost exactly where the last giant frog you encounter as you approach the courtyard is.
     
    Last edited: Nov 22, 2009
  7. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Okay, a forum search of "switch dagger" shows that this weapon switching thing has indeed been discussed before (in a 5.0.0 beta modpack thread), as Kalshane recalled:

    So then, while we still don't know why this happens, and perhaps more importantly, why it's happening now and not before in some cases, we do know that the standard fix of yore was to remove the offending .mobs' daggers so they'd stick with crossbows. This solution has also worked just fine in modern testing. The only drawback I can see with it is that these .mobs won't be able to switch to a melee weapon in close quarter combat, but if we have to choose between that and them equipping daggers and rushing futilely at the party, I think no-melee is preferable. They do at least seem to use 5 foot step effectively, after all.

    So until such time as we can figure out why this is happening (and I've just about given up on that personally), the fix we'll apply is to remove daggers from the affected .mobs. This means we need as many reports as possible referencing where this happens, so please continue to test and post your findings here. Thanks. :)

    [edit]

    See the first post for known cases and cases that need testing.
     
    Last edited: Nov 23, 2009
  8. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    REPORT


    Moathouse courtyard brigands

    • Took away melee weapons for the 3 crossbowmen and they do not approach, do not switch weapons, and do use 5 foot step.

    Moathouse first floor brigands

    • Took away melee weapon for the 1 crossbowman and he does not approach, does not switch weapons, and does use 5 foot step.

    Moathouse Dungeon guardsmen

    • Took away melee weapons for the 5 crossbowmen and they do not approach, do not switch weapons, and do use 5 foot step.
    • Took away daggers for the 2 sergeants and they stick with their morningstars and otherwise behave normally.
    • Didn't do anything to the lieutenant and he sticks with his long bow, does not approach, does not arbitrarily switch weapons on his turn, does use 5 foot step, and will switch to a melee weapon when cornered. He has a dagger but switches to a longsword, I believe.

    Emridy Meadows skeletons

    • All crossbow-weilding skeletons did not approach and did use 5 foot step with Sitra's AI tweaks and no other modifications.

    Temple Level 1 hall of bones skeletons

    • All crossbow-weilding skeletons did not approach and did use 5 foot step with Sitra's AI tweaks and no other modifications.

    Temple Level 1 Earth Temple guards

    • In both locations where they're quartered, those weilding crossbows did not switch weapons, did not approach, and did not use 5 foot step. They have daggers but never switched to them. They would usually get AoOed as they fired their crossbows in close-quarters. They use the 'Flanker (with ranged)' AI. I added a clear target entry to that AI like the sniper AI has (that used by the brigands successfully), but it had no effect. Unless I'm greatly mistaken about something, the sniper AI has no five foot step entry, yet those using that AI do five foot step. I changed that back - not going to fiddle strategy.tab anymore since I have no clue how it works. I'm sort of satisfied that those guys don't switch weapons and don't approach at least. Although, of course, why not? They've got daggers. Kalshane said they used to. I see no mention of them being altered any other way.
     
    Last edited: Nov 24, 2009
  9. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Note on 5 foot step:

    There are two AI commands that can cause the AI to take a 5 foot step:

    1. 'five foot step'
    2. 'sniper'

    Note well - 'sniper' is a COMMAND.
    There is also a STRATEGY called Sniper, which as you can imagine utilizes this command.

    So while the Sniper strategy doesn't have the 'five foot step' command, it does have the 'sniper' command, which makes the creature take a 5 foot step under certain conditions.

    For more detail on these two commands see the AI thread.
     
  10. Boque

    Boque Member

    Joined:
    May 1, 2005
    Messages:
    14
    Likes Received:
    0
    Hi Gaear,

    I had a quick skim across the thread and don't think this one has been mentioned, there is a lone charging crossbowman in Nira Melubb's house in Hommlet. I'll let you know if I find any more.

    Boque.
     
Our Host!