Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   Baldurs Gate II: Shadows of Amn & Throne of Bhaal (http://www.ironworksforum.com/forum/forumdisplay.php?f=12)
-   -   A Question For The Game Modders Out There. (http://www.ironworksforum.com/forum/showthread.php?t=9996)

Dundee Slaytern 10-12-2002 02:14 AM

Are the following portions of code valid?
</font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">// Cast Melf's Acid Arrow at a target
IF
ActionListEmpty()
See(GroupOf([ENEMY]))
CheckStat(GroupOf([ENEMY]),0,MINORGLOBE)
CheckStat(GroupOf([ENEMY]),0,SHIELDGLOBE)
!StateCheck(GroupOf([ENEMY]),STATE_MIRRORIMAGE)
HaveSpell(WIZARD_MELF_ACID_ARROW)
THEN
RESPONSE #100
Spell(GroupOf([ENEMY]),WIZARD_MELF_ACID_ARROW)
END</pre>[/QUOTE]</font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">// Cast Strength on party members when enemies are not around.
IF
ActionListEmpty()
!See(NearestEnemyOf(Myself))
StateCheck([ALLY],STATE_NORMAL)
THEN
RESPONSE #100
Spell([ALLY],WIZARD_STRENGTH)
END</pre>[/QUOTE]

[ 10-12-2002, 02:15 AM: Message edited by: Dundee Slaytern ]

White Lancer 10-12-2002 02:22 AM

Doing some scripting dundee? I can't answer your question, but i have one of my own to ask. Does anyone know of a tutorial for scripting, ive looked at the one that comes with the game, and all it does is confuse me. Is there a simpler one, with examples for basic scripts?

BTW, where is that file? and what is it called? ill go have another look at it, see if i can figure it out.

[ 10-12-2002, 02:26 AM: Message edited by: White Lancer ]

White Lancer 10-12-2002 02:33 AM

never mind, found it.

Vedran 10-12-2002 03:54 AM

Here are TeamBG Tutorials.

[ADD
D3 tutorial has many links you could find interesting, particularly message boards. They could answer your question quicker, Dundee.

[ 10-12-2002, 04:15 AM: Message edited by: Vedran ]

Dundee Slaytern 10-12-2002 04:24 AM

Well... my question in TeamBG is collecting dust. [img]tongue.gif[/img] I will try the other forums.

ADD] Grrrr... some of the links do not work... ... Anybody has any idea where I can find the .ids files for Icewind Dale and Throne of Bhaal? I got the SoA ones already.

For my next question, if I want my Mage to cast Strength on the other party members when enemies are not around, and I want him to cast on specific targets, is there a way to instruct him to ignore particular targets instead of doing multiple scripts for every single type of class/class combination?

[ 10-12-2002, 04:28 AM: Message edited by: Dundee Slaytern ]

Kaltia 10-12-2002 05:19 AM

http://forums.forgottenwars.net/index.php?board=29
This is from the forgotten wars team, who made kelsey-they might be able to help you?

White Lancer 10-12-2002 09:25 AM

I downloaded and installed TeamBG's infinity script editor. All nice and fine and dandy. Then i go to run it and what happens? I get an error. the error reads:
"Component 'comdlg32.ocx' or one of it's dependencies not correctly registered: a file is missing or invlid."

Do i need to find this file somewhere, or am i screwed?

andrewas 10-12-2002 10:23 AM

AT a guess, go find the VB6 runtime, its on teambgs site so some of their tools must need it.

Dundee, I dont know enough IE scripting to analyse that past syntax, but it look OK to me. Are you having problems with it?

Alson 10-12-2002 10:34 AM

Quote:

Originally posted by Dundee Slaytern:
For my next question, if I want my Mage to cast Strength on the other party members when enemies are not around, and I want him to cast on specific targets, is there a way to instruct him to ignore particular targets instead of doing multiple scripts for every single type of class/class combination?
What "specific target" would that be?
Only fighters-types?
Only characters with STR < X?
That can easily be done...

I have a little scripting knowledge myself, maybe i can help...
PM me. [img]smile.gif[/img]

White Lancer 10-12-2002 11:29 AM

OK, re-read the tutorial, it says i need VB5 from the teambg site. Just wet back there, but it is 'offline'. Anyone know where else i can get these files?


All times are GMT -4. The time now is 11:28 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved