Jump to content

a problem with Hubelpot AI


Guest gost

Recommended Posts

Posted

I noticed that I can't turn his AI off. When I turn the party AI off, he still goes on attacking and DIES. Walks into area effect spells, hordes of enemies... AND I can't get him to cast. He just abandons whatever he is doing (healing the party!!! grr 1!1!) and charges.

When party AI is on, he acts fine. When it's off, he is uncontrollable.

I am not sure if it's something I did, a bug in my game, or a problem with mod.

Posted

It's a mod issue. The problem is SC#HubX.bcs. It's got him attacking anything with a red circle. There's a fix, but it depends on what you want to do. You can leave it alone or you can have him standing around doing nothing at all when you've got AI switched off. Your call.

 

If you want him standing around doing nothing when party AI is switched off, simply find setup-Hubelpot.tp2 in your game directory, open it with any text editor, and find the block that looks like this

COMPILE ~SC#Hub\Scripts\SC#HubX.baf~
 USING ~~

and make it look like this:

/* COMPILE ~SC#Hub\Scripts\SC#HubX.baf~
 USING ~~
*/

Then save the file and reinstall the mod. He'll obediently stand around and wait for your orders, since he now has no class/race/whatever script.

 

If you wanted to get fancy, you could open up his CRE with Near Infinity and replace SC#HubX with a more intelligent script, but that takes more work, and more explaining.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...