[Index] X4: Foundations Tools, Tutorials and Resources

The place to discuss scripting and game modifications for X4: Foundations.

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

alexringess
Posts: 40
Joined: Tue, 25. Sep 18, 23:57
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by alexringess » Fri, 21. Dec 18, 11:17

Sorry if this mod was suggested yet, I didn't read all the thread, but I think this one worth to be on the submission list because it's the very first X: Rebirth ship added on X4: Foundations after all.

So :

Taranis - sco1981

Glimpse
Posts: 141
Joined: Thu, 29. Apr 10, 14:05
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by Glimpse » Sat, 22. Dec 18, 02:53

Hi there. A bit late but here goes.

Paint Mods for Sale - Glimpse
Resupplier Class Vessels - Glimpse

aftokinito
Posts: 229
Joined: Sun, 30. Mar 08, 17:29
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by aftokinito » Fri, 28. Dec 18, 05:06

The following mod has been renamed from: [MOD] LazySoft Ship Tag Fixer - Aftokinito(carmaster)
To: [MOD] Mobile Ship Production - Aftokinito(carmaster)

SpaceCadet11864
Posts: 364
Joined: Tue, 4. Dec 18, 02:14
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by SpaceCadet11864 » Sun, 30. Dec 18, 17:14

[TOOL] Ware Generator - SpaceCadet11864

killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by killerog » Sun, 30. Dec 18, 20:16

X4GalaxyCreator - Killerog + Celludriel
Image

User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by Sam L.R. Griffiths » Tue, 1. Jan 19, 14:33

I would like to promote my Visual XML Editor as a tool for supporting modding in X-Rebirth.

It is Open Source via github, written in C# (Microsoft .NET 4.5), and supports plug-ins. Will formally document the plug-in API at some point but the source code - with an example plug-in is available on github.

I am going to be looking at writing some simple X4 related utility plugins for plan import export management at some point.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams


morbideth
Posts: 391
Joined: Sun, 9. Nov 08, 03:07
x3tc

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by morbideth » Tue, 22. Jan 19, 21:48

euclid wrote:
Tue, 4. Dec 18, 00:09
3. The ? maps the value to binary, i.e. 0 or 1. if it does not exists or if it does, respectively.

4. The @ maps the value to a Boolean, i.e. false or true, if it does not exists or if it does, respectively.

Cheers Euclid
This has been bugging me, as I don't think this is accurate. 0 or 1 is the script's version of boolean. ? returns 1 if the value exists (is not null), and 0 if it is null. @ returns 0 if the value is null, 0 if the value exists and evaluates to false, and 1 if the value both exists and evaluates to true.

Code: Select all

set $var = null
$var? == 0
@$var == 0

set $var = false
$var? == 1
@$var == 0

set $var = true
$var? == 1
@$var == 1

set $var = ware.energycells
$var? == 1
@$var == 1

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by UniTrader » Wed, 6. Feb 19, 12:53

my Infos are different from that. but can't currently confirm in-game.

? is for checking whether a variable is set at all (initialized), an will return true if it is (even if it's value is null), and false if not (either by being not set yet or by using remove_value )

@ is for suppressing error in case the following property chain is invalid or the variable is not set. Both cases still evaluate to null, but would also write an error to the log without the @. in any other case it results in the value the expression evaluates to.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Cg089
Posts: 80
Joined: Fri, 18. Jan 19, 19:25
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by Cg089 » Tue, 12. Mar 19, 06:16

Any reason the discord isn't listed as a resource?




User avatar
Litauen
Posts: 193
Joined: Fri, 22. Nov 13, 21:09
xr

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by Litauen » Tue, 11. Feb 20, 16:45


User avatar
Axeface
Posts: 2939
Joined: Fri, 18. Nov 05, 00:41
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by Axeface » Tue, 25. Feb 20, 20:39

This thread outlines how vertex colours work, might want to add it to the list. viewtopic.php?f=181&t=422258
Cheers

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13289
Joined: Sun, 15. Feb 04, 20:12
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by euclid » Wed, 26. Feb 20, 23:38

Axeface wrote:
Tue, 25. Feb 20, 20:39
This thread outlines how vertex colours work, might want to add it to the list. viewtopic.php?f=181&t=422258
Cheers
Thanks Axeface. For the future please follow the formal submission rule, like

[Tutorial] Vertex colour and paintjobs - by Axeface

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

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

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by X2-Illuminatus » Sat, 16. May 20, 10:40

I added [TOOL] X4 Customizer by SirNukes and [Tool] X4 Editor by Max Bain.
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!

kuertee
EGOSOFT
EGOSOFT
Posts: 789
Joined: Sun, 14. Dec 03, 13:05
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by kuertee » Sun, 16. Aug 20, 01:58

Can we add a note next to link "Dynamic Debug Logs":
1. that it links to instructions on how to create a batch file?
and
2. that a simpler method is to add launch options in Steam or to create a Shortcut to the game with the options: "-debug all -logfile debug.log"
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

tero
Posts: 288
Joined: Tue, 8. Mar 05, 15:25
x4

Re: [Index] X4: Foundations Tools, Tutorials and Resources

Post by tero » Mon, 22. Mar 21, 16:12

If someone wants the luxury of Visual Studio on Linux there is a similar IDE.
The IDE is commercial but has a free open source community edition (no registration required).

IntelliJ IDEA

It's made for Java/Android etc, but it handles XML just like VS including all the bells and whistles.
Waat dat wat? Dat waat wat!


Post Reply

Return to “X4: Foundations - Scripts and Modding”