Jump to content


Photo

Need someone to proofread script


  • Please log in to reply
5 replies to this topic

#1 Topaz

Topaz
  • Member
  • 24 posts

Posted 14 September 2004 - 07:41 AM

It's way too big (2000 lines) to show in a message and it behaves a bit cranky... see my RandomNum() post. It enhances the BGTutu mages... it should... but because of it's size I think it goes too slow, and the randomnums really piss me off.

So anyone who knows enough about scripts and has Tutu please answer or pm!

#2 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 14 September 2004 - 07:49 AM

It's two thousand lines long?

If you want bugs, try compiling it (by WeiDU or whatever) and addressing the bug report it gives you.

#3 Yovaneth

Yovaneth

    The newly-appointed Master Builder of Baldur's Gate

  • Modder
  • 3058 posts

Posted 15 September 2004 - 10:49 AM

I think Shed's right there - run it through Weidu or Near Infinity and see what it comes up with. 2000 lines isn't that much of a problem for the BG2 Infinity Engine; the old and much-loved gSeries 'gMulti' script is over 10,000 lines (say 8000 without whitespace) and even my old AMD450 ran that script on six characters without noticable slowdown. It was wickedly effective too - even now I still use it for multiclass mages in preference to any other script.

The trick is to keep track of all that is going on; if there is no requirement to do anything, then bomb out of the script.

Word of warning; if you use Near Infinity then you will need the current BETA version to be sure of BG1-type compatibility and don't forget to put all of the ids files into your override directory.

I don't have Tutu, so I can't really help there.

-Y-

Edited by Yovaneth, 15 September 2004 - 10:52 AM.


#4 Topaz

Topaz
  • Member
  • 24 posts

Posted 16 September 2004 - 08:38 AM

Thanks for your responses. Maybe I was a bit unclear. I ran the script trough weidu and NI so compiling isn't the problem. It enhances the enemy mages, not party members. Good to know 2000 lines is peanuts :).

The script runs fine in game, but there are some problems with
*RandomNums which always seem to trigger
*mages who talk right away after you see them (EDIT: when meeting them right away after entering) : they wait too long before casting (I solved that somewhat by changing _initdlg.bcs, but they are still somewhat slower, I think). I think it happens because the spell memorization is done with globals (as for every level and kit of a mage).
*guys who don't cast once every round but like once every 1.5 rounds. I have lowered the castnattack timer to 4, but I guess that's not really necessary
* and things that'll pop up later, I'm sure

Erm... actually you don't need Tutu to check it out, but as I wrote this, I always had to see the effect in-game. Probably that counts for you too.

Come on, if I can write a script, YOU certainly can proofread it.

EDIT: I'll just add the weidumod to speed things up... the script is named tutumages.baf.

Attached Files


Edited by Topaz, 17 September 2004 - 04:00 AM.


#5 Yovaneth

Yovaneth

    The newly-appointed Master Builder of Baldur's Gate

  • Modder
  • 3058 posts

Posted 17 September 2004 - 09:40 AM

Come on, if I can write a script, YOU certainly can proofread it.


Not at the moment :) . I'm working two jobs a week and also trying to work on a mod.... anything else is likely to break my back!!!!

-Y-

#6 SimDing0

SimDing0

    GROUP ICON

  • Member
  • 1654 posts

Posted 18 September 2004 - 01:34 AM

This looks interesting. I'll take a look when I get the time.
Repeating cycle of pubes / no pubes.

A Comprehensive Listing of IE Mods