DETAILED wild surge table?
pekirt
Member Posts: 111
Hi everyone,
There are many tables available for wild surge rolls, such as the one in the manual or at http://www.planetbaldursgate.com/bg2/character/classes/tables/wildsurge.shtml . What I'm looking for is a DETAILED table. In addition to the columns shown in the links (d100 Roll | Description) it should also include a column for the notification shown on screen and a detailed explanation, if required.
For example:
d100 | Explanation | Text on screen | Detailed explanation
------------------------------------------------------
67 | Target strengthened | Wild Surge: Strengthened | Casts Strength as a 5th level divine caster on target
(I just made the last part up, as I don't know what's going on.)
Is there such a table out there?
Thanks a lot.
PS: A lot of the tables in the manuals could do with a bit more detail, but that's another topic...
There are many tables available for wild surge rolls, such as the one in the manual or at http://www.planetbaldursgate.com/bg2/character/classes/tables/wildsurge.shtml . What I'm looking for is a DETAILED table. In addition to the columns shown in the links (d100 Roll | Description) it should also include a column for the notification shown on screen and a detailed explanation, if required.
For example:
d100 | Explanation | Text on screen | Detailed explanation
------------------------------------------------------
67 | Target strengthened | Wild Surge: Strengthened | Casts Strength as a 5th level divine caster on target
(I just made the last part up, as I don't know what's going on.)
Is there such a table out there?
Thanks a lot.
PS: A lot of the tables in the manuals could do with a bit more detail, but that's another topic...
Post edited by pekirt on
0
Comments
I can probably do it if it's not more complex/time consuming than:
* Install NearInfinity or DLTCEP
* Open such-and such game file
* Read off spell/effect values
Which file should I look at, if I want to do this?
Can I post my result here, or is it some super-duper-copyrighted-material?
@Dee , whom should I invoke to ask these questions?
Thanks.
PS: I'm not a n00b in (A)D&D or BG. I can do very basic programming (I know just enough to write my numerical solution codes in f77/c++/python). However, I haven't used DLTCEP or NE before.
Go ahead and post results.
I did a quick scan before taking off to work today, and it seems I've got my work cut out for me. For example: SPWM107.SPL, which is the result of roll 7 and changes the gender of the caster, has the spell name "Squirrels". Fun, eh?
I don't have time to do this in one sitting. I'll devote an hour or so in the evenings (GMT+2) and post my progress below.
Now, off to work.
Example: The first colum would be the d100 result, the second the spell effect used (referring to SPWM1xx.spl file I assume), the third is the text displayed I'd think. Now obviously the "*" here stands for SPWM106. But, how does the code know that?
Anyhow, I'll assume the obvious and try to compile all spell effects and texts.
EDIT: I feel like reinventing the wheel when everybody's riding around in hovercars, but if you gotta learn, you gotta start somewhere. I just found out about http://www.ugcs.caltech.edu/~jedwin/baldur.html and http://iesdp.com/ , not to mention http://www.idi.ntnu.no/~joh/ni/types.html . Fun.
EDIT 2: I think I've got the answer to the asterisk question. The second row in a 2DA file is supposed to reference the default value to be used. The second row also has an asterisk, so I'd guess it refers to a parameter passed. What parameter would you pass? Why, the spell that caused the wild surge, of course! I'd say the * rows represent the original spell going off, but in a changed way (the target changes, for example). I'm just guessing though... If I'm right, then the wild surge table in the link http://www.planetbaldursgate.com/bg2/character/classes/tables/wildsurge.shtml is wrong.
This was just 100 look-up/copy-pastes, so I was too lazy to write a script for it... But I'll also write a sed/awk bash script later... Unless somebody already has it? @Jalily ?
Also... Say I want to change only a few strrefs in dialog.tlk. For example, I want STTREF 340 (roll result 14) to read as "Caster Held" as opposed to "Held". Editing dialog.tlk and putting it in the override folder would be one solution, but a bad solution. Is there another way?
EDIT: Just a little bit of digging in the SPWMxxx.SPL files... Still trying to understand which parameter does what in the code. (They are usually documented, but the name doesn't necessarily match the effect.)