Adding 'custom' weapons to the game

Adding 'custom' weapons to the game

Re: Adding 'custom' weapons to the game Posted by fizscy46 on Mon Aug 9th 2004 at 2:43am
fizscy46
334 posts
Posted 2004-08-09 2:43am
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Ok when I say custom, I mean I ripped it from another mod to add more variety to my little map thingy that I'm doing on 69th Vlatitude.

It's more of a learning thing to get me back into mapping in time for HL2.
Anyways, I took the minigun from Half-Life: Invasion. I have the 3 models (ammo, gun on ground, gun in hand), as well as the skill.cfg entry for its shot power.

Now I have absolutely no idea how to intigrate it into hammer as a weapon, and into my mini-mod thing.

Any help would be much appreciated
Re: Adding 'custom' weapons to the game Posted by Crono on Mon Aug 9th 2004 at 8:42am
Crono
6628 posts
Posted 2004-08-09 8:42am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
Pretty sure you can either A) Add it to the FGD list with its location, or B) replace a current model and its coresponding sounds ... Also, I didn't no the signature area wasn't censored ...
Re: Adding 'custom' weapons to the game Posted by wil5on on Mon Aug 9th 2004 at 9:50am
wil5on
1733 posts
Posted 2004-08-09 9:50am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Changing the FGD wont do anything unless you change the code, and it doesnt look like thats what youve done... If you have coded it in however, just copy existing ammo_ and weapon_ entities in the fgd and change the values to suit.

If you havent changed the code however... just name your models the same as the models for the weapon you want to replace, put them in your mod folder\models, and pray the animations are the same. They should appear right in hammer, but I'd be surprised if they worked completely bug free in-game.
Re: Adding 'custom' weapons to the game Posted by G.Ballblue on Mon Aug 9th 2004 at 3:09pm
G.Ballblue
1511 posts
Posted 2004-08-09 3:09pm
1511 posts 211 snarkmarks Registered: May 16th 2004 Occupation: Student Location: A secret Nuclear Bunker on Mars
fizscy46 said:
Ok when I say custom, I mean I ripped it from another mod to add more variety to my little map thingy that I'm doing on 69th Vlatitude.

It's more of a learning thing to get me back into mapping in time for HL2.
Anyways, I took the minigun from Half-Life: Invasion. I have the 3 models (ammo, gun on ground, gun in hand), as well as the skill.cfg entry for its shot power.

Now I have absolutely no idea how to intigrate it into hammer as a weapon, and into my mini-mod thing.

Any help would be much appreciated
Well, I would LIKE to assume this is an Sven-Coop map -- which is the only mod out there that allows you to replaces old weapon models with custom or new ones.

If it is Sven coop, it's easy... just a tad harder than getting up in the morning. In your Sven Coop directory, go to the models folder. Good. Now create a folder with your map name as it's name (remember-- NO SPACES! ) Place all of your models there.

Now, find the weapon you want to replace. Let's say its the minigun. There will be 3 spots on the entity that says "custom v_model. "custom p_model." "custom w_model.."

Simply fill those spots in with the correct names. Here's an example on my hardrive:

custom v_model: models/classic/v_9mmhandgun.mdl

make sure you add the .mdl extension. If ya don't put it in right, HL crashes when you go to play your map. (it's easy to fix... apparently you typed it in wrong!)
Re: Adding 'custom' weapons to the game Posted by Nugg3t on Mon Aug 9th 2004 at 4:56pm
Nugg3t
46 posts
Posted 2004-08-09 4:56pm
Nugg3t
member
46 posts 15 snarkmarks Registered: Jun 22nd 2004 Occupation: Student
It's not for sven coop, he said it was for a small mod.
Re: Adding 'custom' weapons to the game Posted by fizscy46 on Mon Aug 9th 2004 at 6:17pm
fizscy46
334 posts
Posted 2004-08-09 6:17pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Its for a small mini-mod, single player, regular old Halflife settings.

