official Egosoft X4 modding API docs?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
official Egosoft X4 modding API docs?
Does Egosoft have any official API documentation for modding X4 available? If so,where?
-
- Posts: 308
- Joined: Fri, 3. Oct 08, 20:43
Re: official Egosoft X4 modding API docs?
Gebt mir einen Spiegel dann schlage ich ihn mit seinem eigenen Gesicht
Re: official Egosoft X4 modding API docs?
you forgot to mentoin the .xsd filed and the scriptproperties.html from the extracted game files
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
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
Re: official Egosoft X4 modding API docs?
Ok thanks for the help.
-
- Posts: 49
- Joined: Wed, 5. Dec 18, 07:07
Re: official Egosoft X4 modding API docs?
Hoping it is ok to resurrect this thread: I have problems to use the scriptproperties.html in Firefox and also using MS Edge.
Is there any workaround or fix?
Background: from running the file in debugger, I see that in Firefox the fileloading doesn‘t work correctly.
Is there any workaround or fix?
Background: from running the file in debugger, I see that in Firefox the fileloading doesn‘t work correctly.
Re: official Egosoft X4 modding API docs?
Odd, using FF myself and do not have that problem. Try to change the encoding (Firefox > Web Developer > Character Encoding) to ANSI or UTF-8.TheMandalorian wrote: ↑Sat, 27. Jun 20, 12:48Hoping it is ok to resurrect this thread: I have problems to use the scriptproperties.html in Firefox and also using MS Edge.
Is there any workaround or fix?
Background: from running the file in debugger, I see that in Firefox the fileloading doesn‘t work correctly.
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
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
Re: official Egosoft X4 modding API docs?
recent versions of FF broke local usage of that file. now it only works if this file and all its dependencies are on some webserver.
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
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
Re: official Egosoft X4 modding API docs?
I had an issue with FF too, related to CORS. I fixed it by disabling the CORS protection for local drives (which can be a security issue, so be aware).
-
- Posts: 49
- Joined: Wed, 5. Dec 18, 07:07
Re: official Egosoft X4 modding API docs?
That is exactly my problem. It would be very helpful if scriptproperties.html would be fixed in a future update....or some workaround would be given.
My knowledge of JavaScript is not enough to fix it myself and enabling local file usage in FF seems to be risky.
Re: official Egosoft X4 modding API docs?
The issue is entierely with firefox to my knowledge - it used to have some kind of Webserver builtin to view Webpages locally properly, but that got removed "for security reasons". (EDIT: Or they blocked Access to other local files for the same reasons, not really sure) - So not really fixable by editing some of the provided files..
EDIT: Just set up some webserver on your PC and throw the needed files in, then use the url from it (should be something like ) and it works again.
EDIT: Just set up some webserver on your PC and throw the needed files in, then use the url from it (should be something like
Code: Select all
http://localhost/scriptproperties.html
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
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
Re: official Egosoft X4 modding API docs?
Oh yeah wasnt 3.0 suppose to come with mod tools and documentation etc, whatever happened to that?
-
- Posts: 49
- Joined: Wed, 5. Dec 18, 07:07
Re: official Egosoft X4 modding API docs?
Sounds fair.UniTrader wrote: ↑Wed, 8. Jul 20, 19:42The issue is entierely with firefox to my knowledge - it used to have some kind of Webserver builtin to view Webpages locally properly, but that got removed "for security reasons". (EDIT: Or they blocked Access to other local files for the same reasons, not really sure) - So not really fixable by editing some of the provided files..
EDIT: Just set up some webserver on your PC and throw the needed files in, then use the url from it (should be something like) and it works again.Code: Select all
http://localhost/scriptproperties.html
You said that the problem is related to Firefox.
For me, MS Edge and IE also do not work: if I type in a keyword the list does not show the corresponding properties.
The best way for me to deal with it currently seems to directly look and search the xsd-files or learn from other mods.
Re: official Egosoft X4 modding API docs?
ahhh ... scriptproperties.xml does work in a local webserver.
i use xampp. i also use it for work, so always have it installed on my machines.
are there any local webserver apps that are lighter?
also, what xsd readers do you guys use?
all this time, i've simply been using sublime regex search.
but having the API browsable would be helpful.
i use xampp. i also use it for work, so always have it installed on my machines.
are there any local webserver apps that are lighter?
also, what xsd readers do you guys use?
all this time, i've simply been using sublime regex search.
but having the API browsable would be helpful.
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.
Re: official Egosoft X4 modding API docs?
If you have python installed already then it is fairly easy to serve the page:
1) Open command prompt (or powershell) in the folder with scriptproperties.
2) Run "python -m http.server"
3) Open browser to "http://localhost:8000/scriptproperties.html" (or jobeditor.html).
4) When done, just close or ctrl-c the command prompt to stop the server.
1) Open command prompt (or powershell) in the folder with scriptproperties.
2) Run "python -m http.server"
3) Open browser to "http://localhost:8000/scriptproperties.html" (or jobeditor.html).
4) When done, just close or ctrl-c the command prompt to stop the server.