possible to export events to text file?

Post new mods and scenarios here.

Moderator: Vic

Post Reply
User avatar
Blond_Knight
Posts: 998
Joined: Sat May 15, 2004 3:52 am

possible to export events to text file?

Post by Blond_Knight »

Is it possible to export the events or HIST units to a text file?
User avatar
Vic
Posts: 9940
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: possible to export events to text file?

Post by Vic »

export yes but you cannot import them from text files.

there is an export button in the "settings" window for a whole bunch of data structures and an export events button in the top right in the "events" window.

All text files will be written to the logs/ directory.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Blond_Knight
Posts: 998
Joined: Sat May 15, 2004 3:52 am

RE: possible to export events to text file?

Post by Blond_Knight »

OK cool. Good to know. Is there a reason importing isnt available? Like no error-checking for text formatting maybe?
User avatar
LiquidSky
Posts: 2834
Joined: Tue Jun 24, 2008 4:28 am

RE: possible to export events to text file?

Post by LiquidSky »



While it would be nice to have an import function, it would require a fairly large bit of code to parse. Now that I am writing events, it is not so bad the way Vic has it, because it is hard to make a mistake. As well, to cut down on writing, he does allow cut and paste of individual lines.
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
User avatar
Vic
Posts: 9940
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: possible to export events to text file?

Post by Vic »

ORIGINAL: LiquidSky



While it would be nice to have an import function, it would require a fairly large bit of code to parse. Now that I am writing events, it is not so bad the way Vic has it, because it is hard to make a mistake. As well, to cut down on writing, he does allow cut and paste of individual lines.

There is a second paste button that allows to paste whole sections of lines as well.

best,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Blond_Knight
Posts: 998
Joined: Sat May 15, 2004 3:52 am

RE: possible to export events to text file?

Post by Blond_Knight »

I tried the export from the events window and it is pretty slick. My only suggestion would be for the name of the text files it creates to have the name of the event. For example 300: end of master file.txt
Post Reply

Return to “Mods and Scenarios”