Engine hacks

Discussion in 'Modding and Scripting Support' started by Anonymous, Aug 28, 2008.

Remove all ads!
Support Terra-Arcanum:

GOG.com

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

    Minuos New Member

    Messages:
    427
    Likes Received:
    0
    Joined:
    Apr 22, 2009
    I have a few small, simple contributions to make. Using them is the player's choice. I simply thought it was odd to cap some stats before their master stat was maxed.

    This caters for the maximum playable ST of 24, for Half Ogres.
    12,000 Maximum Carry Weight (instead of 10,000):
    1B5224:E0
    1B5225:2E

    This addresses the fact that you get plus one HR per three CN, but that ends with 6 HR at level 17, now it'd end with 7 HR at level 20.
    7 Maximum Heal Rate:
    1B5234:07

    This sees to the extra CN Dwarves and Half Orcs have. Normally it stays at 20, even after 21 CN is reached.
    21 Maximum Poison Recovery:
    1B5238:15

    Very picky of me, I know. But here they are. If the caps somehow serve an ulterior purpose, my apologies. That aside, can you tell I have mild OCD?
     
  2. Synik

    Synik New Member

    Messages:
    8
    Likes Received:
    0
    Joined:
    Oct 27, 2009
    Can anyone explain to me what we do with the things Drog has been posting? I want to stop the title sequences and such when you open the game from happening so the game starts instantly. Sorry if this is a stupid question. :-(

    Thanks.
     
  3. theorel

    theorel New Member

    Messages:
    95
    Likes Received:
    0
    Joined:
    Apr 29, 2008
    Here ya go
    This will kill the logo movies. You'd need another one to kill the movies in the Arcanum module(including the opening cutscene with the full-plate pistolier).
     
  4. Crypton

    Crypton Member

    Messages:
    589
    Likes Received:
    2
    Joined:
    May 22, 2008
    Here are offsets for WorldEd hack for Hi-Res townmaps, drog has forgot to tell us how he did that hack, and I needed townmaps in original size for OpenArcanum to allow zooming in townmap window, so I hacked it by myself.

    All offsets are in decimal, width and height variables are 4 byte integers and WorldEd version is 1.0.6.9.

    39625 = Source Width (256)
    39633 = Source Height (128)

    39699 = Target Width (64)
    39707 = Target Height (32)

    Townmap chunk image is 256x128 pixels, then its resized to 64x32 pixels, and then saved into 8 bit bitmap.

    You can modify these variables to generate images of any resolution.
     
  5. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
  6. Minuos

    Minuos New Member

    Messages:
    427
    Likes Received:
    0
    Joined:
    Apr 22, 2009
    Quick question for you, rroyo - or anyone who might have an idea.

    I raised the Magick/Tech aptitude caps to 250, since I'm never done choosing Tech or Magick by the time they're 100. I'm not too savvy with the mechanics of the game, so d'you know of anywhere this may cause problems?
     
  7. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
    250 huh....? Wow.

    In theory, there should no problems if you've reset everything needed for that high of a level but, you're in uncharted territory here.
    So - Hope for the best and plan for the worst.

    And if you would, keep us apprised on how well this works out.
     
  8. Minuos

    Minuos New Member

    Messages:
    427
    Likes Received:
    0
    Joined:
    Apr 22, 2009
    Yeah, I had a feeling there wouldn't have been much call for people to do this before, heh. I always tweak a few caps when I reinstall - this is just a new one. But thanks, rroyo. I'll take note of anything odd.
     
  9. t-roll

    t-roll New Member

    Messages:
    20
    Likes Received:
    6
    Joined:
    Apr 30, 2017
    Hey guys sorry for the necro. I found a few more addresses I thought it would post them in the same thread to keep everything neat and tidy.

    Attribute max value .
    1b5204 14h = 20
    1b5208
    1b520c
    1b5210
    1b5214
    1b5218
    1b521c
    21b220
    They appear to be in order as you see them on screen starting with physical first for and mental.

    This one appears to be maximum resistance
    1b522c 5Fh = 95

    Character Creation points
    1b52c0 5h = 5
     
    Fred likes this.
  10. Fred

    Fred Member

    Messages:
    44
    Likes Received:
    6
    Joined:
    Nov 2, 2019
    Great job finding creation points. It works.
    However the resistance cap does not.

    It can be edited via the effect.mes though by using electricresist max 75 for example for humans, elves etc
     
  11. Sitra Achara

    Sitra Achara New Member

    Messages:
    1
    Likes Received:
    1
    Joined:
    Nov 9, 2013
    Is this all that's publicly known about the engine or is there more?
     
    Amrel likes this.
  12. Fred

    Fred Member

    Messages:
    44
    Likes Received:
    6
    Joined:
    Nov 2, 2019
    I found these

    1B5228:0A - Melee damage bonus max 10
    1B5230:10 - Speed max 16
     
    Last edited: Sep 18, 2022
  13. Fred

    Fred Member

    Messages:
    44
    Likes Received:
    6
    Joined:
    Nov 2, 2019
    This will remove race specific stat caps.
    OFFSET:VALUE
    0xB0FF8 0xEB

    Someone else found this, not me.
     
Our Host!