Page 1 of 6

The Script Editor / Galaxy Editor

Posted: Fri, 26. Dec 03, 22:30
by BurnIt!
The Script Editor

The script editor aka "Manual Ship Computer Interface" (M.S.C.I.) is an in-game tool to create/modify AI behaviour rules and also allows creating/modifying objects in the game universe.
These features mean it is very powerful and when not used carefully can seriously damage your game universe.
As many of you have already found out using the Script Editor can spoil all the fun of the game!

While work on a documentation continues please note that with the editor being released earlier than planned script writing and accompanied problems are NOT supported by Egosoft or any betatesters. Until the official release of the documentation you are on your own.

The official documentation is estimated to be complete in January 2004.

If you are certain that you want to use this unsupported feature type Thereshallbewings (note the capital T) while flying in space to activate the "Script Editor" menu item in the command console. A confirmation beep will sound on correct activation.

Note that the publication of the Script Editor access code by no means forces you to use it. The editor is an advanced and most importantly optional feature.
If you are not into script programming of any sort you are probably better off without it.

*edit* added by burianek 9-9-05
The Galaxy Editor

The Galaxy Editor is an in game tool that allows you to create your own maps for the X-Universe.

There is no documentation for this feature, and use remains unsupported by Egosoft.

If you are certain that you want to use this unsupported feature type Thereshallbewings (note the capital T) while in the opening Menu of the game. (the first menu to appear after starting the game, which has Start, Load, Intro, etc. as options) The Galaxy editor will then appear as a new option at the bottom when you select START.

Note that the publication of the Galaxy Editor access code by no means forces you to use it. The editor is an advanced and most importantly optional feature.

Posted: Fri, 26. Dec 03, 23:01
by Dirtbox
Great stuff!

Posted: Sat, 27. Dec 03, 00:18
by twistedtech
Any chance of a new forum to seperate the scripting stuff from the rest . . . like you did for tech support? nudge, nudge, wink :o , wink :o

Posted: Sat, 27. Dec 03, 00:24
by Reven
I second that motion. It would be good to split the script talk out of the spoilers forum. Put "unsupported" right in the title or description to make sure people know that they are on their own. It will both give people a place to share their script knowledge, and keep the spoilers forum more on-track.

Posted: Sat, 27. Dec 03, 00:26
by SteelRush
Just wanted to remind everyone of the X2 Scripting Center. We are dedicated to scripting with downloads, forums and more.

I don't think you need much of a reminder with all the people that are there though! :lol:

Posted: Sat, 27. Dec 03, 01:04
by giskard
Burnit: I realise the script editor is considered unsupported material right now but do you happen to have a list of things it definately will not do ?

Save me some time trying to get those things to work.

EG Bulletin boards, news, missions etc etc ?

Giskard

Posted: Sat, 27. Dec 03, 01:19
by nielsw
Good idea - hope it's not too much work for the mods to make a separate forum, but that would be great!

Posted: Sat, 27. Dec 03, 03:57
by Lothmorg
Excellent :!: :!:
Thank you! :D

Posted: Sat, 27. Dec 03, 09:03
by Divine Shadow
a moderator cant make a new forum only the forum administrator can do that

Posted: Sat, 27. Dec 03, 10:16
by carran
BurnIt! and Steel are Site Admins...

Posted: Sat, 27. Dec 03, 10:21
by cartesian
A sincere thanks for trusting us and allowing us to make our own mistakes (which is arguably half the fun!).

Posted: Sat, 27. Dec 03, 14:05
by bil1010105
Thanks for this - kudos to all at Egosoft for giving us the opportunity to have a play with this.

Good luck with the documentation! :P

Posted: Sat, 27. Dec 03, 19:06
by Ben_Kneel
(pssst, they didn't give us the script editor, they still think we aren't bright/mature enough to use it without full documentation, a third-party figured it out and released it, they are just admitting to it now that the "cat is out of the bag" and the earth didn't explode)

Though yes, a seperate forum area would help organize things considerably. :)

Posted: Sun, 28. Dec 03, 16:11
by giskard
Im wondering how scripts will be distributed for use by players and if we can only edit existing scripts of add own to the game.

When scripting was first mentioned my vision of how it would probably work was basically via an option in the AI ship screen that allowed the player to assign a script to that ship.

Not checked how it works at the moment because its xmas and im busying drinking :)

Giskard

Posted: Mon, 29. Dec 03, 17:43
by Greb Jnnayr
giskard wrote:Burnit: I realise the script editor is considered unsupported material right now but do you happen to have a list of things it definately will not do ?

Save me some time trying to get those things to work.

EG Bulletin boards, news, missions etc etc ?

Giskard
I think Burnit already answered your question with this quote:
"The script editor aka "Manual Ship Computer Interface" (M.S.C.I.)".

Posted: Mon, 29. Dec 03, 22:34
by giskard
Yup but theres also these scripts.

!bbsnews.eval.ownerrace.pck
!bbsnews.eval.product.pck
!galaxyeditor.create.asteroid.pck

To name a few, I do not see not ship name in those.

So back to my original question, see above please. :)

Giskard

Posted: Fri, 2. Jan 04, 16:25
by Vipula
Is it possible to stop a script running once you have started it?

Posted: Sun, 4. Jan 04, 23:00
by FuzzyLightning
Vipula wrote:Is it possible to stop a script running once you have started it?
ofcourse, it would be pretty easy to do that, either the script editor will have an option or you'll be able to look throught the game files via program files/egosoft/X2

if that doesnt work, take the save games that dont have the new scripts and save them into a little file, then reinstall X2.


-FuZzY

Posted: Mon, 5. Jan 04, 22:54
by WetWarev7
FuzzyLightning wrote:
Vipula wrote:Is it possible to stop a script running once you have started it?
if that doesnt work, take the save games that dont have the new scripts and save them into a little file, then reinstall X2.
-FuZzY
:lol: That's pretty much it........although you don't have to reinstall.

Posted: Tue, 6. Jan 04, 04:05
by FuzzyLightning
WetWarev7 wrote:
FuzzyLightning wrote:
Vipula wrote:Is it possible to stop a script running once you have started it?
if that doesnt work, take the save games that dont have the new scripts and save them into a little file, then reinstall X2.
-FuZzY
:lol: That's pretty much it........although you don't have to reinstall.
lol yeah you dont have to reinstall, i missed out abit of text too :roll:

Find the script in the X2 scripts directory and either move it out of the folder or delete it.



-FuZzEh!