Page 1 of 1

Setting up files in custom mod

PostPosted: Sun Jan 08, 2012 7:03 pm
by stukabomber44
Hey guys,

I'm trying to figure out where particular files are supposed to go when you create a mod.

I have the following:

cfg
maps
resource
scripts
detail.vbsp
gameinfo.txt
lights.rad

_______________

I was wondering when I make new weapons, sounds, models where do they go?

Sorry for the questions that might be painfully obvious - I tried dling a few mods but didn't find the answer clearly enough to learn it on my own, so I thought I'd ask you guys.

Thanks,

sb44

Re: Setting up files in custom mod

PostPosted: Sun Jan 08, 2012 7:59 pm
by Gary
Yeah, the mod creation wizard doesn't create some folders...

Models (.mdl and what ever goes along with those)
Sounds
Materials ( .vmt(material information) and .vtf(image information) files go here)
Bin (compiled source code in the form of .dll files, not needed unless you want coded features)

Sorry for not being more discriptive, away from a pc, it's not fun typing on a phone...

Re: Setting up files in custom mod

PostPosted: Sun Jan 08, 2012 8:03 pm
by stukabomber44
Right, so was able to decompile the mp40 from DOD:S ... if I wanted to put that in as it's own gun/or a replacement of the mp7 how would I do that??

Re: Setting up files in custom mod

PostPosted: Sun Jan 08, 2012 11:15 pm
by Smurftyours
The source code is not available for DOD:S. Please correct me if I am wrong.

Re: Setting up files in custom mod

PostPosted: Sun Jan 08, 2012 11:23 pm
by Armageddon
You are correct, DoD:S does not have available source code.

It sounds to me like you are making a CSS mod (I didn't know the CSS source code was available) if you want to replace the mp7 you would probably have to find the weapon_mp7.cpp and replace the weapon model path with the mp40's .mdl. But then you would have to change all the animation names in the code, my guess is it would be a pain, making your own weapon though shouldn't bee too hard, though I don't know if the CSS code allows you to add weapons. There is a tutorial for adding weapons to HL2 on this site. I'm not a coder and I feel I may have just misinformed you, someone correct me if I'm wrong.

Re: Setting up files in custom mod

PostPosted: Sun Jan 08, 2012 11:33 pm
by stukabomber44
Well I'm looking for pre-existing models to manipulate heavily if possible. So taking weapons from WW2 and from CSS would be a cool combination. I'm creating a small mod for HL2 so that's why I'm asking.