[SCRIPT] Group Management System
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Some interesting ideas
commands 1-4 are all currently handled by the setup group command. With the limited number of command slots available doing it all in one command made more sense.
5. choose new group leader is an interesting idea. I'd probably do it as a command available to group ships that set's the ship it's run on to the leader of the group. I suppose it could chose the best ship from the group if run on the current leader.
the idea of selections of groups is another interesting concept. I had thought about doing an advanced group hotkeys that would allow you to define a selection of groups instead of the hardcoded groups 1 - 6
commands 1-4 are all currently handled by the setup group command. With the limited number of command slots available doing it all in one command made more sense.
5. choose new group leader is an interesting idea. I'd probably do it as a command available to group ships that set's the ship it's run on to the leader of the group. I suppose it could chose the best ship from the group if run on the current leader.
the idea of selections of groups is another interesting concept. I had thought about doing an advanced group hotkeys that would allow you to define a selection of groups instead of the hardcoded groups 1 - 6
How about a combination of Central's ideas and what you already have in 'Group Carrier Operations':
GCO takes a list of numbers as argument, so ...
add one command:
GMS (De)Select Group(s) arg1
The GHK 'Select Group n' hotkeys essentially call 'GMS (De)Select Group(s) n'.
GHK commands would use current group selection.
GCO commands with arg="" would use current group selection, or could override it. Or the arg could be removed.
GCO takes a list of numbers as argument, so ...
add one command:
GMS (De)Select Group(s) arg1
Code: Select all
arg1 :=
0 - Incoming message: list current selection
grouplist - Select listed groups
+grouplist - Add listed groups to selected list
-grouplist - Remove listed groups from selected list
grouplist := group[ grouplist]
GHK commands would use current group selection.
GCO commands with arg="" would use current group selection, or could override it. Or the arg could be removed.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Insanity included at no extra charge.
There is no Box. I am the sand.
In any case you cant have more than a specific number of hotkeys due to limited keys on your keyboard.
But more than 6 groups would be very useful if you have fighter-groups, trader-groups, capital-ship-groups, and so on.
So it would be a good solution to seperate the group-setup command and the definition of hotkeys.
But more than 6 groups would be very useful if you have fighter-groups, trader-groups, capital-ship-groups, and so on.
So it would be a good solution to seperate the group-setup command and the definition of hotkeys.
-
- Posts: 8
- Joined: Tue, 1. Aug 06, 20:33
I have five Falcon Haulers docked at a Mammoth. I assigned them to be in a group. I can have them return to the Mammoth by using the "Return Home" command from the Mammoth.
However, I want them to refuel the Mammoth with ecells. I use the resupply ship command, but all they do is to undock. One of the ships is set to protect the Mammoth and the others just protect the leader ship. Why aren't they moving out to buy the energy cells?
However, I want them to refuel the Mammoth with ecells. I use the resupply ship command, but all they do is to undock. One of the ships is set to protect the Mammoth and the others just protect the leader ship. Why aren't they moving out to buy the energy cells?
-
- Posts: 266
- Joined: Sun, 10. Dec 06, 21:32
-
- Posts: 266
- Joined: Sun, 10. Dec 06, 21:32
oh - sorry!jlehtone wrote:"My Hype" as in "the ship I fly", or as in "one of my remote ships"?Londo Molari wrote:Well - wy my Hyperion do not bay EZ with this script ?
i wont to give all my Universtraders a Hype for save the ship.
so i try it wis one, but the Hype dosnt bay any EZ for his Jumpdrive.
PS - sorry about my english but it is so manny Years ago i learnd it
-
- Posts: 266
- Joined: Sun, 10. Dec 06, 21:32
a - yes - okmoggy2 wrote:unfortunately this wont work. The gms can't detect when a ship docks so it simply checks periodically to see if the ship is docked. When following a UT it will usually undock again before gms has noticed it was docked.
but is ther a way to change this Problem?
can i do anything about it?
-
- Posts: 266
- Joined: Sun, 10. Dec 06, 21:32
Sorry for the necro,
i have a problem with this script.
Groups obey my commands, however, when they are docked on my Hyperion M7, and i ask them to protect me, they wont do anything.
I was expecting the group to launch and fight.
The "Return home" commands works correctly, my 2 fighters dock again at my M6.
i have a problem with this script.
Groups obey my commands, however, when they are docked on my Hyperion M7, and i ask them to protect me, they wont do anything.
I was expecting the group to launch and fight.
The "Return home" commands works correctly, my 2 fighters dock again at my M6.
IMO there are two fundament missing features with this script:
Disband group: immediately breaks the group and cancels their commands (possibly have them return to homebase?).
Merge group: have two groups merge to form one (you choose the leader)
Right now I had a joyous moment, as a group of 30 trade ships sat patiently while 10 discoverers used the fleet support resupply group command to provide all members with: softwares, jumpdrives, and a couple bigger ships supplies weapons and ecells. The kitting was beautifully efficient....it's just splitting them up and sending them on their way that is hard after
It is also weak for requiring ships to be docked, why not let it work on ships in space, making it's selection from all ships within 10km?
I would like to form a group of TLs and use group supplys to have them resupplied. Same can apply to carriers
Disband group: immediately breaks the group and cancels their commands (possibly have them return to homebase?).
Merge group: have two groups merge to form one (you choose the leader)
Right now I had a joyous moment, as a group of 30 trade ships sat patiently while 10 discoverers used the fleet support resupply group command to provide all members with: softwares, jumpdrives, and a couple bigger ships supplies weapons and ecells. The kitting was beautifully efficient....it's just splitting them up and sending them on their way that is hard after
It is also weak for requiring ships to be docked, why not let it work on ships in space, making it's selection from all ships within 10km?
I would like to form a group of TLs and use group supplys to have them resupplied. Same can apply to carriers
Give a man a fire, he'll stay warm for a day
Set a man on fire, he'll stay warm for the rest of his life
Set a man on fire, he'll stay warm for the rest of his life
Group Setup, and Group Setup are already there.Tritous wrote:Disband group: immediately breaks the group and cancels their commands (possibly have them return to homebase?).
Merge group: have two groups merge to form one (you choose the leader)
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Insanity included at no extra charge.
There is no Box. I am the sand.
The group name input can also take several options that make specifying the name easier:
- -unset or -u. This option disbands the group. The group parameters are removed from the ships in the group and the names are reset to their names before they became part of a group.
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
Insanity included at no extra charge.
There is no Box. I am the sand.