Left 4 Dead
You are browsing as a guest. Create an account for free!

Left 4 Dead Guide

Know Your Modding - Replacing a Gun

Sharing is temporarily disabled

Left 4 Dead Guide

Finding a Model

First you will need to find a model that you want to replace with. In this tutorial I'm going to replace Hunting Rifle with Maverick-A2 from Call of Duty.

Tools that you'll need.

3ds Max or Blender (I use 3ds Max 2012)
Crowbar
Notepad ++
VTFEdit
GCFScape
Left 4 Dead
SMD Importer and SMD Exporter plugin for 3ds Max/Blender.

Getting started.

First I usually make a folder where I put models/materials. (like in the picture)
After you decompiled the model, you will get a smd file and the qc file.
Now decompile the original model

3ds Max

If you have 3ds Max, once you open it, it will look like this
In the left upper corner click this button 
and then click on import and find the smd file for your replacement model.
After you imported all models that you need, it will look like this
Now try to match the replacement model with original model as best you can (as in the picture)

Adding weight to the new model.

After you matched the replacement model to the original model, click on this and find Skin Wrap(make sure the replacement model is selected, not the original model)
After you added Skin Wrap, first press Add and then click on Original Model (it should freeze for a bit)
Once the 3ds max unfreezes, tick "Weight All Points" and press Convert To Skin.

Finishing Touches.

Once you Converted Skin to the replacement model, delete the original model because you don't need it anymore.
Now you will need to edit weight because It's not perfect. We use this tool for this
I use this thing called "Element" to hide parts of the model so it makes the job easier.
Once you start fixing weights, make sure "Vertices" is ticked
with the left mouse, hover the model like this
so it looks like this
Now go to the "Weight Tool" that we mentioned earlier. 
Once you open it, click on the bone and press 1
Once you did it, part should look like this  
Now go back to the Element and press "Unhide all"
Do the same thing for the trigger
When you're done it should look like this
Export it now.

Compiling

Export the model as smd file and compile it.

You're done!

congrats! you made a weapon replacement!

Tagged

Guide Credits

You may like

  • Mod
    Menu center
    N/A

    This is the mod 'Menu center' for Left 4 Dead.

    • Updated
    142
  • 4 Maps
    RMS Titanic (L4D Port)
    N/A

    The survivors find themselves stuck on the ill-fated ocean liner with a ship full of disease-ridden zombies. They must make their way from their 2nd class cabin on F-Deck up to the Boat Deck where they must fight to escape on a lifeboat....

    3,403
  • Mod
    Improved Carryables
    N/A

    Improved animation blending for the gascan, propane and oxygentank. This is the same change these 3 items got in The Last Stand Update for Left4Dead 2. Comparison: Before | After Installation: Use either of these install g...

    • New
    231
  • Map
    The Warehouse Survival
    N/A

    A far better L4D2 version available here - https://steamcommunity.com/sharedfiles/filedetails/?id=3292647629 Deliver the dead back to the sender. A small warehouse brick building where all the zombies come from a single, ominous lo...

    903
  • Mod
    Menu Background (1-4)
    N/A

    IMPORTANT: SPANISH: Copia y pega el archivo "l4d_crashcourse_bg.bik" en la carpeta "media" ubicada en la ruta del juego: Disco local (C:)\Steam\SteamLibrary\steamapps\common\left 4 dead\left4dead\media O, si no sabes dónd...

    • New
    145

Feedback