Default Starting Items

Discussion in 'General Modification' started by Sitra Achara, May 23, 2011.

Remove all ads!
  1. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    This has been requested on at least two occasions, so I figure there's a market for this.

    Description:
    1. Via the Game Portal dialogue, you may elect to give your party the default starting gear.
    2. Following that, you can auto-equip your party, to save you some tedious clicking.

    Notes:
    1. The equipment handed out is the same as in vanilla ToEE (according to each PC's class, of course).
    2. No gold is substracted in the process. That is slightly cheating, I suppose, but I don't think it's such a big deal.
    3. You may only create the starting gear once, of course.
    4. Re the auto-equip - be aware that this utilizes the game's function "item_wield_best_all()", which favors ranged weapons, and may yield unpredictable item selection if you've also bought some items from the chest. In other words, you should probably go over your party's inventory and make sure you are satisfied with the wielded equipment.
     

    Attached Files:

  2. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    This is neat, but somehow I get the feeling that it would be better attached to something other than the portal. Maybe we could have an auto-equip room or chest or something like that, with the area description box expanded to explain it so that it's not easter-eggy.
     
  3. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    I thought about adding in a chest of default items at first, but it seemed cumbersome to me.

    I suppose one possibility is to add such a box, but instead of filling it with items, it'd have a "Standard Adventure Item Pack" object, which, when picked up, would give you the items. Or better yet, open up a dialogue which also contains the auto-equip functionality.

    Is that better/acceptable?

    If so, I can implement that. I'd appreciate if the inventory icon for the pack were provided for me, since that's not quite my forte.
     
  4. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Dialog sounds best to me. It would just be another NPC chest like the others (click-dialog). Maybe it could go right in the vestibule near the portal so you wouldn't have to run around much.

    If you provide the dlg/scr files, I'll throw in the chest itself and update the area description.
     
  5. General Ghoul

    General Ghoul Established Member

    Joined:
    Dec 18, 2008
    Messages:
    953
    Likes Received:
    6
    What is the standard equiptment. Its been a while since I played vanilla, but I seem to remember everyone had just a wooden club and cloth armor. But maybe that was Icewind Dale or something else.
     
  6. GuardianAngel82

    GuardianAngel82 Senior Member

    Joined:
    Oct 3, 2007
    Messages:
    3,481
    Likes Received:
    5
    I think Icewind Dale I was leather armor and staves. I need to play that again.
     
  7. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Here it is - scr & dlg file for a "standard equipment chest".
    Tested by replacing the clothing chest, seems to work fine. (the attached files don't replace it, of course; it uses up script/dlg ID# 407).
     

    Attached Files:

  8. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,038
    Likes Received:
    42
    Looks good. :thumbsup:

    407 is already one of the description boxes, so we'll need to switch it to ... 400.

    A list identifying all the dlg and scr numbers would be useful, wouldn't it?
     
  9. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    D'oh.

    I'd say it's easy enough to look at the scr/dlg folder, but then again... :dribble:
     
Our Host!