TUTORIALS and RESOURCES + Activating the Script Editor/Galaxy Editor

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
Burianek
Posts: 2928
Joined: Mon, 29. Dec 03, 04:29

TUTORIALS and RESOURCES + Activating the Script Editor/Galaxy Editor

Post by Burianek » Sat, 29. Oct 05, 22:08

The Script Editor

The script editor in X3 is largely unchanged from X2, with the exception of
many new useful commands that have been added. Also the way to activate the script editor has changed slightly to be a bit more easy.

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!

Please note that this powerful tool is provided for your use as is. Script writing and accompanied problems are NOT supported by Egosoft or any betatesters.

If you are certain that you want to use this unsupported feature, you may activate the script editor the following way in your game:
  • enter the menu to change your pilot's name
    type Thereshallbewings (note the capital T) and press enter
    the menu will close, your player name will NOT have been changed, and a confirmation beep will sound on correct activation
    you will now find the "Script Editor" menu item in the command console

-----
Troubleshooting if you can't open the SE
1. Have you changed your pilotname, not your ship name
2. Make sure you are not docked
3. have you used a capital T
-----

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.

****Note****
Once opened the script editor can never be closed in your save game, A new start is required
99.9% of script & mod users care not about this but some of you may do.


The Galaxy Editor

The Galaxy Editor is an in game tool that allows you to create your own maps for the X-Universe. It has undergone significant development since X2, and should be much more powerful than before.

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 you may activate the galaxy editor the following way in your game:
  • enter the menu to change your pilot's name
    type Makeanapplepiefromscratch (note the capital M) and press enter
    the menu will close, your player name will NOT have been changed, and a confirmation beep will sound on correct activation
    you will now find the "Galaxy Editor" menu item in the 'NEW GAME' section of the opening menu of the game
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.


