What's new

Solved Re-scaling a character

  • Thread starter blackdiamond
  • Start date
  • Views 731
B

blackdiamond

Newbie
Messages
2
Reaction score
0
Points
35
Sin$
7
After 10 years I have come back with a modded 360 and want to mod my halo 3 a bit. I used to heavily mod halo 2 long ago, and already got that. I already am able to mod everything, even got the 360 SDK set up with assembly and am able to poke which is great.
I have been trying for hours how to correctly scale a character in halo 3, like this youtuber

I tried changing many values and found some that actually sort of work, but not near as good as the youtuber did it. I went into mode tag and changed the compression info (changing everything times 0.3)
LmXJGh4.png

It sort of works but not really. At least their feet plant the ground. but their phmo and coll are still from the original bigger one.
yoV7t3c.jpg

Here, I found I could simply change this runtime node default scale from 1 to 0.3, and it actually works better.
j0VUD9P.png

They look good, and they take coll hits ok (can only shoot where their model is), but their phmo is still the original larger one, and they always stand in midd-air (I guess the middle of the phmo or something)
MwYH99y.jpg

I tried to scale the phmo to the new model size but nothing seems to work. I have been at this for hours and I don't know how to fix it.
I tried changing a lot of values in phmo in assembly but nothing changed ingame. I even put the marine phmo as null in the marine hlmt but they still had a phmo lol. Assembly says its updated with 2016.11.04.19.07.00-master

I found an old se7ensins thread titled "Model Resizing: The Correct Way" but it just tells you to edit phmo values that the marine phmo doesn't even have. I would link it but se7ensins will not let me.

Anyone have any ideas? Or maybe have any mods with scaled characters I could look at?

EDIT: already tried creating a script from scratch using the object_set_scale function but it did nothing for me.
 
Last edited:
B

blackdiamond

Newbie
Messages
2
Reaction score
0
Points
35
Sin$
7
ok so I found a post from a user named Lord Zedd who was able to modify the xex and edit a value to scale a tag based object, and it looks like it worked quite well. There was never a release of the xex, but he did post his edits to the xex. I am trying to figure out how to do these edits, I have IDA and trying to figure it out. having lot of trouble trying to understand this, if anyone knows how please let me know. Or if you just want to do it yourself, an edit to the halo 3 ultimate modded xex would be perfect.

Code:
before
823367C0 81630000        lwz r11,0(r3)
823367C4 2F0BFFFF        cmpwi cr6,r11,65535     ; 0FFFFh
823367C8 4D9A0020        beqlr cr6
823367CC 556A1B78        rlwinm r10,r11,3,13,28
823367D0 3D60827F        lis r11,-32129     ; 827Fh
823367D4 816B0F8C        lwz r11,0F8Ch(r11)
823367D8 7D4A5A14        add r10,r10,r11
823367DC 814A0004        lwz r10,4(r10)
823367E0 814A0040        lwz r10,40h(r10)
823367E4 2F0AFFFF        cmpwi cr6,r10,65535     ; 0FFFFh
823367E8 4D9A0020        beqlr cr6
823367EC 554A1B78        rlwinm r10,r10,3,13,28
823367F0 7D6A5A14        add r11,r10,r11
823367F4 816B0004        lwz r11,4(r11)
823367F8 816B003C        lwz r11,3Ch(r11)
823367FC 2F0BFFFF        cmpwi cr6,r11,65535     ; 0FFFFh
82336800 4D9A0020        beqlr cr6
82336804 3D608202        lis r11,-32254     ; 8202h
82336808 C00B22EC        lfs fr0,22ECh(r11)
8233680C D0030058        stfs fr0,58h(r3)
82336810 4E800020        blr

after
8249569C 81630000        lwz r11,0(r3)
824956A0 2F0BFFFF        cmpwi cr6,r11,65535     ; 0FFFFh
824956A4 4D9A0020        beqlr cr6
824956A8 556A1B78        rlwinm r10,r11,3,13,28
824956AC 3D60827F        lis r11,-32129     ; 827Fh
824956B0 816B0F8C        lwz r11,0F8Ch(r11)
824956B4 7D4A5A14        add r10,r10,r11
824956B8 814A0004        lwz r10,4(r10)
824956BC 816A001C        lwz r11,1Ch(r10)
824956C0 2F0B0002        cmpwi cr6,r11,2
824956C4 419A000C        beq cr6,824956D0
824956C8 C00A0020        lfs fr0,20h(r10)
824956CC 4800000C        b 824956D8
824956D0 3D608202        lis r11,-32254     ; 8202h
824956D4 C00B22EC        lfs fr0,22ECh(r11)
824956D8 3D60827F        lis r11,-32129     ; 827Fh
824956DC 816B0F8C        lwz r11,0F8Ch(r11)
824956E0 814A0040        lwz r10,40h(r10)
824956E4 2F0AFFFF        cmpwi cr6,r10,65535     ; 0FFFFh
824956E8 4D9A0020        beqlr cr6
824956EC 554A1B78        rlwinm r10,r10,3,13,28
824956F0 7D6A5A14        add r11,r10,r11
824956F4 816B0004        lwz r11,4(r11)
824956F8 816B003C        lwz r11,3Ch(r11)
824956FC 2F0BFFFF        cmpwi cr6,r11,65535     ; 0FFFFh
82495700 4D9A0020        beqlr cr6
82495704 D0030058        stfs fr0,58h(r3)
82495708 4E800020        blr
 
Upvote 0
Top Bottom
Login
Register