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 02-29-2004, 08:38 AM   #1
karlosovic
Drizzt Do'Urden
 

Join Date: December 1, 2002
Location: Newcastle, Australia
Age: 47
Posts: 636
Im playing SOS mod and I want to rewrite Charlottes script. Thing is, I dont know which file it would be, and even if I did... I have no idea what to do to edit it. Like, what application to even open it in.

actually, if anyone knows the file her script is in, do you know if I can just safely delete it ? If so, what is the file name ?
__________________
Sunglasses of Coolness +2<br /><br />Cernd: \"It is with great pride and pleasure that I accept this Most Valuable Player award....\"<br />(from the genius of Six of Spades)
karlosovic is offline   Reply With Quote
Old 02-29-2004, 11:21 AM   #2
andrewas
Harper
 

Join Date: October 2, 2001
Location: Aberdeen, Scotland
Age: 43
Posts: 4,774
Download and use the NearInfinity program to edit scripts. You'll also need to find documentation on the scripting language.

As for what file her script is in, view with the overrides seperate and find her .cre file, it will list all her script file.
__________________
[img]\"http://www.sighost.us/members/Zvijer/andrewas.gif\" alt=\" - \" />
andrewas is offline   Reply With Quote
Old 03-01-2004, 04:54 AM   #3
LennonCook
Jack Burton
 

Join Date: November 10, 2001
Location: Bathurst & Orange, in constant flux
Age: 38
Posts: 5,452
The basic syntax for a script is:
IF
checkstuff
THEN
RESPONSE #weight
dostuff
END

Where checkstuff is one or more entries in TRIGGER.IDS (view in Near Infinity), dostuff is one or more entries in ACTION.IDS and weight is the percent chance of dostuff occuring.
By default, the check is an implied AND query - all triggers must return true for the script to fire. You can, however, use OR(num) to use an OR query for the next num triggers. That is, the OR() returns true if ANY of the triggers it controls are true.

The simpler way to find Charlottes script using Near Infinity: Search - CRE, STO, ITM, SPL ; select the 'Creature' option button, and type 'Charlotte' (making sure the spelling is exactly as it appears ingame). There should be several results, but they will hopefully just be different joining levels for the same character. Double click on one of them, and the script file will be referenced there somwhere. Open it using File - Open File - Internal File, and typing the name as you see it listed.
LennonCook is offline   Reply With Quote
Old 03-01-2004, 05:55 AM   #4
SimDing0
Dungeon Master
 

Join Date: January 21, 2004
Location: UK
Age: 38
Posts: 73
There's a fairly detailed scripting guide available, which might be vaguely useful.
SimDing0 is offline   Reply With Quote
Old 03-01-2004, 09:51 AM   #5
karlosovic
Drizzt Do'Urden
 

Join Date: December 1, 2002
Location: Newcastle, Australia
Age: 47
Posts: 636
thanks for the info guys... how big is near infinity ? I'm only on dial-up. Can something else be used to edit the files ? eg some sort of programming IDE ? (visual studio, etc)

also, if I found the script and deleted it, will the game just default to no script or will it crash when it cant find a file it needs ?
__________________
Sunglasses of Coolness +2<br /><br />Cernd: \"It is with great pride and pleasure that I accept this Most Valuable Player award....\"<br />(from the genius of Six of Spades)
karlosovic is offline   Reply With Quote
Old 03-01-2004, 10:04 AM   #6
philip
Galvatron
 

Join Date: June 24, 2002
Location: aa
Posts: 2,101
it's only ~900kB so you should be ok [img]smile.gif[/img]

http://www.idi.ntnu.no/~joh/ni/download.html
philip is offline   Reply With Quote
Old 03-01-2004, 10:08 AM   #7
karlosovic
Drizzt Do'Urden
 

Join Date: December 1, 2002
Location: Newcastle, Australia
Age: 47
Posts: 636
ok I followed the link on SimDingOs post and that site has a link to NearInfinity... it needs bloody Java !! oh well, thats gonna have to wait a few days till I can get my java cd back

(if only it was an applet ....)

Edit: oops, that might be ok too... I checked the sun webite and the auto-updater thingo seems pretty small. I seem to remember the Java environment install as being quite large though, although I suppose that might have been all the tutorials and help files that came with it.... find out soon I guess

[ 03-01-2004, 10:14 AM: Message edited by: karlosovic ]
__________________
Sunglasses of Coolness +2<br /><br />Cernd: \"It is with great pride and pleasure that I accept this Most Valuable Player award....\"<br />(from the genius of Six of Spades)
karlosovic is offline   Reply With Quote
Old 03-01-2004, 10:12 AM   #8
shamrock_uk
Dracolich
 

Join Date: January 24, 2004
Location: UK
Age: 42
Posts: 3,092
Quote:
Originally posted by karlosovic:
also, if I found the script and deleted it, will the game just default to no script or will it crash when it cant find a file it needs ?
rename it instead of deleting it and find out that way. much safer [img]smile.gif[/img] shouldn't think a missing script would crash the game though if it's non-critical

[ 03-01-2004, 10:14 AM: Message edited by: shamrock_uk ]
shamrock_uk is offline   Reply With Quote
Old 03-01-2004, 12:03 PM   #9
SimDing0
Dungeon Master
 

Join Date: January 21, 2004
Location: UK
Age: 38
Posts: 73
A missing script causes the game to default to none, yeh. I can't think of an instance where it would crash the game.
SimDing0 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
How to write metaphors... dplax General Conversation Archives (11/2000 - 01/2005) 10 04-22-2004 05:40 PM
If you could write a song....... SomeGuy General Conversation Archives (11/2000 - 01/2005) 29 05-26-2002 04:11 PM
I'm going to write a story, vote for what you want in it /)eathKiller General Conversation Archives (11/2000 - 01/2005) 21 05-24-2002 01:20 PM
write something, guys 250 General Conversation Archives (11/2000 - 01/2005) 33 09-13-2001 07:58 PM
Can anyone write overide NPC scripts? Wizrobe Baldurs Gate II Archives 4 02-07-2001 11:11 AM


All times are GMT -4. The time now is 04:10 PM.


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