Inserting custom Weapon Models in your maps

Inserting custom Weapon Models in your maps

Re: Inserting custom Weapon Models in your maps Posted by Imbrifer on Mon Oct 31st 2005 at 4:13am
Imbrifer
32 posts
Posted 2005-10-31 4:13am
Imbrifer
member
32 posts 363 snarkmarks Registered: Dec 11th 2004
Just wondering how to make it so when players play your map, they have
custom weapon models. I'd like to make a zombie defense sort of
map and give people a nice wooden-stock shotgun and a baseball bat...
couldn't find any topic on this on the forums, and it seems like it
would be complicated and such. But I know it can be done...
Re: Inserting custom Weapon Models in your maps Posted by Crono on Mon Oct 31st 2005 at 4:17am
Crono
6628 posts
Posted 2005-10-31 4:17am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
A) Distribute the models with the map so people can replace them (make a note to rename the old models, otherwise they'll be overwritten)

B) Make a mini-mod with all this stuff. I believe making a MP mod will give you HL2DM and you can change the models and maps and stuff ... I think. I haven't done it personally, so it's mostly a guess.

Hopefully, these will point you in the right direction. :smile:
Blame it on Microsoft, God does.
Re: Inserting custom Weapon Models in your maps Posted by wil5on on Mon Oct 31st 2005 at 5:47am
wil5on
1733 posts
Posted 2005-10-31 5:47am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Has anyone investigated including the models in the proper paths within the bsp?
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: Inserting custom Weapon Models in your maps Posted by Crono on Mon Oct 31st 2005 at 5:52am
Crono
6628 posts
Posted 2005-10-31 5:52am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
Will that work if he wants to replace weapon models? ... I thought that's what he wanted. Granted, I would imagine, especially for a baseball bat, he'd want to change some of the values and sprites that ensue.

But seriously, will that work?
Blame it on Microsoft, God does.
Re: Inserting custom Weapon Models in your maps Posted by Naklajat on Mon Oct 31st 2005 at 8:44am
Naklajat
1137 posts
Posted 2005-10-31 8:44am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
I don't see why it wouldn't, in any case theres only one way to find
out. I'll try it tomorrow unless someone else does it first. I've never
heard of this at all, good thinking wil5on!

o

Re: Inserting custom Weapon Models in your maps Posted by wil5on on Mon Oct 31st 2005 at 9:37am
wil5on
1733 posts
Posted 2005-10-31 9:37am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
It works in other games, so it's certainly possible.

Mark this one correct if it works :smile:
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: Inserting custom Weapon Models in your maps Posted by Naklajat on Mon Oct 31st 2005 at 10:54am
Naklajat
1137 posts
Posted 2005-10-31 10:54am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
Just tried it and found out how tedious creating a list of models and
textures is. In any case, it works for CS:S, I imagine it'll work for
any other Source game. One thing though, if the model causes
consistancy errors people won't be able to connect, the server will
just kick them off with an error message like "Server is enforcing
consistancy for model, "models/weapons/v_rif_ak47.mdl"." Unless
"sv_consistancy" is set to "0" then it'll have no problems. To find out
if a model causes consistancy errors just replace it on your computer
and 'create a server' and if it does it will give you the error the
first time you try.

I never would have thought of using bspzip, I was thinking along the same lines as Crono. Again, good thinking wil5on.

o

Re: Inserting custom Weapon Models in your maps Posted by wil5on on Tue Nov 1st 2005 at 6:47am
wil5on
1733 posts
Posted 2005-11-01 6:47am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
No problem, just mark my answer correct :smile:
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: Inserting custom Weapon Models in your maps Posted by Imbrifer on Thu Nov 10th 2005 at 12:26am
Imbrifer
32 posts
Posted 2005-11-10 12:26am
Imbrifer
member
32 posts 363 snarkmarks Registered: Dec 11th 2004
We'll see after I give it a whirl.