[PROGRAM] XSEY EDITOR (Map editor)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

[PROGRAM] XSEY EDITOR (Map editor)

Post by Seruif » Thu, 31. Jan 13, 15:41

XSEY EDITOR 1.2

3D Map Editor
(parent is X3TC MapEditor749)

[ external image ][ external image ][ external image ]
[ external image ][ external image ]

Controls:
  • Left Shift/Ctrl - Height adjustment of the camera
  • Right Shift/Ctrl - Height adjustment created / moved sector
  • WSAD(arrows) - Camera movement
  • Scroll - Zooming
  • Right mouse button - Set position of a new / moved sector
  • Left mouse click on sector - Select
  • Esc - Сanceling the current operation / deselect
  • When connected to click on another section to which you want to connect
  • Alt+Z/Y - undo / redo operations (not to abuse)
Interface:
  • Open - Open the files: make sure all 3
  • Create sector - Create sector (Esc - cancel, right button - setting position, Right Shift / Ctrl - adjustable height (Z) sector)
  • Save - Save files
  • Postload (scene/XML map) - Postload data. (Warning! When postload XML map, when overlap objects (except sectors), they will be duplicated!)
  • GOTO - Moving to sector
  • Connect (in scene/full) - Connect sectors only in scene/with creating gates
  • Edit - Editing data sector
  • Move - Moving sector (Esc - cancel, right button - setting position, Right Shift / Ctrl - adjustable height (Z) sector)
    (Gates in the sectors not reconfigured (position / rotation))
  • Delete - Deleting sector. Also deleted scene connections and gates warped to deleted sector.
  • Button in left bottom corner - paths of files
  • Incomplete connections - Displays a list of incomplete connections(when not exist gate or record in scene: True - exist, False - not exist)
  • Connections - connection list in the scene:
    1. Delete(under connection list) in the scene/full - delete the selected connection in the scene (without deleting the gate to XML) / full (with the delete gate)
    2. Delete(under gate list) - delete the selected gate (if the amount in the compound gate = 0, the connection will remain in the scene
Script compiler:
  • When the log is enabled, it records all created / deleted gate.
  • When compiled, the script setup.XSeyEditor.AddGatesData.Seruif.<Date and time of compilation>.xml, which should be coped in scripts folder of game and script XSeyEditor - Gates Changes Sync Console to perform the recorded data.
  • Contents of the folder XSeyEditor - Gates Changes Sync Console copy to game directory. After that will in interface settings hotkey
If the editor is frozen, minimize, check the open dialog windows

XSeyEditorDataEdit - Editor information about the gates and races used in the editor
XSeyEditorCompilerSettings - Script compiler settings(When using X3AP - for the game folder to specify the folder "addon")

Enumerating from 0!
Run only windowed!

It is recommended to close the application by clicking the "Exit", this have a cancel button

Platform needed at least Microsoft .NET Framework 3.5(Microsoft .NET Framework 4; Microsoft .NET Framework 4.5)

[Changes]:
1.1
  • Fixed runtime errors with XML comments in map. Comments will delete after resave
  • Fixed runtime error with data "xxxxemove" in scene, here characters will ignore
1.2
  • XML comments in language file will delete after resave
  • Disabled update notifier
If you want save settings copy/replace XSeyEditor_Data\Plugins\Settings.ini

x3tc.winlink.ru(direct link):
[ external image ]

Data File Host:
[ external image ]

Update 1.1->1.2:
Download from x3tc.winlink.ru
Download from Data File Host

Please backup your files and saves


[[version=1.2]]
[#1.1=572634EAAA222D33840F9A98DADED98D#]
Last edited by Seruif on Sun, 28. Jul 13, 16:33, edited 23 times in total.

User avatar
RoverTX
Posts: 1426
Joined: Wed, 16. Nov 11, 18:37
x4

Post by RoverTX » Thu, 31. Jan 13, 17:18

Works great! Only issue I have found is that it throws an error if your map has an XML comments in it, which X3 does handle.

So the following

Code: Select all

<!--- Some Comment -->
Causing it to throw the error

Code: Select all

PATHTOMAPFILE/x3_universe.xml
Object reference not set to an instance of an object.

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

Post by Seruif » Thu, 31. Jan 13, 17:29

Thanks
Strange error, i check this - working
You can show me screen?

User avatar
RoverTX
Posts: 1426
Joined: Wed, 16. Nov 11, 18:37
x4

Post by RoverTX » Thu, 31. Jan 13, 23:14

Away from my gaming rig right now but will post a link to the screen shot and my x3_universe file when I get back home.

User avatar
RoverTX
Posts: 1426
Joined: Wed, 16. Nov 11, 18:37
x4

Post by RoverTX » Sat, 2. Feb 13, 01:57

https://s3.amazonaws.com/forums-rover/X ... +Error.PNG

Add the following right after the <universe> tag causes it to throw the above error.

Code: Select all

        <!-- Test -->
Removing it and everything works great.

Edit: It also chokes on the default X3 AP map because of the following line

Code: Select all

P 581; B 14011402emove; N B14011402emove; b
  { 0x2002;  92518; 41178; 11954;  0.529846; -0.607391; 0.788985; -0.092621;  -1;  -1; } // -1
It would seem that instead of committing it out egosoft added emove to the end of the connection.

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

Post by Seruif » Sat, 2. Feb 13, 11:53

Error with comment is detected - fixing
"14011402emove" - it is error parsing, remove "emove" is solution

User avatar
RoverTX
Posts: 1426
Joined: Wed, 16. Nov 11, 18:37
x4

Post by RoverTX » Sat, 2. Feb 13, 16:50

Yeah I got it working by removing 'emove' also, but they have that in the Vanilla X3 AP scene by Egosoft, so you might need do something file the following with a regex.

Here is what I mean in pseudo code.

Code: Select all

parts = "P 581; B 14011402emove; N B14011402emove; b ".split_on_and_to_array(" ")
parts[3] = parts[3].find_and_replace(/[a-zA-Z]*/,"")
parts[5] = parts[5].find_and_replace(/[a-zAC-Z]*/,"")
string = parts.join(" ")
Edit: By the way I just finished cleaning up my Scene File and Map File, and everything else works awesome!

djrygar
Posts: 1841
Joined: Mon, 10. Aug 09, 02:09
x3ap

Post by djrygar » Sat, 2. Feb 13, 17:03

Oh my my... awesome!


thank you for this proggie

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

Post by Seruif » Sat, 2. Feb 13, 17:24

RoverTX wrote:

Code: Select all

parts = "P 581; B 14011402emove; N B14011402emove; b ".split_on_and_to_array(" ")
parts[3] = parts[3].find_and_replace(/[a-zA-Z]*/,"")
parts[5] = parts[5].find_and_replace(/[a-zAC-Z]*/,"")
string = parts.join(" ")
Hmm.. good idea!

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

Post by Seruif » Mon, 4. Feb 13, 18:50

Update 1.1

V.Arnold
Posts: 1
Joined: Sat, 19. Feb 11, 19:53

Xseyeditor

Post by V.Arnold » Mon, 11. Mar 13, 10:30

Pls help!
How can i use it?
Hey guys i have a big military army!!
And i need xenon sector! But how can i kill all xenon? They always respawn!! I played the Reunion too! And i know the X3 is a good game!!
But how can i stop,block the respawn??
I want destroy all xenon sector! This game is the most extrame in my 14 years old!!
Please help me guys!

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24950
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Mon, 11. Mar 13, 10:35

*Merged with XSey Editor thread, as per [url=http://forum.egosoft.com/viewtopic.php?t=216696][b]T[/b][b]C[/b] [b]S[/b]&M Posting [b]R[/b]ules[/url]*
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

Post by Seruif » Sat, 20. Apr 13, 16:12

I can't understand.
What I violated? If item 7, how this all compressed to 6 lines? How use "Spoilers"?

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24950
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Sat, 20. Apr 13, 16:43

You? Nothing.

V.Arnold created a separate topic with a question about the XSey Editor, which I merged with your topic. As per [url=http://forum.egosoft.com/viewtopic.php?t=216696][b]T[/b][b]C[/b] [b]S[/b]&M Posting [b]R[/b]ules[/url] questions about a script, mod or application should always be asked in the respective script's, mod's or application's thread.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

User avatar
Elffin
Posts: 371
Joined: Wed, 18. May 05, 22:34
x3tc

Post by Elffin » Sun, 21. Apr 13, 22:40

This seems cool ... nice work ...


Is there a video tut?

jeroll3d
Posts: 665
Joined: Thu, 26. Jun 08, 02:28
x3ap

Post by jeroll3d » Mon, 22. Apr 13, 00:38

Elffin wrote:This seems cool ... nice work ...


Is there a video tut?
Yes, nice work :roll:

A Video Tutorial is necessary to. :lol:
Entusiasta da série X3! The best game.

User avatar
Seruif
Posts: 8
Joined: Wed, 7. Apr 10, 10:58
x4

Post by Seruif » Mon, 22. Apr 13, 18:21

jeroll3d wrote:A Video Tutorial is necessary to. :lol:
It is a long and tedious. And I need to prepare for the exams to leaving school.

Tutorial exist in russian language for X3TC MapEditor749 (docx file). They most are similar, but different somewhere. There very much translate, for me it is difficult at the moment.
(To somehow correct to write this post, I used translate.google.ru)

Rieper87
Posts: 188
Joined: Fri, 7. Sep 07, 19:37
x4

Post by Rieper87 » Tue, 8. Nov 16, 18:30

link Down??? please Upload here??

User avatar
Aldebaran_Prime
Posts: 1386
Joined: Sat, 20. Feb 10, 17:47
x4

Post by Aldebaran_Prime » Tue, 8. Nov 16, 22:11

Rieper87 wrote:link Down??? please Upload here??
I used it some time ago for my mod. Here is a copy of it:

https://1drv.ms/u/s!AleWkrAhnZL_gYgDz9mn2XWt-2u2KQ

User avatar
Aldebaran_Prime
Posts: 1386
Joined: Sat, 20. Feb 10, 17:47
x4

Re: [PROGRAM] XSEY EDITOR (Map editor)

Post by Aldebaran_Prime » Tue, 6. Jul 21, 22:36

Has somebody tried this for X3FL?
I'm getting an error if I try to load the 0001-L0xx.xml-file: "...did not find a part of the path..."

Maybe this is because the in X3FL the sector names are following the old methodolgy of encryping the sector position also in text-ids for the sector names and descriptions? So some text-ids for new FL sectors may just be @ the wrong place in 0001-L0xx.xml?

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”