tSeries

A Gibberlings Three Mod
Author: Eric Kerr (aka Cirerrek)

Version 1.2 - Check for the most recent version

Overview

Like the eSeries for BG2, tSeries is a set of Player AI scripts for Planescape: Torment. The basis for these scripts comes from Gebhard Blucher's Planescape: Torment Player AI Scripts. I borrowed the scripts that he created and expanded upon them so that they are a bit more comprehensive in terms of spell usage and item usage.

I have used the scripts to complete the game. They were tested with all of the NPCs except Ignus. The scripts appear to function well, given the limits of this version of the scripting language. While I thoroughly enjoyed playing Planescape: Torment, I probably don't plan on another run through. That being the case, unless there are any major bugs in the scripts, this will probably be the final version that I assemble. If you like the scripts and want to improve or expand upon them, the source code is included in the download, so feel free to modify them however you would like. I would just ask that you please credit Gebhard Blucher and I if you place the scripts up for public download.

The scripting language in Planescape: Torment is definitely limited in comparison to the scripting commands available in some of the more recent IE games, but the language still allows for the automation of some tasks, like spell casting, item usage, attacking, and hiding in shadows. The scripts will target the nearest enemy and attack them by whatever means they have available and deem appropriate based on experience point checks of their nearest foe.

The scripts make liberal use of ActionListEmpty(), which means that if you tell them to do something, they will do it rather than following their scripted commands. There is one exception to this rule and that is in the case where a character(s) is low in hitpoints and still under attack. In this case, they will run away from their attacker for a set period of time. If you want the character to stay in combat despite their injuries, you will need to get them healed or turn off the party AI. One other item of note is for Annah or TNO to automatically hide in shadows, they must have a Stealth skill of at least 75%; otherwise, this function will not be activated.

Compatibility

This mod is designed to work with Planescape: Torment. At present there are no known incompatibilities.

Installation

Windows
The tSeries is packaged and installed with WeiDU and is distributed as a self-extracting archive. To install, simply double-click the archive and follow the instructions on screen.

Alternatively the files can be extracted from the archive using WinRAR. If properly extracted, you should have a tseries folder and Setup-tseries.exe in your Ps:T folder. To install, simply double-click Setup-tseries.exe and follow the instructions on screen.

Please run Setup-tseries.exe in your Ps:T folder to reinstall, uninstall or otherwise change components.

Mac OS X
If the mod was previously installed, uninstall it before extracting the new version. The tSeries is packaged and installed with WeiDU. To install, simply extract the contents of the mod into your Ps:T folder.  If properly extracted, you should have a tseries folder, Setup-tseries, and Setup-tseries.command in your Ps:T folder. To install, simply double-click Setup-tseries.command and follow the instructions on screen.

Contents

The basis for these scripts comes from Gebhard Blucher's Planescape: Torment Player AI Scripts. I borrowed the scripts that he created and expanded upon them so that they are a bit more comprehensive in terms of spell usage and item usage.

The pack contains both the .baf and the .bcs files for the scripts, as follows:

I have used the scripts to complete the game. They were tested with all of the NPCs except Ignus. The scripts appear to function well, given the limits of this version of the scripting language. While I thoroughly enjoyed playing Planescape: Torment, I probably don't plan on another run through. That being the case, unless there are any major bugs in the scripts, this will probably be the final version that I assemble. If you like the scripts and want to improve or expand upon them, the source code is included in the download, so feel free to modify them however you would like. I would just ask that you please credit Gebhard Blucher and me if you place the scripts up for public download.

Known Issues:

  1. For some reason, The Nameless One (TNO) appears to 'space out' from time to time and I have not been able to determine why. The 'spacing out' does not affect any of the other NPCs, which is part of the reason the problem has me baffled, as his script isn't really all that much more complicated than the scripts for the other NPCs.
  2. TNO is a rather unique character in that he can change classes during the course of the game. This causes a problem with the scripts in that TNO can still cast spells that he has memorized as a mage, even when he is currently not a mage. Some may find this a rather nifty loophole and others might be adverse to allowing TNO to continue to cast spells even while not a mage. Currently I have left it so that he can cast spells no matter his class. If there are enough calls for the feature, I believe I can use Class(Myself, MAGE) checks to prevent TNO from spell casting while not a Mage.

Script Features

The scripting language in Planescape: Torment is definitely limited in comparison to the scripting commands available in some of the more recent IE games, but the language still allows for the automation of some tasks, like spell casting, item usage, attacking, and hiding in shadows. The scripts will target the nearest enemy and attack them by whatever means they have available and deem appropriate based on experience point checks of their nearest foe. The experience scale the scripts use for spell targeting breaks down in the following manner:

Melee and Missile attacks are handled on a nearest enemy basis and do not rely on the experience scale.

Finally, the scripts make liberal use of ActionListEmpty(), which means that if you tell them to do something, they will do it rather than following their scripted commands. There is one exception to this rule and that is in the case where a character(s) is low in hitpoints and still under attack. In this case, they will run away from their attacker for a set period of time. If you want the character to stay in combat despite their injuries, you will need to get them healed or turn off the party AI. One other item of note is for Annah or TNO to automatically hide in shadows, they must have a Stealth skill of at least 75%; otherwise, this function will not be activated.

