Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
From version 65.1
edited by michael
on 2020/05/05 10:54
on 2020/05/05 10:54
Change comment:
documented $trade.restriction.factions
To version 105.1
edited by Daniel Turner
on 2023/08/25 09:46
on 2023/08/25 09:46
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +X4 Foundations Wiki.Modding Support.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. michael1 +xwiki:XWiki.Daniel - Content
-
... ... @@ -4,13 +4,13 @@ 4 4 The following table provides an overview about all breaking changes. This should help you to make any necessary changes to restore compatibility of older mods with new versions of X4. 5 5 Feel free to drop a note if a certain breaking change is breaking your mod and you have difficulties finding a way to work around the issue. 6 6 7 -{{no te}}8 -The list of breaking changes does **NOT**cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself.7 +{{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 9 10 10 Further note that the list provides information about breaking changes which are in the pipeline of being released. This is meant merely as an informational heads up. Neither do mistake this as an announcement of that version becoming available soon nor take it for granted that such a change will go live. Any information provided for not yet released versions can change (and even be removed) prior to such version having seen the light of day. 11 11 12 12 As a final note, please be aware that issues introduced during the beta phase might not be explicitly mentioned in the list below, if things would only be broken in-between two beta versions. While we still aim to document any (potential) breaking change here, there might be circumstances for which we divert from that procedure (especially in case of only minor issues which are considered merely bugfixes rather than an intended behavior change). 13 -{{/no te}}13 +{{/info}} 14 14 15 15 {{warning title="UI modding considered unstable until further notice..."}} 16 16 Please note that UI modding must be considered **unstable** in the current version. While we are working hard to get the UI modding integration into a stable state, we might have to introduce larger backwards incompatibilities in the following patches. This means that you might have to modify any mod using UI modding capabilities to a larger extend to keep it compatible with certain patches. Still, we are doing our best not to unnecessarily break things for modders and certainly will announce such changes on this page here. ... ... @@ -18,6 +18,7 @@ 18 18 19 19 = Breaking Changes = 20 20 21 +(% class="wrapped" %) 21 21 |=((( 22 22 Type 23 23 )))|=((( ... ... @@ -27,6 +27,358 @@ 27 27 ))) 28 28 |(% colspan="3" %)(% colspan="3" %) 29 29 ((( 31 +== 6.00 == 32 +))) 33 +|((( 34 +Libraries 35 +)))|((( 36 +6.00 Beta 7 37 +)))|((( 38 +Updated weights for ship groups in shipgroups.xml libraries of base game and all DLCs. 39 +))) 40 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 41 +((( 42 +//Previously some entries were lacking "weight" parameter, causing it to default to "1", which prevent adding new ships to the group with appropriate/configurable granularity.// 43 + 44 +//All groups should now have "weight" parameter added and old "weights" were updated to not have single-digit numbers.// 45 +))) 46 +|(% colspan="1" %)(% colspan="1" %) 47 +((( 48 +Scripts 49 +)))|(% colspan="1" %)(% colspan="1" %) 50 +((( 51 +6.00 Beta 4 52 +)))|(% colspan="1" %)(% colspan="1" %) 53 +((( 54 +Changed conditions for **<event_player_travelmode_started> <event_player_travelmode_stopped> <event_player_travelmode_charge_started> <event_player_travelmode_charge_aborted>** to be raised. 55 +))) 56 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 57 +((( 58 +//The <event_player_travelmode_started>, <event_player_travelmode_stopped>, <event_player_travelmode_charge_started> and <event_player_travelmode_charge_aborted> events will no longer be raised if the player is a passenger on board a ship which enters or leaves travel mode. Previously these events would be raised whether the player was the pilot or a passenger. // 59 + 60 +//Scripts that need to check whether the player exits travel mode may also need to consider checking whether the player leaves the control seat using <event_player_stopped_control> since this will also result in travel mode stopping.// 61 +))) 62 +|(% colspan="1" %)(% colspan="1" %) 63 +((( 64 +Scripts 65 +)))|(% colspan="1" %)(% colspan="1" %) 66 +((( 67 +6.00 Beta 3 68 +)))|(% colspan="1" %)(% colspan="1" %) 69 +((( 70 +Changed result of **<find_object_surface>** action in the case of a failure 71 +))) 72 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 73 +((( 74 +//The 'posname' and 'rotname' result attributes of <find_object_surface> will now return null in the case of no valid surface position being found.// 75 + 76 +//Previously, it returned null only if there was a physics error. It however returned a valid, somewhat-random, position if physics were fine but it was still unable to find a suitable surface position. This position was often unsuitable to use for gameplay purposes so it is now null so the caller can handle the situation.// 77 + 78 +//The action itself has been improved to increase the chance of finding suitable surface positions.// 79 +))) 80 +|(% colspan="1" %)(% colspan="1" %) 81 +((( 82 +Scripts 83 +)))|(% colspan="1" %)(% colspan="1" %) 84 +((( 85 +6.00 Beta 1 86 +)))|(% colspan="1" %)(% colspan="1" %) 87 +((( 88 +Behaviour change for **<match_dock>** script component filter 89 +))) 90 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 91 +((( 92 +//<match_dock> nodes can now be used on container and walkablemodule classes without wrapping them in <match_content> nodes. 93 +This has introduced a new potential pitfall: If finding or counting contained components be wary that there may be multiple positive results, even if there is only one dockingbay. e.g. matching contents for a station will include the dockingbay but also its containing walkable module as that also contains the dockingbay. To only account for docking bays, also filter by dockingbay class.// 94 +))) 95 +|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 +Scripts 98 +)))|(% colspan="1" %)(% colspan="1" %) 99 +((( 100 +6.00 Beta 1 101 +)))|(% colspan="1" %)(% colspan="1" %) 102 +((( 103 +Changed result attribute location for **<get_attackstrength>** 104 +))) 105 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 106 +((( 107 +//The 'result' attribute of get_attackstrength has been moved into the new <result> subnode and renamed to 'total'.// 108 +))) 109 +|((( 110 +Assets 111 +)))|((( 112 +6.00 Beta 1 113 +)))|((( 114 +Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons 115 +))) 116 +|(% 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%" %) 117 +((( 118 +//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. 119 +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 +))) 121 +|(% colspan="1" %)(% colspan="1" %) 122 +((( 123 +Scripts 124 +)))|(% colspan="1" %)(% colspan="1" %) 125 +((( 126 +6.00 Beta 1 127 +)))|(% colspan="1" %)(% colspan="1" %) 128 +((( 129 +Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects 130 +))) 131 +|(% 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%" %) 132 +((( 133 +//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.// 134 +))) 135 +|((( 136 +Scripts 137 +)))|((( 138 +6.00 Beta 1 139 +)))|((( 140 +**<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards. 141 +))) 142 +|(% 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%" %) 143 +((( 144 +//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.// 145 +))) 146 +|((( 147 +Cutscenes 148 +)))|((( 149 +6.00 Beta 1 150 +)))|((( 151 +Changed behaviour of **<angles>** in cutscenes 152 +))) 153 +|(% 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%" %) 154 +((( 155 +//The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.// 156 +))) 157 +|(% colspan="3" %)(% colspan="3" %) 158 +((( 159 +== 5.00 == 160 +))) 161 +|((( 162 +Parameters 163 +)))|((( 164 +5.00 Beta 1 165 +)))|((( 166 +**<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration 167 +))) 168 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 169 +((( 170 +//'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.// 171 +))) 172 +|(% colspan="3" %)(% colspan="3" %) 173 +((( 174 +== 4.10 == 175 +))) 176 +|(% colspan="1" %)(% colspan="1" %) 177 +((( 178 +UI extensions 179 +)))|(% colspan="1" %)(% colspan="1" %) 180 +((( 181 +4.10 Beta 7 182 +)))|(% colspan="1" %)(% colspan="1" %) 183 +((( 184 +**FFI**: (% style="color:#000000" %)SetMapRenderCargoContents(%%)(), (% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) deprecated 185 +))) 186 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 187 +((( 188 +//The functionality represented by (% style="color:#000000" %)SetMapRenderCargoContents(%%)(), (% style="color:#000000" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.// 189 +))) 190 +|(% colspan="1" %)(% colspan="1" %) 191 +((( 192 +UI extensions 193 +)))|(% colspan="1" %)(% colspan="1" %) 194 +((( 195 +4.10 Beta 6 196 +)))|(% colspan="1" %)(% colspan="1" %) 197 +((( 198 +**FFI**: CustomGameStartPlayerProperty2 changed 199 +))) 200 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 201 +((( 202 +//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.// 203 +))) 204 +|(% colspan="1" %)(% colspan="1" %) 205 +((( 206 +Parameters 207 +)))|(% colspan="1" %)(% colspan="1" %) 208 +((( 209 +4.10 Beta 3 210 +)))|(% colspan="1" %)(% colspan="1" %) 211 +((( 212 +Renamed **<stationinfobox>** to **<infobox>** 213 +))) 214 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 215 +((( 216 +//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.// 217 +))) 218 +|(% colspan="1" %)(% colspan="1" %) 219 +((( 220 +UI extensions 221 +)))|(% colspan="1" %)(% colspan="1" %) 222 +((( 223 +4.10 Beta 2 224 +)))|(% colspan="1" %)(% colspan="1" %) 225 +((( 226 +**FFI**: SetMacroMapPlayerSectorOffset() deprecated 227 +))) 228 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 229 +((( 230 +//The functionality represented by SetMacroMapPlayerSectorOffset() has been removed and the function was therefore stubbed. Setting the gamestart properties "sector" and "offset" will affect the universe macro map instead directly.// 231 +))) 232 +|((( 233 +UI extensions 234 +)))|((( 235 +4.10 Beta 2 236 +)))|((( 237 +**FFI**: (% style="color:#000000" %)FilterComponentForMapMode(%%)() and (% style="color:#000000" %)SetMapObjectFilter() changed 238 +))) 239 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 240 +((( 241 +//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.// 242 +))) 243 +|((( 244 +Scripts 245 +)))|((( 246 +4.10 Beta 1 247 +)))|((( 248 +People related attributes of mission** <delivery> **node moved 249 +))) 250 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 251 +((( 252 +//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.// 253 +))) 254 +|(% colspan="1" %)(% colspan="1" %) 255 +((( 256 +Scripts 257 +)))|(% colspan="1" %)(% colspan="1" %) 258 +((( 259 +4.10 Beta 1 260 +)))|(% colspan="1" %)(% colspan="1" %) 261 +((( 262 +**$destructible.productions** replaced with $defensible.productions 263 +))) 264 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 265 +((( 266 +//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.// 267 +))) 268 +|((( 269 +Scripts 270 +)))|((( 271 +4.10 Beta 1 272 +)))|((( 273 +Removed script property **$object.spawnsourceseed** 274 +))) 275 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 276 +((( 277 +//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.// 278 +))) 279 +|(% colspan="3" %)(% colspan="3" %) 280 +((( 281 +== 4.00 == 282 +))) 283 +|(% colspan="1" %)(% colspan="1" %) 284 +((( 285 +UI core 286 +)))|(% colspan="1" %)(% colspan="1" %) 287 +((( 288 +4.00 Beta 10 289 +)))|(% colspan="1" %)(% colspan="1" %) 290 +((( 291 +Controlled ship can change without a **gameplanchange-event** occurring. 292 +))) 293 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 294 +((( 295 +//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). 296 +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.// 297 +))) 298 +|((( 299 +Scripts 300 +)))|((( 301 +4.00 Beta 7 302 +)))|((( 303 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 304 +))) 305 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 306 +((( 307 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 308 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 309 +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// 310 +))) 311 +|(% colspan="1" %)(% colspan="1" %) 312 +((( 313 +UI core 314 +)))|(% colspan="1" %)(% colspan="1" %) 315 +((( 316 +4.00 Beta 6 317 +)))|(% colspan="1" %)(% colspan="1" %) 318 +((( 319 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 320 +))) 321 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 322 +((( 323 +//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. 324 +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).// 325 + 326 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.// 327 +))) 328 +|(% colspan="1" %)(% colspan="1" %) 329 +((( 330 +UI core 331 +)))|(% colspan="1" %)(% colspan="1" %) 332 +((( 333 +4.00 Beta 5 334 +)))|(% colspan="1" %)(% colspan="1" %) 335 +((( 336 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 337 +))) 338 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 339 +((( 340 +//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.// 341 + 342 +//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). 343 +))) 344 +|((( 345 +Parameters 346 +)))|((( 347 +4.00 Beta 1 348 +)))|((( 349 +**requiresconstructionvessel** parameter moved 350 +))) 351 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 352 +((( 353 +//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.// 354 +))) 355 +|((( 356 +Scripts 357 +)))|((( 358 +4.00 Beta 1 359 +)))|((( 360 +Changed behaviour of **gatedistance** script property 361 +))) 362 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 363 +((( 364 +//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.// 365 +))) 366 +|(% colspan="3" %)(% colspan="3" %) 367 +((( 368 +== 3.30 == 369 +))) 370 +|((( 371 +UI extensions 372 +)))|((( 373 +3.30 Beta 3 374 +)))|((( 375 +**FFI: **Removed** (% style="color:#000000" %)GetMissionLimit() (%%)**(% style="color:#000000" %)and** IsMissionLimit**(%%)**Enabled()** 376 +))) 377 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 378 +((( 379 +//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()// 380 +))) 381 +|(% colspan="3" %)(% colspan="3" %) 382 +((( 30 30 == 3.20 == 31 31 ))) 32 32 |((( ... ... @@ -50,12 +50,11 @@ 50 50 3.20 Beta 1 51 51 )))|(% colspan="1" %)(% colspan="1" %) 52 52 ((( 53 -**$trade.restriction.faction** removed,** 54 -$trade.restriction.factions** added 406 +Removed script property $trade.**restriction.faction** 55 55 ))) 56 56 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 57 57 ((( 58 -//$trade.restriction.faction has //been replaced with $trade.restriction.factions which returns a list of factions410 +//$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.// 59 59 ))) 60 60 |((( 61 61 UI extensions ... ... @@ -130,7 +130,7 @@ 130 130 ))) 131 131 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 132 132 ((( 133 -//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.) \\485 +//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.) 134 134 135 135 //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).// 136 136 ))) ... ... @@ -468,8 +468,7 @@ 468 468 //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. 469 469 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.// 470 470 471 -//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. 472 -// 823 +//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.// 473 473 ))) 474 474 |(% colspan="1" %)(% colspan="1" %) 475 475 ((( ... ... @@ -596,7 +596,7 @@ 596 596 )))|((( 597 597 2.00 Beta 1 598 598 )))|((( 599 -**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter. (% class="confluenceTd" %)950 +**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter. 600 600 ))) 601 601 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 602 602 ((( ... ... @@ -618,7 +618,7 @@ 618 618 )))|((( 619 619 2.00 Beta 1 620 620 )))|((( 621 -(% 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);" %)972 +(% style="color:#000000" %)**Lua: CalculateTotalHullFraction() **(%%)was removed.(% style="color:#000000" %) 622 622 ))) 623 623 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 624 624 ((( ... ... @@ -629,7 +629,7 @@ 629 629 )))|((( 630 630 2.00 Beta 1 631 631 )))|((( 632 -**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" %)983 +**FFI: (% style="color:#000000" %)RequestDockAtReason()/UndockPlayerShip()(%%) **changed their return values. 633 633 ))) 634 634 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 635 635 ((( ... ... @@ -644,7 +644,7 @@ 644 644 )))|((( 645 645 1.50 Beta 3 646 646 )))|((( 647 -**Lua: GetComponentData() **changed behavior of "docksizes" propert ly.(% class="confluenceTd" %)998 +**Lua: GetComponentData() **changed behavior of "docksizes" property. 648 648 ))) 649 649 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 650 650 ((( ... ... @@ -670,7 +670,7 @@ 670 670 )))|((( 671 671 1.50 Beta 2 672 672 )))|((( 673 -**FFI: UpgradeGroupInfo **datatype was changed. (% class="confluenceTd" %)1024 +**FFI: UpgradeGroupInfo **datatype was changed. 674 674 ))) 675 675 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 676 676 ((( ... ... @@ -688,8 +688,7 @@ 688 688 ))) 689 689 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 690 690 ((( 691 -//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. 692 -// 1042 +//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.// 693 693 694 694 //The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)// 695 695 ))) ... ... @@ -698,11 +698,11 @@ 698 698 )))|((( 699 699 1.50 Beta 1 700 700 )))|((( 701 -**FFI: CancelConstruction() **changed its return value. (% class="confluenceTd" %)1051 +**FFI: CancelConstruction() **changed its return value. 702 702 ))) 703 703 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 704 704 ((( 705 -(% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. //1055 +(% style="color:#000000" %)//CancelConstruction() now returns if the cancellation was successful. // 706 706 ))) 707 707 |(% colspan="3" %)(% colspan="3" %) 708 708 ((( ... ... @@ -728,9 +728,9 @@ 728 728 )))|((( 729 729 1.20 730 730 )))|((( 731 -**FFI: GetAAOption()** got a new "useconfig" parameter. (% class="confluenceTd" %)1081 +**FFI: GetAAOption()** got a new "useconfig" parameter. 732 732 ))) 733 733 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 734 734 ((( 735 -//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.//1085 +//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.// 736 736 )))
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 919496851 +78577854 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/ 91949685/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/78577854/Breaking Changes