Jump to content


Submitter

SUPPORT TOPIC File Information

  • Submitted: May 23 2015 04:59 PM
  • Last Updated: Jul 24 2016 02:49 PM
  • File Size: 19.17K
  • Views: 4132
  • Downloads: 3547

Previous Versions

  • 12 Jul 2016 Download Simple Scripts 2.4
  • 07 Jul 2016 Download Simple Scripts 2.4
  • 03 Jun 2015 Download Simple Scripts 2.2
  • 31 May 2015 Download Simple Scripts 2.1
  • 31 May 2015 Download Simple Scripts 2.0
  • 31 May 2015 Download Simple Scripts 1.9
  • 28 May 2015 Download Simple Scripts 1.8
  • 27 May 2015 Download Simple Scripts 1.7
  • 27 May 2015 Download Simple Scripts 1.6
  • 26 May 2015 Download Simple Scripts 1.5
  • 25 May 2015 Download Simple Scripts 1.4
  • 24 May 2015 Download Simple Scripts 1.3
  • 24 May 2015 Download Simple Scripts v1.2 1.2
  • 23 May 2015 Download Simple but effective AI scripts 1.1
  • 23 May 2015 Download Simple but effective AI scripts 1.1
  • 23 May 2015 Download Simple but effective AI scripts 1.0
  • 23 May 2015 Download Simple but effective AI scripts 1.0

Download Simple Scripts 2.4

- - - - -



After searching for numerous places to find useful scripts, I made some simple ones of my own that I'm sharing here.  I've found all spell casting scripts to be useless, and while I quite like having the control while AI is off completely, there are certain things that are too repetitive and rather more effective when done by the AI.  There are text files included of the scripts for easy reference.  The scripts should work for BG2, BGT and Tutu.
 
There is a separate file with the scripts made compatible for BG1.  There are a lot of limitations in the actions that can be scripted in BG1.  The two scripts included for BG1 are tweaked versions of the ones already included in the game that I find give bit more direct control of the characters.
 
attack.bs: (BG2)
Standard attack mode, attacking when enemies are nearby, using whatever weapon is currently equipped.  If able, the character will detect traps when idle.
 
Hotkey F (toggle): Forces the character to detect traps constantly, if able, even if being attacked.
"Find Traps" will be displayed above the character when forced to detect traps and "Certainly!" when turned off.
 
Hotkey S (toggle): The character will hide in shadows, if able, but will attack when enemies are nearby.  In order to backstab the game does require to be hidden and somewhat behind the opponent.  Unfortunately there is no way to control the way a character approaches an enemy when attacking with a script.  I have created a separate toggle activated with the hotkey B described blow, which will prevent an invisible character to attack when enemies are nearby.  This allows manual control of the first attack while invisible for a possible backstab.
"Hide In Shadows" will be displayed above the character when hiding in shadows and "Certainly!" when turned off.
 
Hotkey B (toggle): An invisible character will not attack if enemies are nearby.  After becoming visible the character will attack as normal.
"Invisible" will be displayed above the character when trying to stay invisible and "Certainly!" when turned off.
 
Hotkey D (toggle): The character will turn undead when undead enemies (but not friendly undead) are nearby, if able, unless forced to detect traps or invisible.
"Turn Undead" will be displayed above the character when turning undead and "Certainly!" when turned off.
 
Hotkey V (toggle): A bard will sing constantly, even if being attacked.
"Singing Battlesong" will be displayed above the character when singing and "Certainly!" when turned off.
 
ranged.bs: (BG2)
Same as above, except preferring a ranged weapon.  If an enemy is within 4 squares (2-handed weapon can reach from 2 squares away), the character will switch to a melee weapon, otherwise the character will equip and use a ranged weapon.
 
none.bs:
An empty script that turns off AI for a specific character.
 
attack.bs: (BG1)
Standard attack mode, attacking when enemies are nearby, using whatever weapon is currently equipped.
 
ranged.bs: (BG1)
The character will equip and use a ranged weapon.  If an enemy is within 4 squares (2-handed weapon can reach from 2 squares away), the character will switch to a melee weapon.
 

What's New in Version 2.4 (See full changelog)

  • Changes in 2.4:
  • I incorporated the functionality of the scripts attackS.bs and rangedS.bs into attack.bs and ranged.bs with the hotkey B.
  • Changes in 2.3:
  • attack.bs and ranged.bs have been modified to allow a character that is invisible to attack as normal.
  • The original scripts have been renamed to attackS.bs and rangedS.bs, which will prevent an invisible character to attack when enemies are nearby.
  • Added none.bs, an empty script that turns off AI for a specific character.
  • Changes in 2.2:
  • Some fixes and tweaks.
  • Changes in 1.4:
  • Removed the shout for help commands altogether as I found them useless in practice.
  • Inserted the bard script into both scripts that is now triggered with V.
  • Some tweaks and fixes.
  • Changes in 1.3:
  • Changed some of the code that prevented the "Shout" command from working properly. Originally I was using "Help", but in my testing it didn't seem to work in BGT and "Shout" seems like a better option.
  • Made Turn Undead switched off by default.
  • Fixed the behavior of attacking undead normally when Turn Undead is off.
  • Changes in 1.2:
  • I combined all the different scripts I had previously and made various other changes.
  • Added hotkeys to allow change of behavior, depending on the character abilities.






13 user(s) are online (in the past 30 minutes)

0 members, 11 guests, 0 anonymous users


Bing (2)