mounted guns
Post Reply
Quote
Re: mounted guns
Posted by Kinnakor on Tue Dec 7th at 1:54pm 2004


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

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.





Quote
Re: mounted guns
Posted by Neural Scan on Tue Dec 7th at 2:13pm 2004


Have you tried making it prop_dynamic? That's the only thing I can think of :/

btw is this for hl2 or deathmatch?





Quote
Re: mounted guns
Posted by Kinnakor on Tue Dec 7th at 3:33pm 2004


I am making this for Half-Life 2 single player.



Quote
Re: mounted guns
Posted by Nanodeath on Tue Dec 7th at 6:40pm 2004


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.



Quote
Re: mounted guns
Posted by Kinnakor on Tue Dec 7th at 7:05pm 2004


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



Quote
Re: mounted guns
Posted by Kinnakor on Tue Dec 7th at 8:44pm 2004


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?



Quote
Re: mounted guns
Posted by Yak_Fighter on Wed Dec 8th at 1:56am 2004


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. [addsig]



Quote
Re: mounted guns
Posted by Dracarys on Wed Dec 8th at 2:11am 2004


Do you have the (if it even exists) Controllable flag checked?




Quote
Re: mounted guns
Posted by Kinnakor on Wed Dec 8th at 2:28am 2004


there is no controlable flag for the bunkergun prop.



Quote
Re: mounted guns
Posted by Yak_Fighter on Wed Dec 8th at 2:30am 2004


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. [addsig]



Quote
Re: mounted guns
Posted by Rof on Wed Dec 8th at 3:50pm 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.




Quote
Re: mounted guns
Posted by Petrarch on Thu Dec 30th at 6:04pm 2004


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.






Post Reply