Posted June 16, 2019 08:59
You will need some tools.
- - Manhunt 2 MDL Editor
- - Manhunt 2 TEX/TXD Editor
- - MHT (Manhunt Toolkit)
For this quick tutorial I will use the Shard Weapon as example
- Open the level-folder where your wanted weapon exists (like levels/A01_Escape_Asylum/)
- Use MHT to extract the resource3.glg file (mht unpack resource3.glg —only-unzip)
- Open the new exported file in a Texteditor and search the wanted Weapon entry. (In this example „RECORD Shard_(CT)“)
These RECORD entry give us now some informations: (Record-Name „RECORD Shard_(CT)“, Model „MODEL Shard_(CT)“) - Use MDL Editor to open the modelspc.mdl
- Search the Model „Shard_(CT)“ and export it.
- When u select the model inside the MDL Editor, u will see the used Textures for these Model. „Shard“ and „Shard2“
- Open modelspc.tex with the TEX/TXD Editor
- Search the Texture „Shard“ and „Shard2“, export them (not found? maybe the texture is loaded from the global file (/global/gmodelspc.tex))
- Use MHT to extract the entity_pc.inst file (mht unpack entity_pc.inst)
- Search the file named „Shard_(CT).json“ and save it somewhere
- Go into the target level-folder where you want to place the weapon
- Open modelspc.tex with the TEX/TXD Editor and add the exported Model and save the file.
- Use MHT to extract the resource3.glg file (mht unpack resource3.glg —only-unzip)
- Copy the RECORD block from the original resource3.glg at the end of the this file.
- Use MHT to extract the entity_pc.inst file (mht unpack entity_pc.inst)
- Copy the the previous saved Shard_(CT).json into the „export/entity_pc#inst/„ folder.
- Open the Shard_(CT).json in a Texteditor , edit maybe the Spawn Position (X,Y,Z)
- Repack the entity_pc.inst with MHT (mht pack entity_pc#inst)
Done, the weapon should appear ^^