[TOOL] Unlocking info and object knowledge.
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 812
- Joined: Wed, 29. Oct 08, 12:10
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.
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.
-
- Posts: 3
- Joined: Sun, 15. Mar 15, 22:53
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
Re: [TOOL] Unlocking info and object knowledge.
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).
{ 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).