Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > Baldurs Gate II: Shadows of Amn & Throne of Bhaal
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 10-12-2002, 02:14 AM   #1
Dundee Slaytern
Ironworks Moderator
 

Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
Are the following portions of code valid?
code:
// 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
[/QUOTE]
code:
// 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
[/QUOTE]

[ 10-12-2002, 02:15 AM: Message edited by: Dundee Slaytern ]
Dundee Slaytern is offline   Reply With Quote
Old 10-12-2002, 02:22 AM   #2
White Lancer
Drizzt Do'Urden
 

Join Date: August 30, 2002
Location: Australia
Age: 39
Posts: 628
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 ]
__________________
It deons\'t mttaer waht oredr the ltteers in a wrod are, it olny mtaetrs taht the frsit and lsat ltteer be croecrt. The rset can be a tatol mses and you can sitll raed it. The huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
White Lancer is offline   Reply With Quote
Old 10-12-2002, 02:33 AM   #3
White Lancer
Drizzt Do'Urden
 

Join Date: August 30, 2002
Location: Australia
Age: 39
Posts: 628
never mind, found it.
__________________
It deons\'t mttaer waht oredr the ltteers in a wrod are, it olny mtaetrs taht the frsit and lsat ltteer be croecrt. The rset can be a tatol mses and you can sitll raed it. The huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
White Lancer is offline   Reply With Quote
Old 10-12-2002, 03:54 AM   #4
Vedran
Lord Soth
 

Join Date: July 28, 2002
Location: Sisak, Croatia
Age: 40
Posts: 1,930
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 ]
__________________
Dulce et decorum est pro patria mori, adhuc dulcius pro patria vivere.
(It is sweet and glorius to die for one's homeland, even sweeter to live for it)
Horatio
Vedran is offline   Reply With Quote
Old 10-12-2002, 04:24 AM   #5
Dundee Slaytern
Ironworks Moderator
 

Join Date: June 10, 2001
Location: Pasir Ris, Singapore
Age: 42
Posts: 11,063
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 ]
Dundee Slaytern is offline   Reply With Quote
Old 10-12-2002, 05:19 AM   #6
Kaltia
Jack Burton
 

Join Date: May 2, 2002
Location: Canterbury, England
Age: 38
Posts: 5,817
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?
Kaltia is offline   Reply With Quote
Old 10-12-2002, 09:25 AM   #7
White Lancer
Drizzt Do'Urden
 

Join Date: August 30, 2002
Location: Australia
Age: 39
Posts: 628
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?
__________________
It deons\'t mttaer waht oredr the ltteers in a wrod are, it olny mtaetrs taht the frsit and lsat ltteer be croecrt. The rset can be a tatol mses and you can sitll raed it. The huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
White Lancer is offline   Reply With Quote
Old 10-12-2002, 10:23 AM   #8
andrewas
Harper
 

Join Date: October 2, 2001
Location: Aberdeen, Scotland
Age: 43
Posts: 4,774
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?
__________________
[img]\"http://www.sighost.us/members/Zvijer/andrewas.gif\" alt=\" - \" />
andrewas is offline   Reply With Quote
Old 10-12-2002, 10:34 AM   #9
Alson
Galvatron
 

Join Date: December 14, 2001
Location: Israel
Age: 38
Posts: 2,187
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]
__________________
In memory of Ilan Ramon - the first Israeli astronaut.<br /><br /><br />[url]\"http://members.chello.nl/~j.vanthull/BG2SR/Home.htm\" target=\"_blank\">BGII Spells Reference</a> - everything you ever wanted to know about spells!
Alson is offline   Reply With Quote
Old 10-12-2002, 11:29 AM   #10
White Lancer
Drizzt Do'Urden
 

Join Date: August 30, 2002
Location: Australia
Age: 39
Posts: 628
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?
__________________
It deons\'t mttaer waht oredr the ltteers in a wrod are, it olny mtaetrs taht the frsit and lsat ltteer be croecrt. The rset can be a tatol mses and you can sitll raed it. The huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
White Lancer is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any modders out there? Froberg General Discussion 0 04-30-2005 01:31 PM
For all modders out there SecretMaster Miscellaneous Games (RPG or not) 6 11-27-2003 05:55 AM
Game question Tyrion Miscellaneous Games (RPG or not) 16 03-03-2003 11:58 AM
Sazerac or Memnoch plz read this...or DJG or any other modders FelixJaeger Baldurs Gate II: Shadows of Amn & Throne of Bhaal 9 07-16-2002 04:28 PM
End of game question Raptor Baldurs Gate II Archives 1 03-13-2001 08:51 PM


All times are GMT -4. The time now is 11:54 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