Skip to content

BG2: Is viconia AI hardcoded to prefer melee?

taltamirtaltamir Member Posts: 288
edited September 2013 in Archive (General Discussion)
I have viconia with a +5 sling and a +2 warhammer. I have aeria with a +3 sling and a +1 warhammer that is +4 vs demons IIRC.
Almost every single battle the AI switches viconia to melee. This is both if she is on ranger ranged or arang script. While aerie dutifully stays with her sling using the same exact AI.

I know khalid AI is hardcoded to make him a coward, is viconia's AI similarly hardcoded to make her prefer melee? (because she absolutely sucks at melee!)

EDIT: Nevermind, after struggling with this issue for 2 days I finally found the real culprit 5 minutes after posting this.
The String of Everard +5 has an ability which makes it NOT require or use any ammunition.
This ability is bugged to heck and back with several different issues. The best workaround I found is to keep mundane ammo on the char, she will consume said ammo (despite the sling explicitly not supposing to do so) whenever the AI tells her to attack something. The "does not require ammo" aspect seems to somehow depend on the player MANUALLY telling the character to attack with the sling. Also, as long as she has ammo she does not auto switch to melee.

Worth keeping though since its the only +5 item I have and the only way for me to hurt an adamantium golem (at 1HP a hit :(... takes 10 minutes to kill the suckers)

EDIT2: And then she decided to go melee again twice in a single battle. Will do some more testing... arrg!
Post edited by taltamir on

Comments

  • elminsterelminster Member, Developer Posts: 16,317
    You might want to fill out a bug report :)
  • taltamirtaltamir Member Posts: 288
    edited September 2013
    But it is an issue with BG2 and BG2EE won't be released for 2 more months.
    Isn't it premature to file a bug report?

    Also, I wasn't sure there is an actual bug when I made this thread. (kinda like how khalid being a coward is not a bug per se)
  • TJ_HookerTJ_Hooker Member Posts: 2,438
    There's a whole category for reporting bugs found in the original games. See Original BG2 Bugs.
  • taltamirtaltamir Member Posts: 288
    oh, I did not notice. Thank you for informing me. I will post it there.

    Anyways, there are definitely bugs with that +5 sling, but I am still not sure there isn't also an issue with viconia's AI, as I swapped her sling with Aerie's and viconia still occasionally goes melee on me.
  • TJ_HookerTJ_Hooker Member Posts: 2,438
    Hmm, that's weird. I don't have much experience with scripts, but maybe try assigning Viconia the generic attack script? I think that will make the character just attack with whatever weapon they have equipped, so hopefully if you equip her with a sling she'll just use that and stick to ranged.

    Or are you maybe having the issue being discussed here?
  • taltamirtaltamir Member Posts: 288
    edited September 2013
    it isn't that one, she has plenty of ammunition, she just likes running into melee.
    the ranger ranger script seems to switch to melee whenever the target is attacked by a melee opponent.
    Maybe they just like attacking her more the aerie?
    I will switch out to the default script and try that out
  • AkuratheunseenAkuratheunseen Member Posts: 28
    Alternatively you could testing out different scripts for her as some like basic will make them do things weird, you can just turn the ai off if need be
Sign In or Register to comment.