PDA

View Full Version : Copying of Tables Between FGU Instances



Stargrove
April 6th, 2025, 01:40
I am currently converting some books for Traveller and will be creating an extra module that consolidates all the manuals from three separate books. I have tables in a reference manual open in one FGU instance (instance 1) and the location I want to copy them in another FGU instance (instance 2). When I copy the table from instance 1 and try and paste it into instance 2, I do not get a table like I would expect. Instead I get the data from each cell in brackets, which is obviously unusable in that form. If I paste the table into the same instance, it works fine.



[Unit Size] [Composition (Infantry)] [Average Unit Size] [Hardware]

[Squad, Team, Single Piece of Hardware] [2-6 infantry personnel. Squad-level support weapons if appropriate.] [4] [1 vehicle or similar asset]

[Section/Lance] [6-12 infantry personnel.] [8] [2-3 vehicles or other assets]

[Platoon] [20-50 infantry personnel. Platoon level support weapons if appropriate.] [35] [3-5 vehicles or other assets]

[Company] [75-200 infantry, probably with some support such as an artillery weapon or a light armoured vehicle as a fire support platform.] [150] [12-18 vehicles or other assets]

[Battalion] [400-800 infantry with basic combined-arms capability including artillery weapons, fire support platforms and electronic warfare systems.] [600] [50-80 vehicles or other assets]


Why isn't it pasting the table? Is this normal behavior? Is there any workaround besides re-importing the CSV file again.

I have also seen something similar if I try and copy the text from a cell of data to use in a different window in the same instance of FGU where the text will show up in square brackets.

Moon Wizard
April 6th, 2025, 02:55
It's because the operating system clipboard supported by Unity game engine only supports simple strings. We get around that within the same instance by using some behind the scenes extra saving of formatted text information; but there's no way to support that across instances.

Regards,
JPG

Stargrove
April 6th, 2025, 03:01
It's because the operating system clipboard supported by Unity game engine only supports simple strings. We get around that within the same instance by using some behind the scenes extra saving of formatted text information; but there's no way to support that across instances.

Regards,
JPG

Ah, makes sense. Re-import it is.

Any idea why when copying text in a field and not to pasting it into another table it has square brackets around it? This would be in the same instance.

Moon Wizard
April 6th, 2025, 03:09
That's the "simple text" version of the tables, so that when pasting, you see the "cells" roughly where they were originally.

Regards,
JPG

Stargrove
April 6th, 2025, 03:22
That's the "simple text" version of the tables, so that when pasting, you see the "cells" roughly where they were originally.

Regards,
JPG

So, then its the same if I have a 5x5 table of text in an Advanced Story entry and I want to move one of the cells of text from that table to a line in a Rollable Table and the square brackets follow the text?

I know if I copy text from a cell on that same table and paste it into a new Advanced Story entry it will create a new cell.

LordEntrails
April 6th, 2025, 04:08
Make the tables and stories in one development campaign. Export it to a module. Create a second development campaign, load the module from the first, copy the table and stories to the new devl campaign. Unload the module.

Stargrove
April 6th, 2025, 04:12
Make the tables and stories in one development campaign. Export it to a module. Create a second development campaign, load the module from the first, copy the table and stories to the new devl campaign. Unload the module.

That's a good idea. Thanks.