Question about Milwaukee's custom weapon (modding question)

Status
Not open for further replies.

DorkFish

Rookie
Joined
Nov 17, 2008
Messages
51
I saw that Milwaukee guy post his custom skin on another post and I had some questions on it. I am not trying to edit Milwaukee's custom weapon to distribute, but only to learn how it is made. Screenshot below is what I did so far from his Aimpoint K98 model

BTW, I am not making these to cheat or make something that will rake up kills. I am changing his custom skin to learn how he made and what each file does.

dodkalt0002ev4.jpg


1) First, you can see I'm just changing the crosshair image so it is not a dot but a green "X". My question from looking at Milwaukee's vmt file is that it is using a variable called "$additive" 1. Obviously this is an additive composite.. What I want to know is... if you actually wanted an "Over" function so it does not add color data of stuff farther than crosshair, but completely overlaps it.. what variable could I use? Or better yet, where can I get a list of variables that is used for the shaders that VMT files use? Or is this a custom variable that is stored somewhere else on your files?

2) You see that there is no ring of AIM Point thing. I actually didn't delete the model but I'm just using the same shader as glass.vmt, but different texture (all black) to make it completely transparent (so this is additive with 0,0,0 values). It is because I was trying to figure out the usage of alpha channels. It looks like you getting transparency by usage of 0,0,0 value adding to the player view. If I wanted to use alpha channels as transparency, and not through the shader... what value to what variable must be put on the shader to recognize the black of alpha to be transparent?

3) So far I had taken the model into Maya 2009 using a plugin for SMD files. But I am not sure where the vertex to shader relationship data is stored in. Meaning that... how does DoD know which shader gets applied to which polygon faces? Is this within the SMD file?

4) On the SMD file opened in Maya2009, i tried editing the geometry. But I was not successful on exporting it out as another SMD file. It gives an error saying that VMT file must be in the materialsrc (I have no idea where or what that is.. if that is a variable, parameter, attribute, or a folder). Do you know what this is?

5) This is an odd question but.. Instead of adding new vmt, mdl, vtf files so DoD uses them instead of the "day of defeat source.gcf" compressed file... What if I actually decompressed the gcf file, edited it, re-compress it.. would it still work?

If anyone knows answers to these.. especially Milwaukee, please answer them. Thanks!
 
Last edited:
Status
Not open for further replies.

Latest posts

Back
Top