Wizard Spells: Offensive Wizard Spells: Defensive Wizard Spells: Healing
  • Chromatic Orb
  • Magic Missile
  • Missile of Patience
  • Blindness
  • Tongues of Flame
  • Seeking Flames
  • Vilquar's Eye
  • Reign of Anger
  • Pacify
  • Adder's Kiss
  • Black-Barbed Curse
  • Swarm Curse
  • Horror
  • Ignus' Terror
  • Infernal Orb
  • Ball Lightning
  • Elysium's Tears
  • Hold Undead
  • Tasha's Unbearable Derisive Laughter
  • Vampiric Touch
  • Ax of Torment
  • Elysium's Fires
  • Blacksphere
  • Force Missiles
  • Cloudkill
  • Cone of Cold
  • Desert Hell
  • Fire and Ice
  • Howl of Pandemonium
  • Chain Lightning Storm
  • Acid Storm
  • Blade Storm
  • Stygian Ice Storm
  • Meteor Storm Bombardment
  • Death Bolt
  • Ignus' Fury
  • Power Word, Blind
  • Mechanus' Cannon
  • Celestial Host
  • Conflagration
  • Power Word, Kill
  • Abyssal Fury
  • Shield
  • Scripture of Steel
  • Submerge the Will
  • Black Barbed Shield
  • Pain Mirror
  • Blur
  • Power of One
  • Strength
  • Zerthimon's Focus
  • Balance in All Things
  • Infernal Shield
  • Improved Strength
  • Enoll Eva's Duplication
  • Greater Embalming
  • Minor Embalming
  • Blood Bridge: Not Scripted!
Priest Spells: Offensive Priest Spell: Defensive Priest Spells: Healing
  • Call Lightning
  • Spiritual Hammer
  • Curse
  • Halo of Lesser Revelation
  • Prayer
  • Flamewalk
  • Aid
  • Blessing
  • Protection from Evil
  • Heal
  • Cure Critical Wounds
  • Cure Serious Wounds
  • Cure Moderate Wounds
  • Cure Light Wounds
Innate: Offensive Innate: Defensive Innate: Healing
  • Litany of Curses: Morte
  • Skull Mob: Morte
  • Kiss: Fall-from-Grace
   
Items: Offensive Items: Defensive Items: Healing
  • Fanged Mirror of Yehcir-Eya
  • Ring of Fallen Stars
  • Scent of the Storm
  • Shackles of Light
  • Abyssal Pipe
  • Black-Barbed Branch Wand
  • Adder's Tear
  • Corpse Fly Charm
  • Shamanic Rod
  • Thrice-Blind Charm
  • Scroll of Call Lightning
  • Sadistic Frame
  • Knot Charm
  • Bone Charm
  • Charcoal Charm
  • Whispering Flask: Dak'kon
  • Dustman Embalming Charm, Greater: TNO, Morte
  • Dustman Embalming Charm, Lesser: TNO, Morte
  • Jar of Embalming Fluid: TNO, Morte
  • Rod of Modron Might: TNO
  • Cockroach Charm
  • Heart Charm
  • Blood Charm
  • Blood Fly Charm
  • Clot Charm
  • Needle and Thread
  • Bandages

Contact Information

The basis for these scripts comes from Gebhard Blucher's Planescape: Torment Player AI Scripts. Eric Kerr (aka Cirerrek) borrowed the scripts that Gebhard Blucher created and expanded upon them so that they are a bit more comprehensive in terms of spell usage and item usage. You can visit The Gibberlings Three for information on this and any other mods on which we may be working.

Thanks and Acknowledgements

Black Isle Studios - For producing such an excellent RPG
Bioware - For the Infinity Engine and making such an outstanding RPG
Sarkyn (Greg Hodgson) - gSeries and gMinion
Xyx (Jochem van't Hull) - General Insight and Helpfulness
GBlucher (Gebhard Blucher) - GB-Scripts, Torment AI Scripts, Torment fixes
Rich Martel - uScript
TeamBG - Editors, Tutorials, Forums
BWScripts - Defunct but not forgotten
BGScripts - Where player AI scripting really came to life
Jon Hauglid - Near Infinity and eSeries Debugging
SimDing0 - A little of this, a little of that, and all very helpful
Max (aka Potencius) - a font of information about everything Infinity Engine
Ivann Alvarado - XpertAi (IWD)
Grog - Smart Scripts
Jessica Kerr - seriously reducing my risk of developing carpal tunnel syndrome
Platter - Torment Fixes
Cilantro - Torment Restoration Project
Göran Rimén - scripting tutorials, script segments, etc.
CamDawg - hosting, installation package, G3'ifying documentation

Tools Used in Creation
WeiDU by Wes Weimer
Near Infinity by Jon Olav Hauglid
IESDP maintained by igi
DLTCEP by Avenger

Credits and Copyright Information

Permission is granted to use and modify the contents of this mod, as long as credit is given to Cirerrek and the original authors and support is handled by the modifying party.

Version History

Version 1.2

Version 1.1

Version 1.0

Version Beta_v0.6

Version Beta_v0.5

Version Beta_v0.4