1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

Custom Scripting with the Infinity Engine

Discussion in 'Whatnots' started by Mathetais, Mar 11, 2002.

  1. Mathetais Gems: 28/31
    Latest gem: Star Sapphire


    Joined:
    Apr 5, 2001
    Messages:
    2,767
    Likes Received:
    0
    [​IMG] okay ... I've been thinking of this since I've played BG, BG2 & IWD ... now with IWD2 coming out and time to re-play these other games ... I need to ask ...

    how do I make my own Scripts for my characters???

    I've had enough of Cleric Aggressive & Thief Ranged scripts. I want my thieves to attack in melee and search for traps when walking. I want my clerics to heal, attack and cast offensive spells. I want my mage to be proactve in combat without rushing into melee with her barefists after throwing all her darts.

    Can anyone help me???
     
  2. Extremist Gems: 31/31
    Latest gem: Rogue Stone


    Joined:
    Apr 3, 2001
    Messages:
    4,366
    Likes Received:
    0
    I don't have time for that sh*t Mat, sorry.
    I'm currently on real ingame scripts that use exactly the same system as these "behavior" ones.

    So, a few clues (for BG2)...

    There is a subfolder called "script compiler" inside the BG2 main folder. In my case it is here:
    C:bad:Program Files\Black Isle\BGII - SoA\script compiler
    You may find inside a "Quick Scripting Reference" that writes about most scripting commands. Yes, Bioware or BIS left out of it some commands, for example Ally(), but lets skip those, you may always ask for more when you become an expert.

    Besides that, you'll find a batch file called "compile.bat". Peek inside, if you don't know how to use or run it, post. It is used to compile your script in BAF file to BS file useable by the game.

    And BAF files?
    You create those with simple Notepad.
    I suggest you to take a look at "source" subfolder that is placed inside "script compiler" folder.

    You may also check for another scripting util available here on SP, however I'm not sure what it does since I couldn't be bothered with it. I mean, I'm totally satisfied with this one that comes with the game.
     
  3. Taluntain

    Taluntain Resident Alpha and Omega Staff Member ★ SPS Account Holder Resourceful Adored Veteran Pillars of Eternity SP Immortalizer (for helping immortalize Sorcerer's Place in the game!) New Server Contributor [2012] (for helping Sorcerer's Place lease a new, more powerful server!) Torment: Tides of Numenera SP Immortalizer (for helping immortalize Sorcerer's Place in the game!) BoM XenForo Migration Contributor [2015] (for helping support the migration to new forum software!)

    Joined:
    Jun 11, 2000
    Messages:
    23,653
    Media:
    494
    Likes Received:
    570
    Gender:
    Male
    [​IMG] The one on SP is for IWD (logically, since it's in the IWD subsection). It didn't come with the game.
     
  4. Extremist Gems: 31/31
    Latest gem: Rogue Stone


    Joined:
    Apr 3, 2001
    Messages:
    4,366
    Likes Received:
    0
    Last edited by a moderator: Dec 31, 2017
  5. Taluntain

    Taluntain Resident Alpha and Omega Staff Member ★ SPS Account Holder Resourceful Adored Veteran Pillars of Eternity SP Immortalizer (for helping immortalize Sorcerer's Place in the game!) New Server Contributor [2012] (for helping Sorcerer's Place lease a new, more powerful server!) Torment: Tides of Numenera SP Immortalizer (for helping immortalize Sorcerer's Place in the game!) BoM XenForo Migration Contributor [2015] (for helping support the migration to new forum software!)

    Joined:
    Jun 11, 2000
    Messages:
    23,653
    Media:
    494
    Likes Received:
    570
    Gender:
    Male
    I know about that one, I'm saying there's also one for IWD. :rolleyes:
     
  6. Mathetais Gems: 28/31
    Latest gem: Star Sapphire


    Joined:
    Apr 5, 2001
    Messages:
    2,767
    Likes Received:
    0
    Extremist ... thanks for taking the time to tell me that you don't have time to help me! :confused: :happy:

    Anyways ... I will look into those scripting thingies. Thanks for the help ... until then, I guess I'll have to take the time an actually select the spells I want, when I want them. Sheesh ;)
     
  7. Extremist Gems: 31/31
    Latest gem: Rogue Stone


    Joined:
    Apr 3, 2001
    Messages:
    4,366
    Likes Received:
    0
    Mat, I'm really sorry, but explaining it would take too much of my time I need for making some other stuff.

    If you have a question on particular part of the script, or perhaps on some command, or what does X in RESPONSE #X mean, then ask.

    I can't start from the beginning. I'm sorry.
    The only thing I can offer is when I get some time I could make from that yahoo group posts some useful FAQ or something.
    But I can't make it before summer, so sorry again.
     
  8. PowerPuff Guest

    I don't suppose anyone's got any experience with the compiler on WinXP? The game works fine, but the script compiler keeps crashing before it even starts... I was wondering if it requires DOS or something...

    [This message has been edited by PowerPuff (edited March 12, 2002).]
     
  9. Extremist Gems: 31/31
    Latest gem: Rogue Stone


    Joined:
    Apr 3, 2001
    Messages:
    4,366
    Likes Received:
    0
    WinXP?

    My my, you want to use scripters on XP and you know that BG2 has issues that needed to be patched (busy talks).

    Uninstall the deceiving OS and get back to nice win98. :p
     
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.