Modding help

Discussion in 'General Modification' started by behaigo, Aug 12, 2007.

Remove all ads!
  1. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    To answer WizGeorge's question again (since I alluded to it in another thread :) ) the InvenSource only kicks in for new stuff. So if you spawn a new NPC with the console, or respawn a traders inventory, or create a wandering monster, then it gets its gear from the Invensource.mes entry.

    The mobs in the game, however, have their own gear: each item of gear (sword, shield, armour, gold in pocket etc) will have its own mob. To change these, go to the map files (modules / Co8 5.0.0 / maps / whatever map the mob occurs on) and copy the .mob files into the Mobiles folder of ToEEWB. Then open the relevant npc mob in ToEEWB, and go to the NPC/Critters tab: there you will see its inventory. Add whatever you want, then hit save. This will create a new mob for each new peice of gear AND change the NPC mob (so if you added a sword and shield to ophelia, you will have to copy over the sword mob, the shield mob and Ophelia's mob, back to the relevant map folder of the game).

    To see your changes in game, you will have to clear the map cache and use a save that has never visited that map before. Or it will CTD :)

    EDIT: Zuluwarrior94, all you need to get started is Notepad (for dlg, mes and py files), ProtoEd for .tab files, and ToEEWB for pretty much everything. Very little actual hacking takes place any more (though I did some this morning in a .ska file. So there.)

    And some tutorials - try these: :eyebrow:

    http://rpg-rant.blogspot.com/2005/11/tutorial-list.html
     
    Last edited: Aug 19, 2007
  2. Cujo

    Cujo Mad Hatter Veteran

    Joined:
    Apr 4, 2005
    Messages:
    3,636
    Likes Received:
    1
    start small - add some custom weapons, change some NPC stats, make a charcter like my Giant PC (a gnoll would be good) etc...
     
  3. wizgeorge

    wizgeorge Prophet of Wizardy

    Joined:
    Feb 19, 2005
    Messages:
    1,715
    Likes Received:
    2
    I follow all the threads on a daily basis, but I don't remember anything about the InvenSource files. I added Charlotte at the end but it didn't work. None of the whores have an entry because they don't have any gear. I downloaded world builder, now I have to learn how to use it. Live and learn.
     
  4. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    George - to spawn a new charlotte with gear, just add an entry for her in InvenSource. The number will go in column 44 of ProtoEd.

    Be careful with InvenSource.mes, it needs everything letter perfect or the game won't even load. But it is straightforward to use and there are instructions at the start of the file.
     
  5. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    254
    Yep, with a new invensource entry, and the link to it in protos.tab in the column Ted mentioned, you can simply open the console and type...

    create #####

    Replace ##### with Charlotte's protoID number and she will appear next to the party with all the stuff you gave her in Invensource.mes
     
  6. wizgeorge

    wizgeorge Prophet of Wizardy

    Joined:
    Feb 19, 2005
    Messages:
    1,715
    Likes Received:
    2
    What I'm trying to do is build a base of high quality npc's with nice equipment. The create worked and I used Hedracks IvenSource # and she came with all his stuff. Then I had to create the madam and do the dialouge routine to get her in the game. Just creating a new mes line didn't work. I thought when they entered the game via pc.follower_add(npc) the stuff would be in their inventory,but no. At least the create routine worked. I can always use the console once they're in the game but I hate a lot of typing. The only hassle is you need the madam dialouge to recruit them. At least now I can create at the caravan and have the npc's I want and buy what I need/want. Cool!
     
  7. zuluwarrior94

    zuluwarrior94 Established Member

    Joined:
    Apr 3, 2006
    Messages:
    256
    Likes Received:
    0
    Okie dokie. Got all the files downloaded and just installed the World Builder. When I ran it, it said it needed a Protos.tab. :nervous:

    Now remember that I said I would have to learn this stuff. :imwithstu

    What is a protos.tab and how to I give one to World Builder?

    I installed it into its own directory in program files. Was that wrong?

    I'll aplogize in advance if I'm too much of a newb to deal with.
     
  8. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    254
    Due to the "constantly changing" nature of ToEE's files within this community, including a copy of Protos.tab would be pretty pointless as it's be out of date about a day after release of the WB.

    Open your ToEE folder (C:\program files\atari\temple of elemental evil) then open the data folder, in the rules folder are (among others) files called Protos.tab, and Invensorce.mes, copy and paste these to your desktop, go back to the data folder and open the mes folder, copy and past Description.mes and Long_description.mes to your desktop too, now cut all four files from your desktop, put them in the ToEEWB folder and re-open WB.
     
  9. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    WizGeorge - as I said above, you have to link the proto of the NPC you want to create to the entry in Invensource.mes. So if the next free line is 350, and you put in an entry like this:

    {350}{Ophelia: 100,4010 100,6010 100,8010 }

    or whatever, you would link this to Ophelia's proto by putting 350 in col 44 of Protos.tab.

    Then she spawns with that gear (whatever it is, I was just making it up).
     
  10. zuluwarrior94

    zuluwarrior94 Established Member

    Joined:
    Apr 3, 2006
    Messages:
    256
    Likes Received:
    0
    Thanks for the assist, Allyx. I'll get on it.
     
  11. wizgeorge

    wizgeorge Prophet of Wizardy

    Joined:
    Feb 19, 2005
    Messages:
    1,715
    Likes Received:
    2
    All the protos and dlg changes worked okay. I've got Charlotte, Jenelda, and Mary converted, "rescued" with really good stuff. I used Hedracks IvenSorce for Jenelda and made her 10th level. Who needs Otis? She's a bad babe! With all the help from co8 people I finally got things to work on a regular basis. I now have a better understanding and appreciation for modders/modding. Thanx a whole bunch for all the help.
     
Our Host!