Changes for page Breaking Changes

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

From version 32.1
edited by owen
on 2019/06/26 10:11
Change comment: There is no comment for this version
To version 86.1
edited by owen
on 2021/06/10 12:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -24,50 +24,430 @@
24 24  Version
25 25  )))|=(((
26 26  Summary
27 +)))|=(% colspan="1" %)(% colspan="1" %)
28 +(((
29 +
27 27  )))
31 +|(% colspan="4" %)(% colspan="4" %)
32 +(((
33 +== 4.10 ==
34 +)))
35 +|(((
36 +Scripts
37 +)))|(((
38 +4.10 Beta 1
39 +)))|(((
40 +People related attributes of mission** <delivery> **node moved
41 +)))|(((
42 +
43 +)))
44 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
45 +(((
46 +//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.//
47 +)))
48 +|(% colspan="4" %)(% colspan="4" %)
49 +(((
50 +== 4.10 ==
51 +)))
28 28  |(% colspan="1" %)(% colspan="1" %)
29 29  (((
30 30  Scripts
31 31  )))|(% colspan="1" %)(% colspan="1" %)
32 32  (((
33 -3.0 Beta 1
57 +4.10 Beta 1
34 34  )))|(% colspan="1" %)(% colspan="1" %)
35 35  (((
36 -<hack_via_control_panel/> script action removed
60 +**$destructible.productions** replaced with $defensible.productions
61 +)))|(% colspan="1" %)(% colspan="1" %)
62 +(((
63 +
37 37  )))
38 38  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
39 39  (((
40 -Unused script action <hack_via_control_panel/> was removed.
67 +//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.//
68 +)))|(% colspan="1" %)(% colspan="1" %)
69 +(((
70 +
41 41  )))
72 +|(((
73 +Scripts
74 +)))|(((
75 +4.10 Beta 1
76 +)))|(((
77 +Removed script property **$object.spawnsourceseed**
78 +)))|(((
79 +
80 +)))
81 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
82 +(((
83 +//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.//
84 +)))
85 +|(% colspan="4" %)(% colspan="4" %)
86 +(((
87 +== 4.00 ==
88 +)))
42 42  |(% colspan="1" %)(% colspan="1" %)
43 43  (((
44 44  UI core
45 45  )))|(% colspan="1" %)(% colspan="1" %)
46 46  (((
47 -3.0 Beta 1
94 +4.00 Beta 10
48 48  )))|(% colspan="1" %)(% colspan="1" %)
49 49  (((
50 -**Lua: **GetMiniGameCursorPosition() removed
97 +Controlled ship can change without a **gameplanchange-event** occurring.
98 +)))|(% colspan="1" %)(% colspan="1" %)
99 +(((
100 +
51 51  )))
52 52  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
53 53  (((
54 -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.
104 +//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).
105 +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.
106 +//
107 +)))|(% colspan="1" %)(% colspan="1" %)
108 +(((
109 +
55 55  )))
111 +|(((
112 +Scripts
113 +)))|(((
114 +4.00 Beta 7
115 +)))|(((
116 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed
117 +)))|(((
118 +
119 +)))
120 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
121 +(((
122 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
123 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits
124 +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//
125 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
126 +(((
127 +
128 +)))
56 56  |(% colspan="1" %)(% colspan="1" %)
57 57  (((
131 +UI core
132 +)))|(% colspan="1" %)(% colspan="1" %)
133 +(((
134 +4.00 Beta 6
135 +)))|(% colspan="1" %)(% colspan="1" %)
136 +(((
137 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed
138 +)))|(% colspan="1" %)(% colspan="1" %)
139 +(((
140 +
141 +)))
142 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
143 +(((
144 +//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.
145 +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).//
146 +
147 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
148 +//
149 +)))|(% colspan="1" %)(% colspan="1" %)
150 +(((
151 +
152 +)))
153 +|(% colspan="1" %)(% colspan="1" %)
154 +(((
155 +UI core
156 +)))|(% colspan="1" %)(% colspan="1" %)
157 +(((
158 +4.00 Beta 5
159 +)))|(% colspan="1" %)(% colspan="1" %)
160 +(((
161 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
162 +)))|(% colspan="1" %)(% colspan="1" %)
163 +(((
164 +
165 +)))
166 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
167 +(((
168 +//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.//
169 +
170 +//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).
171 +)))|(% colspan="1" %)(% colspan="1" %)
172 +(((
173 +
174 +)))
175 +|(((
176 +Parameters
177 +)))|(((
178 +4.00 Beta 1
179 +)))|(((
180 +**requiresconstructionvessel** parameter moved
181 +)))|(((
182 +
183 +)))
184 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
185 +(((
186 +//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.//
187 +)))
188 +|(((
58 58  Scripts
190 +)))|(((
191 +4.00 Beta 1
192 +)))|(((
193 +Changed behaviour of **gatedistance** script property
194 +)))|(((
195 +
196 +)))
197 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
198 +(((
199 +//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.//
200 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
201 +(((
202 +
203 +)))
204 +|(% colspan="4" %)(% colspan="4" %)
205 +(((
206 +== 3.30 ==
207 +)))
208 +|(((
209 +UI extensions
210 +)))|(((
211 +3.30 Beta 3
212 +)))|(((
213 +**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()**
59 59  )))|(% colspan="1" %)(% colspan="1" %)
60 60  (((
216 +
217 +)))
218 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
219 +(((
220 +//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()//
221 +)))
222 +|(% colspan="4" %)(% colspan="4" %)
223 +(((
224 +== 3.20 ==
225 +)))
226 +|(((
227 +Scripts
228 +)))|(((
229 +3.20 Beta 1
230 +)))|(((
231 +Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed
232 +)))|(% colspan="1" %)(% colspan="1" %)
233 +(((
234 +
235 +)))
236 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
237 +(((
238 +//Old params: param = attacked object, param2 = attack method, param3 = attacked component//
239 +//New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon]
240 +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//
241 +)))
242 +|(% colspan="1" %)(% colspan="1" %)
243 +(((
244 +Scripts
245 +)))|(% colspan="1" %)(% colspan="1" %)
246 +(((
247 +3.20 Beta 1
248 +)))|(% colspan="1" %)(% colspan="1" %)
249 +(((
250 +Removed script property $trade.**restriction.faction**
251 +)))|(% colspan="1" %)(% colspan="1" %)
252 +(((
253 +
254 +)))
255 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
256 +(((
257 +//$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.//
258 +)))
259 +|(((
260 +UI extensions
261 +)))|(((
262 +3.20 Beta 1
263 +)))|(((
264 +**Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete!
265 +)))|(% colspan="1" %)(% colspan="1" %)
266 +(((
267 +
268 +)))
269 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
270 +(((
271 +//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.//
272 +)))
273 +|(% colspan="4" %)(% colspan="4" %)
274 +(((
275 +== 3.10 ==
276 +)))
277 +|(% colspan="1" %)(% colspan="1" %)
278 +(((
279 +Scripts
280 +)))|(% colspan="1" %)(% colspan="1" %)
281 +(((
282 +3.10 Beta 1
283 +)))|(% colspan="1" %)(% colspan="1" %)
284 +(((
285 +Removed script action **<add_build/>**
286 +)))|(% colspan="1" %)(% colspan="1" %)
287 +(((
288 +
289 +)))
290 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
291 +(((
292 +//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.//
293 +)))
294 +|(% colspan="4" %)(% colspan="4" %)
295 +(((
296 +== 3.00 ==
297 +)))
298 +|(% colspan="1" %)(% colspan="1" %)
299 +(((
300 +Scripts
301 +)))|(% colspan="1" %)(% colspan="1" %)
302 +(((
303 +3.0 Beta 6
304 +)))|(% colspan="1" %)(% colspan="1" %)
305 +(((
306 +Changed behaviour of script action **<get_suitable_job/>**
307 +)))|(% colspan="1" %)(% colspan="1" %)
308 +(((
309 +
310 +)))
311 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
312 +(((
313 +//<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.//
314 +)))
315 +|(% colspan="1" %)(% colspan="1" %)
316 +(((
317 +Scripts
318 +)))|(% colspan="1" %)(% colspan="1" %)
319 +(((
320 +3.0 Beta 6
321 +)))|(% colspan="1" %)(% colspan="1" %)
322 +(((
323 +Changed behaviour of script action **<get_ware_definition/>**
324 +)))|(% colspan="1" %)(% colspan="1" %)
325 +(((
326 +
327 +)))
328 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
329 +(((
330 +//<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.//
331 +)))
332 +|(% colspan="1" %)(% colspan="1" %)
333 +(((
334 +Global
335 +)))|(% colspan="1" %)(% colspan="1" %)
336 +(((
337 +3.0 Beta 5
338 +)))|(% colspan="1" %)(% colspan="1" %)
339 +(((
340 +Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case
341 +)))|(% colspan="1" %)(% colspan="1" %)
342 +(((
343 +
344 +)))
345 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
346 +(((
347 +//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.)\\
348 +
349 +//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).//
350 +)))
351 +|(% colspan="1" %)(% colspan="1" %)
352 +(((
353 +Scripts
354 +)))|(% colspan="1" %)(% colspan="1" %)
355 +(((
356 +3.0 Beta 5
357 +)))|(% colspan="1" %)(% colspan="1" %)
358 +(((
359 +Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions>
360 +)))|(% colspan="1" %)(% colspan="1" %)
361 +(((
362 +
363 +)))
364 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
365 +(((
366 +//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.//
367 +)))
368 +|(% colspan="1" %)(% colspan="1" %)
369 +(((
370 +Scripts
371 +)))|(% colspan="1" %)(% colspan="1" %)
372 +(((
373 +3.0 Beta 5
374 +)))|(% colspan="1" %)(% colspan="1" %)
375 +(((
376 +Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos**
377 +)))|(% colspan="1" %)(% colspan="1" %)
378 +(((
379 +
380 +)))
381 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
382 +(((
383 +//Before the change, positions are relative to $dockingbay.parent.
384 +After the change, positions are relative to $dockingbay as specified in the documentation.//
385 +)))
386 +|(% colspan="1" %)(% colspan="1" %)
387 +(((
388 +Global
389 +)))|(% colspan="1" %)(% colspan="1" %)
390 +(((
391 +3.0 Beta 2
392 +)))|(% colspan="1" %)(% colspan="1" %)
393 +(((
394 +Support for entity flag "**skillsvisible**" dropped
395 +)))|(% colspan="1" %)(% colspan="1" %)
396 +(((
397 +
398 +)))
399 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
400 +(((
401 +//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().//
402 +)))
403 +|(((
404 +Scripts
405 +)))|(((
406 +3.0 Beta 2
407 +)))|(((
408 +Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**.
409 +)))|(% colspan="1" %)(% colspan="1" %)
410 +(((
411 +
412 +)))
413 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
414 +(((
415 +//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.
416 +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.
417 +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.
418 +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).
419 +)))
420 +|(% colspan="1" %)(% colspan="1" %)
421 +(((
422 +Global
423 +)))|(% colspan="1" %)(% colspan="1" %)
424 +(((
61 61  3.0 Beta 1
62 62  )))|(% colspan="1" %)(% colspan="1" %)
63 63  (((
64 -$ware.illegal updated
428 +**MissionBoard** support dropped
429 +)))|(% colspan="1" %)(% colspan="1" %)
430 +(((
431 +
65 65  )))
66 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
433 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
67 67  (((
68 -$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.
69 -\\It now returns true if $ware is illegal to any faction in the game.
435 +//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.//
70 70  )))
437 +|(((
438 +Job/God
439 +)))|(((
440 +3.0 Beta 1
441 +)))|(((
442 +By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined
443 +)))|(% colspan="1" %)(% colspan="1" %)
444 +(((
445 +
446 +)))
447 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
448 +(((
449 +//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.//
450 +)))
71 71  |(% colspan="1" %)(% colspan="1" %)
72 72  (((
73 73  Scripts
... ... @@ -76,13 +76,14 @@
76 76  3.0 Beta 1
77 77  )))|(% colspan="1" %)(% colspan="1" %)
78 78  (((
79 -'checkoperational' filter behaviour changed
459 +Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'**
460 +)))|(% colspan="1" %)(% colspan="1" %)
461 +(((
462 +
80 80  )))
81 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
464 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
82 82  (((
83 -//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.//
84 -
85 -//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.//
466 +//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.//
86 86  )))
87 87  |(% colspan="1" %)(% colspan="1" %)
88 88  (((
... ... @@ -92,14 +92,271 @@
92 92  3.0 Beta 1
93 93  )))|(% colspan="1" %)(% colspan="1" %)
94 94  (((
476 +Script action **<set_doors_locked/>** attribute **'group'** changed
477 +)))|(% colspan="1" %)(% colspan="1" %)
478 +(((
479 +
480 +)))
481 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
482 +(((
483 +//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.//
484 +)))
485 +|(% colspan="1" %)(% colspan="1" %)
486 +(((
487 +Scripts
488 +)))|(% colspan="1" %)(% colspan="1" %)
489 +(((
490 +3.0 Beta 1
491 +)))|(% colspan="1" %)(% colspan="1" %)
492 +(((
493 +Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed
494 +)))|(% colspan="1" %)(% colspan="1" %)
495 +(((
496 +
497 +)))
498 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
499 +(((
500 +//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.//
501 +)))
502 +|(% colspan="1" %)(% colspan="1" %)
503 +(((
504 +Scripts
505 +)))|(% colspan="1" %)(% colspan="1" %)
506 +(((
507 +3.0 Beta 1
508 +)))|(% colspan="1" %)(% colspan="1" %)
509 +(((
510 +Script actions **<set_hack_target/>** and **<abort_hack/>** removed
511 +)))|(% colspan="1" %)(% colspan="1" %)
512 +(((
513 +
514 +)))
515 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
516 +(((
517 +//These actions had no effect and were removed.//
518 +)))
519 +|(% colspan="1" %)(% colspan="1" %)
520 +(((
521 +Scripts
522 +)))|(% colspan="1" %)(% colspan="1" %)
523 +(((
524 +3.0 Beta 1
525 +)))|(% colspan="1" %)(% colspan="1" %)
526 +(((
527 +**<setup_conversation_minigame/>** script action removed
528 +)))|(% colspan="1" %)(% colspan="1" %)
529 +(((
530 +
531 +)))
532 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
533 +(((
534 +//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.//
535 +)))
536 +|(% colspan="1" %)(% colspan="1" %)
537 +(((
538 +Scripts
539 +)))|(% colspan="1" %)(% colspan="1" %)
540 +(((
541 +3.0 Beta 1
542 +)))|(% colspan="1" %)(% colspan="1" %)
543 +(((
544 +<add_player_choice_*> **confidence** attribute removed
545 +)))|(% colspan="1" %)(% colspan="1" %)
546 +(((
547 +
548 +)))
549 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
550 +(((
551 +//The default confidence of player options is another leftover from the XR era and had no effect in X4.//
552 +)))
553 +|(% colspan="1" %)(% colspan="1" %)
554 +(((
555 +Scripts
556 +)))|(% colspan="1" %)(% colspan="1" %)
557 +(((
558 +3.0 Beta 1
559 +)))|(% colspan="1" %)(% colspan="1" %)
560 +(((
561 +**<hack_via_control_panel/>** script action removed
562 +)))|(% colspan="1" %)(% colspan="1" %)
563 +(((
564 +
565 +)))
566 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
567 +(((
568 +//Unused script action <hack_via_control_panel/> was removed.//
569 +)))
570 +|(% colspan="1" %)(% colspan="1" %)
571 +(((
572 +UI core
573 +)))|(% colspan="1" %)(% colspan="1" %)
574 +(((
575 +3.0 Beta 1
576 +)))|(% colspan="1" %)(% colspan="1" %)
577 +(((
578 +**Lua: **GetMiniGameCursorPosition() removed
579 +)))|(% colspan="1" %)(% colspan="1" %)
580 +(((
581 +
582 +)))
583 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
584 +(((
585 +//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.//
586 +)))
587 +|(((
588 +UI core
589 +)))|(((
590 +3.0 Beta 1
591 +)))|(((
592 +**FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders
593 +)))|(% colspan="1" %)(% colspan="1" %)
594 +(((
595 +
596 +)))
597 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
598 +(((
599 +//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.//
600 +)))
601 +|(% colspan="1" %)(% colspan="1" %)
602 +(((
603 +UI extensions
604 +)))|(% colspan="1" %)(% colspan="1" %)
605 +(((
606 +3.0 Beta 1
607 +)))|(% colspan="1" %)(% colspan="1" %)
608 +(((
609 +**FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor
610 +)))|(% colspan="1" %)(% colspan="1" %)
611 +(((
612 +
613 +)))
614 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
615 +(((
616 +//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.//
617 +)))
618 +|(% colspan="1" %)(% colspan="1" %)
619 +(((
620 +Scripts
621 +)))|(% colspan="1" %)(% colspan="1" %)
622 +(((
623 +3.0 Beta 1
624 +)))|(% colspan="1" %)(% colspan="1" %)
625 +(((
626 +**$ware.illegal** updated
627 +)))|(% colspan="1" %)(% colspan="1" %)
628 +(((
629 +
630 +)))
631 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
632 +(((
633 +//$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.//
634 +//It now returns true if $ware is illegal to any faction in the game.//
635 +)))
636 +|(% colspan="1" %)(% colspan="1" %)
637 +(((
638 +Scripts
639 +)))|(% colspan="1" %)(% colspan="1" %)
640 +(((
641 +3.0 Beta 1
642 +)))|(% colspan="1" %)(% colspan="1" %)
643 +(((
95 95  MD script **RML_Flight_Along_Path** removed
645 +)))|(% colspan="1" %)(% colspan="1" %)
646 +(((
647 +
96 96  )))
97 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
649 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
98 98  (((
99 99  //The MD script RML_Flight_Along_Path was not referened and was removed.//
100 100  )))
101 101  |(% colspan="1" %)(% colspan="1" %)
102 102  (((
655 +Scripts
656 +)))|(% colspan="1" %)(% colspan="1" %)
657 +(((
658 +3.0 Beta 1
659 +)))|(% colspan="1" %)(% colspan="1" %)
660 +(((
661 +parameters of **<event_venture_mission_completed/>** changed
662 +)))|(% colspan="1" %)(% colspan="1" %)
663 +(((
664 +
665 +)))
666 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
667 +(((
668 +//old params: param = venture details, param2 = ships involved, param3 = duration//
669 +//new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration//
670 +)))
671 +|(((
672 +Scripts
673 +)))|(((
674 +3.0 Beta 1
675 +)))|(((
676 +**<set_object_wing_name/>** removed,
677 +**<set_object_fleet_name/>** added
678 +)))|(% colspan="1" %)(% colspan="1" %)
679 +(((
680 +
681 +)))
682 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
683 +(((
684 +//The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>//
685 +)))
686 +|(((
687 +Scripts
688 +)))|(((
689 +3.0 Beta 1
690 +)))|(((
691 +**$controllable.wing.*** removed,
692 +**$controllable.fleet.*** added
693 +)))|(% colspan="1" %)(% colspan="1" %)
694 +(((
695 +
696 +)))
697 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
698 +(((
699 +$controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander
700 +)))
701 +|(% colspan="4" %)(% colspan="4" %)
702 +(((
703 +== 2.60 ==
704 +)))
705 +|(((
706 +Scripts
707 +)))|(((
708 +2.60 Beta 1
709 +)))|(((
710 +'**checkoperational**' filter behaviour changed
711 +)))|(% colspan="1" %)(% colspan="1" %)
712 +(((
713 +
714 +)))
715 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
716 +(((
717 +//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.//
718 +
719 +//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.//
720 +)))
721 +|(((
722 +Scripts
723 +)))|(((
724 +2.60 Beta 1
725 +)))|(((
726 +$container.**supplyresources** behavior changed
727 +)))|(% colspan="1" %)(% colspan="1" %)
728 +(((
729 +
730 +)))
731 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
732 +(((
733 +//The script keyword $container.supplyresources now includes reserved wares.//
734 +)))
735 +|(% colspan="4" %)(% colspan="4" %)
736 +(((
737 +== 2.20 ==
738 +)))
739 +|(% colspan="1" %)(% colspan="1" %)
740 +(((
103 103  UI core
104 104  )))|(% colspan="1" %)(% colspan="1" %)
105 105  (((
... ... @@ -107,8 +107,11 @@
107 107  )))|(% colspan="1" %)(% colspan="1" %)
108 108  (((
109 109  **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined.
748 +)))|(% colspan="1" %)(% colspan="1" %)
749 +(((
750 +
110 110  )))
111 -|(% class="highlight-grey" colspan="3" 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" %)
112 112  (((
113 113  //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.
114 114  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.//
... ... @@ -125,11 +125,18 @@
125 125  )))|(% colspan="1" %)(% colspan="1" %)
126 126  (((
127 127  Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor'
769 +)))|(% colspan="1" %)(% colspan="1" %)
770 +(((
771 +
128 128  )))
129 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
773 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
130 130  (((
131 131  //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.//
132 132  )))
777 +|(% colspan="4" %)(% colspan="4" %)
778 +(((
779 +== 2.00 ==
780 +)))
133 133  |(% colspan="1" %)(% colspan="1" %)
134 134  (((
135 135  Scripts
... ... @@ -139,8 +139,11 @@
139 139  )))|(% colspan="1" %)(% colspan="1" %)
140 140  (((
141 141  **<event_build_finished/> **param2 now returns null instead of a construction sequence
790 +)))|(% colspan="1" %)(% colspan="1" %)
791 +(((
792 +
142 142  )))
143 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
794 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
144 144  (((
145 145  //The construction sequence which was finished should now be accessed via the buildtask provided via param3.//
146 146  )))
... ... @@ -153,8 +153,11 @@
153 153  )))|(% colspan="1" %)(% colspan="1" %)
154 154  (((
155 155  **param.boarding.{...}** strength parameters removed
807 +)))|(% colspan="1" %)(% colspan="1" %)
808 +(((
809 +
156 156  )))
157 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
811 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
158 158  (((
159 159  //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.//
160 160  )))
... ... @@ -167,8 +167,11 @@
167 167  )))|(% colspan="1" %)(% colspan="1" %)
168 168  (((
169 169  **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed
824 +)))|(% colspan="1" %)(% colspan="1" %)
825 +(((
826 +
170 170  )))
171 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
828 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
172 172  (((
173 173  //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.//
174 174  )))
... ... @@ -178,8 +178,11 @@
178 178  2.00 Beta 1
179 179  )))|(((
180 180  **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals
838 +)))|(% colspan="1" %)(% colspan="1" %)
839 +(((
840 +
181 181  )))
182 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
842 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
183 183  (((
184 184  //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.//
185 185  )))
... ... @@ -189,8 +189,11 @@
189 189  2.00 Beta 1
190 190  )))|(((
191 191  **FFI: SetFormationShape()** no longer indicates an error upon certain error cases
852 +)))|(% colspan="1" %)(% colspan="1" %)
853 +(((
854 +
192 192  )))
193 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
856 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
194 194  (((
195 195  //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.//
196 196  //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.//
... ... @@ -201,8 +201,11 @@
201 201  2.00 Beta 1
202 202  )))|(((
203 203  **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated.
867 +)))|(% colspan="1" %)(% colspan="1" %)
868 +(((
869 +
204 204  )))
205 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
871 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
206 206  (((
207 207  //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.//
208 208  )))
... ... @@ -212,8 +212,11 @@
212 212  2.00 Beta 1
213 213  )))|(((
214 214  **<event_player_changed_target/>** now fires and returns null if the player deselects a target.
881 +)))|(% colspan="1" %)(% colspan="1" %)
882 +(((
883 +
215 215  )))
216 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
885 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
217 217  (((
218 218  //For prior behavior, check for event.param being non-null.//
219 219  )))
... ... @@ -223,8 +223,11 @@
223 223  2.00 Beta 1
224 224  )))|(((
225 225  **<shoot/>/<shoot_at/>** attribute changes.
895 +)))|(% colspan="1" %)(% colspan="1" %)
896 +(((
897 +
226 226  )))
227 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
899 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
228 228  (((
229 229  //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.//
230 230  //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.//
... ... @@ -238,8 +238,11 @@
238 238  2.00 Beta 1
239 239  )))|(((
240 240  **FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %)
913 +)))|(% colspan="1" %)(% colspan="1" %)
914 +(((
915 +
241 241  )))
242 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
917 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
243 243  (((
244 244  //Added possibility to query build tasks of a certain buildmodule.//
245 245  )))
... ... @@ -249,8 +249,11 @@
249 249  2.00 Beta 1
250 250  )))|(((
251 251  **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field.
927 +)))|(% colspan="1" %)(% colspan="1" %)
928 +(((
929 +
252 252  )))
253 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
931 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
254 254  (((
255 255  //Added list of resources a buildmodule needs to build.//
256 256  )))
... ... @@ -260,8 +260,11 @@
260 260  2.00 Beta 1
261 261  )))|(((
262 262  (% 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);" %)
941 +)))|(% colspan="1" %)(% colspan="1" %)
942 +(((
943 +
263 263  )))
264 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
945 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
265 265  (((
266 266  //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.//
267 267  )))
... ... @@ -271,11 +271,18 @@
271 271  2.00 Beta 1
272 272  )))|(((
273 273  **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" %)
955 +)))|(% colspan="1" %)(% colspan="1" %)
956 +(((
957 +
274 274  )))
275 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
959 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
276 276  (((
277 277  //Changed return value type to const char* to better identify failure reasons in Lua script.//
278 278  )))
963 +|(% colspan="4" %)(% colspan="4" %)
964 +(((
965 +== 1.50 ==
966 +)))
279 279  |(((
280 280  UI extensions
281 281  )))|(((
... ... @@ -282,8 +282,11 @@
282 282  1.50 Beta 3
283 283  )))|(((
284 284  **Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %)
973 +)))|(% colspan="1" %)(% colspan="1" %)
974 +(((
975 +
285 285  )))
286 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
977 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
287 287  (((
288 288  //The "docksizes" property no longer includes internal ship storage docks.//
289 289  )))
... ... @@ -293,8 +293,11 @@
293 293  1.50 Beta 2
294 294  )))|(((
295 295  **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR).
987 +)))|(% colspan="1" %)(% colspan="1" %)
988 +(((
989 +
296 296  )))
297 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
991 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
298 298  (((
299 299  //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".//
300 300  
... ... @@ -308,8 +308,11 @@
308 308  1.50 Beta 2
309 309  )))|(((
310 310  **FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %)
1005 +)))|(% colspan="1" %)(% colspan="1" %)
1006 +(((
1007 +
311 311  )))
312 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1009 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
313 313  (((
314 314  //Added new "operational" field to retrieve information about number of operational upgrades in a group.//
315 315  )))
... ... @@ -322,8 +322,11 @@
322 322  )))|(% colspan="1" %)(% colspan="1" %)
323 323  (((
324 324  **FFI: SetGuidance()** removed useinfopoint argument.
1022 +)))|(% colspan="1" %)(% colspan="1" %)
1023 +(((
1024 +
325 325  )))
326 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1026 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
327 327  (((
328 328  //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.
329 329  //
... ... @@ -336,11 +336,18 @@
336 336  1.50 Beta 1
337 337  )))|(((
338 338  **FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %)
1039 +)))|(% colspan="1" %)(% colspan="1" %)
1040 +(((
1041 +
339 339  )))
340 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1043 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
341 341  (((
342 342  (% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. //
343 343  )))
1047 +|(% colspan="4" %)(% colspan="4" %)
1048 +(((
1049 +== 1.32 ==
1050 +)))
344 344  |(((
345 345  UI extensions
346 346  )))|(((
... ... @@ -347,11 +347,18 @@
347 347  1.32
348 348  )))|(((
349 349  **Lua: GetComponentData() **removed the "nextdestname" property.
1057 +)))|(% colspan="1" %)(% colspan="1" %)
1058 +(((
1059 +
350 350  )))
351 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1061 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
352 352  (((
353 353  //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
354 354  )))
1065 +|(% colspan="4" %)(% colspan="4" %)
1066 +(((
1067 +== 1.20 ==
1068 +)))
355 355  |(((
356 356  UI extensions
357 357  )))|(((
... ... @@ -358,8 +358,11 @@
358 358  1.20
359 359  )))|(((
360 360  **FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %)
1075 +)))|(% colspan="1" %)(% colspan="1" %)
1076 +(((
1077 +
361 361  )))
362 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
1079 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
363 363  (((
364 364  //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.//
365 365  )))
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -83460740
1 +103285157
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/83460740/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/103285157/Breaking Changes