Forums » Community Projects
TurretHop - Quickly select your own turrets.
TurretHop - Quickly select your own turrets.
http://www.voupr.com/plugin.php?name=turrethop
This is a small plugin that makes a user command you can use to quickly select one of your ship's turrets from the pilot's seat.
You can bind it to a key by first making an alias.
/alias turret3 "turrethop 3"
/bind x turret3
http://www.voupr.com/plugin.php?name=turrethop
This is a small plugin that makes a user command you can use to quickly select one of your ship's turrets from the pilot's seat.
You can bind it to a key by first making an alias.
/alias turret3 "turrethop 3"
/bind x turret3
Did you make a mistake on line 10, or are do we really use PurchaseMerchandiseItem() to enter a turret? That just seems a little too pants-on-head even for GS.
You should add an option to kick the existing gunner from a turret so you can man it yourself.
Thanks ARF.
And yes, Rin, I used it in one of my own plugins, seems to be the only way i've found.
And yes, Rin, I used it in one of my own plugins, seems to be the only way i've found.
It's totally pants-on-head. :D
Anyway, v1.1 now lets you switch directly from one turret to the next so you don't accidentally /activate and jump in a fight.
Anyway, v1.1 now lets you switch directly from one turret to the next so you don't accidentally /activate and jump in a fight.
Local pants_on_head = PurchaseMerchaniseItem(wardrobe.headpants)
Wear(pants_on_head)
Print("when I test code, I do it in production!")
Wear(pants_on_head)
Print("when I test code, I do it in production!")
/me just had a pretty good laugh
nice
I've got an update in the works to make this work for /gunner invited players too, but there's some hangups.
If anyone's around who wants to help me test it, let me know in-game.
If anyone's around who wants to help me test it, let me know in-game.
v1.2 is up. This one tries to keep your target when switching turrets since the game de-targets every time you enter/leave.
Chat messages also now include the equipped weapon.
Chat messages also now include the equipped weapon.
v1.4 is up. Fixes the lockout to stop the switch between turrets from knocking your ship out of turbo.
Dunno why v1.3 didn't get posted, but this also includes whatever I fixed in that version.
Dunno why v1.3 didn't get posted, but this also includes whatever I fixed in that version.