Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
From version 104.6
edited by Ketraar
on 2023/08/15 12:13
on 2023/08/15 12:13
Change comment:
There is no comment for this version
To version 107.1
edited by Daniel Turner
on 2023/09/05 15:49
on 2023/09/05 15:49
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Ketraar1 +xwiki:XWiki.Daniel - Content
-
... ... @@ -4,6 +4,14 @@ 4 4 The following table provides an overview about all breaking changes. This should help you to make any necessary changes to restore compatibility of older mods with new versions of X4. 5 5 Feel free to drop a note if a certain breaking change is breaking your mod and you have difficulties finding a way to work around the issue. 6 6 7 +{{info}} 8 +⚠ The list of breaking changes does **NOT** cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself. 9 + 10 +Further note that the list provides information about breaking changes which are in the pipeline of being released. This is meant merely as an informational heads up. Neither do mistake this as an announcement of that version becoming available soon nor take it for granted that such a change will go live. Any information provided for not yet released versions can change (and even be removed) prior to such version having seen the light of day. 11 + 12 +As a final note, please be aware that issues introduced during the beta phase might not be explicitly mentioned in the list below, if things would only be broken in-between two beta versions. While we still aim to document any (potential) breaking change here, there might be circumstances for which we divert from that procedure (especially in case of only minor issues which are considered merely bugfixes rather than an intended behavior change). 13 +{{/info}} 14 + 7 7 {{warning title="UI modding considered unstable until further notice..."}} 8 8 Please note that UI modding must be considered **unstable** in the current version. While we are working hard to get the UI modding integration into a stable state, we might have to introduce larger backwards incompatibilities in the following patches. This means that you might have to modify any mod using UI modding capabilities to a larger extend to keep it compatible with certain patches. Still, we are doing our best not to unnecessarily break things for modders and certainly will announce such changes on this page here. 9 9 {{/warning}} ... ... @@ -105,7 +105,7 @@ 105 105 )))|((( 106 106 Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons 107 107 ))) 108 -|(% class="highlight- #f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)116 +|(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 109 109 ((( 110 110 //Connection tags used to specify compatibilities in component templates between a ship or station module and engines or shields now additionally require the use of the "standard" tag matching weapon or turret logic. For weapons that are neither Missile Launcher nor Mining Laser, the tag "combat" is also required. 111 111 Exception: special equipment that is deliberately not compatible with the majority of slots may use another tag instead of "standard", e.g. "highpower" for certain Terran weapons.// ... ... @@ -120,7 +120,7 @@ 120 120 ((( 121 121 Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects 122 122 ))) 123 -|(% class="highlight- #f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)131 +|(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 124 124 ((( 125 125 //When finding components with attribute "sortbygatedistanceto", e.g. in <find_object>, any objects with a negative gatedistance (i.e. unreachable objects) are automatically excluded from the result.// 126 126 ))) ... ... @@ -131,7 +131,7 @@ 131 131 )))|((( 132 132 **<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards. 133 133 ))) 134 -|(% class="highlight- #f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)142 +|(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 135 135 ((( 136 136 //The order of events was adjusted, allowing handlers of <event_player_owned_killed_object> and <event_player_owned_destroyed> to access commander/subordinate relationship of the destroyed object.// 137 137 ))) ... ... @@ -142,7 +142,7 @@ 142 142 )))|((( 143 143 Changed behaviour of **<angles>** in cutscenes 144 144 ))) 145 -|(% class="highlight- #f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-#f4f5f7" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)153 +|(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 146 146 ((( 147 147 //The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.// 148 148 ))) ... ... @@ -173,11 +173,11 @@ 173 173 4.10 Beta 7 174 174 )))|(% colspan="1" %)(% colspan="1" %) 175 175 ((( 176 -**FFI**: (% style="color:#000000" %)SetMapRenderCargoContents(%%)(),(% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) deprecated184 +**FFI**: SetMapRenderCargoContents(%%)(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) deprecated 177 177 ))) 178 178 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 179 179 ((( 180 -//The functionality represented by (% style="color:#000000" %)SetMapRenderCargoContents(%%)(),(% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.//188 +//The functionality represented by SetMapRenderCargoContents(%%)(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.// 181 181 ))) 182 182 |(% colspan="1" %)(% colspan="1" %) 183 183 ((( ... ... @@ -226,7 +226,7 @@ 226 226 )))|((( 227 227 4.10 Beta 2 228 228 )))|((( 229 -**FFI**: (% style="color:#000000" %)FilterComponentForMapMode(%%)() and(% style="color:#000000" %)SetMapObjectFilter() changed237 +**FFI**: FilterComponentForMapMode(%%)() and SetMapObjectFilter() changed 230 230 ))) 231 231 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 232 232 ((( ... ... @@ -364,11 +364,11 @@ 364 364 )))|((( 365 365 3.30 Beta 3 366 366 )))|((( 367 -**FFI: **Removed** (% style="color:#000000" %)GetMissionLimit() (%%)**(% style="color:#000000" %)and**IsMissionLimit**(%%)**Enabled()**375 +**FFI: **Removed** GetMissionLimit() (%%)**and** IsMissionLimit**(%%)**Enabled()** 368 368 ))) 369 369 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 370 370 ((( 371 -//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI (% style="color:#000000" %)IsMissionLimit(%%)Reach(% style="color:#000000" %)ed()//379 +//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimit(%%)Reached()// 372 372 ))) 373 373 |(% colspan="3" %)(% colspan="3" %) 374 374 ((( ... ... @@ -961,7 +961,7 @@ 961 961 )))|((( 962 962 2.00 Beta 1 963 963 )))|((( 964 - (% style="color:#000000" %)**Lua: CalculateTotalHullFraction() **(%%)was removed.(%style="color:#000000" %)972 +**Lua: CalculateTotalHullFraction() **(%%)was removed. 965 965 ))) 966 966 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 967 967 ((( ... ... @@ -972,7 +972,7 @@ 972 972 )))|((( 973 973 2.00 Beta 1 974 974 )))|((( 975 -**FFI: (% style="color:#000000" %)RequestDockAtReason()/UndockPlayerShip()(%%) **changed their return values.983 +**FFI: RequestDockAtReason()/UndockPlayerShip()(%%) **changed their return values. 976 976 ))) 977 977 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 978 978 ((( ... ... @@ -1044,7 +1044,7 @@ 1044 1044 ))) 1045 1045 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1046 1046 ((( 1047 - (% style="color:#000000" %)//CancelConstruction() now returns if the cancellation was successful. //1055 +//CancelConstruction() now returns if the cancellation was successful. // 1048 1048 ))) 1049 1049 |(% colspan="3" %)(% colspan="3" %) 1050 1050 ((( ... ... @@ -1074,5 +1074,5 @@ 1074 1074 ))) 1075 1075 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1076 1076 ((( 1077 -//The AA setting was changed to check the new setting with the user. In order to restore the old setting (% style="color:#000000" %)GetAAOption() gets the option to retrieve the config settings.//1085 +//The AA setting was changed to check the new setting with the user. In order to restore the old setting GetAAOption() gets the option to retrieve the config settings.// 1078 1078 )))