How to duplicate ANYTHING Updated 22nd October 2007

Tutorials for the PC version of Halo 1.
Post Reply

Is this tutorial helpful?

Yes
12
86%
No
2
14%
 
Total votes: 14

User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

How to duplicate ANYTHING Updated 22nd October 2007

Post by Philly »

Duplicating tags for Halo PC - Hard Updated 22nd October 2007

Message for mods: Please sticky this topic if it deserves it!

Well, I am completely reposting this because I have just learned a few things that will improve the results of this project. Please note that you must have at least some experience with PMI'ing before you even attempt to duplicate anything on PC. If you can't PMI, or you don't know what it is, search "PMI Tutorial" using the Halomods serach button. Understood? Let's go!

Tools Required
  • Halo map tools v3.0 or higher, with 64 plugin-pack
    A hex editor (Google XVI32 for a good, freeware hex editor)
    Patience and a brain :roll:
Getting started

Now that you have everthing ready, and are raring to go, make a project folder on your desktop, called "Tags" or something, and make 3 folders inside that called "BSP", "Build" and "Offsets" just like any other PMI.

Open HMT, and open a clean, un-modded map. You can use any, but stick to a boring multiplayer map like bloodgulch, so things don't get too complicated. Batch extract your map to the "Build" folder and extract the model sections to the "BSP" folder. Now you are ready to extract you new item.

H3x 4 l1fe!

Open your hex editor, and open a DIFFERENT multiplayer map. Go to: Edit>Replace. If you are using XVI32 like I recommended, the following box should appear:

Image

Note that I have added the correct values for the replace operation. When hex editing, it is important that the values must be the same length, otherwise HMT won't be able to read the map.
Click the "Replace All" button. The following dialogue box will appear:

Image

Scroll back to the top of the map. In order to creat a good plasma rifle variant, you will probably want different coloured impact sparks, decals and flash bitmaps ect... To do this, we will duplicate the effects folder as well. So do another search and replace, but with the following values:

Image

Notice how the values have to be in equal lengths again. The following box will appear:

Image

Scroll back to the top of the map. You will probably want different reticles and ammo meters on your new weapon, so we will duplicate the ui:

Image

Dailogue box:

Image

Save and close the map.

Using HMT to extract the weapon

Open this new, hexed map in HMT. You will see plenty of new things when you open the map:

Image

Click on "weapons\grunto rifle\grunto rifle" and recursively extract the metadata to the "Build" folder. When that has finished, go to: Tools>Generate raw model offset list (csv file). Save this as boardingaction.csv in the "Offsets" folder.
Now you can extract the raw models to their proper locations as normal, using the model extractor. Be sure to extract: "weapons\grunto rifle\fp\fp" as well as: "weapons\grunto rifle\grunto rifle".

Model de-crapping and rebuilding

Since you should already know how to do this, I'm not going to go into great detail.

Build a new BSP chunk, using bloodgulch.verticies, bloodgulch.indicies, and bloodgulch.sbsp in the "BSP" folder. Add the two raw models and build the chunk. Copy the new .meta file to: "levels\test\bloodgulch\bloodgulch" and overwrite the old one.

Put a clean copy of bloodgulch.map into the "Build" folder, and rebuild the map, adding "grunto rifle.weap.meta" and the new verticies and indicies on demand. Say yes to the modified start offset.

Rename the rebuilt map and put it in your "MAPS" folder.

Things to note after rebuilding
  • Since we have duplicated and de-crapped the models, you can inject seperate models for your weapon, w00t!
    Click "EOF" and "update" before injecting your new textures, otherwise they will update each other. :evil:
    I still am trying to find out how to get seperate sounds, hex strings and message icons; look out for an update!
    UPDATE: The best you can do for the sounds is to change dependancies, sorry!
I hope you found this tutorial helpful, and somewhat entertaining. If you do not have anything constructive to say, go to the rant thread. Otherwise, post here and I will try to keep this topic up to date.

I do not accept any responsibility for any loss or harm as a result from this tutorial. Best served ice cold. :P
Last edited by Philly on Mon Oct 22, 2007 12:04 pm, edited 1 time in total.
For anybody still wondering where FTD has gone, here it is.
User avatar
Cryticfarm





Posts: 3611
Joined: Sat Dec 09, 2006 7:23 pm
Location: canada
Contact:

Post by Cryticfarm »

Why sticky?
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Becuase I'm getting requests for duplicating this and that. :x
For anybody still wondering where FTD has gone, here it is.
bigshot007





Posts: 258
Joined: Mon Jul 09, 2007 2:17 pm
Location: RIGHT NEXT TO YOU helping you mod.... (more like asking for help)
Contact:

Post by bigshot007 »

Sorry this is a little late, but what If i wanted to make a bitmap for the assult rifle like when I zoom up, how would this compare, and how would I do it?
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

I would duplicate a [wphi].
For anybody still wondering where FTD has gone, here it is.
User avatar
XLoneXWolfX





Posts: 54
Joined: Thu Sep 27, 2007 4:41 pm

Post by XLoneXWolfX »

Thanks for this tutorial! I hated the opening every tag with notepad and changing the name, this is much easier.
User avatar
Andrew_b




Socialist

Posts: 4188
Joined: Sat Feb 24, 2007 4:52 pm
Contact:

Post by Andrew_b »

I dont have a fully fuctioning brain...i only use about 10% of it. Can i still do this?
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Hmmmz it depends. :P
For anybody still wondering where FTD has gone, here it is.
AZ_Grunter





Posts: 8
Joined: Sun Mar 23, 2008 1:08 pm

Post by AZ_Grunter »

Ehh..after i got out of Beaver creek and went to HMT it sayed. "File compressed" Help..?
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

You corrupted the map somehow. Start again with a clean map, follow the instructions to the letter, and always wait for it to save properly. Good luck.
For anybody still wondering where FTD has gone, here it is.
Post Reply