tacedit - import/export
Posted: 2010-06-29 22:29:42
Hi, I have quite noob question.
Is it possible to import previously exported objectives back into the tacedit? (I changed some settings/flags)
I have tried it, but I think it does not work.
Perhaps the "csv file for import" should have very different structure compared to "export type csv".
But there is some info in tacedit help - I catch on to it is possible to import previously exported file (exactly the same).
This is from tacedit help :
This is info from PMC wiki:
BTW: what does mean this tacedit warning : "Warning - objectives in this file as well as base file!"
Thanks.
Luk
Is it possible to import previously exported objectives back into the tacedit? (I changed some settings/flags)
I have tried it, but I think it does not work.
Perhaps the "csv file for import" should have very different structure compared to "export type csv".
But there is some info in tacedit help - I catch on to it is possible to import previously exported file (exactly the same).
This is from tacedit help :
Code: Select all
Objective Import format
There are two forms of import for objectives. The first is aimed at preserving all the details, and is the format output by the export command. The other is aimed at programs that generate lists of objectives, and take the minimum details, and fill in the rest. They are distinguished by the first line of the file. Both are in comma separated variable (CSV) format. The first line being the type, the 2nd line being a list of field names (which is ignored by the import process).
1.0 Objective Export
Name,
Type,
Subtype
ID,
Objective,
X,
Y,
Z,
STime,
SFlag,
BFlags,
Owner,
XID,
LastRep,
OFlags,
Supply,
Fuel,
Losses,
FCount,
Priority,
Parent,
FOwner,
LCount,
Features,
Links,
Radar,
2.0 Objective GenerateThis format covers the minimum range more used for generation. The fields are in order:
name - either a string, or a number. If a number it is an index into the theater strings directly. A string is looked up in the list of theater strings, and if present is used, else a new string is added to the list.
id - what F4 Id this object will have.
objid - which objective ID this is - a reference to the CT table.
x - x location
y - y location
z - elevation (usually 0)
owner - current owner of the objective - a team numer 0-7
campid - campain ID - usually same as F4Id
parent - the F4Id of the parent object - use 0 if no parent.
priority - the priority of this - range 0-100.
-------------------------------------------Objectives → Export Objectives
Exports all objectives into a CSV file.
Objectives → Import Objectives
Imports new set of objectives from a CSV file. Make sure your campaign is empty if you are importing fresh full CSV file, or if you only import partial new objects then you can proceed with existing objectives loaded.
BTW: what does mean this tacedit warning : "Warning - objectives in this file as well as base file!"
Thanks.
Luk