pistol
Moderator: Halo Moderators
Re: pistol
Read the tutorial section! Gawd!
conure wrote:1.) Open the map of your prefernce in a editor that can extract meta/xml files. Once map
is open open a txt file and copy down the magic. Then browse to the tag and copy down were
it starts in the map file. Example on BG the magic is 0x3F777F94, and the tag offset for
the pistol is 0xEF6704. We add those 2 numbers together to find offsets in the extracted
meta files.
2.)Extract the meta file and open it in a hex editor. Go to 0x4f0 in the hex editor for the
magazines reflexive. It looks like this
0100 0000 B0ED 6640 0000 0000
Heres a break down of this
0100 0000 - is the chunk count, in this case 1.
B0ED 6640 - is the offset modified by magic
0000 0000 - Blank bytes, not usualy important.
3.)Go to the offset given by the magic offset, which is (0x4066edb0 - 0x3F777F94 - 0xEF6704)
That is offset 0x718 that you should be at. Now the chunk size is 112 bytes, so highlight
from 0x718 to 0x788. What you highlighted is the entire magazines chunk, this controls ammo
to gun. Now put your curser at 788 and paste all that data in, so a whole new chunk is
inserted (make sure not to overwrite anything.)
4.) Go back to 0x4f0 and change the reflexive to this
0200 0000 B0ED 6640 0000 0000
so it has 2 trigger count.
5.) Now we need to correct the recursive reflexives of magazine 1 and 2. Go to 0x718 + 0x64
for the magazine recursive reflexive. You will se this
0100 0000 20EE 6640 0000 0000
change it to this
0100 0000 90EE 6640 0000 0000
We did this because we moved the sub-reflexive chunk forward 112 bytes
Next go to 0x718 + 0x70 + 0x64
and change the reflexive from
0100 0000 20EE 6640 0000 0000
to
0000 0000 90EE 6640 0000 0000
This will make it so it doesnt see a firing effect chunk.We also need to update the triggers
reflexive at 0x4fc, so change this
0100 0000 3CEE 6640 0000 0000
to
0100 0000 ACEE 6640 0000 0000
6.) Now go to the start of the triggers relfexive which is at (0x4066eeac - 0x3F777F94 - 0xEF6704)
or 0x814. First thing we gona do in this chunk is duplicate it one time. The chunk size is
276 bytes, so copy from 0x814 to 0x928 and insert at 0x928.
7.)go to (0x814 + 0x108) = 0x91c to get the firing effects chunk location. This is what the
reflexive looks like
0100 0000 50EF 6640 0000 0000
change it to
0100 0000 d4f0 6640 0000 0000
we did that becuase we added on magazine chunk (112 bytes) and one trigger chunk (276 bytes)
8.)Now go to the start of the firing effect chunk which is at (0x4066f0d4 - 0x3F777F94 - 0xEF6704)
or 0xa3c. The chunk size of this bit is 132. Sense we did all this duplication right we just
copy from a3c to the end of the file, then insert it at end.
9.)Now we need to put in the final touchs for the new secondary trigger reflexive, it starts
at 0x814 + 0x114 = 0x928 now got + 0x1e to get to 0x946 and replace the four bytes of this
0000 0000
with
0001 0000
(note this value may be in correct so if u dont care bout experimental shit like this,
dont change it because all it does is let the secondary have its own magazine)
Now we need to go to 0x928 + 0x108 for the firing effects reflexive
0100 0000 50EF 6640 0000 0000
change to
0100 0000 58f1 6640 0000 0000
check it to make sure its right. (0x4066f158 - 0x3F777F94 - 0xEF6704) = 0xac0, which is
correct.
-
- Ranger
- Posts: 1894
- Joined: Tue Oct 16, 2007 3:57 am
- Location: "I didn't just take your mom out to dinner. I ate your mom for dinner."
- Contact:
Re: pistol
Ah, Good Ol Hex! ]
Mota-Lev was here 30/4/2010@2:18pmG[v]N wrote:HUGE NOTIFICATION
THIS GRAVY HAS BRAINS

-
- SEAL
- Posts: 527
- Joined: Tue Jul 22, 2008 10:38 am
Re: pistol
can someone make a tut thats alittle more descriptive?
2.)Extract the meta file and open it in a hex editor. Go to 0x4f0 in the hex editor for the
magazines reflexive. It looks like this
0100 0000 B0ED 6640 0000 0000
What meta file? the pistols .weap meta file?
2.)Extract the meta file and open it in a hex editor. Go to 0x4f0 in the hex editor for the
magazines reflexive. It looks like this
0100 0000 B0ED 6640 0000 0000
What meta file? the pistols .weap meta file?

Re: pistol
Open the .weap meta file in your hexeditor yes.
Disclaimer: I am no longer active. Any posts, PMs or other communication I use has no guarantee of accuracy or follow up.
Download Eschaton: Mediafire
Download Eschaton: Mediafire
-
- Night Stalker
- Posts: 6887
- Joined: Thu May 24, 2007 5:52 am
- Location: 41.896198, 12.4165945
- Contact:
Re: pistol
or you could duplicate a weapon that already has a secondary fire (plasma pistol, scorpion cannon, banshee gun) and edit it t make it look and act as a pistol. <_<
- TaxiService! Shitposting since 2007!
-
- Night Stalker
- Posts: 6887
- Joined: Thu May 24, 2007 5:52 am
- Location: 41.896198, 12.4165945
- Contact:
Re: pistol
that's a good thing. <_< we got only new spammers, or new kids, or new noobs... not much new modders >_>
- TaxiService! Shitposting since 2007!
Who is online
Users browsing this forum: Bing [Bot] and 41 guests