EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
X-Rebirth' scripting question : I/O files
This forum is locked: you cannot post, reply to, or edit topics. This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic
Author Message
RedEclipse





Joined: 11 Sep 2004
Posts: 1042 on topic
Location: Topic
Thank you for registering your game
PostPosted: Wed, 15. Aug 12, 22:11    Post subject: X-Rebirth' scripting question : I/O files Reply with quote Print

Will it be possible to read and write files in the script editor ? I know that was intentionnaly left out of X2 and X3:R. Didn't checked yet for TC or AP.

That would help a lot for scripting. I could use a java or C# program that read the file, write what he calculated in another file, giving this to Rebirth. Rebirth use a script to use what's been calculated.

Somehow, we could also use that to make some multiplayer mods aswell (not the one that you can shoot other in the face, but the one that show other's factories).

Here's my 2c.


_________________
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.
Back to top
View user's profile Send private message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 16516 on topic

Thank you for registering your game
PostPosted: Thu, 16. Aug 12, 19:28    Post subject: Reply with quote Print

Writing data (text) to a log file and reading it from an xml-file in the t-folder can be done in the Script Editor since X2: The Threat.

However, X Rebirth won't feature the Script Editor, but will use 3 xml based scripting languages similar to the Mission Director of the X3 games.


_________________
X-Kurzgeschichtenwettbewerb - Die Geschichten
X-BtF Anniversary Screensaver von TVCD
VAGABUND von arragon0815
FAQ - häufig gestellte Fragen einfach beantwortet.
XDownloads - Upload, Link, Download
"...time it seems does not care if you have stuff to do or not, it just goes by regardless." - Ketraar
Back to top
View user's profile Send private message Visit poster's website
IceDown





Joined: 07 Jan 2006
Posts: 60 on topic
Location: USA
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 06:46    Post subject: Reply with quote Print

Thank you. So maybe I/o will be a little easier.

And btw I think this is one of the most informative statements about the game we have heard in months.

Back to top
View user's profile Send private message MSN Messenger
Kahitar





Joined: 09 Nov 2009
Posts: 443 on topic

Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 11:48    Post subject: Reply with quote Print

IceDown wrote:

And btw I think this is one of the most informative statements about the game we have heard in months.


Jup, awesome!

Back to top
View user's profile Send private message MSN Messenger
A5PECT





Joined: 03 Sep 2006
Posts: 4348 on topic

Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 13:24    Post subject: Reply with quote Print

This information has been available for well over a year.

Back to top
View user's profile Send private message
RedEclipse





Joined: 11 Sep 2004
Posts: 1042 on topic
Location: Topic
Thank you for registering your game
modified
PostPosted: Fri, 17. Aug 12, 14:35    Post subject: Reply with quote Print

Thank you, I didn't know you know do that in X2.

I though t-files were "CATified" and loaded in ram once for all at savegame loading and never refreshed in X2, but there's a lot of time I didn't try to mod any X game (since X2).
I remember reading maybe CBJ or someone central in modding at that time saying "external data <-> game is intentionally impossible" and I remember trying to avoid that, but I must have done it very wrong.

X2-Illuminatus wrote:
However, X Rebirth won't feature the Script Editor, but will use 3 xml based scripting languages similar to the Mission Director of the X3 games.

It may seems important or not to you but I think it is for us : do you think most mods done with the SE can be redone in MD ?

That may conditionize the fact I'm starting a mod for X3, I would want to port it if I'm doint it rigth.


_________________
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.


Last edited by RedEclipse on Fri, 17. Aug 12, 14:50; edited 1 time in total
Back to top
View user's profile Send private message
Alan Phipps
Moderator (English)
Moderator (English)

MEDALMEDALMEDAL

Joined: 16 Apr 2004
Posts: 12049 on topic
Location: Stonehenge, UK
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 14:50    Post subject: Reply with quote Print

X-R will be so different to X3 engine-wise that scripts and gamefile-edits are unlikely to port across to an engine that is not intended to use them.

Mission Director (MD) code on the other hand might appear similar in presentation and format and so previous experience of that with X3 could be useful. Even so, beware that the effects of specific MD instructions may be implemented totally differently between the engines.


_________________
A dog has a master; a cat has domestic staff.
Back to top
View user's profile Send private message
RedEclipse





Joined: 11 Sep 2004
Posts: 1042 on topic
Location: Topic
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 14:53    Post subject: Reply with quote Print

I see and understand what you say, my question was more about what you can do and what you can't do today vs what you will be able to do and what you willl not be able to do in Rebirth.

I'm not talking about technical stuff, only functional stuff. "technical is easy" Smile


_________________
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.
Back to top
View user's profile Send private message
eldyranx3





Joined: 14 Jan 2006
Posts: 2134 on topic

Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 16:07    Post subject: Reply with quote Print

RedEclipse wrote:
my question was more about what you can do and what you can't do today vs what you will be able to do and what you willl not be able to do in Rebirth.

I'm not sure if you've dabbled yet in MD code, but this very hard to answer as functionality in MD expands almost every patch. The MD tools in X3R were crude in comparison to the tool set in X3TC / X3AP. The possible uses of the current MD tool set are limited only by hard code, your own skill, and imagination.

Sorry for the very general reply, but MD code is pretty much a well equipped toolbox. What's capable with such a thing?


_________________
Back to top
View user's profile Send private message Send e-mail
RedEclipse





Joined: 11 Sep 2004
Posts: 1042 on topic
Location: Topic
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 16:17    Post subject: Reply with quote Print

Well... Can we make an ingame menu in MD ?

See what I mean.


_________________
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.
Back to top
View user's profile Send private message
Alan Phipps
Moderator (English)
Moderator (English)

MEDALMEDALMEDAL

Joined: 16 Apr 2004
Posts: 12049 on topic
Location: Stonehenge, UK
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 16:32    Post subject: Reply with quote Print

The problem is that:

a. If you are talking about X-Rebirth then that sits in the list of things we don't know or, where known by someone, cannot be disclosed.

b. If you are talking about current X3 MD coding capability, even in generalities, then you need to be asking or researching in the S&M forum where you will get advice from those that actually do it.


_________________
A dog has a master; a cat has domestic staff.
Back to top
View user's profile Send private message
RedEclipse





Joined: 11 Sep 2004
Posts: 1042 on topic
Location: Topic
Thank you for registering your game
PostPosted: Fri, 17. Aug 12, 16:44    Post subject: Reply with quote Print

I'm in the good forum, Alan, so... a Smile

I hope they'll give informations soon because "we need" to abandon SE which is easy to learn and quite well documented (soon or not), if they want the most possible modding support @ release.


_________________
"AaaAaaAah ! They're everywhere...", Jane Doe, Freedom Force.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics. This topic is locked: you cannot edit posts or make replies.
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Mon, 21. Apr 14, 09:04

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.29269 seconds, sql queries = 62