And It isn't... I used a set of empty BBcode bold tags inbetween the u and c... Looks like they've been removed though.

Thrange that I can't say that when you hear grunts say things like s**t in the game

But I'm going to try Wilson's solution to see how it works. I'll just replace the mp5 with it
Re: Adding 'custom' weapons to the game Posted by ReNo on Mon Aug 9th 2004 at 6:20pm
ReNo
5457 posts
Posted 2004-08-09 6:20pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
No offence, but purposefully circumventing the censoring methods of the forums isn't a great way to introduce yourself to the place!
Re: Adding 'custom' weapons to the game Posted by fizscy46 on Mon Aug 9th 2004 at 6:29pm
fizscy46
334 posts
Posted 2004-08-09 6:29pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Its a habit, I do it whether or not the forums have censors. I don't bother to check.

But when people complain about it, I remove the decensoring stuff
Re: Adding 'custom' weapons to the game Posted by Leperous on Tue Aug 10th 2004 at 10:02pm
Leperous
3382 posts
Posted 2004-08-10 10:02pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Then we just stop you from being able to use a sig, and perhaps place other restrictions for such insolence :razz: Besides, the reasons for censoring lies beyond a simple objection to the odd case of bad language...

Anyway, I hope you can code:
http://collective.valve-erc.com/index.php?doc=1026171711-73606300
Re: Adding 'custom' weapons to the game Posted by fizscy46 on Wed Aug 11th 2004 at 7:49pm
fizscy46
334 posts
Posted 2004-08-11 7:49pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
<!-- ZoneLabs Popup Blocking Insertion -->Erp O_O

OK, I apologise for any incovenience cause by my signature. I'll just change it to something non-invasive or such.

Don't know how to code, but I know how to copy and paste and change little thing. I'll have to get meself Borland for this though I suppose.
Re: Adding 'custom' weapons to the game Posted by wil5on on Thu Aug 12th 2004 at 9:23am
wil5on
1733 posts
Posted 2004-08-12 9:23am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
No! Dont use Borland for HL coding (it can be done, but its more trouble than its worth). Use MS Visual C++ 5 or later (I use 6, I've heard of some problems with .NET but plenty of people seem to have it working).
Re: Adding 'custom' weapons to the game Posted by ReNo on Thu Aug 12th 2004 at 1:58pm
ReNo
5457 posts
Posted 2004-08-12 1:58pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Borland offers free IDE's though, Visual C++ costs you money. I've not
used Borland before though, perhaps it sucks so much it is well worth
the cash for Visual C++ (which, btw, is very very nice :smile: ). My
coder-monkey flatmate now swears by Visual .NET, apparently its very
handy for the more experienced coder.
Re: Adding 'custom' weapons to the game Posted by fizscy46 on Thu Aug 12th 2004 at 7:09pm
fizscy46
334 posts
Posted 2004-08-12 7:09pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Yeah, I don't feel like wasting money on those kinds of programs. Although I may try downloading it.
Re: Adding 'custom' weapons to the game Posted by KingNic on Thu Aug 12th 2004 at 7:57pm
KingNic
185 posts
Posted 2004-08-12 7:57pm
KingNic
member
185 posts 49 snarkmarks Registered: Feb 5th 2004 Occupation: Student Location: UK
You really are an idiot. You announce that you warez things on a forum
full of game developers? The same game developers that you'll probably
steal from in the future?
Re: Adding 'custom' weapons to the game Posted by fizscy46 on Thu Aug 12th 2004 at 9:10pm
fizscy46
334 posts
Posted 2004-08-12 9:10pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Oh no, I don't download games (Except abandonware). Just overpriced professional software.

EDIT: Besides, I think that a good amount of the people on this site have downloaded at least one piece of software online / from file sharing programs before, and a good 3/4 of them downloaded music off of file sharing programs.

I bet some people on here have even downloaded Half-life in that manner as well.