Posted by fizscy46 on Mon Aug 9th at 2:43am 2004
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 [addsig]
Posted by Crono on Mon Aug 9th at 8:42am 2004
Posted by wil5on on Mon Aug 9th at 9:50am 2004
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 foldermodels, 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.
[addsig]wil5on
member
1733 posts
323 snarkmarks
Registered: Dec 12th 2003
Location: Adelaide

Occupation: Mapper
Posted by G.Ballblue on Mon Aug 9th at 3:09pm 2004
| ? posted by fizscy46 |
| 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!)
[addsig]G.Ballblue
member
1511 posts
211 snarkmarks
Registered: May 16th 2004
Location: A secret Nuclear Bunker on Mars

Occupation: Student
Posted by Nugg3t on Mon Aug 9th at 4:56pm 2004
Posted by fizscy46 on Mon Aug 9th at 6:17pm 2004
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 [addsig]
Posted by ReNo on Mon Aug 9th at 6:20pm 2004
ReNo
member
5457 posts
933 snarkmarks
Registered: Aug 22nd 2001
Location: Scotland
Occupation: Level Designer
Posted by fizscy46 on Mon Aug 9th at 6:29pm 2004
But when people complain about it, I remove the decensoring stuff [addsig]
Posted by Leperous on Tue Aug 10th at 10:02pm 2004
Then we just stop you from being able to use a sig, and perhaps place other restrictions for such insolence
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
Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
Posted by fizscy46 on Wed Aug 11th at 7:49pm 2004
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.
[addsig]Posted by wil5on on Thu Aug 12th at 9:23am 2004
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).
[addsig]wil5on
member
1733 posts
323 snarkmarks
Registered: Dec 12th 2003
Location: Adelaide

Occupation: Mapper
Posted by ReNo on Thu Aug 12th at 1:58pm 2004
[addsig]
ReNo
member
5457 posts
933 snarkmarks
Registered: Aug 22nd 2001
Location: Scotland
Occupation: Level Designer
Posted by fizscy46 on Thu Aug 12th at 7:09pm 2004
Posted by KingNic on Thu Aug 12th at 7:57pm 2004
[addsig]
Posted by fizscy46 on Thu Aug 12th at 9:10pm 2004
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. [addsig]
Snarkpit v6.1.0 created this page in 0.0264 seconds.

