Mod that allows xenon relations to change?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Mod that allows xenon relations to change?
Or an easy way to make this possible? im trying to set up a custom yaki start where I start with 0 relationship with xenon so they are not hostile at start, also planned to try and set up a resource economy and supply them, but i noticed if i attack any of them theres no faction hit, their faction is locked at what i set it at the start, I wouldnt mind even if i could have the option to declare war on them eventually but even that is disabled, so having to find a workaround, either a mod that makes it so i can at least hurt their relationship (ideally be improved as well with trading) or i assume I could change the files somehow for the faction to be able to not be locked? just not sure what kind of issues this could cause.
Re: Mod that allows xenon relations to change?
Are those changes retroactive in a current game though? im talking adjusting relations mid game as the xenon seem locked, wanting to have a start that they start non hostile as im starting as a yaki, but have the option if i need or want to, to change them to hostile later.
Re: Mod that allows xenon relations to change?
Name of the file ; gamestart speak for itself. It cant be retroactive. however you can change relation, by modifying your savegame.
Otherwise you make things uselessly complicated. If you want xenons non hostile at start, define it like that in your scenario gamestart file. If later you turn them hostile, declare them war.
If it is for yourself and not for a mod, ignore gamstart and simply launch a custom game ; there is enough options, imo, for what you want.
Otherwise you make things uselessly complicated. If you want xenons non hostile at start, define it like that in your scenario gamestart file. If later you turn them hostile, declare them war.
If it is for yourself and not for a mod, ignore gamstart and simply launch a custom game ; there is enough options, imo, for what you want.
Re: Mod that allows xenon relations to change?
oh okay so i can modify my existing game file anytime to change factions, thats what i really wanted to know, as for war, u cant declare war on xenon, even if u start non hostile, at least with in game options, perhaps that option is in save file.
just finding the exact location in save file may be a challange.
just finding the exact location in save file may be a challange.
Re: Mod that allows xenon relations to change?
In first place, I m not too sure why you posted in this forum, the main one seems more adequate, imo.
The only thing you have to know about x4 save is they are pack. So modify a save it will be more easy to unpacked/extract it first. After that about all in save game files are clear, what you are looking for, is, IIRC at the very beginning of the file. Remember however relation go in 2 way. So modify relation player xenons then xenons player. Once the file modifed send it back to its packed container.
If you cant declare war to xenons act with hostility with them and you will have quickly have your war.
The only thing you have to know about x4 save is they are pack. So modify a save it will be more easy to unpacked/extract it first. After that about all in save game files are clear, what you are looking for, is, IIRC at the very beginning of the file. Remember however relation go in 2 way. So modify relation player xenons then xenons player. Once the file modifed send it back to its packed container.
If you cant declare war to xenons act with hostility with them and you will have quickly have your war.
Re: Mod that allows xenon relations to change?
well the steam dicussion for any mod help is rough, the response time is allot lower and initially i was looking for a mod or how to mod to make it so xenon were unlocked (all of this was in my original post, them being locked, unable to declare war, me looking for a workaround, being aware about modfying them at start as thats how i got into this situation) also both are community forums but this one tends to have more activity beyond general discussion, and thanks for the location for the changes, also like i said in my original post, acting with hostility on xenon doesnt work by default because they are also locked hence why i started looking for solutions, if it was as simple as shooting xenon then it would have been a non issue, shooting just turns the local ones hostile for a short time, and with war disabled its effectivly impossible without modifiying files or adding a mod to change xenons faction after game start.
Re: Mod that allows xenon relations to change?
xenon relations can be unlocked by modding factions.xml
you can set up a script to change relations or edit the save as mentioned before
you can set up a script to change relations or edit the save as mentioned before
Re: Mod that allows xenon relations to change?
First before to modify a save, may be you can take precautions, and make a copy you will transfer elsewhere.
For What I know relation lock is the first parameter you willl meet in the faction relation. Remove this line or may be change the 1 in 0
Relation value ; -1 is -30 and 1 is +30.
-0.0032 is -5.
-0.032 is -15.
Others exemples
0.215671 is somewhere around +23
-0.72483 is somewhere around -28
Reminder ; Dont forget to change the value for the two factions with the same value.
Once the file is modofied repacked it, sendind it in its original container, overwritting the former one inside.
For What I know relation lock is the first parameter you willl meet in the faction relation.
Code: Select all
<relations locked="1">
Relation value ; -1 is -30 and 1 is +30.
-0.0032 is -5.
-0.032 is -15.
Others exemples
0.215671 is somewhere around +23
-0.72483 is somewhere around -28
Reminder ; Dont forget to change the value for the two factions with the same value.
Once the file is modofied repacked it, sendind it in its original container, overwritting the former one inside.
Re: Mod that allows xenon relations to change?
this is perfect, thank you, i probably wont change this for a long time but just glad to have this is an option for when i need it, i do wonder if theres any bugs or complications that may arise with storys and plots if im not hostile with the xenon but the game seems pretty good at making things hostile for a mission even if you are not normally enemies.Malchar wrote: ↑Wed, 4. May 22, 15:12First before to modify a save, may be you can take precautions, and make a copy you will transfer elsewhere.
For What I know relation lock is the first parameter you willl meet in the faction relation.Remove this line or may be change the 1 in 0Code: Select all
<relations locked="1">
Relation value ; -1 is -30 and 1 is +30.
-0.0032 is -5.
-0.032 is -15.
Others exemples
0.215671 is somewhere around +23
-0.72483 is somewhere around -28
Reminder ; Dont forget to change the value for the two factions with the same value.
Once the file is modofied repacked it, sendind it in its original container, overwritting the former one inside.
Re: Mod that allows xenon relations to change?
I m sorry, but I cant help with story/plot/mission. I m allergique to these things, or to be exact I considere the quality of these features so low at X4 that I ignore it. Someone else could probably answer you, but for this question, I m the last who can give you hints.