I decided to upload this, as maybe it will get me some needed feedback. Two files right now, kyle.cog and weap_bryar.cog. My grav gun replaces the bryar pistol.
Primary fire will fire a kinetic blast at the target. Secondary will grapple onto the target. While grappled, you can use primary fire to launch the grappled thing, or you can waggle your mouse around to swing it into people. This is handy in levels like BGJ where you can stand on the ledge and swing or fire the shrapnel at players below. Also, in nar shadaa, you can grab a box then fire it at peoples heads from the area above the main hanger.
Currently, if an object is destroyed/killed while you're grappled, the gun will be glitched until you grapple something else with secondary. You won't see it, but a timer will be running in the background endlessly in this case. Any ideas on how to fix it? I'm sure it's something very simple I just overlooked.
Also, the final product won't be an actual gravity gun like HL2s. It is a new concept weapon designed by JediKirby and will include model/skin. I have planned several new gravity-based gametypes that will focus around this gun or variations of it, which I will implement once this is tested more.
Note: Should work in MP, where if you attack a player with secondary it should pull their weapon from their hand, including a lightsaber. BUT I can't play JK MP so I haven't tested my code at all. If any of you could try it out and let me know if it lags at all, and if the gun-grabbing works, that'd be awesome.
Please, don't use this for anything besides testing/private use. Email me @
switched.on@gmail.com or pm me with comments/suggestions/questions or even just post em in this thread
[could have made a new thread, but I don't mind if not many people see this yet, plus I'm lazy]
</sarcasm>
<Anovis> mmmm I wanna lick your wet, Mentis.
__________