offset swapping and stuff

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
seagoat




Articulatist 250

Posts: 314
Joined: Sat Nov 08, 2003 1:23 am

offset swapping and stuff

Post by seagoat »

ok i get meta now. there are floats that dictate things such as rate of fire and speed. there are reflexive offsets that point to areas in the same meta. in some objects there are pointers. they have tags in front of them. then the value 0x00000000. then the identifier. apparently the game engine only needs the identifier if say u change what the ar shoots. but in hmt3, when i swap the ar projectile to the rocket, what offset am i changing, it is not the reference in the ar to the projectile because if i make other guns fir the ar bullet it will be a rocket too. so i cant figure out what im changing. is ther something in the meta that says " all objects that reference me go here"? i no it sounds stupid but after figuring out how halo meta works, it confused me with the simpler form of editing, offset swapping.
-=]-[EX=-





Posts: 444
Joined: Sun Nov 02, 2003 11:26 am
Location: Pa
Contact:

Post by -=]-[EX=- »

omfg just use hex to do simple offset swapping like that damnit...... all that is is changing projectiles
Signature exceeded 75KB.
seagoat




Articulatist 250

Posts: 314
Joined: Sat Nov 08, 2003 1:23 am

Post by seagoat »

you are a fucking retard. i did not ask how to offset swap dipshit. read the post again.
-=]-[EX=-





Posts: 444
Joined: Sun Nov 02, 2003 11:26 am
Location: Pa
Contact:

Post by -=]-[EX=- »

look you know im right click here
Signature exceeded 75KB.
dalecooper




Literarian 50

Posts: 96
Joined: Mon Oct 20, 2003 9:19 am

Post by dalecooper »

-=]-[EX=- wrote:omfg just use hex to do simple offset swapping like that damnit...... all that is is changing projectiles
Hey Hex. Would you grow up, please? Your constant flaming of everyone when you don't even understand their questions is extremely annoying. Thank you.
CrimsonKnight





Posts: 384
Joined: Wed Dec 03, 2003 1:14 pm
Location: Obviously not where you are

Post by CrimsonKnight »

he he he....just laughs cause i find it funny. :lol:
A wise monkey knows not to monkey with another monkey's monkey...
dalecooper




Literarian 50

Posts: 96
Joined: Mon Oct 20, 2003 9:19 am

Post by dalecooper »

Seagoat - what is happening is that you are swapping the offset that tells Halo where to find that projectile's meta. If you point other weapons to the AR bullet, it finds the meta you already swapped and fires the same projectile. If you go into HMT3 and make note of the projectile meta offsets, you can just copy the AR bullet offset to the rocket launcher, then the rocket launcher offset to the AR, and have them effectively swap projectiles. But if you use the "swap" function in HMT to try to do the same thing, they will both end up with the same meta offset, and both fire the same projectile - whichever one you pointed to first.
WaLKa





Posts: 1314
Joined: Sat Nov 22, 2003 1:46 pm
Location: Montr

Post by WaLKa »

Hex stop flaming, i mean it
Image
seagoat




Articulatist 250

Posts: 314
Joined: Sat Nov 08, 2003 1:23 am

Post by seagoat »

thx man but thats the part i dont get, like when u offset swap, u can change the pointer in the meta to point to something else, but in hmt, when u swap, is it replacing the meta? i found something in some xml docs hmt provided, i was looking at the grav rifle because it is simple and i think it is a good meta example. at the beginning it says:
<Results>
<Map>Death Island</Map>
<Tag>paewmetiejbo</Tag>
<Filename>weapons\gravity rifle\gravity rifle</Filename>

peaw is weap in little endian, i know that. so basically, there is a value at the beginning of the meta that says what that object is, and it points to the actual meta of the object?

assault rifle bullet value
assault rifle bullet meta


rocket value
rocket meta

so if i swap the ar bullet value with the rocket value, objects that point to the ar bullet go to that area to find the meta offset? so basically the weapon would point to the projectile, and the projectile points to the projectile meta?
Post Reply