View Single Post
Old 02-27-2003, 01:21 PM   #1
Dundee Slaytern
Ironworks Moderator
 

Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
I made a simple Archer script for use in the BG1 game. It is by no means complete( according to what I want), but I would like to give it a trial run before I make it more complicated.

You may download both the compiled code, and the source code at the following link,

Click Here

They are compressed in a WinZip file. The .baf file can be viewed in Wordpad. The .bs file is meant to go into the scripts folder at,

C:\Program Files\Black Isle\Baldur's Gate\scripts

To use the script, simply go to your script menu and scroll all the way to the bottom.

If all goes well, this should be what you can expect.

User drinks Antidotes, Elixirs of health and Potions of Healing when appropriate. Note, user will not drink a healing potion if the user's total HP is too low. It only starts to kick in when the user has 18+ HP.

User will drink Potions of Agility if the opponent he faces is of 1400+ XP value, and his DEX is below 1 this should eliminate the problem of hoarding too [img]tongue.gif[/img] ). Note that this is ignored if you are facing either slimes or spiders.

User will favour ranged combat, but will switch to melee if surrounded. When not surrounded, user will attempt to retreat for better ranged combat.

User will not chase after panicked targets, but switch to range and poke them in the back dishonourably. [img]tongue.gif[/img]

[ 02-27-2003, 01:23 PM: Message edited by: Dundee Slaytern ]
Dundee Slaytern is offline   Reply With Quote