DKoepp's Item Editor

Discussion in 'Module Discussion' started by Vorak, May 10, 2006.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    Yes. No hex editing is required.
    After undatting the various .dat files, go into the rules folder. You will find SpellList.mes which defines all the spells.
    Then simply change the duration of the potion of haste and save the file in the data\rules directory.

    // 6 -- mtMI2PotionHaste [Item: Potion of Haste]
    {13600}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
    {13601}{Cost: 0, Duration: (60 @ -1), Range: 2, Info: friendly}
    {13603}{No_Stack: 1, ItemTriggers: Item_Used}
    {13604}{AI_Defensive: (3 @ 0)}
    {13605}{[Begin], ItemTriggers: Item_Used, Type: Effect, 332, Add, Count: 8, Scaled: 16} // +20 Speed
    {13606}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
    {13607}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 3, Add, Play: Stack}
    {13608}{[End], ItemTriggers: Item_Used, Type: Effect, 332, Remove, Count: 8, Scaled: 16}
    {13609}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}
    {13610}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 3, Remove}
    {13611}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

    This is the relevant line for changing duration of the spell:
    {13601}{Cost: 0, Duration: (60 @ -1), Range: 2, Info: friendly}

    At the moment I have no desire to learn java so don't look at me. However recently I discovered how to comprehensively edit critters using nothing more than a text file. At some point I will write up the details of how to do it. But in the meantime the short version:
    In the rules folder you will find 3 text files: Unique, NPC and Monster. Changing the text within these files will update the protos used by the game. However NPC seems quite resistant to change for some unknown reason. Also, do NOT alter or add internal names. Madness this way lies.
     
  2. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
    {13603}{No_Stack: 1, ItemTriggers: Item_Used}

    By changing the No_Stack: part of this line could you make potions and such stackable?
     
  3. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    By changing the number after the "No_Stack:" part to 0 (meaning false), you could possibly make potions stackable, yes.
     
  4. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
  5. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    If you mean stack as in stack in inventory then the answer is no.
    Stack in this case means the effect stacks. So if stack is set to 0 then you can have has many of that item in effect at any one time as you wish. If stack is set to 1 then you can only have a single instance of this item active at any one time.
     
  6. Grossenschwamm

    Grossenschwamm Well-Known Member

    Messages:
    7,630
    Likes Received:
    4
    Joined:
    Feb 21, 2006
  7. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
    If you're thinkin' what I think you're thinkin'..... :lol:
     
  8. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    instead of the 60 (as given in the example) do I just need to enter a huge number? or is 0 the infinity number ?
     
  9. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
     
  10. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    So putting the stack at 0 and the duration time at 0 then I would have made an potion than never disapears after use with an never ending effect right ?
     
  11. Grossenschwamm

    Grossenschwamm Well-Known Member

    Messages:
    7,630
    Likes Received:
    4
    Joined:
    Feb 21, 2006
    You can stack as many as you want, and the effect never fades. It'd be like spiking a red bull with some crack.
     
  12. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    Yes, but it sill disappears from your inventory.
     
  13. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    Some question, I didn't manage to get these alterings to work. Do I need a game where my character didn't have the object yet?

    I know edited maps only work when you didn't visited before.

    I still don't quite understand what that stacking part does. Is it like gold and arrows that 1 icon has more of the same sort? I thought it would be the number of times it could be used until the item disapears...As my modifications do not work, I still can't test it.

    Sorry for getting way offtopic...
     
  14. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    Take potion of haste as an example. If you make that stackable, you'll be able to speed up more by using two of them instead of one.
     
  15. Oracle

    Oracle Member

    Messages:
    219
    Likes Received:
    0
    Joined:
    Sep 25, 2006
    ohhhhhhh :)

    now I get it, Thanks.


    Boosting up the speed uf those medical spider would be cool :)
     
Our Host!