-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
87 lines (59 loc) · 3.16 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
https://stackoverflow.com/questions/67172960/parsing-xml-file-with-fsharp-xmlprovider
If you wanted to add the new changeSet to the existing document, the way to do this would be to do something like this:
doc.XElement.Add(changeSet.XElement)
doc.XElement.Save("sample.xml")
From https://www.nexusmods.com/x4foundations/mods/1126?tab=posts :
upiterKasparov
member73 posts2 kudos
24 May 2023, 9:04PM
Hello there!
I think I've found the answer to your problems.
Your mod may miss a minor detail like this Ralston one does, and that may be the reason to why god.xml may not work.
In order to ensure that god.xml spawns your stuff, all 'location' tags must include the matchextension="false" attribute!
I don't say that this is your problem with 100% probability, but this is highly probable, that this is the only problem.
So, instead of this:
<location class="sector" macro="homebrew_cluster08_sector001_macro" />
Use this:
<location class="sector" macro="homebrew_cluster08_sector001_macro" matchextension="false" />
This rule is also true for the jobs.xml, should you wish to add new jobs!
from DeadAir on egosoft discord: example around count
<add sel="/defaults/dataset[@macro='Cluster_17_Sector001_macro']/properties[count(./area)=0]" silent="true">
<area tags="daxenoncore"/>
</add>
<add sel="/defaults/dataset[@macro='Cluster_17_Sector001_macro']/properties[count(./area)=1]/area" type="@tags" silent="true">daxenoncore</add>
==== Jobs:
From the x4-modding dischord:
Manoeuvring with Difficulty — Today at 1:30 PM
maxgalaxy by default is 2x galaxy, the rest looks right
Also galaxy is more of a target, so it can be higher or lower but factions will try and aim to keep the amount of ships to be around the galaxy value
Though DeadAir adds:
"Changing galaxy affects their default target"
and maxgalaxy is a hard limit. So dropping galaxy would not do what we want. Deadair suggests sector limits or splitting the job in to two.
One with a smaller target that is the initial spawn, and another with hte rest of the target, but the job set to 'prefer build', so that
they only build at shipyards and don't spawn in on game start.
Other discord notes:
"preferbuilding forces it to be built instead of spawned
rebuild will be rebuilt if ship is lost/order times out"
CLUSTER/SECTOR LIST: ( from https://www.elite-games.ru/conference/viewtopic.php?t=65970&sid=96823fcacb876775848b81a913f4912c)
The excellent map here now gives cluster and sector IDs:
https://www.qsna.eu/x4/map
FACTIONS:
Argon Federation 6, 7, 8, 14, 30, 46, 67, 68,
Holy Kingdom Paranid 10, 18, 22, 23, 37, 38, 47, 73, 74,
Holy Order of the Pontiff 11, 12, 24, 35, 36,
Free League Hatikva
Teladi Company 1, 2, 3, 5, 9, 15, 19 , 20, 34, 39, 43, 70, 71,
Republic of Antigone 13, 27, 28, 40, 41,
Xenon 16, 17, 21, 25, 26, 32, 33, 64, 65, 66, 75
HAAKI
Ministry of Finance
Pact of Scales
Free families 58, 59, 60, 61, 62, 63, 72,
Fallen families
Patriarchy Zyart 51, 52, 53, 54, 55, 56, 57, 69,
Yaqi
Earth Protectorate 77, 78, 79, 80, 81, 82, 83, 84. 85, 86, 91
Segaris Pioneers 88, 89, 90
Xenon 87
Neutral Sectors 4, 31, 44, 48, 49, 50, 76
Mixed Sectors 29 , 42, 45,