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: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

TUTORIALS and RESOURCES + Activating the Script Editor/Galaxy Editor

Post by Burianek »

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, 07:16, edited 44 times in total.
"Nature's first green is gold" . . . stay golden.
User avatar
nuclear_eclipse
Posts: 1129
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse »

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: 3285
Joined: Tue, 28. Dec 04, 02:19
x4

Post by Galaxy613 »

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: 3285
Joined: Tue, 28. Dec 04, 02:19
x4

Post by Galaxy613 »

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: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

It's already the first link in the BBS section ;)
"Nature's first green is gold" . . . stay golden.
User avatar
nuclear_eclipse
Posts: 1129
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse »

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: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

added thx
"Nature's first green is gold" . . . stay golden.
User avatar
nuclear_eclipse
Posts: 1129
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse »

AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB »

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: 3461
Joined: Fri, 4. Feb 05, 13:44
x3

Post by Red Spot »

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: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

Added and fixed, thanks guys.
"Nature's first green is gold" . . . stay golden.
User avatar
nuclear_eclipse
Posts: 1129
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse »

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: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB »

random50
Posts: 283
Joined: Fri, 23. Dec 05, 14:43
x3

Post by random50 »

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: 22351
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

copy the link and change it to forum2. instead of forum. and it will work
random50
Posts: 283
Joined: Fri, 23. Dec 05, 14:43
x3

Post by random50 »

Yep. Thanks.
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

Fixed that issue and updated the latest posts.
Sorry, I've been a bit lax in updating this for the past week or so.
"Nature's first green is gold" . . . stay golden.
tankerkid
Posts: 32
Joined: Sun, 15. Feb 04, 11:54
x3

Post by tankerkid »

prehaps a basic link to how to get a ship into the game with DBOX and adjusting the Tships etc so it can be purchased?

TK
User avatar
nuclear_eclipse
Posts: 1129
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse »

Ship Modelling:

External Docking Tutorial by DeadlyDa
http://forum.egosoft.com/viewtopic.php?t=119097

How to Make Models Load Quickly by DeadlyDa
http://forum.egosoft.com/viewtopic.php?t=121183

edit burianek - *UPDATED* (thanks)
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22351
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

heres the first proper release of the script installer, not sure if you want to put it here or in the community scripts section

Code: Select all

[url=http://forum2.egosoft.com/viewtopic.php?t=121351]XScript Installer & Script Packager[/url]
Post Reply

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