Changes for page Breaking Changes

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

From version 114.3
edited by Volodymyr Boichuk
on 2024/04/10 12:47
Change comment: There is no comment for this version
To version 78.1
edited by matthias
on 2021/02/05 17:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,0 @@
1 -X4 Foundations Wiki.Modding Support.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Volodymyr
1 +xwiki:XWiki.matthias
Content
... ... @@ -4,13 +4,13 @@
4 4  The following table provides an overview about all breaking changes. This should help you to make any necessary changes to restore compatibility of older mods with new versions of X4.
5 5  Feel free to drop a note if a certain breaking change is breaking your mod and you have difficulties finding a way to work around the issue.
6 6  
7 -{{info}}
8 -The list of breaking changes does **NOT** cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself.
7 +{{note}}
8 +The list of breaking changes does **NOT** cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself.
9 9  
10 10  Further note that the list provides information about breaking changes which are in the pipeline of being released. This is meant merely as an informational heads up. Neither do mistake this as an announcement of that version becoming available soon nor take it for granted that such a change will go live. Any information provided for not yet released versions can change (and even be removed) prior to such version having seen the light of day.
11 11  
12 12  As a final note, please be aware that issues introduced during the beta phase might not be explicitly mentioned in the list below, if things would only be broken in-between two beta versions. While we still aim to document any (potential) breaking change here, there might be circumstances for which we divert from that procedure (especially in case of only minor issues which are considered merely bugfixes rather than an intended behavior change).
13 -{{/info}}
13 +{{/note}}
14 14  
15 15  {{warning title="UI modding considered unstable until further notice..."}}
16 16  Please note that UI modding must be considered **unstable** in the current version. While we are working hard to get the UI modding integration into a stable state, we might have to introduce larger backwards incompatibilities in the following patches. This means that you might have to modify any mod using UI modding capabilities to a larger extend to keep it compatible with certain patches. Still, we are doing our best not to unnecessarily break things for modders and certainly will announce such changes on this page here.
... ... @@ -18,425 +18,146 @@
18 18  
19 19  = Breaking Changes =
20 20  
21 -{{toc scope="LOCAL" start="3"/}}
22 -
23 -=== Version 7.00 ===
24 -
25 -
26 -(% class="wrapped" %)
27 -|(% colspan="1" style="width:117px" %)(% colspan="1" %)
21 +|=(((
22 +Type
23 +)))|=(((
24 +Version
25 +)))|=(((
26 +Summary
27 +)))|=(% colspan="1" %)(% colspan="1" %)
28 28  (((
29 -Scripts
30 -)))|(% colspan="1" style="width:119px" %)(((
31 -7.00 Beta 1
32 -)))|(% colspan="2" style="width:1625px" %)(((
33 -MD action **<set_presentation_cluster_persistence/>** now requires the cluster to be a presentation cluster.
29 +
34 34  )))
35 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
31 +|(% colspan="4" %)(% colspan="4" %)
36 36  (((
37 -// Previously it was possible to set normal clusters to be persistent presentation clusters which was an invalid state.//
33 +== 4.00 ==
38 38  )))
39 -|(% colspan="1" style="width:117px" %)(% colspan="1" %)
40 -(((
41 -UI extensions
42 -)))|(% colspan="1" style="width:119px" %)(((
43 -7.00 Beta 1
44 -)))|(% colspan="2" style="width:1625px" %)(((
45 -**FFI**: RemoveBuildPlot() changed
46 -)))
47 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
48 -(((
49 -// 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.//
50 -)))
51 -|(% colspan="1" style="width:117px" %)(% colspan="1" %)
52 -(((
53 -Assets
54 -)))|(% colspan="1" style="width:119px" %)(((
55 -7.00 Beta 1
56 -)))|(% colspan="2" style="width:1625px" %)(((
57 -**Some Split DLC materials moved to base game**
58 -)))
59 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
60 -(((
61 -// //"spl_p1_fx" AND "split_p1_hulltexture_01" were moved from Split DLC to base game
62 -)))
63 -
64 -
65 -----
66 -
67 -=== Version 6.00 ===
68 -
69 -(% class="wrapped" %)
70 -|(((
71 -Libraries
72 -)))|(((
73 -6.00 Beta 7
74 -)))|(% colspan="2" %)(((
75 -Updated weights for ship groups in shipgroups.xml libraries of base game and all DLCs.
76 -)))
77 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
78 -(((
79 -//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.//
80 -
81 -//All groups should now have "weight" parameter added and old "weights" were updated to not have single-digit numbers.//
82 -)))
83 83  |(% colspan="1" %)(% colspan="1" %)
84 84  (((
85 -Scripts
37 +UI core
86 86  )))|(% colspan="1" %)(% colspan="1" %)
87 87  (((
88 -6.00 Beta 4
89 -)))|(% colspan="2" %)(% colspan="1" %)
40 +4.00 Beta 6
41 +)))|(% colspan="1" %)(% colspan="1" %)
90 90  (((
91 -Changed conditions for **<event_player_travelmode_started> <event_player_travelmode_stopped> <event_player_travelmode_charge_started> <event_player_travelmode_charge_aborted>** to be raised.
92 -)))
93 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
94 -(((
95 -//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. //
96 -
97 -//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.//
98 -)))
99 -|(% colspan="1" %)(% colspan="1" %)
100 -(((
101 -Scripts
43 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed
102 102  )))|(% colspan="1" %)(% colspan="1" %)
103 103  (((
104 -6.00 Beta 3
105 -)))|(% colspan="2" %)(% colspan="1" %)
106 -(((
107 -Changed result of **<find_object_surface>** action in the case of a failure
46 +
108 108  )))
109 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
48 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
110 110  (((
111 -//The 'posname' and 'rotname' result attributes of <find_object_surface> will now return null in the case of no valid surface position being found.//
50 +//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.
51 +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).//
112 112  
113 -//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.//
114 -
115 -//The action itself has been improved to increase the chance of finding suitable surface positions.//
116 -)))
117 -|(% colspan="1" %)(% colspan="1" %)
118 -(((
119 -Scripts
53 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
54 +//
120 120  )))|(% colspan="1" %)(% colspan="1" %)
121 121  (((
122 -6.00 Beta 1
123 -)))|(% colspan="2" %)(% colspan="1" %)
124 -(((
125 -Behaviour change for **<match_dock>** script component filter
57 +
126 126  )))
127 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
128 -(((
129 -//<match_dock> nodes can now be used on container and walkablemodule classes without wrapping them in <match_content> nodes.
130 -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.//
131 -)))
132 132  |(% colspan="1" %)(% colspan="1" %)
133 133  (((
134 -Scripts
61 +UI core
135 135  )))|(% colspan="1" %)(% colspan="1" %)
136 136  (((
137 -6.00 Beta 1
138 -)))|(% colspan="2" %)(% colspan="1" %)
64 +4.00 Beta 5
65 +)))|(% colspan="1" %)(% colspan="1" %)
139 139  (((
140 -Changed result attribute location for **<get_attackstrength>**
141 -)))
142 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)
143 -(((
144 -//The 'result' attribute of get_attackstrength has been moved into the new <result> subnode and renamed to 'total'.//
145 -)))
146 -|(((
147 -Assets
148 -)))|(((
149 -6.00 Beta 1
150 -)))|(% colspan="2" %)(((
151 -Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons
152 -)))
153 -|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
154 -(((
155 -//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.
156 -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.//
157 -)))
158 -|(% colspan="1" %)(% colspan="1" %)
159 -(((
160 -Scripts
67 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
161 161  )))|(% colspan="1" %)(% colspan="1" %)
162 162  (((
163 -6.00 Beta 1
164 -)))|(% colspan="2" %)(% colspan="1" %)
165 -(((
166 -Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects
70 +
167 167  )))
168 -|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
72 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
169 169  (((
170 -//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.//
171 -)))
172 -|(((
173 -Scripts
174 -)))|(((
175 -6.00 Beta 1
176 -)))|(% colspan="2" %)(((
177 -**<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards.
178 -)))
179 -|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
180 -(((
181 -//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.//
182 -)))
183 -|(((
184 -Cutscenes
185 -)))|(((
186 -6.00 Beta 1
187 -)))|(% colspan="2" %)(((
188 -Changed behaviour of **<angles>** in cutscenes
189 -)))
190 -|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)
191 -(((
192 -//The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.//
193 -)))
74 +//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.//
194 194  
195 -----
196 -
197 -=== Version 5.00 ===
198 -
199 -(% class="wrapped" %)
200 -|(((
201 -Parameters
202 -)))|(((
203 -5.00 Beta 1
204 -)))|(% colspan="2" %)(((
205 -**<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration
206 -)))
207 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
208 -(((
209 -//'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.//
210 -)))
211 -
212 -----
213 -
214 -=== Version 4.10 ===
215 -
216 -(% class="wrapped" %)
217 -|(% colspan="1" %)(% colspan="1" %)
218 -(((
219 -UI extensions
76 +//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).
220 220  )))|(% colspan="1" %)(% colspan="1" %)
221 221  (((
222 -4.10 Beta 7
223 -)))|(% colspan="2" %)(% colspan="1" %)
224 -(((
225 -**FFI**: SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() deprecated
79 +
226 226  )))
227 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
228 -(((
229 -//The functionality represented by SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() has been removed and the function was therefore stubbed.//
230 -)))
231 -|(% colspan="1" %)(% colspan="1" %)
232 -(((
233 -UI extensions
234 -)))|(% colspan="1" %)(% colspan="1" %)
235 -(((
236 -4.10 Beta 6
237 -)))|(% colspan="2" %)(% colspan="1" %)
238 -(((
239 -**FFI**: CustomGameStartPlayerProperty2 changed
240 -)))
241 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
242 -(((
243 -//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.//
244 -)))
245 -|(% colspan="1" %)(% colspan="1" %)
246 -(((
247 -Parameters
248 -)))|(% colspan="1" %)(% colspan="1" %)
249 -(((
250 -4.10 Beta 3
251 -)))|(% colspan="2" %)(% colspan="1" %)
252 -(((
253 -Renamed **<stationinfobox>** to **<infobox>**
254 -)))
255 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
256 -(((
257 -//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.//
258 -)))
259 -|(% colspan="1" %)(% colspan="1" %)
260 -(((
261 -UI extensions
262 -)))|(% colspan="1" %)(% colspan="1" %)
263 -(((
264 -4.10 Beta 2
265 -)))|(% colspan="2" %)(% colspan="1" %)
266 -(((
267 -**FFI**: SetMacroMapPlayerSectorOffset() deprecated
268 -)))
269 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
270 -(((
271 -//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.//
272 -)))
273 273  |(((
274 -UI extensions
82 +Parameters
275 275  )))|(((
276 -4.10 Beta 2
277 -)))|(% colspan="2" %)(((
278 -**FFI**: FilterComponentForMapMode() and SetMapObjectFilter() changed
279 -)))
280 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
281 -(((
282 -//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.//
283 -)))
284 -|(((
285 -Scripts
84 +4.00 Beta 1
286 286  )))|(((
287 -4.10 Beta 1
288 -)))|(% colspan="2" %)(((
289 -People related attributes of mission** <delivery> **node moved
86 +**requiresconstructionvessel** parameter moved
87 +)))|(((
88 +
290 290  )))
291 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
90 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
292 292  (((
293 -//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.//
92 +//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.//
294 294  )))
295 -|(% colspan="1" %)(% colspan="1" %)
296 -(((
297 -Scripts
298 -)))|(% colspan="1" %)(% colspan="1" %)
299 -(((
300 -4.10 Beta 1
301 -)))|(% colspan="2" %)(% colspan="1" %)
302 -(((
303 -**$destructible.productions** replaced with $defensible.productions
304 -)))
305 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
306 -(((
307 -//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.//
308 -)))
309 309  |(((
310 310  Scripts
311 311  )))|(((
312 -4.10 Beta 1
313 -)))|(% colspan="2" %)(((
314 -Removed script property **$object.spawnsourceseed**
97 +4.00 Beta 1
98 +)))|(((
99 +Changed behaviour of **gatedistance** script property
100 +)))|(((
101 +
315 315  )))
316 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
103 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
317 317  (((
318 -//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.//
319 -)))
320 -
321 -----
322 -
323 -=== Version 4.00 ===
324 -
325 -(% class="wrapped" %)
326 -|(% colspan="1" %)(% colspan="1" %)
105 +//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.//
106 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
327 327  (((
328 -UI core
329 -)))|(% colspan="1" %)(% colspan="1" %)
330 -(((
331 -4.00 Beta 10
332 -)))|(% colspan="2" %)(% colspan="1" %)
333 -(((
334 -Controlled ship can change without a **gameplanchange-event** occurring.
108 +
335 335  )))
336 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
337 -(((
338 -//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).
339 -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.//
340 -)))
341 341  |(((
342 342  Scripts
343 343  )))|(((
344 344  4.00 Beta 7
345 -)))|(% colspan="2" %)(((
114 +)))|(((
346 346  Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed
116 +)))|(((
117 +
347 347  )))
348 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
119 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
349 349  (((
350 350  //Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
351 351  New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits
352 352  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//
353 -)))
354 -|(% colspan="1" %)(% colspan="1" %)
124 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
355 355  (((
356 -UI core
357 -)))|(% colspan="1" %)(% colspan="1" %)
358 -(((
359 -4.00 Beta 6
360 -)))|(% colspan="2" %)(% colspan="1" %)
361 -(((
362 -**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed
126 +
363 363  )))
364 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
128 +|(% colspan="4" %)(% colspan="4" %)
365 365  (((
366 -//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.
367 -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).//
368 -
369 -//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.//
130 +== 3.30 ==
370 370  )))
371 -|(% colspan="1" %)(% colspan="1" %)
372 -(((
373 -UI core
374 -)))|(% colspan="1" %)(% colspan="1" %)
375 -(((
376 -4.00 Beta 5
377 -)))|(% colspan="2" %)(% colspan="1" %)
378 -(((
379 -**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
380 -)))
381 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
382 -(((
383 -//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.//
384 -
385 -//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).
386 -)))
387 387  |(((
388 -Parameters
133 +UI extensions
389 389  )))|(((
390 -4.00 Beta 1
391 -)))|(% colspan="2" %)(((
392 -**requiresconstructionvessel** parameter moved
393 -)))
394 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
135 +3.30 Beta 3
136 +)))|(((
137 +**FFI: **Removed** (% style="color: rgb(0,0,0);" %)GetMissionLimit() (%%)**(% style="color: rgb(0,0,0);" %)and** **(% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)**IsMissionLimit**(%%)**Enabled()**
138 +)))|(% colspan="1" %)(% colspan="1" %)
395 395  (((
396 -//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.//
140 +
397 397  )))
398 -|(((
399 -Scripts
400 -)))|(((
401 -4.00 Beta 1
402 -)))|(% colspan="2" %)(((
403 -Changed behaviour of **gatedistance** script property
404 -)))
405 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
142 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
406 406  (((
407 -//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.//
144 +//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI (% style="color: rgb(0,0,0);" %)IsMissionLimit(%%)Reach(% style="color: rgb(0,0,0);" %)ed()//
408 408  )))
409 -
410 -----
411 -
412 -=== Version 3.30 ===
413 -
414 -(% class="wrapped" %)
415 -|(((
416 -UI extensions
417 -)))|(((
418 -3.30 Beta 3
419 -)))|(% colspan="2" %)(((
420 -**FFI: **Removed** GetMissionLimit() **and** IsMissionLimitEnabled()**
421 -)))
422 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
146 +|(% colspan="4" %)(% colspan="4" %)
423 423  (((
424 -//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimitReached()//
148 +== 3.20 ==
425 425  )))
426 -
427 -----
428 -
429 -=== Version 3.20 ===
430 -
431 -(% class="wrapped" %)
432 432  |(((
433 433  Scripts
434 434  )))|(((
435 435  3.20 Beta 1
436 -)))|(% colspan="2" %)(((
154 +)))|(((
437 437  Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed
156 +)))|(% colspan="1" %)(% colspan="1" %)
157 +(((
158 +
438 438  )))
439 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
160 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
440 440  (((
441 441  //Old params: param = attacked object, param2 = attack method, param3 = attacked component//
442 442  //New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon]
... ... @@ -448,11 +448,14 @@
448 448  )))|(% colspan="1" %)(% colspan="1" %)
449 449  (((
450 450  3.20 Beta 1
451 -)))|(% colspan="2" %)(% colspan="1" %)
172 +)))|(% colspan="1" %)(% colspan="1" %)
452 452  (((
453 453  Removed script property $trade.**restriction.faction**
175 +)))|(% colspan="1" %)(% colspan="1" %)
176 +(((
177 +
454 454  )))
455 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
179 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
456 456  (((
457 457  //$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.//
458 458  )))
... ... @@ -460,19 +460,20 @@
460 460  UI extensions
461 461  )))|(((
462 462  3.20 Beta 1
463 -)))|(% colspan="2" %)(((
187 +)))|(((
464 464  **Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete!
189 +)))|(% colspan="1" %)(% colspan="1" %)
190 +(((
191 +
465 465  )))
466 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
193 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
467 467  (((
468 468  //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.//
469 469  )))
470 -
471 -----
472 -
473 -=== Version 3.10 ===
474 -
475 -(% class="wrapped" %)
197 +|(% colspan="4" %)(% colspan="4" %)
198 +(((
199 +== 3.10 ==
200 +)))
476 476  |(% colspan="1" %)(% colspan="1" %)
477 477  (((
478 478  Scripts
... ... @@ -479,20 +479,21 @@
479 479  )))|(% colspan="1" %)(% colspan="1" %)
480 480  (((
481 481  3.10 Beta 1
482 -)))|(% colspan="2" %)(% colspan="1" %)
207 +)))|(% colspan="1" %)(% colspan="1" %)
483 483  (((
484 484  Removed script action **<add_build/>**
210 +)))|(% colspan="1" %)(% colspan="1" %)
211 +(((
212 +
485 485  )))
486 -|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
214 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
487 487  (((
488 488  //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.//
489 489  )))
490 -
491 -----
492 -
493 -=== Version 3.00 ===
494 -
495 -(% class="wrapped" %)
218 +|(% colspan="4" %)(% colspan="4" %)
219 +(((
220 +== 3.00 ==
221 +)))
496 496  |(% colspan="1" %)(% colspan="1" %)
497 497  (((
498 498  Scripts
... ... @@ -499,11 +499,14 @@
499 499  )))|(% colspan="1" %)(% colspan="1" %)
500 500  (((
501 501  3.0 Beta 6
502 -)))|(% colspan="2" %)(% colspan="1" %)
228 +)))|(% colspan="1" %)(% colspan="1" %)
503 503  (((
504 504  Changed behaviour of script action **<get_suitable_job/>**
231 +)))|(% colspan="1" %)(% colspan="1" %)
232 +(((
233 +
505 505  )))
506 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
235 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
507 507  (((
508 508  //<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.//
509 509  )))
... ... @@ -513,11 +513,14 @@
513 513  )))|(% colspan="1" %)(% colspan="1" %)
514 514  (((
515 515  3.0 Beta 6
516 -)))|(% colspan="2" %)(% colspan="1" %)
245 +)))|(% colspan="1" %)(% colspan="1" %)
517 517  (((
518 518  Changed behaviour of script action **<get_ware_definition/>**
248 +)))|(% colspan="1" %)(% colspan="1" %)
249 +(((
250 +
519 519  )))
520 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
252 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
521 521  (((
522 522  //<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.//
523 523  )))
... ... @@ -527,13 +527,16 @@
527 527  )))|(% colspan="1" %)(% colspan="1" %)
528 528  (((
529 529  3.0 Beta 5
530 -)))|(% colspan="2" %)(% colspan="1" %)
262 +)))|(% colspan="1" %)(% colspan="1" %)
531 531  (((
532 532  Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case
265 +)))|(% colspan="1" %)(% colspan="1" %)
266 +(((
267 +
533 533  )))
534 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
269 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
535 535  (((
536 -//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.)
271 +//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.)\\
537 537  
538 538  //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).//
539 539  )))
... ... @@ -543,11 +543,14 @@
543 543  )))|(% colspan="1" %)(% colspan="1" %)
544 544  (((
545 545  3.0 Beta 5
546 -)))|(% colspan="2" %)(% colspan="1" %)
281 +)))|(% colspan="1" %)(% colspan="1" %)
547 547  (((
548 548  Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions>
284 +)))|(% colspan="1" %)(% colspan="1" %)
285 +(((
286 +
549 549  )))
550 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
288 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
551 551  (((
552 552  //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.//
553 553  )))
... ... @@ -557,11 +557,14 @@
557 557  )))|(% colspan="1" %)(% colspan="1" %)
558 558  (((
559 559  3.0 Beta 5
560 -)))|(% colspan="2" %)(% colspan="1" %)
298 +)))|(% colspan="1" %)(% colspan="1" %)
561 561  (((
562 562  Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos**
301 +)))|(% colspan="1" %)(% colspan="1" %)
302 +(((
303 +
563 563  )))
564 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
305 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
565 565  (((
566 566  //Before the change, positions are relative to $dockingbay.parent.
567 567  After the change, positions are relative to $dockingbay as specified in the documentation.//
... ... @@ -572,11 +572,14 @@
572 572  )))|(% colspan="1" %)(% colspan="1" %)
573 573  (((
574 574  3.0 Beta 2
575 -)))|(% colspan="2" %)(% colspan="1" %)
316 +)))|(% colspan="1" %)(% colspan="1" %)
576 576  (((
577 577  Support for entity flag "**skillsvisible**" dropped
319 +)))|(% colspan="1" %)(% colspan="1" %)
320 +(((
321 +
578 578  )))
579 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
323 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
580 580  (((
581 581  //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().//
582 582  )))
... ... @@ -584,10 +584,13 @@
584 584  Scripts
585 585  )))|(((
586 586  3.0 Beta 2
587 -)))|(% colspan="2" %)(((
331 +)))|(((
588 588  Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**.
333 +)))|(% colspan="1" %)(% colspan="1" %)
334 +(((
335 +
589 589  )))
590 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
337 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
591 591  (((
592 592  //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.
593 593  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.
... ... @@ -600,11 +600,14 @@
600 600  )))|(% colspan="1" %)(% colspan="1" %)
601 601  (((
602 602  3.0 Beta 1
603 -)))|(% colspan="2" %)(% colspan="1" %)
350 +)))|(% colspan="1" %)(% colspan="1" %)
604 604  (((
605 605  **MissionBoard** support dropped
353 +)))|(% colspan="1" %)(% colspan="1" %)
354 +(((
355 +
606 606  )))
607 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
357 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
608 608  (((
609 609  //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.//
610 610  )))
... ... @@ -612,10 +612,13 @@
612 612  Job/God
613 613  )))|(((
614 614  3.0 Beta 1
615 -)))|(% colspan="2" %)(((
365 +)))|(((
616 616  By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined
367 +)))|(% colspan="1" %)(% colspan="1" %)
368 +(((
369 +
617 617  )))
618 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
371 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
619 619  (((
620 620  //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.//
621 621  )))
... ... @@ -625,11 +625,14 @@
625 625  )))|(% colspan="1" %)(% colspan="1" %)
626 626  (((
627 627  3.0 Beta 1
628 -)))|(% colspan="2" %)(% colspan="1" %)
381 +)))|(% colspan="1" %)(% colspan="1" %)
629 629  (((
630 630  Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'**
384 +)))|(% colspan="1" %)(% colspan="1" %)
385 +(((
386 +
631 631  )))
632 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
388 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
633 633  (((
634 634  //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.//
635 635  )))
... ... @@ -639,11 +639,14 @@
639 639  )))|(% colspan="1" %)(% colspan="1" %)
640 640  (((
641 641  3.0 Beta 1
642 -)))|(% colspan="2" %)(% colspan="1" %)
398 +)))|(% colspan="1" %)(% colspan="1" %)
643 643  (((
644 644  Script action **<set_doors_locked/>** attribute **'group'** changed
401 +)))|(% colspan="1" %)(% colspan="1" %)
402 +(((
403 +
645 645  )))
646 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
405 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
647 647  (((
648 648  //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.//
649 649  )))
... ... @@ -653,11 +653,14 @@
653 653  )))|(% colspan="1" %)(% colspan="1" %)
654 654  (((
655 655  3.0 Beta 1
656 -)))|(% colspan="2" %)(% colspan="1" %)
415 +)))|(% colspan="1" %)(% colspan="1" %)
657 657  (((
658 658  Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed
418 +)))|(% colspan="1" %)(% colspan="1" %)
419 +(((
420 +
659 659  )))
660 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
422 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
661 661  (((
662 662  //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.//
663 663  )))
... ... @@ -667,11 +667,14 @@
667 667  )))|(% colspan="1" %)(% colspan="1" %)
668 668  (((
669 669  3.0 Beta 1
670 -)))|(% colspan="2" %)(% colspan="1" %)
432 +)))|(% colspan="1" %)(% colspan="1" %)
671 671  (((
672 672  Script actions **<set_hack_target/>** and **<abort_hack/>** removed
435 +)))|(% colspan="1" %)(% colspan="1" %)
436 +(((
437 +
673 673  )))
674 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
439 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
675 675  (((
676 676  //These actions had no effect and were removed.//
677 677  )))
... ... @@ -681,11 +681,14 @@
681 681  )))|(% colspan="1" %)(% colspan="1" %)
682 682  (((
683 683  3.0 Beta 1
684 -)))|(% colspan="2" %)(% colspan="1" %)
449 +)))|(% colspan="1" %)(% colspan="1" %)
685 685  (((
686 686  **<setup_conversation_minigame/>** script action removed
452 +)))|(% colspan="1" %)(% colspan="1" %)
453 +(((
454 +
687 687  )))
688 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
456 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
689 689  (((
690 690  //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.//
691 691  )))
... ... @@ -695,11 +695,14 @@
695 695  )))|(% colspan="1" %)(% colspan="1" %)
696 696  (((
697 697  3.0 Beta 1
698 -)))|(% colspan="2" %)(% colspan="1" %)
466 +)))|(% colspan="1" %)(% colspan="1" %)
699 699  (((
700 700  <add_player_choice_*> **confidence** attribute removed
469 +)))|(% colspan="1" %)(% colspan="1" %)
470 +(((
471 +
701 701  )))
702 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
473 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
703 703  (((
704 704  //The default confidence of player options is another leftover from the XR era and had no effect in X4.//
705 705  )))
... ... @@ -709,11 +709,14 @@
709 709  )))|(% colspan="1" %)(% colspan="1" %)
710 710  (((
711 711  3.0 Beta 1
712 -)))|(% colspan="2" %)(% colspan="1" %)
483 +)))|(% colspan="1" %)(% colspan="1" %)
713 713  (((
714 714  **<hack_via_control_panel/>** script action removed
486 +)))|(% colspan="1" %)(% colspan="1" %)
487 +(((
488 +
715 715  )))
716 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
490 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
717 717  (((
718 718  //Unused script action <hack_via_control_panel/> was removed.//
719 719  )))
... ... @@ -723,11 +723,14 @@
723 723  )))|(% colspan="1" %)(% colspan="1" %)
724 724  (((
725 725  3.0 Beta 1
726 -)))|(% colspan="2" %)(% colspan="1" %)
500 +)))|(% colspan="1" %)(% colspan="1" %)
727 727  (((
728 728  **Lua: **GetMiniGameCursorPosition() removed
503 +)))|(% colspan="1" %)(% colspan="1" %)
504 +(((
505 +
729 729  )))
730 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
507 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
731 731  (((
732 732  //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.//
733 733  )))
... ... @@ -735,10 +735,13 @@
735 735  UI core
736 736  )))|(((
737 737  3.0 Beta 1
738 -)))|(% colspan="2" %)(((
515 +)))|(((
739 739  **FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders
517 +)))|(% colspan="1" %)(% colspan="1" %)
518 +(((
519 +
740 740  )))
741 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
521 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
742 742  (((
743 743  //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.//
744 744  )))
... ... @@ -748,11 +748,14 @@
748 748  )))|(% colspan="1" %)(% colspan="1" %)
749 749  (((
750 750  3.0 Beta 1
751 -)))|(% colspan="2" %)(% colspan="1" %)
531 +)))|(% colspan="1" %)(% colspan="1" %)
752 752  (((
753 753  **FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor
534 +)))|(% colspan="1" %)(% colspan="1" %)
535 +(((
536 +
754 754  )))
755 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
538 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
756 756  (((
757 757  //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.//
758 758  )))
... ... @@ -762,11 +762,14 @@
762 762  )))|(% colspan="1" %)(% colspan="1" %)
763 763  (((
764 764  3.0 Beta 1
765 -)))|(% colspan="2" %)(% colspan="1" %)
548 +)))|(% colspan="1" %)(% colspan="1" %)
766 766  (((
767 767  **$ware.illegal** updated
551 +)))|(% colspan="1" %)(% colspan="1" %)
552 +(((
553 +
768 768  )))
769 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
555 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
770 770  (((
771 771  //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.//
772 772  //It now returns true if $ware is illegal to any faction in the game.//
... ... @@ -777,11 +777,14 @@
777 777  )))|(% colspan="1" %)(% colspan="1" %)
778 778  (((
779 779  3.0 Beta 1
780 -)))|(% colspan="2" %)(% colspan="1" %)
566 +)))|(% colspan="1" %)(% colspan="1" %)
781 781  (((
782 782  MD script **RML_Flight_Along_Path** removed
569 +)))|(% colspan="1" %)(% colspan="1" %)
570 +(((
571 +
783 783  )))
784 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
573 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
785 785  (((
786 786  //The MD script RML_Flight_Along_Path was not referened and was removed.//
787 787  )))
... ... @@ -791,11 +791,14 @@
791 791  )))|(% colspan="1" %)(% colspan="1" %)
792 792  (((
793 793  3.0 Beta 1
794 -)))|(% colspan="2" %)(% colspan="1" %)
583 +)))|(% colspan="1" %)(% colspan="1" %)
795 795  (((
796 796  parameters of **<event_venture_mission_completed/>** changed
586 +)))|(% colspan="1" %)(% colspan="1" %)
587 +(((
588 +
797 797  )))
798 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
590 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
799 799  (((
800 800  //old params: param = venture details, param2 = ships involved, param3 = duration//
801 801  //new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration//
... ... @@ -804,11 +804,14 @@
804 804  Scripts
805 805  )))|(((
806 806  3.0 Beta 1
807 -)))|(% colspan="2" %)(((
599 +)))|(((
808 808  **<set_object_wing_name/>** removed,
809 809  **<set_object_fleet_name/>** added
602 +)))|(% colspan="1" %)(% colspan="1" %)
603 +(((
604 +
810 810  )))
811 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
606 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
812 812  (((
813 813  //The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>//
814 814  )))
... ... @@ -816,28 +816,32 @@
816 816  Scripts
817 817  )))|(((
818 818  3.0 Beta 1
819 -)))|(% colspan="2" %)(((
614 +)))|(((
820 820  **$controllable.wing.*** removed,
821 821  **$controllable.fleet.*** added
617 +)))|(% colspan="1" %)(% colspan="1" %)
618 +(((
619 +
822 822  )))
823 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
621 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
824 824  (((
825 825  $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander
826 826  )))
827 -
828 -----
829 -
830 -=== Version 2.60 ===
831 -
832 -(% class="wrapped" %)
625 +|(% colspan="4" %)(% colspan="4" %)
626 +(((
627 +== 2.60 ==
628 +)))
833 833  |(((
834 834  Scripts
835 835  )))|(((
836 836  2.60 Beta 1
837 -)))|(% colspan="2" %)(((
633 +)))|(((
838 838  '**checkoperational**' filter behaviour changed
635 +)))|(% colspan="1" %)(% colspan="1" %)
636 +(((
637 +
839 839  )))
840 -|(% class="highlight-grey" colspan="10" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
639 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
841 841  (((
842 842  //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.//
843 843  
... ... @@ -847,19 +847,20 @@
847 847  Scripts
848 848  )))|(((
849 849  2.60 Beta 1
850 -)))|(% colspan="2" %)(((
649 +)))|(((
851 851  $container.**supplyresources** behavior changed
852 -)))| | |
853 -|(% class="highlight-grey" colspan="10" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
651 +)))|(% colspan="1" %)(% colspan="1" %)
854 854  (((
653 +
654 +)))
655 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
656 +(((
855 855  //The script keyword $container.supplyresources now includes reserved wares.//
856 856  )))
857 -
858 -----
859 -
860 -=== Version 2.20 ===
861 -
862 -(% class="wrapped" %)
659 +|(% colspan="4" %)(% colspan="4" %)
660 +(((
661 +== 2.20 ==
662 +)))
863 863  |(% colspan="1" %)(% colspan="1" %)
864 864  (((
865 865  UI core
... ... @@ -866,16 +866,20 @@
866 866  )))|(% colspan="1" %)(% colspan="1" %)
867 867  (((
868 868  2.20 Beta 3/4
869 -)))|(% colspan="2" %)(% colspan="1" %)
669 +)))|(% colspan="1" %)(% colspan="1" %)
870 870  (((
871 871  **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined.
672 +)))|(% colspan="1" %)(% colspan="1" %)
673 +(((
674 +
872 872  )))
873 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
676 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
874 874  (((
875 875  //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.
876 876  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.//
877 877  
878 -//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.//
681 +//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.
682 +//
879 879  )))
880 880  |(% colspan="1" %)(% colspan="1" %)
881 881  (((
... ... @@ -883,20 +883,21 @@
883 883  )))|(% colspan="1" %)(% colspan="1" %)
884 884  (((
885 885  2.20 Beta 3
886 -)))|(% colspan="2" %)(% colspan="1" %)
690 +)))|(% colspan="1" %)(% colspan="1" %)
887 887  (((
888 888  Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor'
693 +)))|(% colspan="1" %)(% colspan="1" %)
694 +(((
695 +
889 889  )))
890 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
697 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
891 891  (((
892 892  //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.//
893 893  )))
894 -
895 -----
896 -
897 -=== Version 2.00 ===
898 -
899 -(% class="wrapped" %)
701 +|(% colspan="4" %)(% colspan="4" %)
702 +(((
703 +== 2.00 ==
704 +)))
900 900  |(% colspan="1" %)(% colspan="1" %)
901 901  (((
902 902  Scripts
... ... @@ -903,11 +903,14 @@
903 903  )))|(% colspan="1" %)(% colspan="1" %)
904 904  (((
905 905  2.00 Beta 1
906 -)))|(% colspan="2" %)(% colspan="1" %)
711 +)))|(% colspan="1" %)(% colspan="1" %)
907 907  (((
908 908  **<event_build_finished/> **param2 now returns null instead of a construction sequence
714 +)))|(% colspan="1" %)(% colspan="1" %)
715 +(((
716 +
909 909  )))
910 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
718 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
911 911  (((
912 912  //The construction sequence which was finished should now be accessed via the buildtask provided via param3.//
913 913  )))
... ... @@ -917,11 +917,14 @@
917 917  )))|(% colspan="1" %)(% colspan="1" %)
918 918  (((
919 919  2.00 Beta 1
920 -)))|(% colspan="2" %)(% colspan="1" %)
728 +)))|(% colspan="1" %)(% colspan="1" %)
921 921  (((
922 922  **param.boarding.{...}** strength parameters removed
731 +)))|(% colspan="1" %)(% colspan="1" %)
732 +(((
733 +
923 923  )))
924 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
735 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
925 925  (((
926 926  //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.//
927 927  )))
... ... @@ -931,11 +931,14 @@
931 931  )))|(% colspan="1" %)(% colspan="1" %)
932 932  (((
933 933  2.00 Beta 1
934 -)))|(% colspan="2" %)(% colspan="1" %)
745 +)))|(% colspan="1" %)(% colspan="1" %)
935 935  (((
936 936  **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed
748 +)))|(% colspan="1" %)(% colspan="1" %)
749 +(((
750 +
937 937  )))
938 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
752 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
939 939  (((
940 940  //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.//
941 941  )))
... ... @@ -943,10 +943,13 @@
943 943  UI extensions
944 944  )))|(((
945 945  2.00 Beta 1
946 -)))|(% colspan="2" %)(((
760 +)))|(((
947 947  **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals
762 +)))|(% colspan="1" %)(% colspan="1" %)
763 +(((
764 +
948 948  )))
949 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
766 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
950 950  (((
951 951  //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.//
952 952  )))
... ... @@ -954,10 +954,13 @@
954 954  UI extensions
955 955  )))|(((
956 956  2.00 Beta 1
957 -)))|(% colspan="2" %)(((
774 +)))|(((
958 958  **FFI: SetFormationShape()** no longer indicates an error upon certain error cases
776 +)))|(% colspan="1" %)(% colspan="1" %)
777 +(((
778 +
959 959  )))
960 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
780 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
961 961  (((
962 962  //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.//
963 963  //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.//
... ... @@ -966,10 +966,13 @@
966 966  Scripts
967 967  )))|(((
968 968  2.00 Beta 1
969 -)))|(% colspan="2" %)(((
789 +)))|(((
970 970  **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated.
791 +)))|(% colspan="1" %)(% colspan="1" %)
792 +(((
793 +
971 971  )))
972 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
795 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
973 973  (((
974 974  //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.//
975 975  )))
... ... @@ -977,10 +977,13 @@
977 977  Scripts
978 978  )))|(((
979 979  2.00 Beta 1
980 -)))|(% colspan="2" %)(((
803 +)))|(((
981 981  **<event_player_changed_target/>** now fires and returns null if the player deselects a target.
805 +)))|(% colspan="1" %)(% colspan="1" %)
806 +(((
807 +
982 982  )))
983 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
809 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
984 984  (((
985 985  //For prior behavior, check for event.param being non-null.//
986 986  )))
... ... @@ -988,10 +988,13 @@
988 988  AI Scripts
989 989  )))|(((
990 990  2.00 Beta 1
991 -)))|(% colspan="2" %)(((
817 +)))|(((
992 992  **<shoot/>/<shoot_at/>** attribute changes.
819 +)))|(% colspan="1" %)(% colspan="1" %)
820 +(((
821 +
993 993  )))
994 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
823 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
995 995  (((
996 996  //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.//
997 997  //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.//
... ... @@ -1003,10 +1003,13 @@
1003 1003  UI extensions
1004 1004  )))|(((
1005 1005  2.00 Beta 1
1006 -)))|(% colspan="2" %)(((
1007 -**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.
835 +)))|(((
836 +**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %)
837 +)))|(% colspan="1" %)(% colspan="1" %)
838 +(((
839 +
1008 1008  )))
1009 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
841 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1010 1010  (((
1011 1011  //Added possibility to query build tasks of a certain buildmodule.//
1012 1012  )))
... ... @@ -1014,10 +1014,13 @@
1014 1014  UI extensions
1015 1015  )))|(((
1016 1016  2.00 Beta 1
1017 -)))|(% colspan="2" %)(((
849 +)))|(((
1018 1018  **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field.
851 +)))|(% colspan="1" %)(% colspan="1" %)
852 +(((
853 +
1019 1019  )))
1020 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
855 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1021 1021  (((
1022 1022  //Added list of resources a buildmodule needs to build.//
1023 1023  )))
... ... @@ -1025,10 +1025,13 @@
1025 1025  UI extensions
1026 1026  )))|(((
1027 1027  2.00 Beta 1
1028 -)))|(% colspan="2" %)(((
1029 -**Lua: CalculateTotalHullFraction() **was removed.
863 +)))|(((
864 +(% style="color: rgb(0,0,0);" %)**Lua:**(% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)** CalculateTotalHullFraction()**(% style="color: rgb(0,0,0);" %)** **(%%)was removed.(% style="color: rgb(0,0,0);" %)
865 +)))|(% colspan="1" %)(% colspan="1" %)
866 +(((
867 +
1030 1030  )))
1031 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
869 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1032 1032  (((
1033 1033  //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.//
1034 1034  )))
... ... @@ -1036,27 +1036,31 @@
1036 1036  UI extensions
1037 1037  )))|(((
1038 1038  2.00 Beta 1
1039 -)))|(% colspan="2" %)(((
1040 -**FFI: RequestDockAtReason()/UndockPlayerShip() **changed their return values.
877 +)))|(((
878 +**FFI: (% style="color: rgb(0,0,0);" %)RequestDockAtReason()/(% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)UndockPlayerShip()(%%) **changed their return values.(% style="color: rgb(0,0,0);" class="confluenceTd" %)
879 +)))|(% colspan="1" %)(% colspan="1" %)
880 +(((
881 +
1041 1041  )))
1042 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
883 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1043 1043  (((
1044 1044  //Changed return value type to const char* to better identify failure reasons in Lua script.//
1045 1045  )))
1046 -
1047 -----
1048 -
1049 -=== Version 1.50 ===
1050 -
1051 -(% class="wrapped" %)
887 +|(% colspan="4" %)(% colspan="4" %)
888 +(((
889 +== 1.50 ==
890 +)))
1052 1052  |(((
1053 1053  UI extensions
1054 1054  )))|(((
1055 1055  1.50 Beta 3
1056 -)))|(% colspan="2" %)(((
1057 -**Lua: GetComponentData() **changed behavior of "docksizes" property.
895 +)))|(((
896 +**Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %)
897 +)))|(% colspan="1" %)(% colspan="1" %)
898 +(((
899 +
1058 1058  )))
1059 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
901 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1060 1060  (((
1061 1061  //The "docksizes" property no longer includes internal ship storage docks.//
1062 1062  )))
... ... @@ -1064,10 +1064,13 @@
1064 1064  All
1065 1065  )))|(((
1066 1066  1.50 Beta 2
1067 -)))|(% colspan="2" %)(((
909 +)))|(((
1068 1068  **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR).
911 +)))|(% colspan="1" %)(% colspan="1" %)
912 +(((
913 +
1069 1069  )))
1070 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
915 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1071 1071  (((
1072 1072  //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".//
1073 1073  
... ... @@ -1079,10 +1079,13 @@
1079 1079  UI extensions
1080 1080  )))|(((
1081 1081  1.50 Beta 2
1082 -)))|(% colspan="2" %)(((
1083 -**FFI: UpgradeGroupInfo **datatype was changed.
927 +)))|(((
928 +**FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %)
929 +)))|(% colspan="1" %)(% colspan="1" %)
930 +(((
931 +
1084 1084  )))
1085 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
933 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1086 1086  (((
1087 1087  //Added new "operational" field to retrieve information about number of operational upgrades in a group.//
1088 1088  )))
... ... @@ -1092,13 +1092,17 @@
1092 1092  )))|(% colspan="1" %)(% colspan="1" %)
1093 1093  (((
1094 1094  1.50 Beta 1
1095 -)))|(% colspan="2" %)(% colspan="1" %)
943 +)))|(% colspan="1" %)(% colspan="1" %)
1096 1096  (((
1097 1097  **FFI: SetGuidance()** removed useinfopoint argument.
946 +)))|(% colspan="1" %)(% colspan="1" %)
947 +(((
948 +
1098 1098  )))
1099 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
950 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1100 1100  (((
1101 -//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.//
952 +//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.
953 +//
1102 1102  
1103 1103  //The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)//
1104 1104  )))
... ... @@ -1106,44 +1106,49 @@
1106 1106  UI extensions
1107 1107  )))|(((
1108 1108  1.50 Beta 1
1109 -)))|(% colspan="2" %)(((
1110 -**FFI: CancelConstruction() **changed its return value.
961 +)))|(((
962 +**FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %)
963 +)))|(% colspan="1" %)(% colspan="1" %)
964 +(((
965 +
1111 1111  )))
1112 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
967 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1113 1113  (((
1114 -//CancelConstruction() now returns if the cancellation was successful. //
969 +(% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. //
1115 1115  )))
1116 -
1117 -----
1118 -
1119 -=== Version 1.32 ===
1120 -
1121 -(% class="wrapped" %)
971 +|(% colspan="4" %)(% colspan="4" %)
972 +(((
973 +== 1.32 ==
974 +)))
1122 1122  |(((
1123 1123  UI extensions
1124 1124  )))|(((
1125 1125  1.32
1126 -)))|(% colspan="2" %)(((
979 +)))|(((
1127 1127  **Lua: GetComponentData() **removed the "nextdestname" property.
981 +)))|(% colspan="1" %)(% colspan="1" %)
982 +(((
983 +
1128 1128  )))
1129 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
985 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1130 1130  (((
1131 1131  //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
1132 1132  )))
1133 -
1134 -----
1135 -
1136 -=== Version 1.20 ===
1137 -
1138 -(% class="wrapped" %)
989 +|(% colspan="4" %)(% colspan="4" %)
990 +(((
991 +== 1.20 ==
992 +)))
1139 1139  |(((
1140 1140  UI extensions
1141 1141  )))|(((
1142 1142  1.20
1143 -)))|(% colspan="2" %)(((
1144 -**FFI: GetAAOption()** got a new "useconfig" parameter.
997 +)))|(((
998 +**FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %)
999 +)))|(% colspan="1" %)(% colspan="1" %)
1000 +(((
1001 +
1145 1145  )))
1146 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1003 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
1147 1147  (((
1148 -//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.//
1005 +//The AA setting was changed to check the new setting with the user. In order to restore the old setting (% style="color: rgb(0,0,0);" %)GetAAOption() gets the option to retrieve the config settings.//
1149 1149  )))
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -78577854
1 +101548222
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/78577854/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101548222/Breaking Changes