mounted guns

mounted guns

Re: mounted guns Posted by Kinnakor on Tue Dec 7th 2004 at 1:54pm
Kinnakor
23 posts
Posted 2004-12-07 1:54pm
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
Ive been trying for the last 2 days straight trying to figure this out on hammer, been to different websites/forums and no one knows or replys to me thread about this :sad:

Ive tried adding brush entitys and can't figure out how to make the gun there or make it work, ive added the bunker gun from the combine props and it just doesn't work.
Re: mounted guns Posted by Neural Scan on Tue Dec 7th 2004 at 2:13pm
Neural Scan
150 posts
Posted 2004-12-07 2:13pm
150 posts 85 snarkmarks Registered: Jun 28th 2003 Occupation: Student Location: England.
Have you tried making it prop_dynamic? That's the only thing I can think of :/

btw is this for hl2 or deathmatch?
Re: mounted guns Posted by Kinnakor on Tue Dec 7th 2004 at 3:33pm
Kinnakor
23 posts
Posted 2004-12-07 3:33pm
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
I am making this for Half-Life 2 single player.
Re: mounted guns Posted by Nanodeath on Tue Dec 7th 2004 at 6:40pm
Nanodeath
356 posts
Posted 2004-12-07 6:40pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
If you're using brush entities...I think you could just use the func_tank from HL1, right? Link. As for using a point-based entity to get a controllable turret, I dunno. The description doesn't list it as being obsolete.
Re: mounted guns Posted by Kinnakor on Tue Dec 7th 2004 at 7:05pm
Kinnakor
23 posts
Posted 2004-12-07 7:05pm
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
I want to get the mounted gun from in the single player hl2 game, the one that is kina like the smg1 but is mounted and has unlimited ammo, thanks
Re: mounted guns Posted by Kinnakor on Tue Dec 7th 2004 at 8:44pm
Kinnakor
23 posts
Posted 2004-12-07 8:44pm
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
I am trying to get the bunker gun from the combine props to work, when i play in game i push e and it won't let me use?
Re: mounted guns Posted by Yak_Fighter on Wed Dec 8th 2004 at 1:56am
Yak_Fighter
1832 posts
Posted 2004-12-08 1:56am
1832 posts 742 snarkmarks Registered: Dec 30th 2001 Occupation: College Student/Slacker Location: Indianapolis, IN
I'll look for a solution to this, as it interests me as well. I'll keep this thread updated. Maybe I'll even write a crappy tutorial.
Re: mounted guns Posted by Dracarys on Wed Dec 8th 2004 at 2:11am
Dracarys
5 posts
Posted 2004-12-08 2:11am
Dracarys
member
5 posts 1 snarkmarks Registered: Dec 4th 2004 Occupation: HL2 Location: USA
Do you have the (if it even exists) Controllable flag checked?
Re: mounted guns Posted by Kinnakor on Wed Dec 8th 2004 at 2:28am
Kinnakor
23 posts
Posted 2004-12-08 2:28am
Kinnakor
member
23 posts 2 snarkmarks Registered: Dec 7th 2004 Location: usa
there is no controlable flag for the bunkergun prop.
Re: mounted guns Posted by Yak_Fighter on Wed Dec 8th 2004 at 2:30am
Yak_Fighter
1832 posts
Posted 2004-12-08 2:30am
1832 posts 742 snarkmarks Registered: Dec 30th 2001 Occupation: College Student/Slacker Location: Indianapolis, IN
I can tell you that the bunker gun requires the prop_dynamic entity, but I can't yet tell you how to make it fire. Hopefully by Wednesday.
Re: mounted guns Posted by Rof on Wed Dec 8th 2004 at 3:50pm
Rof
210 posts
Posted 2004-12-08 3:50pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
I have a working player-controlled turret example here.

The crucial parts are the func_tank (this controls how the gun
functions), the prop_dynamic (this is the gun model), and the
trigger_multiple (this is the area the player has to be in to control
the gun). The rest of the bits (sprites, spotlight) aren't necessary.

If you look at the output tab of the func_tank, you can see how the gun
animations are triggered when the player starts or stops using the
turret, or fires the gun.

Edit: apparently, this only works in single-player, not HL2DM.
Re: mounted guns Posted by Petrarch on Thu Dec 30th 2004 at 6:04pm
Petrarch
16 posts
Posted 2004-12-30 6:04pm
Petrarch
member
16 posts 2 snarkmarks Registered: Dec 30th 2004 Location: Engerland
Cheers guys, just what I came looking for.

Shame it won't work in DM though, as I'm updating one of my HL1 maps to HL2, and need some mounted MGs. :sad: