 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
moggy2


Joined: 06 Nov 2002 Posts: 4586 on topic Location: Montréal

|
Posted: Wed, 13. Jun 07, 16:13 Post subject: [Bonus Plugin] Group Hotkeys (GHK) |
|
|
Name: Group Hotkeys (GHK)
Version: 2.3
Date: 05.04.2007
Scripter: moggy2
Using Group Hotkeys:
This script defines new hotkeys to give orders to groups as defined by the Group Management System. The new hotkeys allow you to give orders to group leaders without going through their command menus.
The hotkeys are divided into 2 groups. The first group allow you to select which group you wish to give orders to. The second group of hotkeys are the orders. These are given to the group selected by the first group of hotkeys.
As an example, to order a group of ships, defined as group 3 by the Group Management System, the order to attack my target. You first press the hotkey defined for Select Group 3 then you press the hotkey defined for Group attack my Target.
The Hotkeys:
Hotkeys Group1
GHK: Select Group 1
GHK: Select Group 2
GHK: Select Group 3
GHK: Select Group 4
GHK: Select Group 5
GHK: Select Group 6
Hotkeys Group2
GHK: Group: Attack All
GHK: Group: Attack My Target
GHK: Group: Protect Me
GHK: Group: Protect My Target
GHK: Group: Hold Position
GHK: Group: Return Home
GHK: Group: Dock At...
GHK: Group: Launch Missiles
GHK: Escorts: Launch Missiles
Tips:
You don't have to select the group number each time you give an order. The last selected group number is remembered until it is overriden by another select group command. If you're only controlling one group, once you've set the group number once, you don't need to be selecting that group number before giving the commands.
GHK: Escorts: Launch Missiles commands ships following you rather than the last selected group, and can thus be used even without defining any groups.
_________________
RSS Feed : Submit News Article : Download Scripts : Image Galleries |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
jlehtone Moderator

 
Joined: 23 Apr 2005 Posts: 14592 on topic Location: GalNet BBS

|
Posted: Fri, 15. Jun 07, 08:42 Post subject: |
|
|
This script is IMO the most powerful weapon in the vanilla game. 
_________________ X3R 2.5 + BP 3.1.07; Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Kraz
Joined: 09 Jun 2007 Posts: 11 on topic

|
Posted: Fri, 15. Jun 07, 21:53 Post subject: |
|
|
Agreed, the GMS package is very powerful. Although I do still have odd problems with the GHK plugin. In the game menu where you can define hotkeys, I don not have the group selection hotkeys. what I see basically amounts to variations of the group attack and protect commands, some listed twice. I haven't been able to find a place to define the select group keys.
(I used the spk from the Xai Corp site, the only other scripts I am running are Xai corp scripts.) Have you seen this before?
Kraz
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
jlehtone Moderator

 
Joined: 23 Apr 2005 Posts: 14592 on topic Location: GalNet BBS

|
Posted: Fri, 15. Jun 07, 23:31 Post subject: |
|
|
The first version of GHK had commands for Group 1 and Group 2. The second version (now signed) has set of commands and six Select keybinds (for groups 1--6). Could it be that the spk version, which probably retains something of both version keybindings somehow lingers around? I had tested the second version before and then removed it. Now, with installation of signed version, I already seem to have the correct keys bound, like I did set them during the test. I actually never saw the first version keybinds in Controls.
_________________ X3R 2.5 + BP 3.1.07; Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Kraz
Joined: 09 Jun 2007 Posts: 11 on topic

|
Posted: Tue, 19. Jun 07, 19:43 Post subject: |
|
|
Ahh. That explains much. I'll remove the spk version and install the bonus pack version.
Cheers 
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
jlehtone Moderator

 
Joined: 23 Apr 2005 Posts: 14592 on topic Location: GalNet BBS

|
Posted: Mon, 16. Jul 07, 16:55 Post subject: |
|
|
The hotkeys do work while the sector map is open.
One can for example launch missiles or assing new tasks to Groups without closing the map.
target, fire; target, fire; target, fire; ...
_________________ X3R 2.5 + BP 3.1.07; Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
feserik
Joined: 21 Feb 2006 Posts: 5 on topic

|
Posted: Sun, 2. Sep 07, 08:19 Post subject: |
|
|
Say i just docked for repairs and I have a second group still in the battle, can i still give group 2 commands while i'm docked?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
moggy2


Joined: 06 Nov 2002 Posts: 4586 on topic Location: Montréal

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Sinnerman49
Joined: 20 Sep 2007 Posts: 37 on topic

|
Posted: Fri, 21. Sep 07, 03:17 Post subject: |
|
|
For some reason, the group hotkeys are not working for me.
I've set up a group (1 ship actually...) with the GMS Command, set it as "Trade Fleet", "1" for the group, "0" followers, etc.
When I press "r" to view my ships, the TS that I made the group shows up as "Trade Fleet(1) Essex"
Then I went to the options menu, and under the key assignments set F12 to select Group 1 and F11 to Command "Dock at..."
However, in game, when I press F12, then F11 nothing happens, no sounds or anything.
Am I doing something wrong?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
moggy2


Joined: 06 Nov 2002 Posts: 4586 on topic Location: Montréal

|
Posted: Fri, 21. Sep 07, 03:27 Post subject: |
|
|
the dock at hotkey requires a target. You need to have the station or carrier that you want the ship to land at as your current target. It's actually dock at my target.
Most of the hotkeys like that. You can't have a hotkey ask for input. so it takes the player target as the input.
_________________
RSS Feed : Submit News Article : Download Scripts : Image Galleries |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Sinnerman49
Joined: 20 Sep 2007 Posts: 37 on topic

|
Posted: Fri, 21. Sep 07, 03:52 Post subject: |
|
|
I see....well even that doesn't work. I target a Teladi ED, press F12, then F11 - nothing....
No sounds or anything letting me know that I selected Group 1
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
jlehtone Moderator

 
Joined: 23 Apr 2005 Posts: 14592 on topic Location: GalNet BBS

|
Posted: Fri, 21. Sep 07, 08:29 Post subject: |
|
|
| Sinnerman49 wrote: |
| No sounds or anything letting me know that I selected Group 1 |
That part is normal. 'Select Group' gives no feedback.
IIRC, Group 1 is already selected from start. The script has a global variable for 'CurrentlySelectedGroup', and that variable is thus initialized to '1' on first installation. The hotkeys can change that, but there is no way to know the current value without the use of ScriptEditor.
So your ship and "Trade Fleet(1) Essex" are in the same sector?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
moggy2


Joined: 06 Nov 2002 Posts: 4586 on topic Location: Montréal

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Sinnerman49
Joined: 20 Sep 2007 Posts: 37 on topic

|
Posted: Fri, 21. Sep 07, 22:04 Post subject: |
|
|
No, just the the Egosoft signed bonus package and XTM
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
xyzzy
Joined: 15 Jun 2007 Posts: 216 on topic

|
Posted: Sun, 23. Sep 07, 09:23 Post subject: |
|
|
Moggy2 - I just tried GMS for the first time tonight, and it's great! Immediately made my "can't live without it" list. (In fact, i'm using almost all of the Xai corp scripts!)
I ended up using Klyith's renaming system after GMS renamed my ships, because I set up the naming scheme I prefer in that, with colorization and such. This didn't appear to harm anything with GMS - the ships have kept their new names so far, and everything seems to be working. I wonder if eventually there could be an option to not have GMS rename the ships?
I remapped keys to the GMS hotkeys, and they work as advertised so far. One minor point of confusion: if I have several groups of M3's in my carrier, it seems like I can't give them GMS commands unless they are launched via some other means? Once they're launched, I can control them fine with GMS. But if they're docked, giving "protect me" when I'm flying the carrier doesn't launch them. It's a minor thing, and likely a misunderstanding on my part.
If I use "attack my target", after that target is destroyed, will the GMS controlled ships go after other nearby targets on their own? Or must I tell them to do so?
Overall, excellent work! It goes a long ways to addressing a big hole in the original game.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|