Permanently changing PC size from medium to large.

Discussion in 'General Modification' started by Buffed Rabbit, Dec 24, 2022.

Remove all ads!
  1. Buffed Rabbit

    Buffed Rabbit Member

    Joined:
    Jun 11, 2021
    Messages:
    63
    Likes Received:
    7
    As the title says I am looking for a way to change a created character’s size from medium to large, as I want to roleplay a solo-run as a giant human. My small brain is fried with the Hex-editor and trying to edit my character from the "GOG Games\Temple of Elemental Evil\modules\ToEE\players" folder.

    Any suggestions or tips are welcomed.

    Edit: Title should be "Changing" not "Hanging".
     
    Last edited: Dec 26, 2022
  2. Buffed Rabbit

    Buffed Rabbit Member

    Joined:
    Jun 11, 2021
    Messages:
    63
    Likes Received:
    7
    I found a quick solution! Leaving my answer here just in case someone else wants to do the same but doesn't want to mess with the game/saved files (digging through hexEditor is painful).

    1) Cast 'Enlarge Person' on the character you wish to make him bigger.
    2) Open Dungeon Master tool (you must have Temple+ installed).
    3) Click on the enlarged character to pop up the PC menu.
    4) Select 'Modifiers and Conditions' > click on 'sp-Enlarge'.
    5) Click on [Remove].
    6) Click on the ‘Apply’ button, at the end of the menu.

    That way the game removes the buff, but the effect stays. You can use this trick multiple times to make your character gargantuan.

    [​IMG]
     
    Last edited: Dec 25, 2022
  3. hammyh

    hammyh Established Member

    Joined:
    Apr 24, 2013
    Messages:
    284
    Likes Received:
    49
    The only problem seems to be the hitbox size, which in theory should be similar to the giants. But I suppose that is something that could cause area access restrictions and might not be so fun.
     
  4. marc1967

    marc1967 Established Member

    Joined:
    Jan 19, 2014
    Messages:
    574
    Likes Received:
    42
    From the console type the code below.

    Replace x with the model size you want.
    - Use any integer. 70 is roughly halfling size, 100 is human, 150 ogre size, 200-250 would be giant size.

    Replace y with the actual size size you want.
    - This is for the game rules to recognize you as actually LARGE, for purposes of weapons you can use, and AC changes, etc. (4 is small, 5 is medium, 6 is large):

    I don't know how to increase your diameter. The little blue circle should be made bigger too, to reflect your larger size. But you would probably want to keep it where it is, otherwise there are some doors you can't fit through.

    Code:
    game.leader.obj_set_int(8,x)
    game.leader.obj_set_int(obj_f_size,y)
     
    Last edited: Dec 29, 2022
    Buffed Rabbit likes this.
  5. Buffed Rabbit

    Buffed Rabbit Member

    Joined:
    Jun 11, 2021
    Messages:
    63
    Likes Received:
    7
    game.leader.obj_set_int(obj_f_size,s)

    Hmm, I can't find the 'y' to replace on that code. The first part works though!
     
  6. marc1967

    marc1967 Established Member

    Joined:
    Jan 19, 2014
    Messages:
    574
    Likes Received:
    42
    Sorry, I had it as "s", meant to make it a "y". I changed it above to be right.

    Here are the values. You can either put the integer number in, or use the build in CONSTANT.

    1, STAT_SIZE_FINE
    2, STAT_SIZE_DIMINUTIVE
    3, STAT_SIZE_TINY
    4, STAT_SIZE_SMALL
    5, STAT_SIZE_MEDIUM
    6, STAT_SIZE_LARGE
    7, STAT_SIZE_HUGE
    8, STAT_SIZE_GARGANTUAN
    9, STAT_SIZE_COLOSSAL

    So to make the creature Large you can do either of these:

    Code:
    game.leader.obj_set_int(obj_f_size,6)
    Code:
    game.leader.obj_set_int(obj_f_size,STAT_SIZE_LARGE)
     
    Buffed Rabbit likes this.
  7. Buffed Rabbit

    Buffed Rabbit Member

    Joined:
    Jun 11, 2021
    Messages:
    63
    Likes Received:
    7
    That's awesome, thank you!
     
Our Host!