Changes for page Breaking Changes

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

From version 56.1
edited by owen
on 2020/01/29 16:57
Change comment: There is no comment for this version
To version 16.1
edited by klaus
on 2019/02/01 16:14
Change comment: Added some pre-2.0 notes

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.owen
1 +xwiki:XWiki.klaus
Content
... ... @@ -25,442 +25,11 @@
25 25  )))|=(((
26 26  Summary
27 27  )))
28 -|(% colspan="3" %)(% colspan="3" %)
29 -(((
30 -== 3.00 ==
31 -)))
32 -|(% colspan="1" %)(% colspan="1" %)
33 -(((
34 -Scripts
35 -)))|(% colspan="1" %)(% colspan="1" %)
36 -(((
37 -3.0 Beta 6
38 -)))|(% colspan="1" %)(% colspan="1" %)
39 -(((
40 -Changed behaviour of script action <get_ware_definition/>
41 -)))
42 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
43 -(((
44 -//<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.//
45 -)))
46 -|(% colspan="1" %)(% colspan="1" %)
47 -(((
48 -Global
49 -)))|(% colspan="1" %)(% colspan="1" %)
50 -(((
51 -3.0 Beta 5
52 -)))|(% colspan="1" %)(% colspan="1" %)
53 -(((
54 -Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case
55 -)))
56 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
57 -(((
58 -//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.)\\
59 -
60 -//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).//
61 -)))
62 -|(% colspan="1" %)(% colspan="1" %)
63 -(((
64 -Scripts
65 -)))|(% colspan="1" %)(% colspan="1" %)
66 -(((
67 -3.0 Beta 5
68 -)))|(% colspan="1" %)(% colspan="1" %)
69 -(((
70 -Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions>
71 -)))
72 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
73 -(((
74 -//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.//
75 -)))
76 -|(% colspan="1" %)(% colspan="1" %)
77 -(((
78 -Scripts
79 -)))|(% colspan="1" %)(% colspan="1" %)
80 -(((
81 -3.0 Beta 5
82 -)))|(% colspan="1" %)(% colspan="1" %)
83 -(((
84 -Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos**
85 -)))
86 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
87 -(((
88 -//Before the change, positions are relative to $dockingbay.parent.
89 -After the change, positions are relative to $dockingbay as specified in the documentation.//
90 -)))
91 -|(% colspan="1" %)(% colspan="1" %)
92 -(((
93 -Global
94 -)))|(% colspan="1" %)(% colspan="1" %)
95 -(((
96 -3.0 Beta 2
97 -)))|(% colspan="1" %)(% colspan="1" %)
98 -(((
99 -Support for entity flag "**skillsvisible**" dropped
100 -)))
101 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
102 -(((
103 -//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().//
104 -)))
105 105  |(((
106 -Scripts
107 -)))|(((
108 -3.0 Beta 2
109 -)))|(((
110 -Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**.
111 -)))
112 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
113 -(((
114 -//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.
115 -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.
116 -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.
117 -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).
118 -)))
119 -|(% colspan="1" %)(% colspan="1" %)
120 -(((
121 -Global
122 -)))|(% colspan="1" %)(% colspan="1" %)
123 -(((
124 -3.0 Beta 1
125 -)))|(% colspan="1" %)(% colspan="1" %)
126 -(((
127 -**MissionBoard** support dropped
128 -)))
129 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
130 -(((
131 -//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.//
132 -)))
133 -|(((
134 -Job/God
135 -)))|(((
136 -3.0 Beta 1
137 -)))|(((
138 -By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined
139 -)))
140 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
141 -(((
142 -//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.//
143 -)))
144 -|(% colspan="1" %)(% colspan="1" %)
145 -(((
146 -Scripts
147 -)))|(% colspan="1" %)(% colspan="1" %)
148 -(((
149 -3.0 Beta 1
150 -)))|(% colspan="1" %)(% colspan="1" %)
151 -(((
152 -Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'**
153 -)))
154 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
155 -(((
156 -//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.//
157 -)))
158 -|(% colspan="1" %)(% colspan="1" %)
159 -(((
160 -Scripts
161 -)))|(% colspan="1" %)(% colspan="1" %)
162 -(((
163 -3.0 Beta 1
164 -)))|(% colspan="1" %)(% colspan="1" %)
165 -(((
166 -Script action **<set_doors_locked/>** attribute **'group'** changed
167 -)))
168 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
169 -(((
170 -//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.//
171 -)))
172 -|(% colspan="1" %)(% colspan="1" %)
173 -(((
174 -Scripts
175 -)))|(% colspan="1" %)(% colspan="1" %)
176 -(((
177 -3.0 Beta 1
178 -)))|(% colspan="1" %)(% colspan="1" %)
179 -(((
180 -Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed
181 -)))
182 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
183 -(((
184 -//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.//
185 -)))
186 -|(% colspan="1" %)(% colspan="1" %)
187 -(((
188 -Scripts
189 -)))|(% colspan="1" %)(% colspan="1" %)
190 -(((
191 -3.0 Beta 1
192 -)))|(% colspan="1" %)(% colspan="1" %)
193 -(((
194 -Script actions **<set_hack_target/>** and **<abort_hack/>** removed
195 -)))
196 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
197 -(((
198 -//These actions had no effect and were removed.//
199 -)))
200 -|(% colspan="1" %)(% colspan="1" %)
201 -(((
202 -Scripts
203 -)))|(% colspan="1" %)(% colspan="1" %)
204 -(((
205 -3.0 Beta 1
206 -)))|(% colspan="1" %)(% colspan="1" %)
207 -(((
208 -**<setup_conversation_minigame/>** script action removed
209 -)))
210 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
211 -(((
212 -//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.//
213 -)))
214 -|(% colspan="1" %)(% colspan="1" %)
215 -(((
216 -Scripts
217 -)))|(% colspan="1" %)(% colspan="1" %)
218 -(((
219 -3.0 Beta 1
220 -)))|(% colspan="1" %)(% colspan="1" %)
221 -(((
222 -<add_player_choice_*> **confidence** attribute removed
223 -)))
224 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
225 -(((
226 -//The default confidence of player options is another leftover from the XR era and had no effect in X4.//
227 -)))
228 -|(% colspan="1" %)(% colspan="1" %)
229 -(((
230 -Scripts
231 -)))|(% colspan="1" %)(% colspan="1" %)
232 -(((
233 -3.0 Beta 1
234 -)))|(% colspan="1" %)(% colspan="1" %)
235 -(((
236 -**<hack_via_control_panel/>** script action removed
237 -)))
238 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
239 -(((
240 -//Unused script action <hack_via_control_panel/> was removed.//
241 -)))
242 -|(% colspan="1" %)(% colspan="1" %)
243 -(((
244 -UI core
245 -)))|(% colspan="1" %)(% colspan="1" %)
246 -(((
247 -3.0 Beta 1
248 -)))|(% colspan="1" %)(% colspan="1" %)
249 -(((
250 -**Lua: **GetMiniGameCursorPosition() removed
251 -)))
252 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
253 -(((
254 -//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.//
255 -)))
256 -|(((
257 -UI core
258 -)))|(((
259 -3.0 Beta 1
260 -)))|(((
261 -**FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders
262 -)))
263 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
264 -(((
265 -//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.//
266 -)))
267 -|(% colspan="1" %)(% colspan="1" %)
268 -(((
269 269  UI extensions
270 -)))|(% colspan="1" %)(% colspan="1" %)
271 -(((
272 -3.0 Beta 1
273 -)))|(% colspan="1" %)(% colspan="1" %)
274 -(((
275 -**FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor
276 -)))
277 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
278 -(((
279 -//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.//
280 -)))
281 -|(% colspan="1" %)(% colspan="1" %)
282 -(((
283 -Scripts
284 -)))|(% colspan="1" %)(% colspan="1" %)
285 -(((
286 -3.0 Beta 1
287 -)))|(% colspan="1" %)(% colspan="1" %)
288 -(((
289 -**$ware.illegal** updated
290 -)))
291 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
292 -(((
293 -//$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.//
294 -//It now returns true if $ware is illegal to any faction in the game.//
295 -)))
296 -|(% colspan="1" %)(% colspan="1" %)
297 -(((
298 -Scripts
299 -)))|(% colspan="1" %)(% colspan="1" %)
300 -(((
301 -3.0 Beta 1
302 -)))|(% colspan="1" %)(% colspan="1" %)
303 -(((
304 -MD script **RML_Flight_Along_Path** removed
305 -)))
306 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
307 -(((
308 -//The MD script RML_Flight_Along_Path was not referened and was removed.//
309 -)))
310 -|(% colspan="1" %)(% colspan="1" %)
311 -(((
312 -Scripts
313 -)))|(% colspan="1" %)(% colspan="1" %)
314 -(((
315 -3.0 Beta 1
316 -)))|(% colspan="1" %)(% colspan="1" %)
317 -(((
318 -parameters of **<event_venture_mission_completed/>** changed
319 -)))
320 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
321 -(((
322 -//old params: param = venture details, param2 = ships involved, param3 = duration//
323 -//new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration//
324 -)))
325 -|(((
326 -Scripts
327 327  )))|(((
328 -3.0 Beta 1
31 +2.0 Beta 1
329 329  )))|(((
330 -**<set_object_wing_name/>** removed,
331 -**<set_object_fleet_name/>** added
332 -)))
333 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
334 -(((
335 -//The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>//
336 -)))
337 -|(((
338 -Scripts
339 -)))|(((
340 -3.0 Beta 1
341 -)))|(((
342 -**$controllable.wing.*** removed,
343 -**$controllable.fleet.*** added
344 -)))
345 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
346 -(((
347 -$controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander
348 -)))
349 -|(% colspan="3" %)(% colspan="3" %)
350 -(((
351 -== 2.60 ==
352 -)))
353 -|(((
354 -Scripts
355 -)))|(((
356 -2.60 Beta 1
357 -)))|(((
358 -'**checkoperational**' filter behaviour changed
359 -)))
360 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
361 -(((
362 -//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.//
363 -
364 -//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.//
365 -)))
366 -|(((
367 -Scripts
368 -)))|(((
369 -2.60 Beta 1
370 -)))|(((
371 -$container.**supplyresources** behavior changed
372 -)))
373 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
374 -(((
375 -//The script keyword $container.supplyresources now includes reserved wares.//
376 -)))
377 -|(% colspan="3" %)(% colspan="3" %)
378 -(((
379 -== 2.20 ==
380 -)))
381 -|(% colspan="1" %)(% colspan="1" %)
382 -(((
383 -UI core
384 -)))|(% colspan="1" %)(% colspan="1" %)
385 -(((
386 -2.20 Beta 3/4
387 -)))|(% colspan="1" %)(% colspan="1" %)
388 -(((
389 -**Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined.
390 -)))
391 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
392 -(((
393 -//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.
394 -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.//
395 -
396 -//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.
397 -//
398 -)))
399 -|(% colspan="1" %)(% colspan="1" %)
400 -(((
401 -Scripts
402 -)))|(% colspan="1" %)(% colspan="1" %)
403 -(((
404 -2.20 Beta 3
405 -)))|(% colspan="1" %)(% colspan="1" %)
406 -(((
407 -Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor'
408 -)))
409 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
410 -(((
411 -//The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.//
412 -)))
413 -|(% colspan="3" %)(% colspan="3" %)
414 -(((
415 -== 2.00 ==
416 -)))
417 -|(% colspan="1" %)(% colspan="1" %)
418 -(((
419 -Scripts
420 -)))|(% colspan="1" %)(% colspan="1" %)
421 -(((
422 -2.00 Beta 1
423 -)))|(% colspan="1" %)(% colspan="1" %)
424 -(((
425 -**<event_build_finished/> **param2 now returns null instead of a construction sequence
426 -)))
427 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
428 -(((
429 -//The construction sequence which was finished should now be accessed via the buildtask provided via param3.//
430 -)))
431 -|(% colspan="1" %)(% colspan="1" %)
432 -(((
433 -Scripts
434 -)))|(% colspan="1" %)(% colspan="1" %)
435 -(((
436 -2.00 Beta 1
437 -)))|(% colspan="1" %)(% colspan="1" %)
438 -(((
439 -**param.boarding.{...}** strength parameters removed
440 -)))
441 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
442 -(((
443 -//The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.//
444 -)))
445 -|(% colspan="1" %)(% colspan="1" %)
446 -(((
447 -Scripts
448 -)))|(% colspan="1" %)(% colspan="1" %)
449 -(((
450 -2.00 Beta 1
451 -)))|(% colspan="1" %)(% colspan="1" %)
452 -(((
453 -**$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed
454 -)))
455 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
456 -(((
457 -//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.//
458 -)))
459 -|(((
460 -UI extensions
461 -)))|(((
462 -2.00 Beta 1
463 -)))|(((
464 464  **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals
465 465  )))
466 466  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
... ... @@ -470,7 +470,7 @@
470 470  |(((
471 471  UI extensions
472 472  )))|(((
473 -2.00 Beta 1
42 +2.0 Beta 1
474 474  )))|(((
475 475  **FFI: SetFormationShape()** no longer indicates an error upon certain error cases
476 476  )))
... ... @@ -482,7 +482,7 @@
482 482  |(((
483 483  Scripts
484 484  )))|(((
485 -2.00 Beta 1
54 +2.0 Beta 1
486 486  )))|(((
487 487  **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated.
488 488  )))
... ... @@ -493,7 +493,7 @@
493 493  |(((
494 494  Scripts
495 495  )))|(((
496 -2.00 Beta 1
65 +2.0 Beta 1
497 497  )))|(((
498 498  **<event_player_changed_target/>** now fires and returns null if the player deselects a target.
499 499  )))
... ... @@ -504,9 +504,9 @@
504 504  |(((
505 505  AI Scripts
506 506  )))|(((
507 -2.00 Beta 1
76 +2.0 Beta 1
508 508  )))|(((
509 -**<shoot/>/<shoot_at/>** attribute changes.
78 +Attribute changes to **<shoot/>** and **<shoot_at/>**
510 510  )))
511 511  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
512 512  (((
... ... @@ -517,70 +517,11 @@
517 517  //Corrects now-obsolete assumption that primary weapon groups only contain guns and secondary weapon groups only contain missile launchers.//
518 518  )))
519 519  |(((
520 -UI extensions
521 -)))|(((
522 -2.00 Beta 1
523 -)))|(((
524 -**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %)
525 -)))
526 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
527 -(((
528 -//Added possibility to query build tasks of a certain buildmodule.//
529 -)))
530 -|(((
531 -UI extensions
532 -)))|(((
533 -2.00 Beta 1
534 -)))|(((
535 -**Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field.
536 -)))
537 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
538 -(((
539 -//Added list of resources a buildmodule needs to build.//
540 -)))
541 -|(((
542 -UI extensions
543 -)))|(((
544 -2.00 Beta 1
545 -)))|(((
546 -(% 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);" %)
547 -)))
548 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
549 -(((
550 -//Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.//
551 -)))
552 -|(((
553 -UI extensions
554 -)))|(((
555 -2.00 Beta 1
556 -)))|(((
557 -**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" %)
558 -)))
559 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
560 -(((
561 -//Changed return value type to const char* to better identify failure reasons in Lua script.//
562 -)))
563 -|(% colspan="3" %)(% colspan="3" %)
564 -(((
565 -== 1.50 ==
566 -)))
567 -|(((
568 -UI extensions
569 -)))|(((
570 -1.50 Beta 3
571 -)))|(((
572 -**Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %)
573 -)))
574 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
575 -(((
576 -//The "docksizes" property no longer includes internal ship storage docks.//
577 -)))
578 -|(((
579 579  All
580 580  )))|(((
581 581  1.50 Beta 2
582 582  )))|(((
583 -**Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR).
93 +Corrected **meaning of "Shipyard"** throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR).
584 584  )))
585 585  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
586 586  (((
... ... @@ -590,17 +590,6 @@
590 590  //Lua / GetComponentData() properties: Removed "iscapitalshipyard", fixed "isshipyard", added "canbuildships", "iswharf", "isequipmentdock"//
591 591  //Scripts: Fixed property .isshipyard, added .iswharf (.canbuildships existed already)//
592 592  )))
593 -|(((
594 -UI extensions
595 -)))|(((
596 -1.50 Beta 2
597 -)))|(((
598 -**FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %)
599 -)))
600 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
601 -(((
602 -//Added new "operational" field to retrieve information about number of operational upgrades in a group.//
603 -)))
604 604  |(% colspan="1" %)(% colspan="1" %)
605 605  (((
606 606  UI extensions
... ... @@ -609,53 +609,20 @@
609 609  1.50 Beta 1
610 610  )))|(% colspan="1" %)(% colspan="1" %)
611 611  (((
612 -**FFI: SetGuidance()** removed useinfopoint argument.
111 +**FFI:** Removed **SetGuidance()** argument useinfopoint.
613 613  )))
614 614  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
615 615  (((
616 -//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.
617 -//
618 -
619 -//The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)//
115 +//The deprecated third argument was removed. The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)//
620 620  )))
621 621  |(((
622 622  UI extensions
623 623  )))|(((
624 -1.50 Beta 1
625 -)))|(((
626 -**FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %)
627 -)))
628 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
629 -(((
630 -(% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. //
631 -)))
632 -|(% colspan="3" %)(% colspan="3" %)
633 -(((
634 -== 1.32 ==
635 -)))
636 -|(((
637 -UI extensions
638 -)))|(((
639 639  1.32
640 640  )))|(((
641 -**Lua: GetComponentData() **removed the "nextdestname" property.
122 +**Lua:** Removed **GetComponentData()** property "**nextdestname**".
642 642  )))
643 643  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
644 644  (((
645 -//Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
126 +//Instead of "nextdestname", use the GetComponentData() properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
646 646  )))
647 -|(% colspan="3" %)(% colspan="3" %)
648 -(((
649 -== 1.20 ==
650 -)))
651 -|(((
652 -UI extensions
653 -)))|(((
654 -1.20
655 -)))|(((
656 -**FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %)
657 -)))
658 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
659 -(((
660 -//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.//
661 -)))
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -90539273
1 +78577909
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/90539273/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/78577909/Breaking Changes