offset swapping and stuff
offset swapping and stuff
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.
-
- Posts: 96
- Joined: Mon Oct 20, 2003 9:19 am
![]() |
-
- Posts: 384
- Joined: Wed Dec 03, 2003 1:14 pm
- Location: Obviously not where you are
-
- Posts: 96
- Joined: Mon Oct 20, 2003 9:19 am
![]() |
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.
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?
<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?