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