bunny had more luck than I - I never personally got it working on my own system in 1st person due to compiling and export issues.
He laid out the process pretty well in the previous message. How I started was by decompiling a weapon that was close to mine in terms of shape and size. I opened it in 3ds Max, replaced their weapon with mine, skinned my weapon to their bones, and exported. I could never get it to compile properly, and bunny said he got it working, but I never saw it in action (but I would love to). On Wed, Mar 28, 2012 at 1:47 PM, bunny <holger.mail.ber...@gmx.de> wrote: > Hi Alex, > > we figured out how custom melee weapons work one year ago (see the mail > from Ben Nadler "[L4Dmapper] Custom Melee Weapons - Finally Working!" > 9.3.2011). > To create your own custom melee weapon you need some experience in > creation/compiling of custom prop for the source engine. > If I understand you correct you want to use an existing melee weapon in > your campaign: > - you need a view model for firstperson view and a world model for > thirtperson view. Normally stored in the vpk folder "models/weapons/melee" > with v_ and w_ prefix. e.g. v_shovel and w_shovel > - you need a custom melee weapon script in the vpk folder "scripts/melee" > e.g. shovel.txt > - you have to add the custom melee weapon to your mission file in the vpk > folder "missions". There is a line with all allowed melee weapons in this > campaign e.g. "meleeweapons" "fireaxe;crowbar;cricket_bat;** > katana;baseball_bat;knife;**shovel" > - to spawn the melee weapon in your campaign use a "weapon_melee_spawn" in > Hammer and set "Melee Weapon" value = shovel and browse for the "World > Model" value to the w_ model file e.g. w_shovel.mdl > If you run your campaign the custom melee weapon should work. > The only limitation is that it is not possible to use a custom hud icon > for the melee weapon. > > I recommend to use a "true" custom melee weapon with a custom name. A > replacement melee weapon of a valve melee weapon may cause trouble. > > Let me know if you have detailed questions. > > Regards, > bunny > > ----- Original Message ----- From: "ics" <i...@ics-base.net> > To: "Left 4 Dead Modder List" > <l4dmapper@list.valvesoftware.**com<l4dmapper@list.valvesoftware.com> > > > Sent: Wednesday, March 28, 2012 7:27 PM > Subject: Re: [L4Dmapper] [L4DMapper]Custom melee weapon > > > > Last time i heard someone doing something like this, it required editing >> some official weapons files or something and then packing those files with >> your campaign in order to get them work. >> >> However, some campaign that i played and used such method, it swapped >> some weapon color to another as long as i had that campaign installed. >> >> Valve doesn't really support such things officially and so >> bubblegum/ironwire/etc is needed to make such things work. >> >> -ics >> >> 28.3.2012 20:22, Harry King kirjoitti: >> >>> Hey Alex, >>> >>> Just stabbing in the dark here, but Mr Lanky did a mod that straight out >>> swaps the cricket bat for a shovel. I guess you'd need to: >>> * Repack his VPK inside of your campaign >>> * Spawn cricket bats where you want le' shovels >>> * ??? >>> * Profit? >>> >>> Here's the L4DMaps link: >>> http://www.l4dmaps.com/**details.php?file=13219<http://www.l4dmaps.com/details.php?file=13219> >>> & his personal site: http://www.mrlanky.com/ >>> which says- " All mods are free to use, distribute, edit and generally >>> have >>> fun with", but it couldn't hurt to send him a quick PM on the subject. >>> >>> Harry >>> >>> >>> >>> >>> -----Original Message----- >>> From: >>> l4dmapper-bounces@list.**valvesoftware.com<l4dmapper-boun...@list.valvesoftware.com> >>> [mailto:l4dmapper-bounces@**list.valvesoftware.com<l4dmapper-boun...@list.valvesoftware.com>] >>> On Behalf Of Alexis H >>> Sent: 28 March 2012 11:57 >>> To: Left 4 Dead Modder List >>> Subject: [L4Dmapper] [L4DMapper]Custom melee weapon >>> >>> Hey guys, >>> Ive noticed a couple of campaigns that have custom melee weapons. I'd >>> like >>> to make a shovel for my campaign but I have absolutely no idea how to >>> even >>> start. >>> If I find a model of a shovel and have permission to use it, can I do >>> somethig with it? Or is there something else I need to do? >>> >>> -Alex >>> ______________________________**_________________ >>> L4Dmapper mailing list >>> L4Dmapper@list.valvesoftware.**com <L4Dmapper@list.valvesoftware.com> >>> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**l4dmapper<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper> >>> >>> >>> ______________________________**_________________ >>> L4Dmapper mailing list >>> L4Dmapper@list.valvesoftware.**com <L4Dmapper@list.valvesoftware.com> >>> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**l4dmapper<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper> >>> >> >> >> ______________________________**_________________ >> L4Dmapper mailing list >> L4Dmapper@list.valvesoftware.**com <L4Dmapper@list.valvesoftware.com> >> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**l4dmapper<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper> >> >> > > ______________________________**_________________ > L4Dmapper mailing list > L4Dmapper@list.valvesoftware.**com <L4Dmapper@list.valvesoftware.com> > https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**l4dmapper<https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper> > -- Benjamin E. Nadler Web: www.ben-nadler.com/ Mail: nadler....@gmail.com Cell: +1 707 480 1257 _______________________________________________ L4Dmapper mailing list L4Dmapper@list.valvesoftware.com https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper