Aller au contenu

Photo

How do you use/toggle between Ease-of-use party AI?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Charlestonian Knight Templar

Charlestonian Knight Templar
  • Members
  • 981 messages

Hi everyone, I hope you are enjoying your Sunday.  I am currently installing BGT and at this moment, SCS (v)30.  

 

I use the standard AI on all of my NPCs when I play the game, trying to set it to what is most appropriate to the NPCs personality, race and class.  I like to do that b/c it adds a bit of randomness to the game and provides for some interesting in-game situations.

 

last time I played I used this 'Ease of Use Party AI' on Auren Aseph but I'm not sure it did anything more than it's first function, i.e. The character will fight, prioritising opponents who are not immobile and helpless, not fighting if they're trying to Turn Undead, and not wasting Melf's Minute Meteors, Energy Blades or Invisibility (the idea of this AI is to help you mop up weak opponents, so it conserves resources).

 

Here's the rub.  The next part says you can, '...shift the character between melee (D) and ranged weapons (F) using the hotkeys. 

If you'd rather that your character did not enter melee, you can toggle melee off by pressing (K). Characters with melee toggled off will fight if enemies are in weapon range but won't be proactive about getting into range....'  

 

Here's my question.  I don't know how to toggle or use hot keys, except that, e.g. if I want my 2nd NPC to do something I can 'click' the number 2 on my keyboard and that NPC will respond.  I would like my NPCs to do some, or all of these, at different times.  What are the keystrokes, or where is the console, needed to get the most out of this option?

 

Most of you know this component b/c I know most of you use SCS, but I also know that most of you play solo or individually play your NPCs...but I've cut and pasted the actual wording to the component below.  Any help is appreciated...as always.  Thanks, CKT

 

 

This AI script, suitable for all characters, is not intended to help you fight difficult battles, but it might make your life simpler (especially where pre-casting spells is concerned - SCS II virtually requires you to do a lot of precombat spellcasting of long-duration spells, but it's tedious to do manually.) The AI has 5 functions:

  1. The character will fight, prioritising opponents who are not immobile and helpless, not fighting if they're trying to Turn Undead, and not wasting Melf's Minute Meteors, Energy Blades or Invisibility (the idea of this AI is to help you mop up weak opponents, so it conserves resources). You can shift the character between melee (D) and ranged weapons (F) using the hotkeys. 
    If you'd rather that your character did not enter melee, you can toggle melee off by pressing (K). Characters with melee toggled off will fight if enemies are in weapon range but won't be proactive about getting into range.
  2. The character will cast some long-duration spells wwhen out of combat. There are 4 settings for this, which you can toggle through using (S). On setting 1, the character uses no spells. On setting 2 and up, the character will cast all of the following spells if they are memorized (and not already active): Stoneskin, Iron Skins, Armor, Melf's Minute Meteors, Goodberry.
  3. On setting 2 and up, the character will consume Goodberries if injured and out of combat. On setting 3 and up, the character will also consume potions of healing. On setting 4, the character will consume potions of extra-healing.
  4. On setting 2 and up, the character will automatically activate the following items once per day: the Cloak of the Stars; the Gargoyle Boots; the Belt of Fortitude.
  5. On setting 2 and up, the character will automatically cast low-level healing spells on the party if they have them. The casting is highly accelerated and cannot be done in combat; characters will only cast healing spells of a level 2 or more below the highest level of spells which they can cast.
  6. The character will cast some spells, by hotkey, on the whole party. This casting is highly accelerated, cannot be done in combat, and only casts on characters who are not already protected. Its main function is for later in the game when you can afford to carry enough spells to protect the whole party. The hot-keys are: C for Chaotic Commands; V for Death Ward; B for Protection from Fire, Protection from Lightning, and Protection from Magic Energy; Z for the paladin's Protection from Evil. (The latter key is already allocated to a hotkey (sleep) - sorry, I was running out of hotkeys. To use it you'll need to disable Z in the Configuration program. Later versions of SCS will feature a more flexible hotkey-allocation system.)


#2
Aasim

Aasim
  • Members
  • 1 361 messages

To use hotkeys on scripts - put mouse cursor over character sprite on main game screen (it's not enough to select him) and press the letter on the keyboard.



#3
Charlestonian Knight Templar

Charlestonian Knight Templar
  • Members
  • 981 messages

To use hotkeys on scripts - put mouse cursor over character sprite on main game screen (it's not enough to select him) and press the letter on the keyboard.

Thanks Aasim.  You've been a big help the last three, four days.  Almost done installing BGT and everything is working - including BGII Subrace!!!