![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1 |
Ironworks Moderator
![]() Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
|
To put it simply, I need some feedback on this AI Script that I have made for IWD+HoW.
Click Here If all goes well... the Paladin using this script will be able to do the following, Cast Sanctuary on self when HP falls below 25%. When in Sanctuary mode, the Paladin will not do anything on its own. The Paladin is now smart enough to drink Elixirs of Health and Antidotes when poisoned. Will also drink Mummy's Tea when diseased. Will drink health potions when HP falls below 50% (NOTE: If the healing factor outnumbers the missing HP, the potion will not be drunk). These includes Potion of Healing, Potion of Extra Healing and Elven Healing Wine. Will only drink when enemies are in sight. Will cast Cure Light/Moderate/Serious/Critical Wounds on self when HP falls below 50%. Will cast Heal when HP falls below 40%. Will only cast when enemies are in sight. Will cast buffers during combat every 2 rounds or so. These include Bless, Innate Protection from Evil, Protection from Evil, Aid (if enemy's XP value is 420+) and Draw Upon Holy Might (if enemy's XP value is 1400+). Will cast offensive spells on suitable targets. These include Smite Evil and Magical Stone (on Undead only). If the nearest target is far away, the Paladin will attempt to switch to ranged weaponary, else he will melee as per normal. A target is suitable for casting upon if... 1) Its' Magic Resistance is not higher than 40% 2) It is not invisible 3) It is not helpless already 4) It is not panicked 5) It is not Mirror Imaged 6) It is not Charmed The Paladin will only take notice of the nearest and the second-nearest enemy. The Paladin will only cast spells if he has not been Silenced and has a Casting Failure lower than 40%. |
![]() |
![]() |
![]() |
#2 |
The Magister
![]() Join Date: October 10, 2003
Location: New Zealand
Age: 55
Posts: 114
|
Cool, I'll try it! Do you have any other scripts?
kartetse --------------------- do da do, kick da goo and stay outta da zoo... |
![]() |
![]() |
![]() |
#3 |
Symbol of Moradin
![]() Join Date: June 5, 2002
Location: Slovenia,Ljubljana
Age: 37
Posts: 8,554
|
Dundee I can`t open your link.
|
![]() |
![]() |
![]() |
#4 | |
Ironworks Moderator
![]() Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
|
Quote:
However, it is still in the testing stage. Once I have satisfactorily self-tested it, I will put it to the test as well in public. There is no better way to find bugs than to let others use your script. [img]tongue.gif[/img] I have a partially completed Cleric/Ranger script, but I am having problems with it, because it causes the char to stutter. This same occured with the old Paladin script. The new Paladin script seems to have eliminated this bug though, so I am going to base the new C/R on the current Paladin script. Depressingly, this also means that this is the sixth time I am rewriting the C/R AI Script. ![]() I do not know whether to laugh or to cry when it comes to the Mage AI Script. It works, oh yes it does, but then again... it can always be better. I just cannot bear to say it is complete... because I keep finding new ways of improving this montrousity (it is the largest script, due to the numerous spells in the game and targetting factors and scrolls and wands and ~ etc...). By the by, the Paladin AI Script will also work for normal fighters, because it is basically my standard melee script that happens to cater to Paladins as well. The potion drinking will work no matter which char you use the script on. ---- ---- Xen, the link works fine. Just left-click on it. |
|
![]() |
![]() |
![]() |
#5 |
The Magister
![]() Join Date: October 10, 2003
Location: New Zealand
Age: 55
Posts: 114
|
So far so good. I'll apply the script to my two cleric/fighters? One strategy though that I've employed and believe would be difficult to mimic using a script is to have my fighter's wait for difficult opposition while having my ranged attack pelt the monsters until they fall upon my fighters, from where the melee is joined.
[img]graemlins/starwars.gif[/img] I'd love to try your other scripts when you're happy with them! kartetse --------------------- do da do, kick da goo and stay outta da zoo... [ 12-04-2003, 02:38 AM: Message edited by: kartetse ] |
![]() |
![]() |
![]() |
#6 | |
Ironworks Moderator
![]() Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
|
Quote:
Currently... the AI Script you have makes the char only attack hostiles with melee if they are within 10' of that char. For comparison purposes, a Fireball has a 15' radius. |
|
![]() |
![]() |
![]() |
#7 |
Symbol of Moradin
![]() Join Date: June 5, 2002
Location: Slovenia,Ljubljana
Age: 37
Posts: 8,554
|
Dundee I still can`t open the page. Been clicking it for 10 mins now.
![]() |
![]() |
![]() |
![]() |
#8 |
Ironworks Moderator
![]() Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
|
What errors are you getting? What browser are you using?
|
![]() |
![]() |
![]() |
#9 | |
Symbol of Moradin
![]() Join Date: June 5, 2002
Location: Slovenia,Ljubljana
Age: 37
Posts: 8,554
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Ironworks Moderator
![]() Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
|
Try this. Copy the shortcut (right-click on the link first), and paste the address directly in a new browser window.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
script question | el_kalkylus | Baldurs Gate II: Shadows of Amn & Throne of Bhaal | 2 | 06-13-2005 09:15 AM |
RE: Archer AI Script | Dundee Slaytern | Baldurs Gate & Tales of the Sword Coast | 5 | 02-28-2003 10:19 AM |
Script help | Lord Splynncryth | Dungeon Craft - RPG Game Maker | 2 | 09-15-2002 11:35 PM |
Script | Wedin | Icewind Dale | Heart of Winter | Icewind Dale II Forum | 3 | 04-06-2002 02:14 PM |
Anti-Paladin? Fallen Paladin? | cpm1972 | Baldurs Gate II Archives | 3 | 05-15-2001 12:34 AM |