SwitchTarget

page: 1
back to index | forum index | search
 Sun, Jul 13, 2008  diqrtvpe
This is a little plugin that allows you to set your group-mates' targets to your target, and vice versa. It's not intended for large groups, NW-style, but more for groups of two or three, for precision targeting. It will only work for group members who have it installed and active, and you can turn it off if you want. With it off, if someone in your group tries to switch, it will still let you know who they are targeting.

Syntax: /switchtarget -- turns it on and off
/target -- activates the switch
/leader -- toggles between multi-target mode (default) and leader mode
/stmode -- shows which mode you're in
/leaderswitch "name" (or /stls "name")-- if you are group target leader you can set "name" as new target leader, if they have leader mode on
/leaderall (or /stla)-- if you are group target leader you can set all groupmembers to leader mode
/targetroid (or /rtarget) -- switches target to a roid or cargo crate
/subgroup # (or /stsg #) -- joins a subgroup (1-9) (when in a subgroup only targets called from your subgroup will work)
/subgroup -- join subgroup 1 or leave a subgroup

Download Version 1.3.

Download Version 1.4 Beta.

This is my first plugin, so there are bound to be mistakes, things I've left out, etc. I encourage bug reports and feature requests.
link
 Mon, Jul 14, 2008  chana
This is a nice pluging thanks Diqrtvpe.

Works great for the targets in storms.

Chana
link
 Mon, Jul 14, 2008  diqrtvpe
Thanks, Chana, I'm glad you like it! A few bugfixes and extra functionality in the latest version (I'm arbitrarily starting at 1.0 right now because I can, and because most of the obvious bugs seem to be out). If you have any suggestions, let me know!

Denji
link
 Tue, Jul 15, 2008  diqrtvpe
Version 1.1 posted, with new functionality explained above.
link
 Mon, Jul 21, 2008  diqrtvpe
Version 1.2 posted, some new things, and new syntax to make it simpler.
link
 Tue, Jul 22, 2008  diqrtvpe
Version 1.3 up. Now with subgroups, so you can split into smaller groups while maintaining voice chat and other group-related cohesiveness.
link
 Sun, Aug 03, 2008  SuperMegaMynt
I'm curious, when you send a command to have everyone target your target, is the message visible on the chat box, or is it completely invisible?
link
 Sun, Aug 03, 2008  diqrtvpe
If the person's target is switched they don't see it. If their target isn't switched, for instance if they are in leader mode and you are in multi mode and you send a command, they will see a regular "Current target is blah blah blah" message, with some numbers at the beginning. At least, that's what it's supposed to do. If you see the message when your target is switched, that's a bug, and I'd like to know about it so I can fix it for you!
link
 Sun, Aug 03, 2008  Logoffskies
I don't have any friends, so I can't test it. =( I'm just wondering if you know a way to send commands to people without it clogging up the chat box. For example, what if I wanted to send to the other people in my group my distances to them 50 times every second? Know you a way to do this while keeping the chat box viable for chatting?

-SuperMegaMynt's Alt
link
 Mon, Aug 04, 2008  diqrtvpe
The way I did this, with help from the people listed in my plugin, was by overriding chatreceiver. Instead of passing all chat to chatreceiver, I rename it to chatreceiver_old, and make a new chatreceiver, which gets called every time there's a chat event. I then put whatever functionality I want for certain triggers, and if it doesn't have a certain trigger I pass it back to chatreceiver_old, which handles it like regular chat.

In your case, you could definitely use something similar to keep the distance calls from cluttering up your chatbox, but you wouldn't be able to send 50 times a second, because they'll still be regular messages, governed by the built-in flood controls. Even though the messages aren't passed to chat, they're still handled the same way in every other respect.
link
 Tue, Apr 21, 2009  diqrtvpe
Version 1.4 Beta is now up. It has all the old functionality but now adds HUD changes. Different subgroups are listed together in your group list, leaders are coloured yellow, among other changes. This is still a beta, so errors are expected, but feel free to try it out. I'll release the full version after more extensive testing.
link
 Thu, Apr 30, 2009  Kilwrathi
Pretty wild, I was just asking around last night if there was anything in game that would do this.
Thanks for posting the update so I could find it.
link
 Fri, Jan 01, 2010  diqrtvpe
I have just been informed that there is a game-crashing bug in SwitchTarget that has something to do with convoy capships, and their leaving your group. I have not yet verified the circumstances surrounding this bug, but I'm looking into it, and if anyone experiences it I'd appreciate it if you'd let me know the details. Thanks a lot!
link
back to index | forum index | search
page: 1