Changes for page Breaking Changes

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

From version 70.1
edited by matthias
on 2020/10/20 08:43
Change comment: Added changed script property
To version 68.1
edited by florian
on 2020/07/06 07:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.matthias
1 +xwiki:XWiki.florian
Content
... ... @@ -24,45 +24,9 @@
24 24  Version
25 25  )))|=(((
26 26  Summary
27 -)))|=(% colspan="1" %)(% colspan="1" %)
28 -(((
29 -
30 30  )))
31 -|(% colspan="4" %)(% colspan="4" %)
28 +|(% colspan="3" %)(% colspan="3" %)
32 32  (((
33 -== 4.00 ==
34 -)))
35 -|(((
36 -Parameters
37 -)))|(((
38 -4.00 Beta 1
39 -)))|(((
40 -**requiresconstructionvessel** parameter 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 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.//
47 -)))
48 -|(((
49 -Scripts
50 -)))|(((
51 -4.00 Beta 1
52 -)))|(((
53 -Changed behaviour of **gatedistance** script property
54 -)))|(((
55 -
56 -)))
57 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
58 -(((
59 -//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.//
60 -)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
61 -(((
62 -
63 -)))
64 -|(% colspan="4" %)(% colspan="4" %)
65 -(((
66 66  == 3.30 ==
67 67  )))
68 68  |(((
... ... @@ -71,15 +71,12 @@
71 71  3.30 Beta 3
72 72  )))|(((
73 73  **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()**
74 -)))|(% colspan="1" %)(% colspan="1" %)
75 -(((
76 -
77 77  )))
78 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
39 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
79 79  (((
80 80  //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()//
81 81  )))
82 -|(% colspan="4" %)(% colspan="4" %)
43 +|(% colspan="3" %)(% colspan="3" %)
83 83  (((
84 84  == 3.20 ==
85 85  )))
... ... @@ -89,11 +89,8 @@
89 89  3.20 Beta 1
90 90  )))|(((
91 91  Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed
92 -)))|(% colspan="1" %)(% colspan="1" %)
93 -(((
94 -
95 95  )))
96 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
54 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
97 97  (((
98 98  //Old params: param = attacked object, param2 = attack method, param3 = attacked component//
99 99  //New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon]
... ... @@ -108,11 +108,8 @@
108 108  )))|(% colspan="1" %)(% colspan="1" %)
109 109  (((
110 110  Removed script property $trade.**restriction.faction**
111 -)))|(% colspan="1" %)(% colspan="1" %)
112 -(((
113 -
114 114  )))
115 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
70 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
116 116  (((
117 117  //$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.//
118 118  )))
... ... @@ -122,15 +122,12 @@
122 122  3.20 Beta 1
123 123  )))|(((
124 124  **Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete!
125 -)))|(% colspan="1" %)(% colspan="1" %)
126 -(((
127 -
128 128  )))
129 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
81 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
130 130  (((
131 131  //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.//
132 132  )))
133 -|(% colspan="4" %)(% colspan="4" %)
85 +|(% colspan="3" %)(% colspan="3" %)
134 134  (((
135 135  == 3.10 ==
136 136  )))
... ... @@ -143,15 +143,12 @@
143 143  )))|(% colspan="1" %)(% colspan="1" %)
144 144  (((
145 145  Removed script action **<add_build/>**
146 -)))|(% colspan="1" %)(% colspan="1" %)
147 -(((
148 -
149 149  )))
150 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
99 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
151 151  (((
152 152  //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.//
153 153  )))
154 -|(% colspan="4" %)(% colspan="4" %)
103 +|(% colspan="3" %)(% colspan="3" %)
155 155  (((
156 156  == 3.00 ==
157 157  )))
... ... @@ -164,11 +164,8 @@
164 164  )))|(% colspan="1" %)(% colspan="1" %)
165 165  (((
166 166  Changed behaviour of script action **<get_suitable_job/>**
167 -)))|(% colspan="1" %)(% colspan="1" %)
168 -(((
169 -
170 170  )))
171 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
117 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
172 172  (((
173 173  //<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.//
174 174  )))
... ... @@ -181,11 +181,8 @@
181 181  )))|(% colspan="1" %)(% colspan="1" %)
182 182  (((
183 183  Changed behaviour of script action **<get_ware_definition/>**
184 -)))|(% colspan="1" %)(% colspan="1" %)
185 -(((
186 -
187 187  )))
188 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
131 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
189 189  (((
190 190  //<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.//
191 191  )))
... ... @@ -198,11 +198,8 @@
198 198  )))|(% colspan="1" %)(% colspan="1" %)
199 199  (((
200 200  Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case
201 -)))|(% colspan="1" %)(% colspan="1" %)
202 -(((
203 -
204 204  )))
205 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
145 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
206 206  (((
207 207  //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.)\\
208 208  
... ... @@ -217,11 +217,8 @@
217 217  )))|(% colspan="1" %)(% colspan="1" %)
218 218  (((
219 219  Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions>
220 -)))|(% colspan="1" %)(% colspan="1" %)
221 -(((
222 -
223 223  )))
224 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
161 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
225 225  (((
226 226  //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.//
227 227  )))
... ... @@ -234,11 +234,8 @@
234 234  )))|(% colspan="1" %)(% colspan="1" %)
235 235  (((
236 236  Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos**
237 -)))|(% colspan="1" %)(% colspan="1" %)
238 -(((
239 -
240 240  )))
241 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
175 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
242 242  (((
243 243  //Before the change, positions are relative to $dockingbay.parent.
244 244  After the change, positions are relative to $dockingbay as specified in the documentation.//
... ... @@ -252,11 +252,8 @@
252 252  )))|(% colspan="1" %)(% colspan="1" %)
253 253  (((
254 254  Support for entity flag "**skillsvisible**" dropped
255 -)))|(% colspan="1" %)(% colspan="1" %)
256 -(((
257 -
258 258  )))
259 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
190 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
260 260  (((
261 261  //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().//
262 262  )))
... ... @@ -266,11 +266,8 @@
266 266  3.0 Beta 2
267 267  )))|(((
268 268  Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**.
269 -)))|(% colspan="1" %)(% colspan="1" %)
270 -(((
271 -
272 272  )))
273 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
201 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
274 274  (((
275 275  //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.
276 276  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.
... ... @@ -286,11 +286,8 @@
286 286  )))|(% colspan="1" %)(% colspan="1" %)
287 287  (((
288 288  **MissionBoard** support dropped
289 -)))|(% colspan="1" %)(% colspan="1" %)
290 -(((
291 -
292 292  )))
293 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
218 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
294 294  (((
295 295  //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.//
296 296  )))
... ... @@ -300,11 +300,8 @@
300 300  3.0 Beta 1
301 301  )))|(((
302 302  By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined
303 -)))|(% colspan="1" %)(% colspan="1" %)
304 -(((
305 -
306 306  )))
307 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
229 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
308 308  (((
309 309  //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.//
310 310  )))
... ... @@ -317,11 +317,8 @@
317 317  )))|(% colspan="1" %)(% colspan="1" %)
318 318  (((
319 319  Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'**
320 -)))|(% colspan="1" %)(% colspan="1" %)
321 -(((
322 -
323 323  )))
324 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
243 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
325 325  (((
326 326  //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.//
327 327  )))
... ... @@ -334,11 +334,8 @@
334 334  )))|(% colspan="1" %)(% colspan="1" %)
335 335  (((
336 336  Script action **<set_doors_locked/>** attribute **'group'** changed
337 -)))|(% colspan="1" %)(% colspan="1" %)
338 -(((
339 -
340 340  )))
341 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
257 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
342 342  (((
343 343  //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.//
344 344  )))
... ... @@ -351,11 +351,8 @@
351 351  )))|(% colspan="1" %)(% colspan="1" %)
352 352  (((
353 353  Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed
354 -)))|(% colspan="1" %)(% colspan="1" %)
355 -(((
356 -
357 357  )))
358 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
271 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
359 359  (((
360 360  //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.//
361 361  )))
... ... @@ -368,11 +368,8 @@
368 368  )))|(% colspan="1" %)(% colspan="1" %)
369 369  (((
370 370  Script actions **<set_hack_target/>** and **<abort_hack/>** removed
371 -)))|(% colspan="1" %)(% colspan="1" %)
372 -(((
373 -
374 374  )))
375 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
285 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
376 376  (((
377 377  //These actions had no effect and were removed.//
378 378  )))
... ... @@ -385,11 +385,8 @@
385 385  )))|(% colspan="1" %)(% colspan="1" %)
386 386  (((
387 387  **<setup_conversation_minigame/>** script action removed
388 -)))|(% colspan="1" %)(% colspan="1" %)
389 -(((
390 -
391 391  )))
392 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
299 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
393 393  (((
394 394  //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.//
395 395  )))
... ... @@ -402,11 +402,8 @@
402 402  )))|(% colspan="1" %)(% colspan="1" %)
403 403  (((
404 404  <add_player_choice_*> **confidence** attribute removed
405 -)))|(% colspan="1" %)(% colspan="1" %)
406 -(((
407 -
408 408  )))
409 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
313 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
410 410  (((
411 411  //The default confidence of player options is another leftover from the XR era and had no effect in X4.//
412 412  )))
... ... @@ -419,11 +419,8 @@
419 419  )))|(% colspan="1" %)(% colspan="1" %)
420 420  (((
421 421  **<hack_via_control_panel/>** script action removed
422 -)))|(% colspan="1" %)(% colspan="1" %)
423 -(((
424 -
425 425  )))
426 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
327 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
427 427  (((
428 428  //Unused script action <hack_via_control_panel/> was removed.//
429 429  )))
... ... @@ -436,11 +436,8 @@
436 436  )))|(% colspan="1" %)(% colspan="1" %)
437 437  (((
438 438  **Lua: **GetMiniGameCursorPosition() removed
439 -)))|(% colspan="1" %)(% colspan="1" %)
440 -(((
441 -
442 442  )))
443 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
341 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
444 444  (((
445 445  //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.//
446 446  )))
... ... @@ -450,11 +450,8 @@
450 450  3.0 Beta 1
451 451  )))|(((
452 452  **FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders
453 -)))|(% colspan="1" %)(% colspan="1" %)
454 -(((
455 -
456 456  )))
457 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
352 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
458 458  (((
459 459  //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.//
460 460  )))
... ... @@ -467,11 +467,8 @@
467 467  )))|(% colspan="1" %)(% colspan="1" %)
468 468  (((
469 469  **FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor
470 -)))|(% colspan="1" %)(% colspan="1" %)
471 -(((
472 -
473 473  )))
474 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
366 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
475 475  (((
476 476  //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.//
477 477  )))
... ... @@ -484,11 +484,8 @@
484 484  )))|(% colspan="1" %)(% colspan="1" %)
485 485  (((
486 486  **$ware.illegal** updated
487 -)))|(% colspan="1" %)(% colspan="1" %)
488 -(((
489 -
490 490  )))
491 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
380 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
492 492  (((
493 493  //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.//
494 494  //It now returns true if $ware is illegal to any faction in the game.//
... ... @@ -502,11 +502,8 @@
502 502  )))|(% colspan="1" %)(% colspan="1" %)
503 503  (((
504 504  MD script **RML_Flight_Along_Path** removed
505 -)))|(% colspan="1" %)(% colspan="1" %)
506 -(((
507 -
508 508  )))
509 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
395 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
510 510  (((
511 511  //The MD script RML_Flight_Along_Path was not referened and was removed.//
512 512  )))
... ... @@ -519,11 +519,8 @@
519 519  )))|(% colspan="1" %)(% colspan="1" %)
520 520  (((
521 521  parameters of **<event_venture_mission_completed/>** changed
522 -)))|(% colspan="1" %)(% colspan="1" %)
523 -(((
524 -
525 525  )))
526 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
409 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
527 527  (((
528 528  //old params: param = venture details, param2 = ships involved, param3 = duration//
529 529  //new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration//
... ... @@ -535,11 +535,8 @@
535 535  )))|(((
536 536  **<set_object_wing_name/>** removed,
537 537  **<set_object_fleet_name/>** added
538 -)))|(% colspan="1" %)(% colspan="1" %)
539 -(((
540 -
541 541  )))
542 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
422 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
543 543  (((
544 544  //The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>//
545 545  )))
... ... @@ -550,15 +550,12 @@
550 550  )))|(((
551 551  **$controllable.wing.*** removed,
552 552  **$controllable.fleet.*** added
553 -)))|(% colspan="1" %)(% colspan="1" %)
554 -(((
555 -
556 556  )))
557 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
434 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
558 558  (((
559 559  $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander
560 560  )))
561 -|(% colspan="4" %)(% colspan="4" %)
438 +|(% colspan="3" %)(% colspan="3" %)
562 562  (((
563 563  == 2.60 ==
564 564  )))
... ... @@ -568,11 +568,8 @@
568 568  2.60 Beta 1
569 569  )))|(((
570 570  '**checkoperational**' filter behaviour changed
571 -)))|(% colspan="1" %)(% colspan="1" %)
572 -(((
573 -
574 574  )))
575 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
449 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
576 576  (((
577 577  //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.//
578 578  
... ... @@ -584,15 +584,12 @@
584 584  2.60 Beta 1
585 585  )))|(((
586 586  $container.**supplyresources** behavior changed
587 -)))|(% colspan="1" %)(% colspan="1" %)
588 -(((
589 -
590 590  )))
591 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
462 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
592 592  (((
593 593  //The script keyword $container.supplyresources now includes reserved wares.//
594 594  )))
595 -|(% colspan="4" %)(% colspan="4" %)
466 +|(% colspan="3" %)(% colspan="3" %)
596 596  (((
597 597  == 2.20 ==
598 598  )))
... ... @@ -605,11 +605,8 @@
605 605  )))|(% colspan="1" %)(% colspan="1" %)
606 606  (((
607 607  **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined.
608 -)))|(% colspan="1" %)(% colspan="1" %)
609 -(((
610 -
611 611  )))
612 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
480 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
613 613  (((
614 614  //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.
615 615  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.//
... ... @@ -626,15 +626,12 @@
626 626  )))|(% colspan="1" %)(% colspan="1" %)
627 627  (((
628 628  Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor'
629 -)))|(% colspan="1" %)(% colspan="1" %)
630 -(((
631 -
632 632  )))
633 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
498 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
634 634  (((
635 635  //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.//
636 636  )))
637 -|(% colspan="4" %)(% colspan="4" %)
502 +|(% colspan="3" %)(% colspan="3" %)
638 638  (((
639 639  == 2.00 ==
640 640  )))
... ... @@ -647,11 +647,8 @@
647 647  )))|(% colspan="1" %)(% colspan="1" %)
648 648  (((
649 649  **<event_build_finished/> **param2 now returns null instead of a construction sequence
650 -)))|(% colspan="1" %)(% colspan="1" %)
651 -(((
652 -
653 653  )))
654 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
516 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
655 655  (((
656 656  //The construction sequence which was finished should now be accessed via the buildtask provided via param3.//
657 657  )))
... ... @@ -664,11 +664,8 @@
664 664  )))|(% colspan="1" %)(% colspan="1" %)
665 665  (((
666 666  **param.boarding.{...}** strength parameters removed
667 -)))|(% colspan="1" %)(% colspan="1" %)
668 -(((
669 -
670 670  )))
671 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
530 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
672 672  (((
673 673  //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.//
674 674  )))
... ... @@ -681,11 +681,8 @@
681 681  )))|(% colspan="1" %)(% colspan="1" %)
682 682  (((
683 683  **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed
684 -)))|(% colspan="1" %)(% colspan="1" %)
685 -(((
686 -
687 687  )))
688 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
544 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
689 689  (((
690 690  //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.//
691 691  )))
... ... @@ -695,11 +695,8 @@
695 695  2.00 Beta 1
696 696  )))|(((
697 697  **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals
698 -)))|(% colspan="1" %)(% colspan="1" %)
699 -(((
700 -
701 701  )))
702 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
555 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
703 703  (((
704 704  //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.//
705 705  )))
... ... @@ -709,11 +709,8 @@
709 709  2.00 Beta 1
710 710  )))|(((
711 711  **FFI: SetFormationShape()** no longer indicates an error upon certain error cases
712 -)))|(% colspan="1" %)(% colspan="1" %)
713 -(((
714 -
715 715  )))
716 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
566 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
717 717  (((
718 718  //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.//
719 719  //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.//
... ... @@ -724,11 +724,8 @@
724 724  2.00 Beta 1
725 725  )))|(((
726 726  **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated.
727 -)))|(% colspan="1" %)(% colspan="1" %)
728 -(((
729 -
730 730  )))
731 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
578 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
732 732  (((
733 733  //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.//
734 734  )))
... ... @@ -738,11 +738,8 @@
738 738  2.00 Beta 1
739 739  )))|(((
740 740  **<event_player_changed_target/>** now fires and returns null if the player deselects a target.
741 -)))|(% colspan="1" %)(% colspan="1" %)
742 -(((
743 -
744 744  )))
745 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
589 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
746 746  (((
747 747  //For prior behavior, check for event.param being non-null.//
748 748  )))
... ... @@ -752,11 +752,8 @@
752 752  2.00 Beta 1
753 753  )))|(((
754 754  **<shoot/>/<shoot_at/>** attribute changes.
755 -)))|(% colspan="1" %)(% colspan="1" %)
756 -(((
757 -
758 758  )))
759 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
600 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
760 760  (((
761 761  //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.//
762 762  //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.//
... ... @@ -770,11 +770,8 @@
770 770  2.00 Beta 1
771 771  )))|(((
772 772  **FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %)
773 -)))|(% colspan="1" %)(% colspan="1" %)
774 -(((
775 -
776 776  )))
777 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
615 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
778 778  (((
779 779  //Added possibility to query build tasks of a certain buildmodule.//
780 780  )))
... ... @@ -784,11 +784,8 @@
784 784  2.00 Beta 1
785 785  )))|(((
786 786  **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field.
787 -)))|(% colspan="1" %)(% colspan="1" %)
788 -(((
789 -
790 790  )))
791 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
626 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
792 792  (((
793 793  //Added list of resources a buildmodule needs to build.//
794 794  )))
... ... @@ -798,11 +798,8 @@
798 798  2.00 Beta 1
799 799  )))|(((
800 800  (% 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);" %)
801 -)))|(% colspan="1" %)(% colspan="1" %)
802 -(((
803 -
804 804  )))
805 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
637 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
806 806  (((
807 807  //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.//
808 808  )))
... ... @@ -812,15 +812,12 @@
812 812  2.00 Beta 1
813 813  )))|(((
814 814  **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" %)
815 -)))|(% colspan="1" %)(% colspan="1" %)
816 -(((
817 -
818 818  )))
819 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
648 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
820 820  (((
821 821  //Changed return value type to const char* to better identify failure reasons in Lua script.//
822 822  )))
823 -|(% colspan="4" %)(% colspan="4" %)
652 +|(% colspan="3" %)(% colspan="3" %)
824 824  (((
825 825  == 1.50 ==
826 826  )))
... ... @@ -830,11 +830,8 @@
830 830  1.50 Beta 3
831 831  )))|(((
832 832  **Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %)
833 -)))|(% colspan="1" %)(% colspan="1" %)
834 -(((
835 -
836 836  )))
837 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
663 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
838 838  (((
839 839  //The "docksizes" property no longer includes internal ship storage docks.//
840 840  )))
... ... @@ -844,11 +844,8 @@
844 844  1.50 Beta 2
845 845  )))|(((
846 846  **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR).
847 -)))|(% colspan="1" %)(% colspan="1" %)
848 -(((
849 -
850 850  )))
851 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
674 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
852 852  (((
853 853  //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".//
854 854  
... ... @@ -862,11 +862,8 @@
862 862  1.50 Beta 2
863 863  )))|(((
864 864  **FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %)
865 -)))|(% colspan="1" %)(% colspan="1" %)
866 -(((
867 -
868 868  )))
869 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
689 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
870 870  (((
871 871  //Added new "operational" field to retrieve information about number of operational upgrades in a group.//
872 872  )))
... ... @@ -879,11 +879,8 @@
879 879  )))|(% colspan="1" %)(% colspan="1" %)
880 880  (((
881 881  **FFI: SetGuidance()** removed useinfopoint argument.
882 -)))|(% colspan="1" %)(% colspan="1" %)
883 -(((
884 -
885 885  )))
886 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
703 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
887 887  (((
888 888  //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.
889 889  //
... ... @@ -896,15 +896,12 @@
896 896  1.50 Beta 1
897 897  )))|(((
898 898  **FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %)
899 -)))|(% colspan="1" %)(% colspan="1" %)
900 -(((
901 -
902 902  )))
903 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
717 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
904 904  (((
905 905  (% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. //
906 906  )))
907 -|(% colspan="4" %)(% colspan="4" %)
721 +|(% colspan="3" %)(% colspan="3" %)
908 908  (((
909 909  == 1.32 ==
910 910  )))
... ... @@ -914,15 +914,12 @@
914 914  1.32
915 915  )))|(((
916 916  **Lua: GetComponentData() **removed the "nextdestname" property.
917 -)))|(% colspan="1" %)(% colspan="1" %)
918 -(((
919 -
920 920  )))
921 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
732 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
922 922  (((
923 923  //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.//
924 924  )))
925 -|(% colspan="4" %)(% colspan="4" %)
736 +|(% colspan="3" %)(% colspan="3" %)
926 926  (((
927 927  == 1.20 ==
928 928  )))
... ... @@ -932,11 +932,8 @@
932 932  1.20
933 933  )))|(((
934 934  **FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %)
935 -)))|(% colspan="1" %)(% colspan="1" %)
936 -(((
937 -
938 938  )))
939 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
747 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
940 940  (((
941 941  //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.//
942 942  )))
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -100860788
1 +100040858
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860788/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100040858/Breaking Changes