Editing Lua

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

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

ice-design
Posts: 23
Joined: Fri, 29. Nov 13, 19:08
x4

Editing Lua

Post by ice-design »

Hi guys,

did anyone of you already manage to change the lua scripts successfully?
I'm trying to add the position of an object (Ships, stations etc.) to to general information tab. But am struggeling on doing that.

I've seen the lua files, and was able to change what was wihtin, but I had to overwrite the whole file and could only use what was already within the file.
But I did not find a Diff possibiliy and no possibility to add a new functions, like reading the objects position to output it into a simple string to show it in the overview.


Does anyone know how to possibly do that?


cya
Ice
KatoNamus
Posts: 1
Joined: Fri, 26. Jun 15, 14:17
x4

Re: Editing Lua

Post by KatoNamus »

Be good. If you can't be good, be good at it

Return to “X4: Foundations - Scripts and Modding”