It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
My AI script is "standard attack" (AGEN) for my 3 tanks (self fighter/cleric, misnc ranger, and jeheira fighter/druid), it keeps on being reset to none.
The AI script for the other 3 characters does NOT reset and reliably stays on "Ranged Attack" (ARANG)

Anyone knows whats up with that?
I am using BGT with some mods.

EDIT: The script is reset to none when I reload a game. I suspect the script itself might be broken because it doesn't work as described (characters with that script don't defend themselves)
Post edited July 25, 2013 by taltamir
Have you checked that aGen.bs is there in your 'scripts' folder?
avatar
Hickory: Have you checked that aGen.bs is there in your 'scripts' folder?
I didn't even know about it. Checking now, it appears to be there.

EDIT: It is the ONLY script that has a capital letter in its filename (aGen), the rest are all lower case. I tried renaming it to lowercase then tested by running the game, loading a save (script = none), set script to agen, saved, and loaded the newly saved game. Didn't work
Post edited July 25, 2013 by taltamir
Try assigning a different script to them (it doesn't matter which), then save, quit, reload. Does the new script 'stick'?
avatar
Hickory: Try assigning a different script to them (it doesn't matter which), then save, quit, reload. Does the new script 'stick'?
I tried removing the face changing script from tweaks, it didn't fix the issue.

I tested different script and character combination and found that character doesn't matter, behavior depends on script chosen:

Scripts that revert to none on reload:
aGen.bs
apass.bs

Scripts that save properly:
arang.bs
cautious.bs
cleric1.bs
cleric2.bs
cleric3.bs
cleric4.bs
control.bs
fighter1.bs
fighter2.bs
fighter3.bs
fighter4.bs
mage1.bs
mage2.bs
mage3.bs
mage4.bs
thief1.bs
thief2.bs
thief3.bs
thief4.bs
default.bs (lacks an in game description beyond "custom". the raw text that makes up the script looks very similar to agen)

Interestingly there is a none.bs script file (but empty except for two lines that say "SC").
Post edited July 25, 2013 by taltamir
Alright, I tested a clean install and it works...
I also did a file compare and there are differences between a clean install and these scripts. They have been modified by some mod which broke them. I am going to investigate further and find out which mod did that.

EDIT: Found the issue, this is a bug in BGT. Installing BGT 1.18 corrupts the aGen.bs and apass.bs scripts, resulting in them being discarded upon reload. Copying over the unmodified scripts from BG2 fixes this issue
Post edited July 25, 2013 by taltamir
avatar
taltamir: EDIT: Found the issue, this is a bug in BGT. Installing BGT corrupts the aGen.bs and apass.bs scripts, resulting in them being discarded upon reload.
Hmm... you might want to let the guys at Spellhold forums know about this, in case they don't already.
avatar
taltamir: EDIT: Found the issue, this is a bug in BGT. Installing BGT corrupts the aGen.bs and apass.bs scripts, resulting in them being discarded upon reload.
avatar
Hickory: Hmm... you might want to let the guys at Spellhold forums know about this, in case they don't already.
I was just about to, packaged them together too.
And btw, a few days ago a new version of BG Tweaks was released fixing a few bugs, one of which I reported. :)
Post edited July 25, 2013 by taltamir
avatar
taltamir: And btw, a few days ago a new version of BG Tweaks was released fixing a few bugs, one of which I reported. :)
Cool. Thanks for the heads up. :)
I haven't used BGT Tweaks, I thought it was for fixing problems with other mods used with BGT. Maybe they addressed this issue in there?

But I can say this problem still persists in BGT-WeiDU 1.20. I fixed it by opening the scripts in Near Infinity and recompiling them.