Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Xavier Wise

Registered:
Posts: 1,362
Reply with quote  #1 
It would be great if it were possible to select multiple objects on the GM console and manipulate them together.
As a GM, it is possible to interact with objects in a whole variety of different ways, from simply moving them around or deleting them, to adding AI commands to change their speed, direction and target priority. The only draw back is that I can only select and manipulate one object at a time.
It would be extremely useful if I could select multiple objects and assigb the same command to all of them at the same time. For example,I'd select 6-7 enemy ships from a fleet, and then add AI to all of them at the same time. I could take control of the enemy fleet and direct it around, turning the ships to a new course and altering their target priorities all at the same time. It would also mean I could clear them all with a single click,rather than seleting and deleting each one indivudually.
Last night, I took control of a single Torgoth ship and could control it so precisely with the new GM buttons that I could make it evade bombing runs by the player ship, turn weaker shield arcs away and present the stronger arcs, fall back to recover, and generally make it react more intelligently to the combat situation. With multiple selection, I could do this with whole fleets and orchestrate a whole battle plan for an attack, having reserves hold position, sending in attack waves,setting up flanking attacks. At the moment it would be very hard (if not impossible) to do this with the number of ships that I'd be working with as each and every one in every enemy fleet would have to be selected individually.
The GM buttons added to the GM console are awesome! I reckon this will just add that little extra functionality that will make the GM console even more brilliant.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community Website

Want to follow development of the TSN Sandbox? Head here:
https://ko-fi.com/xavierwise
ryleyra

Registered:
Posts: 3,214
Reply with quote  #2 
Well, I can say that while the idea sounds very useful, there are some issues with it, which is probably the reason Thom has stuck with single selection for now. For one thing, if you have an entire fleet of ships that you have selected, and you click on a location to move them to it, how do you keep them in formation? They would technically all teleport to the same spot. So you would have to determine which is the central ship in the fleet, and then teleport each ship around it to a x/y offset from the point you clicked on.

So while this is certainly a good idea, it's probably a low priority on Thom's list, as it would take some time to implement.

However, may I suggest a workaround? Instead of selecting a ship, have an option in your menu that will select a fleet. Then when you click on a location, you can have all of the ships in the fleet teleport to that location. Since you would probably also have options to create the fleet as a single operation, that would be consistent with already existing code.

In fact, the menu to manipulate the fleet could display the name of the fleet, indicating that it is selected.
Fish Evans

Registered:
Posts: 383
Reply with quote  #3 
The proble is Ryleyra is that you cant do that unless all the ships in a fleey have set names rather then generatred ones, as the sandboxes are unlimited - you can spawn as many fleets as you want. its imposible to have menu options for the differnt fleets.. and it would break emersion as you destrou T-12 for the 5th time that mission.
Xavier Wise

Registered:
Posts: 1,362
Reply with quote  #4 
Well, if the command was applied to each ship in turn with a slight delay, then one ship would be moved and move out of the way before the second ship is moved. Even if it only moved a fraction, it shouldn't cause an issue as the second ship would "nudge" the first when it relocates. At the moment, I am able to spawn a whole fleet of ships at the GM position without the ships "overlapping" one another or being in the same position as each create event is executed one after the other. When the next ship is created, the first has moved fractionally and is simply nudged across (I assume because of the "pushRadius").

Even without the ability to move ships at the same time, being able to select and assign AI to multiple ships at the same time (or other functions like being able to delete several ships at the same time) would still be a fantastic addition.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community Website

Want to follow development of the TSN Sandbox? Head here:
https://ko-fi.com/xavierwise
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #5 
Xavier, you can do all of the things that you requested with the current system. You simply need to designate the names of every object you spawn and write XML code for those groups of objects. That's how I dealt with it at Armada.

It would probably be hundreds of thousands of lines of code, but that's the solution that's in the system now.

__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
Fish Evans

Registered:
Posts: 383
Reply with quote  #6 
Quote:
Originally Posted by Mike Substelny

It would probably be hundreds of thousands of lines of code, but that's the solution that's in the system now.


which is the point of the request. It would also spoile things a little as seting names for the spawned ships would effectifly limit the number of spawns you can make (not to mention making for one HELL of a complex control system that would be subject to bugs)
ryleyra

Registered:
Posts: 3,214
Reply with quote  #7 
What probably needs to be done is a way to specify a ship without giving its name. Something similar to the player slot. That way you can let the game give the ship a random name, yet still refer to it by the name you gave it.

Even better, have a way to specify that a specific fleet should be moved/interacted with, instead of just a single ship.

The problem isn't really with use_gm_position, it's that use_gm_position is the ONLY way to interact with an unnamed object. As it is, you currently have no choice but to give an object a name when created, and interact with it after creation time, or let the game give the object a name, and NEVER interact with it again. You can get around the problem with the Sandbox, but you can't in a script without a GM.
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #8 
Xavier, Fish Evans, and ryleyra, I agree with both of you. This situation exists because of the way the game treats named and unnamed objects. The elegant solution would be for the GM to be able to select multiple named objects at the same time. I'm suggesting that you enjoy the new features in the game as they are.

Actually Xavier described a way to do half of this in his original post. You could make GM commands that force the Fleet_Number and AI blocks for randomly named ships. After a fleet is spawned with a few clicks the GM could select each ship and set them to the same fleet number, then designate the fleet's leader (that is, build brain stacks so that only one ship tries to become the fleet's leader while all the others all follow the leader).

After the GM has set up the fleet, using Xavier's commands to control the leader would - for the most part - control the fleet.

If the leader is destroyed the GM would need to manually assign the leader brain stack to a different ship, but that should not be too hard.

__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #9 
By the way, Xavier, I am very impressed with your Sand Box script. I believe that Thom is, too.
__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.