[TOOL] Unlocking info and object knowledge.

The place to discuss scripting and game modifications for X Rebirth.

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

Assailer
Posts: 447
Joined: Sun, 25. May 14, 17:45
x4

Post by Assailer » Sun, 14. Dec 14, 10:32

I will check this to be sure. In theory it should be, as it only adds KNOWN flags and rebuilds SCAN data.

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7532
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Sun, 14. Dec 14, 10:36

Thanks very much!

Assailer
Posts: 447
Joined: Sun, 25. May 14, 17:45
x4

Post by Assailer » Sun, 14. Dec 14, 10:49

Assailer wrote:I will check this to be sure. In theory it should be, as it only adds KNOWN flags and rebuilds SCAN data.
Just tested and it is compatible.

Create a fresh teladi start for example, talk through the initial script and scan at least one INFO point before saving, so the tool can find in XML where to add the other info points.

If you start story mode, the unlocks and info scanning is limited as before.

You can run on a 2.5 save which was once loaded and saved as 3.0 to unlock new zones and gates.

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7532
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Sun, 14. Dec 14, 11:21

Thanks very much for quick testing :)

I used the DeVries Freelancer start as a new game in 3.0 but I was unable to use your tool successfully. Probably a mistake on my end.

When I ran the tool from within the default Rebirth directory containing my quicksave, a small black window pops open for a fraction of a second then disappears. A quicksave.xml_ file wasn't created.

DeVries Freelancer start in case relevant:
http://forum.egosoft.com/viewtopic.php?t=369194

meltedplasticarmyguy
Posts: 2
Joined: Sun, 15. Mar 15, 23:53

Post by meltedplasticarmyguy » Mon, 16. Mar 15, 01:34

Either it stopped working for 3.5 or I am doing something wrong because the .exe does not create the new file. I am running Win 8.1 and it is the STEAM version. When I click on the .exe file a window flashes on the screen and nothing happens. Any ideas?

nemesis1982
Posts: 770
Joined: Wed, 29. Oct 08, 13:10
x4

Post by nemesis1982 » Mon, 16. Mar 15, 09:47

May I use the code for the save game editor I am creating?
Save game editor XR and CAT/DAT Extractor
Keep in mind that it's still a work in progress although it's taking shape nicely.

If anyone is interested in a new save game editor for X4 and would like to contribute to the creation of one let me know. I do not have sufficient time to create it alone, but if there are enough people who want it and want to contribute we might be able to set something up.

meltedplasticarmyguy
Posts: 2
Joined: Sun, 15. Mar 15, 23:53

Post by meltedplasticarmyguy » Mon, 23. Mar 15, 01:39

The game updated again with much needed fixes, so I will ask my question again. Does the game version affect this because it still wont work?

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7532
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp » Mon, 23. Mar 15, 09:05

If it stopped at some point, it would be due to chances made by devs to the code and/or the way they organise the files. Devs probably haven't reversed those past changes so it would be unlikely to start working again, unfortunately.

SireDick
Posts: 1
Joined: Fri, 26. Oct 18, 14:25

Re: [TOOL] Unlocking info and object knowledge.

Post by SireDick » Fri, 13. Sep 19, 20:48

while (a)
{ if (strcmp(a->name(), "id") == 0)
{ strcpy(station->m_id, a->value());
}
else if (strcmp(a->name(), "owner") == 0)
{
strcpy(station->m_owner, a->value());
}
a = a->next_attribute();
}
--------

Can you inform me which 'node_attribute' would be the 'friendliness level' ...?
I would like to change the code the small bit of: *if neutral or higher (rep > 1) *then place a trade 'officer'.
So instead of a total 'cheat' ... a mod to just destroy the 'trade time limit' ... (still need to explore).

Post Reply

Return to “X Rebirth - Scripts and Modding”