Feel free to ask questions about the activation of the script editor / galaxy editor in this thread, but please save questions like 'How does it work?' and 'How do I script something?' for the appropriate tutorials threads. (Don't post them here)



------------------------------------------------------------------------------------
Tutorials And Help Files
-----------------------------------------------------------------------------------
The first thing that needs to be said about scripting and modding for X3 is that it is, for the most part, generally composed of the same basic procedures as it was for X2.

Therefore, much of the information for scripting and modding X3 is already contained in the Scripting / Modding Tutorials Thread for X2. Many of the threads contained in this sticky will assume that you already have a basic fundamental understanding of how to script for the X games. This basic knowledge can be obtained by reading many of the tutorials that were written in the past for X2.

The rest of this sticky will be full of threads that will provide specific information on how to script / mod for X3.

A few general notes:
Every link in this tutorial list will be to a thread on the egosoft board. If there's a good external resource, I'll link to a thread here, on the egosoft site, which links to the external resource. This way, the issue of broken links can be dealt with by whoever is referring / maintaining the external resource. Post all dead link questions to the thread in question, I won't be able to deal with them here. Fair enough?
If you have a link/thread to some useful info that you'd like to see on this page, feel free to pm me or post it to this thread (along with what general category you think it falls under). I'll try to keep this first post organized and up to date so that people don't have to wade through 20 pages to find the link they want.

How to install mods and scripts on Mac (for technophobes)...


WTC Maintypes

Code: Select all

5:DOCK 
6:FACTORY 
7:SHIP 
8:LASER 
9:SHIELD 
10:MISSILE 
11:ENERGY 
12:NATURAL 
13:BIO 
14:FOOD 
15:MINERALS 
16:TECH 
17:ASTEROID
Scripting Modding Links to external sites that deal with scripting and modding

After Domination modding forums
Cycrows X3 Scripts
X Development Center
The X Universe
Xai Corporation
The Xtended Mod
X-Wiki Modding Information

Dead Links to external sites
Akeela's Beacon
Anarkis Federation
The Commander's Space Station
PiloteIA (fr)
X2 Source
X3 - Plugin Manager

If you want to have your 3rd party site included in this list, just create a thread that lists your site/sites so that I can link to that thread from here. See the XaiCorp link (it's an excellent example). That way, you're the author and you can deal with the link management in case you want to change / add urls etc. Then send me a pm with a link to the thread and I'll add it.
Cheers!
Last edited by Burianek on Sun, 26. Feb 06, 08:16, edited 44 times in total.
"Nature's first green is gold" . . . stay golden.

User avatar
nuclear_eclipse
Posts: 1128
Joined: Thu, 2. Sep 04, 01:54

Post by nuclear_eclipse » Wed, 16. Nov 05, 00:00

Great information about TShips here (will have an exact itemized list of entries soon)
http://forum.egosoft.com/viewtopic.php?t=101831

EDIT: Itemized list in place, as much info as we all know about TShips is there.

Galaxy613
Posts: 2517
Joined: Tue, 28. Dec 04, 03:19

Post by Galaxy613 » Mon, 28. Nov 05, 00:34

We need this one added http://forum.egosoft.com/viewtopic.php?t=106066 it has great info on making BBS News/Quests.
10,000 Lightyears of awesomeness

Galaxy613
Posts: 2517
Joined: Tue, 28. Dec 04, 03:19

Post by Galaxy613 » Thu, 1. Dec 05, 02:36

This is also a must read for BBS Missions/news: How to make BBS missions using the script engine
10,000 Lightyears of awesomeness

User avatar
Burianek
Posts: 2928
Joined: Mon, 29. Dec 03, 04:29

Post by Burianek » Fri, 2. Dec 05, 02:30

It's already the first link in the BBS section ;)
"Nature's first green is gold" . . . stay golden.

User avatar
nuclear_eclipse
Posts: 1128
Joined: Thu, 2. Sep 04, 01:54

Post by nuclear_eclipse » Tue, 13. Dec 05, 07:08

Good info from Doubleshadow about cockpits, lasers, and the components.txt file...

http://forum.egosoft.com/viewtopic.php?t=110933

Edit: Good Listing Info on sound files...

http://forum.egosoft.com/viewtopic.php?t=112069

User avatar
Burianek
Posts: 2928
Joined: Mon, 29. Dec 03, 04:29

Post by Burianek » Sat, 17. Dec 05, 02:35

added thx
"Nature's first green is gold" . . . stay golden.

User avatar
nuclear_eclipse
Posts: 1128
Joined: Thu, 2. Sep 04, 01:54

Post by nuclear_eclipse » Tue, 20. Dec 05, 01:27


AalaarDB
Posts: 2279
Joined: Thu, 29. Jan 04, 09:19

Post by AalaarDB » Tue, 20. Dec 05, 02:19

The notoriety formula is a work in progress!

Also, you have mov/00044.xml listed as being cutscenes. It is more than cutscenes, in fact it is all spoken text, including the Boardcomputer, Station Announcer, etc.

Universe.xml Decoded

User avatar
Red Spot
Posts: 3224
Joined: Fri, 4. Feb 05, 14:44

Post by Red Spot » Wed, 21. Dec 05, 18:52

something worth mensioning (dont know where else than here) ..

when making a script to connect to a command ..
and you make an 'equipment-check' script ..

make it check this with the
'get amount off ware' command ..

NOT the 'get true amount off ware' command ..
cause pre-installed upgrades wont be found by the 'true'-version ..



G

User avatar
Burianek
Posts: 2928
Joined: Mon, 29. Dec 03, 04:29

Post by Burianek » Thu, 22. Dec 05, 23:27

Added and fixed, thanks guys.
"Nature's first green is gold" . . . stay golden.

User avatar
nuclear_eclipse
Posts: 1128
Joined: Thu, 2. Sep 04, 01:54

Post by nuclear_eclipse » Fri, 23. Dec 05, 03:02

Information about map changes since the 1.3 patch and a downloadable 'fixed' map for others to use as a starting point:

http://forum.egosoft.com/viewtopic.php?t=114059

AalaarDB
Posts: 2279
Joined: Thu, 29. Jan 04, 09:19

Post by AalaarDB » Fri, 23. Dec 05, 10:24


random50
Posts: 278
Joined: Fri, 23. Dec 05, 15:43

Post by random50 » Sat, 7. Jan 06, 18:32

The "send an incoming question" link seems to be broken. Throws me out to the forum index after searching for a topic it can't find.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 20535
Joined: Mon, 15. Nov 04, 00:26

Post by Cycrow » Sat, 7. Jan 06, 18:34

copy the link and change it to forum2. instead of forum. and it will work

Post Reply

Return to “X³: Reunion - Scripts and Modding”