Category Archives: Dev Blog: Left 4 Dead 2 – Death Star Map Project

Simple lightsaber in the game

Got a simple lightsaber in the game.

got a simple lightsaber in the game

I think this addition will help sell the map and experience more.

The process of replacing a melee weapon in Source was at first not an easy task. But first step is to just try to get through the process with nothing fancy. So I followed this tutorial by Slpinks on Steam. http://steamcommunity.com/sharedfiles/filedetails/?id=250723629 There was a few slow spots here and there even with the step by step guide. I got stuck at the part with texturing. Luckily there was a video link as well, which I found where my mistake was.

My mistake was that there was a material in Blender, which had a different name from my vtf (Source engine material). The true cause of the problem was that I didn’t create the material on the Hawkgirl Mace and I didn’t even know it existed. So I was calling a material that didn’t exist. But I knew that it had something to do with not linking up the texture to the model correctly, and after digging around, I did find the problem and fixed it.

After I took the Hawkgirl Mace through the process, I started to get familiar with the pipeline workflow and decided to try to get a 100% custom (my own) model into the game. Enter the almighty lightsaber!

The hardest part was getting the lightsaber to glow. I wanted to use the “glow effect” built into source, the one you see when you hover your hand over an item in the game, but I couldn’t figure out how to access the shader. Instead I eventually just duplicated the inner white blade and scaled it up. I then added a new material to that called “blade_color”. In the vmt file for “blade_color.vtf”, I made it transparent so that you can see through it to see the inner core white blade.

Code from “blade_color.vmt” :

VertexlitGeneric
{
“$basetexture” “models/weapons/melee/Blade_Color”
“$translucent” 1
}

This is the basic implementation of the lightsaber. For the final product, I’m going to look into additive blending and using multiple intersecting planes, like how old school trees where done in some game engines. I hear this is how the lightsabers were made in the Jedi Knight II: Jedi Outcast and Academy series.

Han Solo Survivor

It felt weird having the only L4D2 SW survivors be imperial, so I decided that I’ll also make Han, Luke, Leia, and Chewbacca as survivors.

myl4d2addons_survivor_solo_thumb

Han Solo replaces survivor “Nick”. This is my first l4d2 model. Probably still some things that can be worth improving. I got the model from tf3dm.com it was originally from SW:FU for the Wii. I ported it over to L4D2 so we can have fun with some star wars characters.

Check it out on the workshop here: http://steamcommunity.com/sharedfiles/filedetails/?id=303215194

Started a design one sheet

Began a design one sheet on the parts of the map I wanted to focus on first.

sv_deathstar

Some ideas I was thinking at this point where:

  • Map focuses on the survival game type.
  • Wanted to focus on the hanger first.
  • Also add the deathstar control room as an extra room for the survivors to explore.
  • All other rooms would be pushed back until these two rooms were completed first.

Project Overview
I was posting things on facebook. Decided to move things here to help keep it all organised.

Info about the project:

Death Star – Left 4 Dead 2 – (Ongoing solo project)

  • Identified lack of Star Wars map for all of the Star Wars content on the L4D2 Steam workshop.
  • Took it upon self to create the content and capitalize on this gap in the marketplace.
  • Geometry and textures based off of content of Death Star map from SW: Battlefront 2.