Setting up files in custom mod

Grab your favourite IDE and tinker with the innards of game engines

Setting up files in custom mod

Postby stukabomber44 on Sun Jan 08, 2012 7:03 pm

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
stukabomber44
Regular
Regular
 
Joined: Sun Nov 14, 2010 7:33 pm
Location: Canada

Re: Setting up files in custom mod

Postby Gary on Sun Jan 08, 2012 7:59 pm

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...
Have a question related to modding or something I posted? Something that needs staff attention? PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: Setting up files in custom mod

Postby stukabomber44 on Sun Jan 08, 2012 8:03 pm

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??
stukabomber44
Regular
Regular
 
Joined: Sun Nov 14, 2010 7:33 pm
Location: Canada

Re: Setting up files in custom mod

Postby Smurftyours on Sun Jan 08, 2012 11:15 pm

The source code is not available for DOD:S. Please correct me if I am wrong.
jangalomph wrote:Wise words from a wise man. ^
User avatar
Smurftyours
Senior Member
Senior Member
 
Joined: Tue Aug 04, 2009 6:11 pm
Location: California, US.

Re: Setting up files in custom mod

Postby Armageddon on Sun Jan 08, 2012 11:23 pm

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.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: Setting up files in custom mod

Postby stukabomber44 on Sun Jan 08, 2012 11:33 pm

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.
stukabomber44
Regular
Regular
 
Joined: Sun Nov 14, 2010 7:33 pm
Location: Canada

Return to Programming

Who is online

Users browsing this forum: No registered users

cron