[PROGRAM][X3AP] X-Studio Script Editor - v1.08 + AP v3.3 Command Syntax -> 2019-07-21

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

Post Reply
User avatar
N8M4R3
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 392
Joined: Fri, 24. Nov 06, 15:48
x4

[PROGRAM][X3AP] X-Studio Script Editor - v1.08 + AP v3.3 Command Syntax -> 2019-07-21

Post by N8M4R3 » Sun, 21. Jul 19, 21:51

Change Language

Deutsch


Description

This is an extension to X-Studio Script Editor by author mr.bear

With the X-Studio Script Editor - v1.08 and the newly added script commands, the X-Studio is again up to date for AP v3.3.


Newly added Script Command Sytax

Category: War Commands

Code: Select all

set war manager: enable= «Var/Boolean»
Category: Object Property Commands

Code: Select all

Display game tip: text= «Var/String» delay= «Var/Number»
«RetVar» get ware from subtype name «Var/String»
Category: Ship Property Commands

Code: Select all

«RetVar/IF» get player HQ
«RefObj» set as player HQ

Download

X-Studio Script Editor v1.08 + AP v3.3 Syntax Image


Acknowledgments & Closing Words

My thanks goes to...
mr.bear and everyone who was involved in the creation of this wonderful external script editor, Unfortunately, I was not able to reach him here in the forum for an integration of the new commands.

Please post problems that are not specific to the newly added commands in the original topic. For questions and help about scripting or the use of script commands, we will be happy to help here [DISKUSSION] Allgemeine S&M-Fragen III.
Last edited by N8M4R3 on Sun, 28. Jul 19, 00:13, edited 6 times in total.
Neue Erweiterung für X3 verfügbar: Farnham's Legacy | +Optional: weitere Verbesserungen im inoffiziellen Patch v1.3.14 *** Modified*** :khaak: :thumb_up:
Diese Woche im Angebot: HUD-GUI-Mix (FL) | Text-DB 0001-L049 (FL) | Textkorrekturen & Verbesserungen (FL)
Weitere Veröffentlichungen hier: N8workX
Nützliches Tool für nicht mehr vorhandene Downloads: web.archive.org
Externes Archiv für MOD/SCR Ressourcen: xdownloads.co.uk | code.google.com/archive/p/x3tcscripts/

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Re: [X3AP3.3][PROGRAM] X-Studio Script Editor - v1.09: 21.07.19

Post by Joubarbe » Sun, 21. Jul 19, 22:26

Thanks! Too bad LU isn't updated to latest binaries, I would have loved this "display game tip" command!

But uh... Not being mean here, but you just wrote the new syntax file right? A bit awkward to release a "new version" of a software you don't own (and don't modify), custom syntax being a built-in feature of X-Studio.

User avatar
N8M4R3
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 392
Joined: Fri, 24. Nov 06, 15:48
x4

Re: [X3AP3.3][PROGRAM] X-Studio Script Editor - v1.08 + AP3.3 Syntax: 21.07.19

Post by N8M4R3 » Mon, 22. Jul 19, 00:11

Yes Joubarbe your are right, i only wrote the syntax file and thats no new version. I did not think that right before. Ive changed the toppic and description now and hope that would be better. I thougt a posting at page 48 in the main toppic would going under and its easier opening a new toppic that people who are interested in scripting can find it easier.
Neue Erweiterung für X3 verfügbar: Farnham's Legacy | +Optional: weitere Verbesserungen im inoffiziellen Patch v1.3.14 *** Modified*** :khaak: :thumb_up:
Diese Woche im Angebot: HUD-GUI-Mix (FL) | Text-DB 0001-L049 (FL) | Textkorrekturen & Verbesserungen (FL)
Weitere Veröffentlichungen hier: N8workX
Nützliches Tool für nicht mehr vorhandene Downloads: web.archive.org
Externes Archiv für MOD/SCR Ressourcen: xdownloads.co.uk | code.google.com/archive/p/x3tcscripts/

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Re: [X3AP][PROGRAM] X-Studio Script Editor - v1.08 + AP v3.3 Syntax: 21.07.19

Post by Joubarbe » Fri, 26. Nov 21, 13:49

Is there something for X3FL as well somewhere else? Having all these new commands is neat, but without support for X-Studio, a bit pointless :)

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [X3AP][PROGRAM] X-Studio Script Editor - v1.08 + AP v3.3 Syntax: 21.07.19

Post by Cycrow » Fri, 26. Nov 21, 14:18

You can of course still use the in game editor. There have been some improvements like being able to filter the various lists making it easier to find things.

However there is a FL version available
viewtopic.php?f=201&t=439195

You could in theory add them manually too where needed

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Re: [X3AP][PROGRAM] X-Studio Script Editor - v1.08 + AP v3.3 Syntax: 21.07.19

Post by Joubarbe » Fri, 26. Nov 21, 17:28

What tools do you use to develop X3FL? The in-game editor? Call me old-school, but I like to actually write the code :) Unfortunately, many problems will occur in X-Studio, because new constants have been introduced; and other things like new game objects that cannot be fixed manually (ie. you can only add new commands).

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [X3AP][PROGRAM] X-Studio Script Editor - v1.08 + AP v3.3 Syntax: 21.07.19

Post by Cycrow » Fri, 26. Nov 21, 17:33

Yes all the FL scripts were written in the In-Game Editor.

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Re: [X3AP][PROGRAM] X-Studio Script Editor - v1.08 + AP v3.3 Syntax: 21.07.19

Post by Joubarbe » Fri, 26. Nov 21, 17:38

Hmm... And you are faster than writing commands by hand?

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [X3AP][PROGRAM] X-Studio Script Editor - v1.08 + AP v3.3 Syntax: 21.07.19

Post by Cycrow » Fri, 26. Nov 21, 17:53

No i prefer to type out code. But not really possible as the Script Editor was constantly evolving during development.
But you get used to it.

However you can partly type in the commands in FL.

You select All Commands.
Then press SHIFT+F to open the search filter and type in part of the command. The list will then filter what you typed so it's easier to select.

The same applies when selecting things like variables or constants

Post Reply

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