![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1 |
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) |
![]() |
![]() |
![]() |
#2 |
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=\" - \" /> |
![]() |
![]() |
![]() |
#3 |
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. |
![]() |
![]() |
![]() |
#4 |
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.
|
![]() |
![]() |
![]() |
#5 |
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) |
![]() |
![]() |
![]() |
#6 |
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 |
![]() |
![]() |
![]() |
#7 |
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) |
![]() |
![]() |
![]() |
#8 | |
Dracolich
![]() Join Date: January 24, 2004
Location: UK
Age: 42
Posts: 3,092
|
Quote:
[ 03-01-2004, 10:14 AM: Message edited by: shamrock_uk ] |
|
![]() |
![]() |
![]() |
#9 |
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.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
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 |