Unintended Consequences

Discussion in 'General Modification' started by Sitra Achara, Feb 9, 2015.

Remove all ads!
  1. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Yeah, so it all started as an innocuous attempt to do some good.

    [​IMG]

    What could go wrong, I thought?


    [​IMG]

    I mean, the Dire bear worked alright, no?...


    [​IMG]

    Alas, dealing with demons is never a good idea.




    [​IMG]

    We got off to a rocky start, but eventually we found some common goals



    [​IMG]

    Next time, I guess I'll settle for something more mundane...​



    For those who always wanted to teach their pet demon to fetch, head on over to 2EF14C inside Temple.DLL, where the array of proto definitions for animal companions is :) If you want to play it fair, you'll also adjust the Minimum Level Requirement array which starts at 2EF174 (it starts off with a bunch of zeros, but it's there, trust me! Each value takes up 4 bytes, or in practice, a value followed by 3 pairs of zeros).

    FullAC.jpg

    Here are the values I've used in my little experiment: (red highlight for the Dire Bear replacing the Chicken, black highlight for the start of the arrays)
    Hex.jpg


    Enjoy!

    Edit: to replace the Dire Rat with Dire Bear (at level 13) make the following edits:
    Code:
    Offset 0x2EF158  change E8 36  to AA 38
    Offset 0x2EF184  change 00 to 0D
     

    Attached Files:

    Last edited: Mar 16, 2015
  2. XVicious

    XVicious Established Member

    Joined:
    Jun 21, 2013
    Messages:
    427
    Likes Received:
    8
    I love doing that too

    but I did not Edit the temple.dll to do that

    all I did was edit the meshes.mes file I think

    change the monster file path in meshes.mes


    way more easy ;)
     
  3. gazra_1971

    gazra_1971 Knights of Legend

    Joined:
    Aug 3, 2010
    Messages:
    818
    Likes Received:
    2
  4. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Probably. The only issue is that it has to come at the expense of another animal, because unfortunately it's a fixed length table.

    I'm thinking no one will miss the Dire Rat, but I could be wrong. The chicken is pretty useless too, but it was obviously included for the lulz so I'd prefer to keep it.

    What do you think?
     
  5. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    RAW - there's always been a chicken. Alas.

    You can't find the length of the fixed length table and alter it...?
     
  6. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    My ASM Wizardry is still weak, I can barely cast Mordenkainen's Faithful JNZ :rant:

    The real issue is that the table has no padding between it and the next bunch of data, so I'd be overwriting something else if I extended it.

    One day, when I actually know what I'm doing, I'll externalize that list entirely. Until then, swapping the Dire Bear for a pre-existing AC should be good enough. We've committed worse crimes in the name of modding already ;)
     
  7. Salk

    Salk Established Member

    Joined:
    Jan 2, 2006
    Messages:
    258
    Likes Received:
    0
    I think it's the right way to go since the dire rat is really a poor choice anyway...

    I am looking forward to put my hands on that modified temple.dll :dance:
     
  8. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Fair enough - ditr rat fans, speak now or forever hold your regrets.
     
  9. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Looks like the above discussion is now irrelevant ;)

    [​IMG]
     
  10. Salk

    Salk Established Member

    Joined:
    Jan 2, 2006
    Messages:
    258
    Likes Received:
    0
    Oh my... you did you do it?
     
  11. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    I go offline for 2 days and you get delusions of grandeur???? :rant:

    Or... nicely done :clap:

    EDIT: So you can summon Bertram as a companion... :gotmyatte
     
  12. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    This is worth a second post.

    Sitra - please now extend the Familiars table :)
     
  13. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Shouldn't be a problem - they're defined right in front of the AC table. I'll throw in the wildshape while I'm at it, because it's right after that!
     
Our Host!