Changes for page Breaking Changes

Last modified by Michael Baumgardt on 2026/04/17 12:03

From version 105.1
edited by Daniel Turner
on 2023/08/25 09:46
Change comment: There is no comment for this version
To version 134.1
edited by Lc4Hunter
on 2025/07/09 08:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Daniel
1 +XWiki.Lc4Hunter
Content
... ... @@ -18,30 +18,106 @@
18 18  
19 19  = Breaking Changes =
20 20  
21 -(% class="wrapped" %)
22 -|=(((
23 -Type
24 -)))|=(((
25 -Version
26 -)))|=(((
27 -Summary
21 +{{toc scope="LOCAL" start="3"/}}
22 +
23 +=== Version 8.00 ===
24 +
25 +(% class="table-striped" %)
26 +|(% colspan="1" style="width:117px" %)Scripts|(% colspan="1" style="width:119px" %)8.00 Beta 1|(% colspan="4" style="width:1625px" %)Removed MD action **<populate_platforms>**
27 +|(% colspan="6" style="width:117px" %)(((
28 +The deprecated MD action <populate_platforms> has been removed. The previously referenced character quotas in quotas.xml have also been removed.
28 28  )))
29 -|(% colspan="3" %)(% colspan="3" %)
30 +|(% style="width:117px" %)Assets|(% style="width:117px" %)8.00 Beta 1|(% colspan="4" rowspan="1" style="width:117px" %)**\assets\units\size_m\ship_gen_m_transdrone_container_02** and **\assets\units\size_s\ship_gen_s_transdrone_container_02** moved to **ego_dlc_terran**
31 +|(% colspan="6" style="width:117px" %)**ship_gen_m_transdrone_container_02** and **ship_gen_s_transdrone_container_02** (templates and macros) have been moved to the **ego_dlc_terran** extension and any reference to these files now requires that the resulting dependency on that extension is taken into account.
32 +|(% style="width:117px" %)Assets|(% style="width:117px" %)8.00 Beta 1|(% colspan="4" rowspan="1" style="width:117px" %)Icons moved from **assets\fx\textures\gui** to **assets\textures\ui**
33 +|(% colspan="6" style="width:117px" %)Assets with the exception of the **loadingscreen** folder have been moved and any reference to these files will require updating (mostly affects icons.xml).
34 +|(% style="width:117px" %)Assets|(% colspan="3" style="width:117px" %)8.00 Beta 1|(% colspan="3" style="width:117px" %)**boron** and **terran** tags for equipment (weapons, engines, ...) changed to **advanced**
35 +|(% colspan="6" style="width:117px" %)Ships and equipment with **boron **and **terran** (Frontier terran, not CoH terran) tags will no longer work properly as they do not match the new **advanced** tag (for example "small engine boron" has been replaced by "small engine advanced") which has been introduced for a compatibility between boron and Frontier-terran ships/equipment.
36 +
37 +=== Version 7.50 ===
38 +
39 +(% class="table-striped" %)
40 +|(% colspan="1" style="width:117px" %)Relations|(% colspan="1" style="width:119px" %)7.50 Beta 4|(% colspan="2" style="width:1625px" %)**Adjusted displayed UI values (25 to 30) for relations between 0.32 and 1.0:** The minimum relation for the "ally" range (0.5) now corresponds to the displayed UI value of precisely +27 (previously rounded down to +26)
41 +|(% colspan="4" style="width:117px" %)(((
42 +The "ally" range is the interval from 0.5 to 1.0, which previously corresponded to the UI value range of approximately +26.9897 to +30. The interpolated mapping within the range from 0.32 and 1.0 has been adjusted so that 0.5 now exactly corresponds to +27. As a consequence, certain relations that were previously between 25 and 28 (rounded down) may have gained +1 in the UI, i.e. they are now displayed as 26 instead of 25, etc. For consistency, the negative range between -1.0 and -0.32 has been adjusted analogously (-0.5 is now displayed as -27). This mostly only affects the UI display, not actual gameplay.
43 +)))
44 +|(% colspan="1" style="width:117px" %)Parameters|(% colspan="1" style="width:119px" %)7.50 Beta 4|(% colspan="2" style="width:1625px" %)**<holomap><radar>**:** complete change in structure**
45 +|(% colspan="7" style="width:117px" %)(((
46 +This section now contains sets of parameters for the different modes it can be in, each in its own <mode> child node. This list can be dynamically expanded to add more modes.
47 +)))
48 +
49 +=== Version 7.00 ===
50 +
51 +
52 +(% class="table-striped" %)
53 +|(% colspan="1" style="width:117px" %)Gamestarts|(% colspan="1" style="width:119px" %)7.00 Beta 8|(% colspan="2" style="width:1625px" %)**Text references**
54 +|(% colspan="4" style="width:117px" %)Fields containing text references in gamestarts.xml now have full text conversion applied, allowing texts to be constructed from multiple text entries, e.g. {1234,56}\n\n{1234,78}. As a result, raw text placed in the text fields needs to be formatted accordingly, e.g. "Test start (easy)" would need to be changed to "Test start \(easy\)" to avoid the text in brackets being treated as a comment.
55 +|(% colspan="1" style="width:117px" %)Assets|(% colspan="1" style="width:119px" %)7.00 Beta 7|(% colspan="2" style="width:1625px" %)**\assets\textures\fx\highway_fx_electric_02** was deleted and replaced with **\assets\textures\fx\fx_p2_electric_01**
56 +|(% colspan="4" style="width:117px" %)highway_fx_electric_02 is still available in "legacy" folder if needed
57 +|(% colspan="1" style="width:117px" %)Parameters|(% colspan="1" style="width:119px" %)7.00 Beta 7|(% colspan="2" style="width:1625px" %)**<aiflight><skills>**: **strafespeed**, **strafeacc**, **steeringspeed**, **steeringacc** moved to separate nodes; added support for min and max values
58 +|(% colspan="4" style="width:117px" %)(((
59 +The four parameters used to represent flat factors applied to ships' properties with respect to their respective pilots' skill levels. Parameters moved to separate nodes with support for min and max values which, if supplied, scales the factor linearly if the affected ship's unmodified property is within min and max. Factor does not affect the ship if that property is below min.
60 +)))
61 +|(% colspan="1" style="width:117px" %)Scripts|(% colspan="1" style="width:119px" %)7.00 Beta 6|(% colspan="2" style="width:1625px" %)MD action **<set_holomap_target>** parameter change.
62 +|(% colspan="4" style="width:117px" %)(((
63 +The **pantime** parameter has never actually done anything beyond turning panning on or making the transition instant. To make this clear it has been** **replaced with the boolean parameter **instant.**
64 +)))
65 +|(% colspan="1" style="width:117px" %)Assets|(% colspan="1" style="width:119px" %)7.00 Beta 1|(% colspan="2" style="width:1625px" %)Renamed some material names and changed file paths for textures.
66 +|(% colspan="4" style="width:117px" %)(((
67 +Some material names and texture paths were changed. Please DIFF the materiallibrary.xml from 6.20 with 7.0 to see the difference
68 +)))
69 +|(% colspan="1" style="width:117px" %)(% colspan="1" %)
30 30  (((
31 -== 6.00 ==
71 +Scripts
72 +)))|(% colspan="1" style="width:119px" %)(((
73 +7.00 Beta 1
74 +)))|(% colspan="2" style="width:1625px" %)(((
75 +MD action **<set_presentation_cluster_persistence/>** now requires the cluster to be a presentation cluster.
32 32  )))
77 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
78 +(((
79 + Previously it was possible to set normal clusters to be persistent presentation clusters which was an invalid state.
80 +)))
81 +|(% colspan="1" style="width:117px" %)(% colspan="1" %)
82 +(((
83 +UI extensions
84 +)))|(% colspan="1" style="width:119px" %)(((
85 +7.00 Beta 1
86 +)))|(% colspan="2" style="width:1625px" %)(((
87 +**FFI**: RemoveBuildPlot() changed
88 +)))
89 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
90 +(((
91 + The build plot's buildstorage is no longer removed implicitly. The buildstorage will instead be cleaned-up once it is empty and no ships are docked.
92 +)))
93 +|(% colspan="1" style="width:117px" %)(% colspan="1" %)
94 +(((
95 +Assets
96 +)))|(% colspan="1" style="width:119px" %)(((
97 +7.00 Beta 1
98 +)))|(% colspan="2" style="width:1625px" %)(((
99 +**Some Split DLC materials moved to base game**
100 +)))
101 +|(% colspan="7" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
102 +(((
103 +// //"spl_p1_fx" AND "split_p1_hulltexture_01" were moved from Split DLC to base game
104 +)))
105 +
106 +=== Version 6.00 ===
107 +
108 +(% class="table-striped" %)
33 33  |(((
34 34  Libraries
35 35  )))|(((
36 36  6.00 Beta 7
37 -)))|(((
113 +)))|(% colspan="2" %)(((
38 38  Updated weights for ship groups in shipgroups.xml libraries of base game and all DLCs.
39 39  )))
40 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
116 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
41 41  (((
42 -//Previously some entries were lacking "weight" parameter, causing it to default to "1", which prevent adding new ships to the group with appropriate/configurable granularity.//
118 +Previously some entries were lacking "weight" parameter, causing it to default to "1", which prevent adding new ships to the group with appropriate/configurable granularity.
43 43  
44 -//All groups should now have "weight" parameter added and old "weights" were updated to not have single-digit numbers.//
120 +All groups should now have "weight" parameter added and old "weights" were updated to not have single-digit numbers.
45 45  )))
46 46  |(% colspan="1" %)(% colspan="1" %)
47 47  (((
... ... @@ -49,15 +49,15 @@
49 49  )))|(% colspan="1" %)(% colspan="1" %)
50 50  (((
51 51  6.00 Beta 4
52 -)))|(% colspan="1" %)(% colspan="1" %)
128 +)))|(% colspan="2" %)(% colspan="1" %)
53 53  (((
54 54  Changed conditions for **<event_player_travelmode_started> <event_player_travelmode_stopped> <event_player_travelmode_charge_started> <event_player_travelmode_charge_aborted>** to be raised.
55 55  )))
56 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
132 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
57 57  (((
58 -//The <event_player_travelmode_started>, <event_player_travelmode_stopped>, <event_player_travelmode_charge_started> and <event_player_travelmode_charge_aborted> events will no longer be raised if the player is a passenger on board a ship which enters or leaves travel mode. Previously these events would be raised whether the player was the pilot or a passenger. //
134 +The <event_player_travelmode_started>, <event_player_travelmode_stopped>, <event_player_travelmode_charge_started> and <event_player_travelmode_charge_aborted> events will no longer be raised if the player is a passenger on board a ship which enters or leaves travel mode. Previously these events would be raised whether the player was the pilot or a passenger.
59 59  
60 -//Scripts that need to check whether the player exits travel mode may also need to consider checking whether the player leaves the control seat using <event_player_stopped_control> since this will also result in travel mode stopping.//
136 +Scripts that need to check whether the player exits travel mode may also need to consider checking whether the player leaves the control seat using <event_player_stopped_control> since this will also result in travel mode stopping.
61 61  )))
62 62  |(% colspan="1" %)(% colspan="1" %)
63 63  (((
... ... @@ -65,17 +65,17 @@
65 65  )))|(% colspan="1" %)(% colspan="1" %)
66 66  (((
67 67  6.00 Beta 3
68 -)))|(% colspan="1" %)(% colspan="1" %)
144 +)))|(% colspan="2" %)(% colspan="1" %)
69 69  (((
70 70  Changed result of **<find_object_surface>** action in the case of a failure
71 71  )))
72 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
148 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
73 73  (((
74 -//The 'posname' and 'rotname' result attributes of <find_object_surface> will now return null in the case of no valid surface position being found.//
150 +The 'posname' and 'rotname' result attributes of <find_object_surface> will now return null in the case of no valid surface position being found.
75 75  
76 -//Previously, it returned null only if there was a physics error. It however returned a valid, somewhat-random, position if physics were fine but it was still unable to find a suitable surface position. This position was often unsuitable to use for gameplay purposes so it is now null so the caller can handle the situation.//
152 +Previously, it returned null only if there was a physics error. It however returned a valid, somewhat-random, position if physics were fine but it was still unable to find a suitable surface position. This position was often unsuitable to use for gameplay purposes so it is now null so the caller can handle the situation.
77 77  
78 -//The action itself has been improved to increase the chance of finding suitable surface positions.//
154 +The action itself has been improved to increase the chance of finding suitable surface positions.
79 79  )))
80 80  |(% colspan="1" %)(% colspan="1" %)
81 81  (((
... ... @@ -83,14 +83,14 @@
83 83  )))|(% colspan="1" %)(% colspan="1" %)
84 84  (((
85 85  6.00 Beta 1
86 -)))|(% colspan="1" %)(% colspan="1" %)
162 +)))|(% colspan="2" %)(% colspan="1" %)
87 87  (((
88 88  Behaviour change for **<match_dock>** script component filter
89 89  )))
90 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
166 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
91 91  (((
92 -//<match_dock> nodes can now be used on container and walkablemodule classes without wrapping them in <match_content> nodes.
93 -This has introduced a new potential pitfall: If finding or counting contained components be wary that there may be multiple positive results, even if there is only one dockingbay. e.g. matching contents for a station will include the dockingbay but also its containing walkable module as that also contains the dockingbay. To only account for docking bays, also filter by dockingbay class.//
168 +<match_dock> nodes can now be used on container and walkablemodule classes without wrapping them in <match_content> nodes.
169 +This has introduced a new potential pitfall: If finding or counting contained components be wary that there may be multiple positive results, even if there is only one dockingbay. e.g. matching contents for a station will include the dockingbay but also its containing walkable module as that also contains the dockingbay. To only account for docking bays, also filter by dockingbay class.
94 94  )))
95 95  |(% colspan="1" %)(% colspan="1" %)
96 96  (((
... ... @@ -98,25 +98,25 @@
98 98  )))|(% colspan="1" %)(% colspan="1" %)
99 99  (((
100 100  6.00 Beta 1
101 -)))|(% colspan="1" %)(% colspan="1" %)
177 +)))|(% colspan="2" %)(% colspan="1" %)
102 102  (((
103 103  Changed result attribute location for **<get_attackstrength>**
104 104  )))
105 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
181 +|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %)
106 106  (((
107 -//The 'result' attribute of get_attackstrength has been moved into the new <result> subnode and renamed to 'total'.//
183 +The 'result' attribute of get_attackstrength has been moved into the new <result> subnode and renamed to 'total'.
108 108  )))
109 109  |(((
110 110  Assets
111 111  )))|(((
112 112  6.00 Beta 1
113 -)))|(((
189 +)))|(% colspan="2" %)(((
114 114  Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons
115 115  )))
116 -|(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
192 +|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
117 117  (((
118 -//Connection tags used to specify compatibilities in component templates between a ship or station module and engines or shields now additionally require the use of the "standard" tag matching weapon or turret logic. For weapons that are neither Missile Launcher nor Mining Laser, the tag "combat" is also required.
119 -Exception: special equipment that is deliberately not compatible with the majority of slots may use another tag instead of "standard", e.g. "highpower" for certain Terran weapons.//
194 +Connection tags used to specify compatibilities in component templates between a ship or station module and engines or shields now additionally require the use of the "standard" tag matching weapon or turret logic. For weapons that are neither Missile Launcher nor Mining Laser, the tag "combat" is also required.
195 +Exception: special equipment that is deliberately not compatible with the majority of slots may use another tag instead of "standard", e.g. "highpower" for certain Terran weapons.
120 120  )))
121 121  |(% colspan="1" %)(% colspan="1" %)
122 122  (((
... ... @@ -124,55 +124,59 @@
124 124  )))|(% colspan="1" %)(% colspan="1" %)
125 125  (((
126 126  6.00 Beta 1
127 -)))|(% colspan="1" %)(% colspan="1" %)
203 +)))|(% colspan="2" %)(% colspan="1" %)
128 128  (((
129 129  Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects
130 130  )))
131 -|(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
207 +|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
132 132  (((
133 -//When finding components with attribute "sortbygatedistanceto", e.g. in <find_object>, any objects with a negative gatedistance (i.e. unreachable objects) are automatically excluded from the result.//
209 +When finding components with attribute "sortbygatedistanceto", e.g. in <find_object>, any objects with a negative gatedistance (i.e. unreachable objects) are automatically excluded from the result.
134 134  )))
135 135  |(((
136 136  Scripts
137 137  )))|(((
138 138  6.00 Beta 1
139 -)))|(((
215 +)))|(% colspan="2" %)(((
140 140  **<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards.
141 141  )))
142 -|(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
218 +|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
143 143  (((
144 -//The order of events was adjusted, allowing handlers of <event_player_owned_killed_object> and <event_player_owned_destroyed> to access commander/subordinate relationship of the destroyed object.//
220 +The order of events was adjusted, allowing handlers of <event_player_owned_killed_object> and <event_player_owned_destroyed> to access commander/subordinate relationship of the destroyed object.
145 145  )))
146 146  |(((
147 147  Cutscenes
148 148  )))|(((
149 149  6.00 Beta 1
150 -)))|(((
226 +)))|(% colspan="2" %)(((
151 151  Changed behaviour of **<angles>** in cutscenes
152 152  )))
153 -|(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
229 +|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
154 154  (((
155 -//The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.//
231 +The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.
156 156  )))
157 -|(% colspan="3" %)(% colspan="3" %)
158 -(((
159 -== 5.00 ==
160 -)))
233 +
234 +----
235 +
236 +=== Version 5.00 ===
237 +
238 +(% class="table-striped" %)
161 161  |(((
162 162  Parameters
163 163  )))|(((
164 164  5.00 Beta 1
165 -)))|(((
243 +)))|(% colspan="2" %)(((
166 166  **<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration
167 167  )))
168 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
246 +|(% colspan="7" %)(% colspan="3" %)
169 169  (((
170 -//'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.//
248 +'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.
171 171  )))
172 -|(% colspan="3" %)(% colspan="3" %)
173 -(((
174 -== 4.10 ==
175 -)))
250 +
251 +----
252 +
253 +=== Version 4.10 ===
254 +
255 +(% class="table-striped" %)
176 176  |(% colspan="1" %)(% colspan="1" %)
177 177  (((
178 178  UI extensions
... ... @@ -179,13 +179,13 @@
179 179  )))|(% colspan="1" %)(% colspan="1" %)
180 180  (((
181 181  4.10 Beta 7
182 -)))|(% colspan="1" %)(% colspan="1" %)
262 +)))|(% colspan="2" %)(% colspan="1" %)
183 183  (((
184 -**FFI**: (% style="color:#000000" %)SetMapRenderCargoContents(%%)(), (% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) deprecated
264 +**FFI**: SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() deprecated
185 185  )))
186 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
266 +|(% colspan="4" %)(% colspan="3" %)
187 187  (((
188 -//The functionality represented by (% style="color:#000000" %)SetMapRenderCargoContents(%%)(), (% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.//
268 +The functionality represented by SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() has been removed and the function was therefore stubbed.
189 189  )))
190 190  |(% colspan="1" %)(% colspan="1" %)
191 191  (((
... ... @@ -193,13 +193,13 @@
193 193  )))|(% colspan="1" %)(% colspan="1" %)
194 194  (((
195 195  4.10 Beta 6
196 -)))|(% colspan="1" %)(% colspan="1" %)
276 +)))|(% colspan="2" %)(% colspan="1" %)
197 197  (((
198 198  **FFI**: CustomGameStartPlayerProperty2 changed
199 199  )))
200 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
280 +|(% colspan="4" %)(% colspan="3" %)
201 201  (((
202 -//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.//
282 +This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.
203 203  )))
204 204  |(% colspan="1" %)(% colspan="1" %)
205 205  (((
... ... @@ -207,13 +207,13 @@
207 207  )))|(% colspan="1" %)(% colspan="1" %)
208 208  (((
209 209  4.10 Beta 3
210 -)))|(% colspan="1" %)(% colspan="1" %)
290 +)))|(% colspan="2" %)(% colspan="1" %)
211 211  (((
212 212  Renamed **<stationinfobox>** to **<infobox>**
213 213  )))
214 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
294 +|(% colspan="4" %)(% colspan="3" %)
215 215  (((
216 -//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.//
296 +Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.
217 217  )))
218 218  |(% colspan="1" %)(% colspan="1" %)
219 219  (((
... ... @@ -221,35 +221,35 @@
221 221  )))|(% colspan="1" %)(% colspan="1" %)
222 222  (((
223 223  4.10 Beta 2
224 -)))|(% colspan="1" %)(% colspan="1" %)
304 +)))|(% colspan="2" %)(% colspan="1" %)
225 225  (((
226 226  **FFI**: SetMacroMapPlayerSectorOffset() deprecated
227 227  )))
228 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
308 +|(% colspan="4" %)(% colspan="3" %)
229 229  (((
230 -//The functionality represented by SetMacroMapPlayerSectorOffset() has been removed and the function was therefore stubbed. Setting the gamestart properties "sector" and "offset" will affect the universe macro map instead directly.//
310 +The functionality represented by SetMacroMapPlayerSectorOffset() has been removed and the function was therefore stubbed. Setting the gamestart properties "sector" and "offset" will affect the universe macro map instead directly.
231 231  )))
232 232  |(((
233 233  UI extensions
234 234  )))|(((
235 235  4.10 Beta 2
236 -)))|(((
237 -**FFI**: (% style="color:#000000" %)FilterComponentForMapMode(%%)() and (% style="color:#000000" %)SetMapObjectFilter() changed
316 +)))|(% colspan="2" %)(((
317 +**FFI**: FilterComponentForMapMode() and SetMapObjectFilter() changed
238 238  )))
239 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
319 +|(% colspan="4" %)(% colspan="3" %)
240 240  (((
241 -//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.//
321 +These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.
242 242  )))
243 243  |(((
244 244  Scripts
245 245  )))|(((
246 246  4.10 Beta 1
247 -)))|(((
327 +)))|(% colspan="2" %)(((
248 248  People related attributes of mission** <delivery> **node moved
249 249  )))
250 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
330 +|(% colspan="4" %)(% colspan="3" %)
251 251  (((
252 -//The <delivery> node of <create_mission> and <update_mission> has been changed to support a new <wares> subnode. The people related attributes: 'people' and 'skills' have been moved from the <delivery> node itself to a <people> subnode.//
332 +The <delivery> node of <create_mission> and <update_mission> has been changed to support a new <wares> subnode. The people related attributes: 'people' and 'skills' have been moved from the <delivery> node itself to a <people> subnode.
253 253  )))
254 254  |(% colspan="1" %)(% colspan="1" %)
255 255  (((
... ... @@ -257,29 +257,31 @@
257 257  )))|(% colspan="1" %)(% colspan="1" %)
258 258  (((
259 259  4.10 Beta 1
260 -)))|(% colspan="1" %)(% colspan="1" %)
340 +)))|(% colspan="2" %)(% colspan="1" %)
261 261  (((
262 262  **$destructible.productions** replaced with $defensible.productions
263 263  )))
264 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
344 +|(% colspan="4" %)(% colspan="3" %)
265 265  (((
266 -//The $destructible.productions script property was removed and reimplemented as $defensible.productions meaning some old uses may no longer work unless the destructible is also a defensible. The old implementation functioned by finding the containing object of the destructible (including itself) to query for the production modules.//
346 +The $destructible.productions script property was removed and reimplemented as $defensible.productions meaning some old uses may no longer work unless the destructible is also a defensible. The old implementation functioned by finding the containing object of the destructible (including itself) to query for the production modules.
267 267  )))
268 268  |(((
269 269  Scripts
270 270  )))|(((
271 271  4.10 Beta 1
272 -)))|(((
352 +)))|(% colspan="2" %)(((
273 273  Removed script property **$object.spawnsourceseed**
274 274  )))
275 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
355 +|(% colspan="4" %)(% colspan="3" %)
276 276  (((
277 -//The spawnsource seed is no longer directly accessible by scripts. Use $component.seed, which will internally use the spawnsource seed if able. Note: An improvement is that .seed on objects without a spawnsource seed will now result in a value that differs between objects of the same macro, meaning it can now reliably be used for player property or job ships.//
357 +The spawnsource seed is no longer directly accessible by scripts. Use $component.seed, which will internally use the spawnsource seed if able. Note: An improvement is that .seed on objects without a spawnsource seed will now result in a value that differs between objects of the same macro, meaning it can now reliably be used for player property or job ships.
278 278  )))
279 -|(% colspan="3" %)(% colspan="3" %)
280 -(((
281 -== 4.00 ==
282 -)))
359 +
360 +----
361 +
362 +=== Version 4.00 ===
363 +
364 +(% class="table-striped" %)
283 283  |(% colspan="1" %)(% colspan="1" %)
284 284  (((
285 285  UI core
... ... @@ -286,27 +286,27 @@
286 286  )))|(% colspan="1" %)(% colspan="1" %)
287 287  (((
288 288  4.00 Beta 10
289 -)))|(% colspan="1" %)(% colspan="1" %)
371 +)))|(% colspan="2" %)(% colspan="1" %)
290 290  (((
291 291  Controlled ship can change without a **gameplanchange-event** occurring.
292 292  )))
293 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
375 +|(% colspan="4" %)(% colspan="3" %)
294 294  (((
295 -//Before 4.00 Beta 10 it was ensured that there is no direct transition between the 'cockpit ui mode' of one ship to another. Instead, it was always ensured that the UI first transitions into the firstperson mode and then back into the cockpit mode (controlling then the other ship).
296 -In order to support the new emergency eject feature which was added in 4.00 Beta 7, this assurance was dropped. As of 4.00 Beta 10 it is now possible that the ship the player controls can swap without the gameplanchange-event being risen which one could rely upon in previous versions. If your addon relied on the fact that the ship would not change without first going into first person mode, you will have to adjust your addon accordingly.//
377 +Before 4.00 Beta 10 it was ensured that there is no direct transition between the 'cockpit ui mode' of one ship to another. Instead, it was always ensured that the UI first transitions into the firstperson mode and then back into the cockpit mode (controlling then the other ship).
378 +In order to support the new emergency eject feature which was added in 4.00 Beta 7, this assurance was dropped. As of 4.00 Beta 10 it is now possible that the ship the player controls can swap without the gameplanchange-event being risen which one could rely upon in previous versions. If your addon relied on the fact that the ship would not change without first going into first person mode, you will have to adjust your addon accordingly.
297 297  )))
298 298  |(((
299 299  Scripts
300 300  )))|(((
301 301  4.00 Beta 7
302 -)))|(((
384 +)))|(% colspan="2" %)(((
303 303  Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed
304 304  )))
305 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
387 +|(% colspan="4" %)(% colspan="3" %)
306 306  (((
307 -//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
389 +Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
308 308  New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits
309 -Note: param3 only exists in <event_terraforming_project_succeeded> and not in <event_terraforming_project_failed>, but both now have the booleans in a list for consistency//
391 +Note: param3 only exists in <event_terraforming_project_succeeded> and not in <event_terraforming_project_failed>, but both now have the booleans in a list for consistency
310 310  )))
311 311  |(% colspan="1" %)(% colspan="1" %)
312 312  (((
... ... @@ -314,16 +314,16 @@
314 314  )))|(% colspan="1" %)(% colspan="1" %)
315 315  (((
316 316  4.00 Beta 6
317 -)))|(% colspan="1" %)(% colspan="1" %)
399 +)))|(% colspan="2" %)(% colspan="1" %)
318 318  (((
319 319  **FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed
320 320  )))
321 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
403 +|(% colspan="4" %)(% colspan="3" %)
322 322  (((
323 -//In order to keep consistency with regards to the new behvior 'hostile' relation state and the older (deprecated) UI functions, the behavior of the deprecated GetFactionRelationStatus() function was changed according to the behavior of the GetRelationStatus()/GetRelationStatus2() functions which was done in the previous beta.
324 -Factions with a relation rating between -20 and -10 will now report a relation status of 'neutral' (aka: 1) instead of 'hostile'/'enemy' (aka: 0).//
405 +In order to keep consistency with regards to the new behvior 'hostile' relation state and the older (deprecated) UI functions, the behavior of the deprecated GetFactionRelationStatus() function was changed according to the behavior of the GetRelationStatus()/GetRelationStatus2() functions which was done in the previous beta.
406 +Factions with a relation rating between -20 and -10 will now report a relation status of 'neutral' (aka: 1) instead of 'hostile'/'enemy' (aka: 0).
325 325  
326 -//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.//
408 +If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
327 327  )))
328 328  |(% colspan="1" %)(% colspan="1" %)
329 329  (((
... ... @@ -331,69 +331,73 @@
331 331  )))|(% colspan="1" %)(% colspan="1" %)
332 332  (((
333 333  4.00 Beta 5
334 -)))|(% colspan="1" %)(% colspan="1" %)
416 +)))|(% colspan="2" %)(% colspan="1" %)
335 335  (((
336 336  **FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
337 337  )))
338 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
420 +|(% colspan="4" %)(% colspan="3" %)
339 339  (((
340 -//4.00 Beta 5// //introduces a new 'hostile' relation status and the game now distinguishes between hostile and enemy relation states. Objects not yet 'hostile' with the player are now visualized differently and therefore distinguishable from real hostile ones. Because of that, several related changes were made for these objects to bring them more in line with how 'neutral' objects behave (f.e. no automatic attacking of these objects by the player property anymore, no target selection when targeting the closest enemy, etc.). To reflect this, these objects are now returning 1 (neutral) as the relation status by the GetRelationStatus()/GetRelationStatus2() functions.//
422 +4.00 Beta 5 introduces a new 'hostile' relation status and the game now distinguishes between hostile and enemy relation states. Objects not yet 'hostile' with the player are now visualized differently and therefore distinguishable from real hostile ones. Because of that, several related changes were made for these objects to bring them more in line with how 'neutral' objects behave (f.e. no automatic attacking of these objects by the player property anymore, no target selection when targeting the closest enemy, etc.). To reflect this, these objects are now returning 1 (neutral) as the relation status by the GetRelationStatus()/GetRelationStatus2() functions.
341 341  
342 -//If you rely on a handling where they are treated like enemies, please use the new GetRelationStatus3() //function which returns the new range for these objects: 1 (meaning 'enemy' (aka: not yet hostile) here with following relations having been shifted up).
424 +If you rely on a handling where they are treated like enemies, please use the new GetRelationStatus3() function which returns the new range for these objects: 1 (meaning 'enemy' (aka: not yet hostile) here with following relations having been shifted up).
343 343  )))
344 344  |(((
345 345  Parameters
346 346  )))|(((
347 347  4.00 Beta 1
348 -)))|(((
430 +)))|(% colspan="2" %)(((
349 349  **requiresconstructionvessel** parameter moved
350 350  )))
351 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
433 +|(% colspan="4" %)(% colspan="3" %)
352 352  (((
353 -//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.//
435 +The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.
354 354  )))
355 355  |(((
356 356  Scripts
357 357  )))|(((
358 358  4.00 Beta 1
359 -)))|(((
441 +)))|(% colspan="2" %)(((
360 360  Changed behaviour of **gatedistance** script property
361 361  )))
362 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
444 +|(% colspan="4" %)(% colspan="3" %)
363 363  (((
364 -//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.//
446 +The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.
365 365  )))
366 -|(% colspan="3" %)(% colspan="3" %)
367 -(((
368 -== 3.30 ==
369 -)))
448 +
449 +----
450 +
451 +=== Version 3.30 ===
452 +
453 +(% class="table-striped" %)
370 370  |(((
371 371  UI extensions
372 372  )))|(((
373 373  3.30 Beta 3
374 -)))|(((
375 -**FFI: **Removed** (% style="color:#000000" %)GetMissionLimit() (%%)**(% style="color:#000000" %)and** IsMissionLimit**(%%)**Enabled()**
458 +)))|(% colspan="2" %)(((
459 +**FFI: **Removed** GetMissionLimit() **and** IsMissionLimitEnabled()**
376 376  )))
377 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
461 +|(% colspan="7" %)(% colspan="3" %)
378 378  (((
379 -//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI (% style="color:#000000" %)IsMissionLimit(%%)Reach(% style="color:#000000" %)ed()//
463 +These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimitReached()
380 380  )))
381 -|(% colspan="3" %)(% colspan="3" %)
382 -(((
383 -== 3.20 ==
384 -)))
465 +
466 +----
467 +
468 +=== Version 3.20 ===
469 +
470 +(% class="table-striped" %)
385 385  |(((
386 386  Scripts
387 387  )))|(((
388 388  3.20 Beta 1
389 -)))|(((
475 +)))|(% colspan="2" %)(((
390 390  Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed
391 391  )))
392 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
478 +|(% colspan="4" %)(% colspan="3" %)
393 393  (((
394 -//Old params: param = attacked object, param2 = attack method, param3 = attacked component//
395 -//New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon]
396 -Note that this also means the component attribute to the events is no longer available, so scripts checking the attacked component need to use event.param3.{1} instead//
480 +Old params: param = attacked object, param2 = attack method, param3 = attacked component
481 +New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon]
482 +Note that this also means the component attribute to the events is no longer available, so scripts checking the attacked component need to use event.param3.{1} instead
397 397  )))
398 398  |(% colspan="1" %)(% colspan="1" %)
399 399  (((
... ... @@ -401,29 +401,31 @@
401 401  )))|(% colspan="1" %)(% colspan="1" %)
402 402  (((
403 403  3.20 Beta 1
404 -)))|(% colspan="1" %)(% colspan="1" %)
490 +)))|(% colspan="2" %)(% colspan="1" %)
405 405  (((
406 406  Removed script property $trade.**restriction.faction**
407 407  )))
408 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
494 +|(% colspan="4" %)(% colspan="3" %)
409 409  (((
410 -//$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.//
496 +$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.
411 411  )))
412 412  |(((
413 413  UI extensions
414 414  )))|(((
415 415  3.20 Beta 1
416 -)))|(((
502 +)))|(% colspan="2" %)(((
417 417  **Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete!
418 418  )))
419 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
505 +|(% colspan="4" %)(% colspan="3" %)
420 420  (((
421 -//With the addition of the Trade Rule feature the given functions are obsolete and do not function anymore. This set of functions will return dummy values to avoid breaking scripts. Use GetAllTradeRules(), GetContainerTradeRuleID(), SetContainerTradeRule() and similar trade rule functions as replacement.//
507 +With the addition of the Trade Rule feature the given functions are obsolete and do not function anymore. This set of functions will return dummy values to avoid breaking scripts. Use GetAllTradeRules(), GetContainerTradeRuleID(), SetContainerTradeRule() and similar trade rule functions as replacement.
422 422  )))
423 -|(% colspan="3" %)(% colspan="3" %)
424 -(((
425 -== 3.10 ==
426 -)))
509 +
510 +----
511 +
512 +=== Version 3.10 ===
513 +
514 +(% class="table-striped" %)
427 427  |(% colspan="1" %)(% colspan="1" %)
428 428  (((
429 429  Scripts
... ... @@ -430,18 +430,20 @@
430 430  )))|(% colspan="1" %)(% colspan="1" %)
431 431  (((
432 432  3.10 Beta 1
433 -)))|(% colspan="1" %)(% colspan="1" %)
521 +)))|(% colspan="2" %)(% colspan="1" %)
434 434  (((
435 435  Removed script action **<add_build/>**
436 436  )))
437 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
525 +|(% colspan="7" %)(% colspan="3" %)
438 438  (((
439 -//Removed <add_build/> action which was no longer needed and would result in builds being added in unsupported ways. Use other <add_build_xxx/> actions.//
527 +Removed <add_build/> action which was no longer needed and would result in builds being added in unsupported ways. Use other <add_build_xxx/> actions.
440 440  )))
441 -|(% colspan="3" %)(% colspan="3" %)
442 -(((
443 -== 3.00 ==
444 -)))
529 +
530 +----
531 +
532 +=== Version 3.00 ===
533 +
534 +(% class="table-striped" %)
445 445  |(% colspan="1" %)(% colspan="1" %)
446 446  (((
447 447  Scripts
... ... @@ -448,13 +448,13 @@
448 448  )))|(% colspan="1" %)(% colspan="1" %)
449 449  (((
450 450  3.0 Beta 6
451 -)))|(% colspan="1" %)(% colspan="1" %)
541 +)))|(% colspan="2" %)(% colspan="1" %)
452 452  (((
453 453  Changed behaviour of script action **<get_suitable_job/>**
454 454  )))
455 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
545 +|(% colspan="4" %)(% colspan="3" %)
456 456  (((
457 -//<get_suitable_job/> previously did not respect job quotas or the current number of job ships. It now does, only returning job IDs which are not exceeding the maxgalaxy quota. Using 'exceedquota' allows the action to behave as before.//
547 +<get_suitable_job/> previously did not respect job quotas or the current number of job ships. It now does, only returning job IDs which are not exceeding the maxgalaxy quota. Using 'exceedquota' allows the action to behave as before.
458 458  )))
459 459  |(% colspan="1" %)(% colspan="1" %)
460 460  (((
... ... @@ -462,13 +462,13 @@
462 462  )))|(% colspan="1" %)(% colspan="1" %)
463 463  (((
464 464  3.0 Beta 6
465 -)))|(% colspan="1" %)(% colspan="1" %)
555 +)))|(% colspan="2" %)(% colspan="1" %)
466 466  (((
467 467  Changed behaviour of script action **<get_ware_definition/>**
468 468  )))
469 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
559 +|(% colspan="4" %)(% colspan="3" %)
470 470  (((
471 -//<get_ware_definition/> previously filtered for equipment wares by default. This is now not the case and existing cases now use flags="equipment". Additional filter attributes for group and tags has also been added.//
561 +<get_ware_definition/> previously filtered for equipment wares by default. This is now not the case and existing cases now use flags="equipment". Additional filter attributes for group and tags has also been added.
472 472  )))
473 473  |(% colspan="1" %)(% colspan="1" %)
474 474  (((
... ... @@ -476,15 +476,15 @@
476 476  )))|(% colspan="1" %)(% colspan="1" %)
477 477  (((
478 478  3.0 Beta 5
479 -)))|(% colspan="1" %)(% colspan="1" %)
569 +)))|(% colspan="2" %)(% colspan="1" %)
480 480  (((
481 481  Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case
482 482  )))
483 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
573 +|(% colspan="4" %)(% colspan="3" %)
484 484  (((
485 -//All MD, UI, and cutscene files have been renamed as lower-case. For most users this should have no effect since files packed in catalogs are essentially case-insensitive. However, this change can affect users on Linux systems when running a mod that contains single files instead of a catalog, and/or when playing with unpacked base game files//. If your mod has XML patch files that are not packed in a catalog, the filenames must be lower-case to match the filenames in the base game. (For info on using mod catalogs, see the Readme of the X Catalog Tool.)
575 +All MD, UI, and cutscene files have been renamed as lower-case. For most users this should have no effect since files packed in catalogs are essentially case-insensitive. However, this change can affect users on Linux systems when running a mod that contains single files instead of a catalog, and/or when playing with unpacked base game files. If your mod has XML patch files that are not packed in a catalog, the filenames must be lower-case to match the filenames in the base game. (For info on using mod catalogs, see the Readme of the X Catalog Tool.)
486 486  
487 -//Note that this change has no effect on the actual content of scripts or cutscenes. The MD script/cutscene names are stored in the files, regardless of the filenames, so that references to them remain unchanged (e.g., "md.Setup.Start" references a cue in setup.xml).//
577 +Note that this change has no effect on the actual content of scripts or cutscenes. The MD script/cutscene names are stored in the files, regardless of the filenames, so that references to them remain unchanged (e.g., "md.Setup.Start" references a cue in setup.xml).
488 488  )))
489 489  |(% colspan="1" %)(% colspan="1" %)
490 490  (((
... ... @@ -492,13 +492,13 @@
492 492  )))|(% colspan="1" %)(% colspan="1" %)
493 493  (((
494 494  3.0 Beta 5
495 -)))|(% colspan="1" %)(% colspan="1" %)
585 +)))|(% colspan="2" %)(% colspan="1" %)
496 496  (((
497 497  Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions>
498 498  )))
499 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
589 +|(% colspan="4" %)(% colspan="3" %)
500 500  (((
501 -//Some MD library cues in the base game that were previously used with <include_actions> have been adjusted, so they must now be used with the new MD action <run_actions> instead. Mods that use such a library with <include_actions> will have to switch to <run_actions> as well. A list of affected libraries is not provided here. Note: Additional library cues may be adjusted in future builds without further warning.//
591 +Some MD library cues in the base game that were previously used with <include_actions> have been adjusted, so they must now be used with the new MD action <run_actions> instead. Mods that use such a library with <include_actions> will have to switch to <run_actions> as well. A list of affected libraries is not provided here. Note: Additional library cues may be adjusted in future builds without further warning.
502 502  )))
503 503  |(% colspan="1" %)(% colspan="1" %)
504 504  (((
... ... @@ -506,14 +506,14 @@
506 506  )))|(% colspan="1" %)(% colspan="1" %)
507 507  (((
508 508  3.0 Beta 5
509 -)))|(% colspan="1" %)(% colspan="1" %)
599 +)))|(% colspan="2" %)(% colspan="1" %)
510 510  (((
511 511  Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos**
512 512  )))
513 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
603 +|(% colspan="4" %)(% colspan="3" %)
514 514  (((
515 -//Before the change, positions are relative to $dockingbay.parent.
516 -After the change, positions are relative to $dockingbay as specified in the documentation.//
605 +Before the change, positions are relative to $dockingbay.parent.
606 +After the change, positions are relative to $dockingbay as specified in the documentation.
517 517  )))
518 518  |(% colspan="1" %)(% colspan="1" %)
519 519  (((
... ... @@ -521,24 +521,24 @@
521 521  )))|(% colspan="1" %)(% colspan="1" %)
522 522  (((
523 523  3.0 Beta 2
524 -)))|(% colspan="1" %)(% colspan="1" %)
614 +)))|(% colspan="2" %)(% colspan="1" %)
525 525  (((
526 526  Support for entity flag "**skillsvisible**" dropped
527 527  )))
528 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
618 +|(% colspan="4" %)(% colspan="3" %)
529 529  (((
530 -//Entity skills are always visible; that flag was a leftover from XR. We removed support for the script property .skillsvisible, the attribute "skillsvisible" of <set_entity_traits> and <set_npc_template_traits>, and the parameter "skillsvisible" of Lua function GetComponentData().//
620 +Entity skills are always visible; that flag was a leftover from XR. We removed support for the script property .skillsvisible, the attribute "skillsvisible" of <set_entity_traits> and <set_npc_template_traits>, and the parameter "skillsvisible" of Lua function GetComponentData().
531 531  )))
532 532  |(((
533 533  Scripts
534 534  )))|(((
535 535  3.0 Beta 2
536 -)))|(((
626 +)))|(% colspan="2" %)(((
537 537  Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**.
538 538  )))
539 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
629 +|(% colspan="4" %)(% colspan="3" %)
540 540  (((
541 -//Before 3.0 Beta 2 there was just a single <event_object//_changed_owner> condition. This condition was triggered in multiple cases when an owner change occurred. However, the exact cases were inconsistent and also the event could have been triggered w/o an effective owner change having been applied.
631 +Before 3.0 Beta 2 there was just a single <event_object_changed_owner> condition. This condition was triggered in multiple cases when an owner change occurred. However, the exact cases were inconsistent and also the event could have been triggered w/o an effective owner change having been applied.
542 542  3.0 Beta 2 fixes these inconsistencies and ensures that the event is only fired, if the "effective" component owner of the object changed. To handle cases where the script actually needs to be informed if the "true" owner of a component was changed (i.e. not taking the cover faction into account) a new <event_object_changed_true_owner> was introduced.
543 543  If in your scripts you make use of the <event_object_changed_owner> condition you need to verify that you indeed want to work with the "effective" component owner or whether your script code actually should work with the true owner of an object and update your code accordingly.
544 544  On top of that the 3rd parameter of <event_object_changed_owner> (trueprevious) was dropped as the event is no longer triggered upon a change of the true owner alone (i.e. only if the change of the true owner has also an effect on the "effective" component owner).
... ... @@ -549,24 +549,24 @@
549 549  )))|(% colspan="1" %)(% colspan="1" %)
550 550  (((
551 551  3.0 Beta 1
552 -)))|(% colspan="1" %)(% colspan="1" %)
642 +)))|(% colspan="2" %)(% colspan="1" %)
553 553  (((
554 554  **MissionBoard** support dropped
555 555  )))
556 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
646 +|(% colspan="4" %)(% colspan="3" %)
557 557  (((
558 -//MissionBoards was a dummy asset type which was only used during early development and never meant to be shipped in the released version. If any mod tried to make use of this asset type, undefined behaviour would occur. Therefore we cleaned things up in 3.0 Beta 1 including deprecating/removing any related UI/script function.//
648 +MissionBoards was a dummy asset type which was only used during early development and never meant to be shipped in the released version. If any mod tried to make use of this asset type, undefined behaviour would occur. Therefore we cleaned things up in 3.0 Beta 1 including deprecating/removing any related UI/script function.
559 559  )))
560 560  |(((
561 561  Job/God
562 562  )))|(((
563 563  3.0 Beta 1
564 -)))|(((
654 +)))|(% colspan="2" %)(((
565 565  By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined
566 566  )))
567 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
657 +|(% colspan="4" %)(% colspan="3" %)
568 568  (((
569 -//To better support extensions which add to the base game map, a job/god entry now defaults to only spawning objects in areas of the map that are added by the extension in which that entry is defined. You can override this behaviour by adding a matchextension="false" attribute to the job/god entry definition. This allows the entry to spawn objects anywhere that matches the entry's other criteria.//
659 +To better support extensions which add to the base game map, a job/god entry now defaults to only spawning objects in areas of the map that are added by the extension in which that entry is defined. You can override this behaviour by adding a matchextension="false" attribute to the job/god entry definition. This allows the entry to spawn objects anywhere that matches the entry's other criteria.
570 570  )))
571 571  |(% colspan="1" %)(% colspan="1" %)
572 572  (((
... ... @@ -574,13 +574,13 @@
574 574  )))|(% colspan="1" %)(% colspan="1" %)
575 575  (((
576 576  3.0 Beta 1
577 -)))|(% colspan="1" %)(% colspan="1" %)
667 +)))|(% colspan="2" %)(% colspan="1" %)
578 578  (((
579 579  Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'**
580 580  )))
581 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
671 +|(% colspan="4" %)(% colspan="3" %)
582 582  (((
583 -//Due to engine changes, script action <add_actor_to_room/> has had the attribute 'room' changed to 'object', which is more accurate. Most likely requires a 'position' if a slot is not provided.//
673 +Due to engine changes, script action <add_actor_to_room/> has had the attribute 'room' changed to 'object', which is more accurate. Most likely requires a 'position' if a slot is not provided.
584 584  )))
585 585  |(% colspan="1" %)(% colspan="1" %)
586 586  (((
... ... @@ -588,13 +588,13 @@
588 588  )))|(% colspan="1" %)(% colspan="1" %)
589 589  (((
590 590  3.0 Beta 1
591 -)))|(% colspan="1" %)(% colspan="1" %)
681 +)))|(% colspan="2" %)(% colspan="1" %)
592 592  (((
593 593  Script action **<set_doors_locked/>** attribute **'group'** changed
594 594  )))
595 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
685 +|(% colspan="4" %)(% colspan="3" %)
596 596  (((
597 -//The 'group' attribute of <set_doors_locked/> can no longer be a list. It must be a single tag value. Previously, a list containing one tag was accepted, which was redundant.//
687 +The 'group' attribute of <set_doors_locked/> can no longer be a list. It must be a single tag value. Previously, a list containing one tag was accepted, which was redundant.
598 598  )))
599 599  |(% colspan="1" %)(% colspan="1" %)
600 600  (((
... ... @@ -602,13 +602,13 @@
602 602  )))|(% colspan="1" %)(% colspan="1" %)
603 603  (((
604 604  3.0 Beta 1
605 -)))|(% colspan="1" %)(% colspan="1" %)
695 +)))|(% colspan="2" %)(% colspan="1" %)
606 606  (((
607 607  Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed
608 608  )))
609 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
699 +|(% colspan="4" %)(% colspan="3" %)
610 610  (((
611 -//These events were never triggered, with the exception of <event_hack_started/> on the player entity for instant control panel hacks. Use <event_player_hacked_object> instead.//
701 +These events were never triggered, with the exception of <event_hack_started/> on the player entity for instant control panel hacks. Use <event_player_hacked_object> instead.
612 612  )))
613 613  |(% colspan="1" %)(% colspan="1" %)
614 614  (((
... ... @@ -616,13 +616,13 @@
616 616  )))|(% colspan="1" %)(% colspan="1" %)
617 617  (((
618 618  3.0 Beta 1
619 -)))|(% colspan="1" %)(% colspan="1" %)
709 +)))|(% colspan="2" %)(% colspan="1" %)
620 620  (((
621 621  Script actions **<set_hack_target/>** and **<abort_hack/>** removed
622 622  )))
623 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
713 +|(% colspan="4" %)(% colspan="3" %)
624 624  (((
625 -//These actions had no effect and were removed.//
715 +These actions had no effect and were removed.
626 626  )))
627 627  |(% colspan="1" %)(% colspan="1" %)
628 628  (((
... ... @@ -630,13 +630,13 @@
630 630  )))|(% colspan="1" %)(% colspan="1" %)
631 631  (((
632 632  3.0 Beta 1
633 -)))|(% colspan="1" %)(% colspan="1" %)
723 +)))|(% colspan="2" %)(% colspan="1" %)
634 634  (((
635 635  **<setup_conversation_minigame/>** script action removed
636 636  )))
637 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
727 +|(% colspan="4" %)(% colspan="3" %)
638 638  (((
639 -//The script action was a leftover from the XR era and was never supported in X4 and couldn't be used in a meaningful way. It was therefore decided to better drop it altogether as it's not expected having been used by any mods.//
729 +The script action was a leftover from the XR era and was never supported in X4 and couldn't be used in a meaningful way. It was therefore decided to better drop it altogether as it's not expected having been used by any mods.
640 640  )))
641 641  |(% colspan="1" %)(% colspan="1" %)
642 642  (((
... ... @@ -644,13 +644,13 @@
644 644  )))|(% colspan="1" %)(% colspan="1" %)
645 645  (((
646 646  3.0 Beta 1
647 -)))|(% colspan="1" %)(% colspan="1" %)
737 +)))|(% colspan="2" %)(% colspan="1" %)
648 648  (((
649 649  <add_player_choice_*> **confidence** attribute removed
650 650  )))
651 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
741 +|(% colspan="4" %)(% colspan="3" %)
652 652  (((
653 -//The default confidence of player options is another leftover from the XR era and had no effect in X4.//
743 +The default confidence of player options is another leftover from the XR era and had no effect in X4.
654 654  )))
655 655  |(% colspan="1" %)(% colspan="1" %)
656 656  (((
... ... @@ -658,13 +658,13 @@
658 658  )))|(% colspan="1" %)(% colspan="1" %)
659 659  (((
660 660  3.0 Beta 1
661 -)))|(% colspan="1" %)(% colspan="1" %)
751 +)))|(% colspan="2" %)(% colspan="1" %)
662 662  (((
663 663  **<hack_via_control_panel/>** script action removed
664 664  )))
665 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
755 +|(% colspan="4" %)(% colspan="3" %)
666 666  (((
667 -//Unused script action <hack_via_control_panel/> was removed.//
757 +Unused script action <hack_via_control_panel/> was removed.
668 668  )))
669 669  |(% colspan="1" %)(% colspan="1" %)
670 670  (((
... ... @@ -672,24 +672,24 @@
672 672  )))|(% colspan="1" %)(% colspan="1" %)
673 673  (((
674 674  3.0 Beta 1
675 -)))|(% colspan="1" %)(% colspan="1" %)
765 +)))|(% colspan="2" %)(% colspan="1" %)
676 676  (((
677 677  **Lua: **GetMiniGameCursorPosition() removed
678 678  )))
679 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
769 +|(% colspan="4" %)(% colspan="3" %)
680 680  (((
681 -//GetMiniGameCursorPosition() was a left over from the XR era and never supposed to be shipped with X4. The function practically always returned 0 and hence we don't expect the removal of this obsolete function causing any actual mod to break.//
771 +GetMiniGameCursorPosition() was a left over from the XR era and never supposed to be shipped with X4. The function practically always returned 0 and hence we don't expect the removal of this obsolete function causing any actual mod to break.
682 682  )))
683 683  |(((
684 684  UI core
685 685  )))|(((
686 686  3.0 Beta 1
687 -)))|(((
777 +)))|(% colspan="2" %)(((
688 688  **FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders
689 689  )))
690 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
780 +|(% colspan="4" %)(% colspan="3" %)
691 691  (((
692 -//In 3.0 Beta 1 we added support to display icons for keyboard bindings, if an icon is available for the specified keys. This results in GetLocalizedInteractiveNotificationKey() potentially returning a different text now if such an icon is assigned to the mapped key/button.//
782 +In 3.0 Beta 1 we added support to display icons for keyboard bindings, if an icon is available for the specified keys. This results in GetLocalizedInteractiveNotificationKey() potentially returning a different text now if such an icon is assigned to the mapped key/button.
693 693  )))
694 694  |(% colspan="1" %)(% colspan="1" %)
695 695  (((
... ... @@ -697,13 +697,13 @@
697 697  )))|(% colspan="1" %)(% colspan="1" %)
698 698  (((
699 699  3.0 Beta 1
700 -)))|(% colspan="1" %)(% colspan="1" %)
790 +)))|(% colspan="2" %)(% colspan="1" %)
701 701  (((
702 702  **FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor
703 703  )))
704 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
794 +|(% colspan="4" %)(% colspan="3" %)
705 705  (((
706 -//In 3.0 Beta 1 we added support for a new weapon mod property "SurfaceElementFactor" to allow weapons to deal increased damage to surface elements such as Shield Generators, Turrets or Engines.//
796 +In 3.0 Beta 1 we added support for a new weapon mod property "SurfaceElementFactor" to allow weapons to deal increased damage to surface elements such as Shield Generators, Turrets or Engines.
707 707  )))
708 708  |(% colspan="1" %)(% colspan="1" %)
709 709  (((
... ... @@ -711,14 +711,14 @@
711 711  )))|(% colspan="1" %)(% colspan="1" %)
712 712  (((
713 713  3.0 Beta 1
714 -)))|(% colspan="1" %)(% colspan="1" %)
804 +)))|(% colspan="2" %)(% colspan="1" %)
715 715  (((
716 716  **$ware.illegal** updated
717 717  )))
718 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
808 +|(% colspan="4" %)(% colspan="3" %)
719 719  (((
720 -//$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.//
721 -//It now returns true if $ware is illegal to any faction in the game.//
810 +$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.
811 +It now returns true if $ware is illegal to any faction in the game.
722 722  )))
723 723  |(% colspan="1" %)(% colspan="1" %)
724 724  (((
... ... @@ -726,13 +726,13 @@
726 726  )))|(% colspan="1" %)(% colspan="1" %)
727 727  (((
728 728  3.0 Beta 1
729 -)))|(% colspan="1" %)(% colspan="1" %)
819 +)))|(% colspan="2" %)(% colspan="1" %)
730 730  (((
731 731  MD script **RML_Flight_Along_Path** removed
732 732  )))
733 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
823 +|(% colspan="4" %)(% colspan="3" %)
734 734  (((
735 -//The MD script RML_Flight_Along_Path was not referened and was removed.//
825 +The MD script RML_Flight_Along_Path was not referened and was removed.
736 736  )))
737 737  |(% colspan="1" %)(% colspan="1" %)
738 738  (((
... ... @@ -740,71 +740,75 @@
740 740  )))|(% colspan="1" %)(% colspan="1" %)
741 741  (((
742 742  3.0 Beta 1
743 -)))|(% colspan="1" %)(% colspan="1" %)
833 +)))|(% colspan="2" %)(% colspan="1" %)
744 744  (((
745 745  parameters of **<event_venture_mission_completed/>** changed
746 746  )))
747 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
837 +|(% colspan="4" %)(% colspan="3" %)
748 748  (((
749 -//old params: param = venture details, param2 = ships involved, param3 = duration//
750 -//new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration//
839 +old params: param = venture details, param2 = ships involved, param3 = duration
840 +new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration
751 751  )))
752 752  |(((
753 753  Scripts
754 754  )))|(((
755 755  3.0 Beta 1
756 -)))|(((
846 +)))|(% colspan="2" %)(((
757 757  **<set_object_wing_name/>** removed,
758 758  **<set_object_fleet_name/>** added
759 759  )))
760 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
850 +|(% colspan="4" %)(% colspan="3" %)
761 761  (((
762 -//The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>//
852 +The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>
763 763  )))
764 764  |(((
765 765  Scripts
766 766  )))|(((
767 767  3.0 Beta 1
768 -)))|(((
858 +)))|(% colspan="2" %)(((
769 769  **$controllable.wing.*** removed,
770 770  **$controllable.fleet.*** added
771 771  )))
772 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
862 +|(% colspan="4" %)(% colspan="3" %)
773 773  (((
774 774  $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander
775 775  )))
776 -|(% colspan="3" %)(% colspan="3" %)
777 -(((
778 -== 2.60 ==
779 -)))
866 +
867 +----
868 +
869 +=== Version 2.60 ===
870 +
871 +(% class="table-striped" %)
780 780  |(((
781 781  Scripts
782 782  )))|(((
783 783  2.60 Beta 1
784 -)))|(((
876 +)))|(% colspan="2" %)(((
785 785  '**checkoperational**' filter behaviour changed
786 786  )))
787 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
879 +|(% colspan="10" %)(% colspan="3" %)
788 788  (((
789 -//Actions and conditions which use the 'checkoperational' filter now behave differently. Instead of changing how 'class' and 'exactclass' behave, checkoperational == true adds an additional filter for the components being of state operational, equivalent to state="componentstate.operational". This is implicitly enabled in action elements (e.g. <find_.../>) or condition elements (e.g. <count_...>), meaning that find_ship will only find operational ships. Using such actions/conditions with checkoperational="false" will include non-operational components such as wrecked and constructions. Existing uses may find that results now exclude non-operational components.//
881 +Actions and conditions which use the 'checkoperational' filter now behave differently. Instead of changing how 'class' and 'exactclass' behave, checkoperational == true adds an additional filter for the components being of state operational, equivalent to state="componentstate.operational". This is implicitly enabled in action elements (e.g. <find_.../>) or condition elements (e.g. <count_...>), meaning that find_ship will only find operational ships. Using such actions/conditions with checkoperational="false" will include non-operational components such as wrecked and constructions. Existing uses may find that results now exclude non-operational components.
790 790  
791 -//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.//
883 +Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.
792 792  )))
793 793  |(((
794 794  Scripts
795 795  )))|(((
796 796  2.60 Beta 1
797 -)))|(((
889 +)))|(% colspan="2" %)(((
798 798  $container.**supplyresources** behavior changed
799 -)))
800 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
891 +)))| | |
892 +|(% colspan="10" %)(% colspan="3" %)
801 801  (((
802 -//The script keyword $container.supplyresources now includes reserved wares.//
894 +The script keyword $container.supplyresources now includes reserved wares.
803 803  )))
804 -|(% colspan="3" %)(% colspan="3" %)
805 -(((
806 -== 2.20 ==
807 -)))
896 +
897 +----
898 +
899 +=== Version 2.20 ===
900 +
901 +(% class="table-striped" %)
808 808  |(% colspan="1" %)(% colspan="1" %)
809 809  (((
810 810  UI core
... ... @@ -811,16 +811,16 @@
811 811  )))|(% colspan="1" %)(% colspan="1" %)
812 812  (((
813 813  2.20 Beta 3/4
814 -)))|(% colspan="1" %)(% colspan="1" %)
908 +)))|(% colspan="2" %)(% colspan="1" %)
815 815  (((
816 816  **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined.
817 817  )))
818 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
912 +|(% colspan="4" %)(% colspan="3" %)
819 819  (((
820 -//2.20 Beta 3 introduced the new direct mouse steering mode. The mode was however not integrated as a first level mode and hence GetControllerInfo() returned the "gamepad" mode while direct mouse steering was active.
821 -In 2.20 Beta 4 we improved the situation slightly so that a call to GetControllerInfo() will return either "mouseCursor" or "mouseSteering" in any of the 3 mouse modes.//
914 +2.20 Beta 3 introduced the new direct mouse steering mode. The mode was however not integrated as a first level mode and hence GetControllerInfo() returned the "gamepad" mode while direct mouse steering was active.
915 +In 2.20 Beta 4 we improved the situation slightly so that a call to GetControllerInfo() will return either "mouseCursor" or "mouseSteering" in any of the 3 mouse modes.
822 822  
823 -//It's a pending change to ensure that the returned mode is more reasonable in an upcoming patch. So be aware that another breaking change might be introduced at some point.//
917 +It's a pending change to ensure that the returned mode is more reasonable in an upcoming patch. So be aware that another breaking change might be introduced at some point.
824 824  )))
825 825  |(% colspan="1" %)(% colspan="1" %)
826 826  (((
... ... @@ -828,18 +828,20 @@
828 828  )))|(% colspan="1" %)(% colspan="1" %)
829 829  (((
830 830  2.20 Beta 3
831 -)))|(% colspan="1" %)(% colspan="1" %)
925 +)))|(% colspan="2" %)(% colspan="1" %)
832 832  (((
833 833  Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor'
834 834  )))
835 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
929 +|(% colspan="4" %)(% colspan="3" %)
836 836  (((
837 -//The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.//
931 +The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.
838 838  )))
839 -|(% colspan="3" %)(% colspan="3" %)
840 -(((
841 -== 2.00 ==
842 -)))
933 +
934 +----
935 +
936 +=== Version 2.00 ===
937 +
938 +(% class="table-striped" %)
843 843  |(% colspan="1" %)(% colspan="1" %)
844 844  (((
845 845  Scripts
... ... @@ -846,13 +846,13 @@
846 846  )))|(% colspan="1" %)(% colspan="1" %)
847 847  (((
848 848  2.00 Beta 1
849 -)))|(% colspan="1" %)(% colspan="1" %)
945 +)))|(% colspan="2" %)(% colspan="1" %)
850 850  (((
851 851  **<event_build_finished/> **param2 now returns null instead of a construction sequence
852 852  )))
853 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
949 +|(% colspan="4" %)(% colspan="3" %)
854 854  (((
855 -//The construction sequence which was finished should now be accessed via the buildtask provided via param3.//
951 +The construction sequence which was finished should now be accessed via the buildtask provided via param3.
856 856  )))
857 857  |(% colspan="1" %)(% colspan="1" %)
858 858  (((
... ... @@ -860,13 +860,13 @@
860 860  )))|(% colspan="1" %)(% colspan="1" %)
861 861  (((
862 862  2.00 Beta 1
863 -)))|(% colspan="1" %)(% colspan="1" %)
959 +)))|(% colspan="2" %)(% colspan="1" %)
864 864  (((
865 865  **param.boarding.{...}** strength parameters removed
866 866  )))
867 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
963 +|(% colspan="4" %)(% colspan="3" %)
868 868  (((
869 -//The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.//
965 +The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.
870 870  )))
871 871  |(% colspan="1" %)(% colspan="1" %)
872 872  (((
... ... @@ -874,158 +874,160 @@
874 874  )))|(% colspan="1" %)(% colspan="1" %)
875 875  (((
876 876  2.00 Beta 1
877 -)))|(% colspan="1" %)(% colspan="1" %)
973 +)))|(% colspan="2" %)(% colspan="1" %)
878 878  (((
879 879  **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed
880 880  )))
881 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
977 +|(% colspan="4" %)(% colspan="3" %)
882 882  (((
883 -//Due to changes to boarding in X4, the boarding connections accessed by these script properties and actions became redundent and thus, removed. Any connections set by these actions in a savegame will not survive loading.//
979 +Due to changes to boarding in X4, the boarding connections accessed by these script properties and actions became redundent and thus, removed. Any connections set by these actions in a savegame will not survive loading.
884 884  )))
885 885  |(((
886 886  UI extensions
887 887  )))|(((
888 888  2.00 Beta 1
889 -)))|(((
985 +)))|(% colspan="2" %)(((
890 890  **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals
891 891  )))
892 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
988 +|(% colspan="4" %)(% colspan="3" %)
893 893  (((
894 -//Before 2.0 Beta 1 using GetUpgradeSlotCurrentComponent() or GetUpgradeSlotGroup() only performed on operational objects (i.e. not wrecked objects or objects under construction). Since this is inconsistent with the rest of the UI functions, this was considered a bug and fixed in 2.0 Beta 1. If you require the old behavior, use the FFI function: IsComponentOperational() to check the passed object's state before making the call.//
990 +Before 2.0 Beta 1 using GetUpgradeSlotCurrentComponent() or GetUpgradeSlotGroup() only performed on operational objects (i.e. not wrecked objects or objects under construction). Since this is inconsistent with the rest of the UI functions, this was considered a bug and fixed in 2.0 Beta 1. If you require the old behavior, use the FFI function: IsComponentOperational() to check the passed object's state before making the call.
895 895  )))
896 896  |(((
897 897  UI extensions
898 898  )))|(((
899 899  2.00 Beta 1
900 -)))|(((
996 +)))|(% colspan="2" %)(((
901 901  **FFI: SetFormationShape()** no longer indicates an error upon certain error cases
902 902  )))
903 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
999 +|(% colspan="4" %)(% colspan="3" %)
904 904  (((
905 -//Before 2.0 Beta 1 a call to SetFormationShape() indicated an error state to the caller in certain cases where setting a formation shape (potentially) failed. Due to a design flaw in the handling of formations, this however doesn't do any good, since the function by itself doesn't really set the formation shape in all cases. On top of that the call can fail at random. Hence, at the moment an indication of an error case that setting a formation potentially fails is no good to the caller and he has no means to distinguish that case from a real error case.//
906 -//Therefore, in 2.0 Beta 1 we drop the error indication in case of an attempt to set the formation fails. We are currently working on a better solution to the underlying problem and hope to have it ready as part of a following beta.//
1001 +Before 2.0 Beta 1 a call to SetFormationShape() indicated an error state to the caller in certain cases where setting a formation shape (potentially) failed. Due to a design flaw in the handling of formations, this however doesn't do any good, since the function by itself doesn't really set the formation shape in all cases. On top of that the call can fail at random. Hence, at the moment an indication of an error case that setting a formation potentially fails is no good to the caller and he has no means to distinguish that case from a real error case.
1002 +Therefore, in 2.0 Beta 1 we drop the error indication in case of an attempt to set the formation fails. We are currently working on a better solution to the underlying problem and hope to have it ready as part of a following beta.
907 907  )))
908 908  |(((
909 909  Scripts
910 910  )))|(((
911 911  2.00 Beta 1
912 -)))|(((
1008 +)))|(% colspan="2" %)(((
913 913  **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated.
914 914  )))
915 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1011 +|(% colspan="4" %)(% colspan="3" %)
916 916  (((
917 -//This now enforces a leader and at least one follower in order to create or change a formation.  Former implementation made it possible to create formations without any followers which led to issues.//
1013 +This now enforces a leader and at least one follower in order to create or change a formation.  Former implementation made it possible to create formations without any followers which led to issues.
918 918  )))
919 919  |(((
920 920  Scripts
921 921  )))|(((
922 922  2.00 Beta 1
923 -)))|(((
1019 +)))|(% colspan="2" %)(((
924 924  **<event_player_changed_target/>** now fires and returns null if the player deselects a target.
925 925  )))
926 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1022 +|(% colspan="4" %)(% colspan="3" %)
927 927  (((
928 -//For prior behavior, check for event.param being non-null.//
1024 +For prior behavior, check for event.param being non-null.
929 929  )))
930 930  |(((
931 931  AI Scripts
932 932  )))|(((
933 933  2.00 Beta 1
934 -)))|(((
1030 +)))|(% colspan="2" %)(((
935 935  **<shoot/>/<shoot_at/>** attribute changes.
936 936  )))
937 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1033 +|(% colspan="4" %)(% colspan="3" %)
938 938  (((
939 -//Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.//
940 -//New attribute: "secondary" is an optional attribute that defines whether weapons from the ship's active secondary weapon group will be fired. Defaults to true.//
941 -//New attribute: "missiles" is an optional attribute that defines whether only missile launchers will be used. If false, only guns will be fired. Defaults to false.//
1035 +Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.
1036 +New attribute: "secondary" is an optional attribute that defines whether weapons from the ship's active secondary weapon group will be fired. Defaults to true.
1037 +New attribute: "missiles" is an optional attribute that defines whether only missile launchers will be used. If false, only guns will be fired. Defaults to false.
942 942  
943 -//Corrects now-obsolete assumption that primary weapon groups only contain guns and secondary weapon groups only contain missile launchers.//
1039 +Corrects now-obsolete assumption that primary weapon groups only contain guns and secondary weapon groups only contain missile launchers.
944 944  )))
945 945  |(((
946 946  UI extensions
947 947  )))|(((
948 948  2.00 Beta 1
949 -)))|(((
1045 +)))|(% colspan="2" %)(((
950 950  **FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.
951 951  )))
952 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1048 +|(% colspan="4" %)(% colspan="3" %)
953 953  (((
954 -//Added possibility to query build tasks of a certain buildmodule.//
1050 +Added possibility to query build tasks of a certain buildmodule.
955 955  )))
956 956  |(((
957 957  UI extensions
958 958  )))|(((
959 959  2.00 Beta 1
960 -)))|(((
1056 +)))|(% colspan="2" %)(((
961 961  **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field.
962 962  )))
963 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1059 +|(% colspan="4" %)(% colspan="3" %)
964 964  (((
965 -//Added list of resources a buildmodule needs to build.//
1061 +Added list of resources a buildmodule needs to build.
966 966  )))
967 967  |(((
968 968  UI extensions
969 969  )))|(((
970 970  2.00 Beta 1
971 -)))|(((
972 -(% style="color:#000000" %)**Lua: CalculateTotalHullFraction() **(%%)was removed.(% style="color:#000000" %)
1067 +)))|(% colspan="2" %)(((
1068 +**Lua: CalculateTotalHullFraction() **was removed.
973 973  )))
974 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1070 +|(% colspan="4" %)(% colspan="3" %)
975 975  (((
976 -//Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.//
1072 +Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.
977 977  )))
978 978  |(((
979 979  UI extensions
980 980  )))|(((
981 981  2.00 Beta 1
982 -)))|(((
983 -**FFI: (% style="color:#000000" %)RequestDockAtReason()/UndockPlayerShip()(%%) **changed their return values.
1078 +)))|(% colspan="2" %)(((
1079 +**FFI: RequestDockAtReason()/UndockPlayerShip() **changed their return values.
984 984  )))
985 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1081 +|(% colspan="4" %)(% colspan="3" %)
986 986  (((
987 -//Changed return value type to const char* to better identify failure reasons in Lua script.//
1083 +Changed return value type to const char* to better identify failure reasons in Lua script.
988 988  )))
989 -|(% colspan="3" %)(% colspan="3" %)
990 -(((
991 -== 1.50 ==
992 -)))
1085 +
1086 +----
1087 +
1088 +=== Version 1.50 ===
1089 +
1090 +(% class="table-striped" %)
993 993  |(((
994 994  UI extensions
995 995  )))|(((
996 996  1.50 Beta 3
997 -)))|(((
1095 +)))|(% colspan="2" %)(((
998 998  **Lua: GetComponentData() **changed behavior of "docksizes" property.
999 999  )))
1000 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1098 +|(% colspan="4" %)(% colspan="3" %)
1001 1001  (((
1002 -//The "docksizes" property no longer includes internal ship storage docks.//
1100 +The "docksizes" property no longer includes internal ship storage docks.
1003 1003  )))
1004 1004  |(((
1005 1005  All
1006 1006  )))|(((
1007 1007  1.50 Beta 2
1008 -)))|(((
1106 +)))|(% colspan="2" %)(((
1009 1009  **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR).
1010 1010  )))
1011 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1109 +|(% colspan="4" %)(% colspan="3" %)
1012 1012  (((
1013 -//Shipyards (formerly also known as Capital Shipyards) can build capital ships, while Wharfs only build non-capital ships. To check whether a station is a Shipyard or a Wharf, check whether the station "can build ships".//
1111 +Shipyards (formerly also known as Capital Shipyards) can build capital ships, while Wharfs only build non-capital ships. To check whether a station is a Shipyard or a Wharf, check whether the station "can build ships".
1014 1014  
1015 -//Lua: Adjusted GetComponentData() and HasShipyard(), added HasWharf()//
1016 -//Lua / GetComponentData() properties: Removed "iscapitalshipyard", fixed "isshipyard", added "canbuildships", "iswharf", "isequipmentdock"//
1017 -//Scripts: Fixed property .isshipyard, added .iswharf (.canbuildships existed already)//
1113 +Lua: Adjusted GetComponentData() and HasShipyard(), added HasWharf()
1114 +Lua / GetComponentData() properties: Removed "iscapitalshipyard", fixed "isshipyard", added "canbuildships", "iswharf", "isequipmentdock"
1115 +Scripts: Fixed property .isshipyard, added .iswharf (.canbuildships existed already)
1018 1018  )))
1019 1019  |(((
1020 1020  UI extensions
1021 1021  )))|(((
1022 1022  1.50 Beta 2
1023 -)))|(((
1121 +)))|(% colspan="2" %)(((
1024 1024  **FFI: UpgradeGroupInfo **datatype was changed.
1025 1025  )))
1026 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1124 +|(% colspan="4" %)(% colspan="3" %)
1027 1027  (((
1028 -//Added new "operational" field to retrieve information about number of operational upgrades in a group.//
1126 +Added new "operational" field to retrieve information about number of operational upgrades in a group.
1029 1029  )))
1030 1030  |(% colspan="1" %)(% colspan="1" %)
1031 1031  (((
... ... @@ -1033,54 +1033,58 @@
1033 1033  )))|(% colspan="1" %)(% colspan="1" %)
1034 1034  (((
1035 1035  1.50 Beta 1
1036 -)))|(% colspan="1" %)(% colspan="1" %)
1134 +)))|(% colspan="2" %)(% colspan="1" %)
1037 1037  (((
1038 1038  **FFI: SetGuidance()** removed useinfopoint argument.
1039 1039  )))
1040 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1138 +|(% colspan="4" %)(% colspan="3" %)
1041 1041  (((
1042 -//In X Rebirth "info points" existed (which were mainly used as interaction points to scan stations/access information about modules). These were removed in X4 but this left-over property here was missed to be removed in-time for release. It was therefore removed now in order to move towards a stable/clean UI API.//
1140 +In X Rebirth "info points" existed (which were mainly used as interaction points to scan stations/access information about modules). These were removed in X4 but this left-over property here was missed to be removed in-time for release. It was therefore removed now in order to move towards a stable/clean UI API.
1043 1043  
1044 -//The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)//
1142 +The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)
1045 1045  )))
1046 1046  |(((
1047 1047  UI extensions
1048 1048  )))|(((
1049 1049  1.50 Beta 1
1050 -)))|(((
1148 +)))|(% colspan="2" %)(((
1051 1051  **FFI: CancelConstruction() **changed its return value.
1052 1052  )))
1053 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1151 +|(% colspan="4" %)(% colspan="3" %)
1054 1054  (((
1055 -(% style="color:#000000" %)//CancelConstruction() now returns if the cancellation was successful. //
1153 +CancelConstruction() now returns if the cancellation was successful.
1056 1056  )))
1057 -|(% colspan="3" %)(% colspan="3" %)
1058 -(((
1059 -== 1.32 ==
1060 -)))
1155 +
1156 +----
1157 +
1158 +=== Version 1.32 ===
1159 +
1160 +(% class="table-striped" %)
1061 1061  |(((
1062 1062  UI extensions
1063 1063  )))|(((
1064 1064  1.32
1065 -)))|(((
1165 +)))|(% colspan="2" %)(((
1066 1066  **Lua: GetComponentData() **removed the "nextdestname" property.
1067 1067  )))
1068 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1168 +|(% colspan="4" %)(% colspan="3" %)
1069 1069  (((
1070 -//Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
1170 +Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.
1071 1071  )))
1072 -|(% colspan="3" %)(% colspan="3" %)
1073 -(((
1074 -== 1.20 ==
1075 -)))
1172 +
1173 +----
1174 +
1175 +=== Version 1.20 ===
1176 +
1177 +(% class="table-striped" %)
1076 1076  |(((
1077 1077  UI extensions
1078 1078  )))|(((
1079 1079  1.20
1080 -)))|(((
1182 +)))|(% colspan="2" %)(((
1081 1081  **FFI: GetAAOption()** got a new "useconfig" parameter.
1082 1082  )))
1083 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1185 +|(% colspan="4" %)(% colspan="3" %)
1084 1084  (((
1085 -//The AA setting was changed to check the new setting with the user. In order to restore the old setting (% style="color:#000000" %)GetAAOption() gets the option to retrieve the config settings.//
1187 +//The AA setting was changed to check the new setting with the user. In order to restore the old setting GetAAOption() gets the option to retrieve the config settings.//
1086 1086  )))
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,0 @@
1 -78577854
space
... ... @@ -1,1 +1,0 @@
1 -X4WIKI
url
... ... @@ -1,1 +1,0 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/78577854/Breaking Changes