Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.o wen1 +xwiki:XWiki.florian - Content
-
... ... @@ -24,20 +24,556 @@ 24 24 Version 25 25 )))|=((( 26 26 Summary 27 +)))|=(% colspan="1" %)(% colspan="1" %) 28 +((( 29 + 27 27 ))) 31 +|(% colspan="4" %)(% colspan="4" %) 32 +((( 33 +== 4.10 == 34 +))) 28 28 |(% colspan="1" %)(% colspan="1" %) 29 29 ((( 37 +UI extensions 38 +)))|(% colspan="1" %)(% colspan="1" %) 39 +((( 40 +4.10 Beta 7 41 +)))|(% colspan="1" %)(% colspan="1" %) 42 +((( 43 +**FFI**: (% style="color: rgb(0,0,0);" %)SetMapRenderCargoContents(%%)(), (% style="color: rgb(0,0,0);" %)SetMapRenderWorkForceInfo(), (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)SetMapRenderCrewInfo() and (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)SetMapRenderDockedShipInfos()(%%) deprecated 44 +)))|(% colspan="1" %)(% colspan="1" %) 45 +((( 46 + 47 +))) 48 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 49 +((( 50 +//The functionality represented by (% style="color: rgb(0,0,0);" %)SetMapRenderCargoContents(%%)(), (% style="color: rgb(0,0,0);" %)SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos()(%%) has been removed and the function was therefore stubbed.// 51 +)))|(% colspan="1" %)(% colspan="1" %) 52 +((( 53 + 54 +))) 55 +|(% colspan="1" %)(% colspan="1" %) 56 +((( 57 +UI extensions 58 +)))|(% colspan="1" %)(% colspan="1" %) 59 +((( 60 +4.10 Beta 6 61 +)))|(% colspan="1" %)(% colspan="1" %) 62 +((( 63 +**FFI**: CustomGameStartPlayerProperty2 changed 64 +)))|(% colspan="1" %)(% colspan="1" %) 65 +((( 66 + 67 +))) 68 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 69 +((( 70 +//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.// 71 +)))|(% colspan="1" %)(% colspan="1" %) 72 +((( 73 + 74 +))) 75 +|(% colspan="1" %)(% colspan="1" %) 76 +((( 77 +Parameters 78 +)))|(% colspan="1" %)(% colspan="1" %) 79 +((( 80 +4.10 Beta 3 81 +)))|(% colspan="1" %)(% colspan="1" %) 82 +((( 83 +Renamed **<stationinfobox>** to **<infobox>** 84 +)))|(% colspan="1" %)(% colspan="1" %) 85 +((( 86 + 87 +))) 88 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 89 +((( 90 +//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.// 91 +)))|(% colspan="1" %)(% colspan="1" %) 92 +((( 93 + 94 +))) 95 +|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 +UI extensions 98 +)))|(% colspan="1" %)(% colspan="1" %) 99 +((( 100 +4.10 Beta 2 101 +)))|(% colspan="1" %)(% colspan="1" %) 102 +((( 103 +**FFI**: SetMacroMapPlayerSectorOffset() deprecated 104 +)))|(% colspan="1" %)(% colspan="1" %) 105 +((( 106 + 107 +))) 108 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 109 +((( 110 +//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.// 111 +)))|(% colspan="1" %)(% colspan="1" %) 112 +((( 113 + 114 +))) 115 +|((( 116 +UI extensions 117 +)))|((( 118 +4.10 Beta 2 119 +)))|((( 120 +**FFI**: (% style="color: rgb(0,0,0);" %)FilterComponentForMapMode(%%)() and (% style="color: rgb(0,0,0);" %)SetMapObjectFilter() changed 121 +)))|(% colspan="1" %)(% colspan="1" %) 122 +((( 123 + 124 +))) 125 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 126 +((( 127 +//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.// 128 +)))|(% colspan="1" %)(% colspan="1" %) 129 +((( 130 + 131 +))) 132 +|((( 30 30 Scripts 134 +)))|((( 135 +4.10 Beta 1 136 +)))|((( 137 +People related attributes of mission** <delivery> **node moved 138 +)))|((( 139 + 140 +))) 141 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 142 +((( 143 +//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.// 144 +))) 145 +|(% colspan="1" %)(% colspan="1" %) 146 +((( 147 +Scripts 31 31 )))|(% colspan="1" %)(% colspan="1" %) 32 32 ((( 150 +4.10 Beta 1 151 +)))|(% colspan="1" %)(% colspan="1" %) 152 +((( 153 +**$destructible.productions** replaced with $defensible.productions 154 +)))|(% colspan="1" %)(% colspan="1" %) 155 +((( 156 + 157 +))) 158 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 159 +((( 160 +//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.// 161 +)))|(% colspan="1" %)(% colspan="1" %) 162 +((( 163 + 164 +))) 165 +|((( 166 +Scripts 167 +)))|((( 168 +4.10 Beta 1 169 +)))|((( 170 +Removed script property **$object.spawnsourceseed** 171 +)))|((( 172 + 173 +))) 174 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 175 +((( 176 +//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.// 177 +))) 178 +|(% colspan="4" %)(% colspan="4" %) 179 +((( 180 +== 4.00 == 181 +))) 182 +|(% colspan="1" %)(% colspan="1" %) 183 +((( 184 +UI core 185 +)))|(% colspan="1" %)(% colspan="1" %) 186 +((( 187 +4.00 Beta 10 188 +)))|(% colspan="1" %)(% colspan="1" %) 189 +((( 190 +Controlled ship can change without a **gameplanchange-event** occurring. 191 +)))|(% colspan="1" %)(% colspan="1" %) 192 +((( 193 + 194 +))) 195 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 196 +((( 197 +//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). 198 +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. 199 +// 200 +)))|(% colspan="1" %)(% colspan="1" %) 201 +((( 202 + 203 +))) 204 +|((( 205 +Scripts 206 +)))|((( 207 +4.00 Beta 7 208 +)))|((( 209 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 210 +)))|((( 211 + 212 +))) 213 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 214 +((( 215 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 216 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 217 +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// 218 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 219 +((( 220 + 221 +))) 222 +|(% colspan="1" %)(% colspan="1" %) 223 +((( 224 +UI core 225 +)))|(% colspan="1" %)(% colspan="1" %) 226 +((( 227 +4.00 Beta 6 228 +)))|(% colspan="1" %)(% colspan="1" %) 229 +((( 230 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 231 +)))|(% colspan="1" %)(% colspan="1" %) 232 +((( 233 + 234 +))) 235 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 236 +((( 237 +//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. 238 +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).// 239 + 240 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead. 241 +// 242 +)))|(% colspan="1" %)(% colspan="1" %) 243 +((( 244 + 245 +))) 246 +|(% colspan="1" %)(% colspan="1" %) 247 +((( 248 +UI core 249 +)))|(% colspan="1" %)(% colspan="1" %) 250 +((( 251 +4.00 Beta 5 252 +)))|(% colspan="1" %)(% colspan="1" %) 253 +((( 254 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 255 +)))|(% colspan="1" %)(% colspan="1" %) 256 +((( 257 + 258 +))) 259 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 260 +((( 261 +//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.// 262 + 263 +//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). 264 +)))|(% colspan="1" %)(% colspan="1" %) 265 +((( 266 + 267 +))) 268 +|((( 269 +Parameters 270 +)))|((( 271 +4.00 Beta 1 272 +)))|((( 273 +**requiresconstructionvessel** parameter moved 274 +)))|((( 275 + 276 +))) 277 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 278 +((( 279 +//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.// 280 +))) 281 +|((( 282 +Scripts 283 +)))|((( 284 +4.00 Beta 1 285 +)))|((( 286 +Changed behaviour of **gatedistance** script property 287 +)))|((( 288 + 289 +))) 290 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 291 +((( 292 +//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.// 293 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 294 +((( 295 + 296 +))) 297 +|(% colspan="4" %)(% colspan="4" %) 298 +((( 299 +== 3.30 == 300 +))) 301 +|((( 302 +UI extensions 303 +)))|((( 304 +3.30 Beta 3 305 +)))|((( 306 +**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()** 307 +)))|(% colspan="1" %)(% colspan="1" %) 308 +((( 309 + 310 +))) 311 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 312 +((( 313 +//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()// 314 +))) 315 +|(% colspan="4" %)(% colspan="4" %) 316 +((( 317 +== 3.20 == 318 +))) 319 +|((( 320 +Scripts 321 +)))|((( 322 +3.20 Beta 1 323 +)))|((( 324 +Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed 325 +)))|(% colspan="1" %)(% colspan="1" %) 326 +((( 327 + 328 +))) 329 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 330 +((( 331 +//Old params: param = attacked object, param2 = attack method, param3 = attacked component// 332 +//New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon] 333 +Note that this also means the component attribute to the events is no longer available, so scripts checking the attacked component need to use event.param3.{1} instead// 334 +))) 335 +|(% colspan="1" %)(% colspan="1" %) 336 +((( 337 +Scripts 338 +)))|(% colspan="1" %)(% colspan="1" %) 339 +((( 340 +3.20 Beta 1 341 +)))|(% colspan="1" %)(% colspan="1" %) 342 +((( 343 +Removed script property $trade.**restriction.faction** 344 +)))|(% colspan="1" %)(% colspan="1" %) 345 +((( 346 + 347 +))) 348 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 349 +((( 350 +//$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.// 351 +))) 352 +|((( 353 +UI extensions 354 +)))|((( 355 +3.20 Beta 1 356 +)))|((( 357 +**Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete! 358 +)))|(% colspan="1" %)(% colspan="1" %) 359 +((( 360 + 361 +))) 362 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 363 +((( 364 +//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.// 365 +))) 366 +|(% colspan="4" %)(% colspan="4" %) 367 +((( 368 +== 3.10 == 369 +))) 370 +|(% colspan="1" %)(% colspan="1" %) 371 +((( 372 +Scripts 373 +)))|(% colspan="1" %)(% colspan="1" %) 374 +((( 375 +3.10 Beta 1 376 +)))|(% colspan="1" %)(% colspan="1" %) 377 +((( 378 +Removed script action **<add_build/>** 379 +)))|(% colspan="1" %)(% colspan="1" %) 380 +((( 381 + 382 +))) 383 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 384 +((( 385 +//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.// 386 +))) 387 +|(% colspan="4" %)(% colspan="4" %) 388 +((( 389 +== 3.00 == 390 +))) 391 +|(% colspan="1" %)(% colspan="1" %) 392 +((( 393 +Scripts 394 +)))|(% colspan="1" %)(% colspan="1" %) 395 +((( 396 +3.0 Beta 6 397 +)))|(% colspan="1" %)(% colspan="1" %) 398 +((( 399 +Changed behaviour of script action **<get_suitable_job/>** 400 +)))|(% colspan="1" %)(% colspan="1" %) 401 +((( 402 + 403 +))) 404 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 405 +((( 406 +//<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.// 407 +))) 408 +|(% colspan="1" %)(% colspan="1" %) 409 +((( 410 +Scripts 411 +)))|(% colspan="1" %)(% colspan="1" %) 412 +((( 413 +3.0 Beta 6 414 +)))|(% colspan="1" %)(% colspan="1" %) 415 +((( 416 +Changed behaviour of script action **<get_ware_definition/>** 417 +)))|(% colspan="1" %)(% colspan="1" %) 418 +((( 419 + 420 +))) 421 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 422 +((( 423 +//<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.// 424 +))) 425 +|(% colspan="1" %)(% colspan="1" %) 426 +((( 427 +Global 428 +)))|(% colspan="1" %)(% colspan="1" %) 429 +((( 430 +3.0 Beta 5 431 +)))|(% colspan="1" %)(% colspan="1" %) 432 +((( 433 +Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case 434 +)))|(% colspan="1" %)(% colspan="1" %) 435 +((( 436 + 437 +))) 438 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 439 +((( 440 +//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.)\\ 441 + 442 +//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).// 443 +))) 444 +|(% colspan="1" %)(% colspan="1" %) 445 +((( 446 +Scripts 447 +)))|(% colspan="1" %)(% colspan="1" %) 448 +((( 449 +3.0 Beta 5 450 +)))|(% colspan="1" %)(% colspan="1" %) 451 +((( 452 +Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions> 453 +)))|(% colspan="1" %)(% colspan="1" %) 454 +((( 455 + 456 +))) 457 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 458 +((( 459 +//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.// 460 +))) 461 +|(% colspan="1" %)(% colspan="1" %) 462 +((( 463 +Scripts 464 +)))|(% colspan="1" %)(% colspan="1" %) 465 +((( 466 +3.0 Beta 5 467 +)))|(% colspan="1" %)(% colspan="1" %) 468 +((( 469 +Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos** 470 +)))|(% colspan="1" %)(% colspan="1" %) 471 +((( 472 + 473 +))) 474 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 475 +((( 476 +//Before the change, positions are relative to $dockingbay.parent. 477 +After the change, positions are relative to $dockingbay as specified in the documentation.// 478 +))) 479 +|(% colspan="1" %)(% colspan="1" %) 480 +((( 481 +Global 482 +)))|(% colspan="1" %)(% colspan="1" %) 483 +((( 484 +3.0 Beta 2 485 +)))|(% colspan="1" %)(% colspan="1" %) 486 +((( 487 +Support for entity flag "**skillsvisible**" dropped 488 +)))|(% colspan="1" %)(% colspan="1" %) 489 +((( 490 + 491 +))) 492 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 493 +((( 494 +//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().// 495 +))) 496 +|((( 497 +Scripts 498 +)))|((( 499 +3.0 Beta 2 500 +)))|((( 501 +Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**. 502 +)))|(% colspan="1" %)(% colspan="1" %) 503 +((( 504 + 505 +))) 506 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 507 +((( 508 +//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. 509 +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. 510 +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. 511 +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). 512 +))) 513 +|(% colspan="1" %)(% colspan="1" %) 514 +((( 515 +Global 516 +)))|(% colspan="1" %)(% colspan="1" %) 517 +((( 33 33 3.0 Beta 1 34 34 )))|(% colspan="1" %)(% colspan="1" %) 35 35 ((( 521 +**MissionBoard** support dropped 522 +)))|(% colspan="1" %)(% colspan="1" %) 523 +((( 524 + 525 +))) 526 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 527 +((( 528 +//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.// 529 +))) 530 +|((( 531 +Job/God 532 +)))|((( 533 +3.0 Beta 1 534 +)))|((( 535 +By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined 536 +)))|(% colspan="1" %)(% colspan="1" %) 537 +((( 538 + 539 +))) 540 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 541 +((( 542 +//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.// 543 +))) 544 +|(% colspan="1" %)(% colspan="1" %) 545 +((( 546 +Scripts 547 +)))|(% colspan="1" %)(% colspan="1" %) 548 +((( 549 +3.0 Beta 1 550 +)))|(% colspan="1" %)(% colspan="1" %) 551 +((( 552 +Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'** 553 +)))|(% colspan="1" %)(% colspan="1" %) 554 +((( 555 + 556 +))) 557 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 558 +((( 559 +//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.// 560 +))) 561 +|(% colspan="1" %)(% colspan="1" %) 562 +((( 563 +Scripts 564 +)))|(% colspan="1" %)(% colspan="1" %) 565 +((( 566 +3.0 Beta 1 567 +)))|(% colspan="1" %)(% colspan="1" %) 568 +((( 36 36 Script action **<set_doors_locked/>** attribute **'group'** changed 570 +)))|(% colspan="1" %)(% colspan="1" %) 571 +((( 572 + 37 37 ))) 38 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)574 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 39 39 ((( 40 -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. 576 +//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.// 41 41 ))) 42 42 |(% colspan="1" %)(% colspan="1" %) 43 43 ((( ... ... @@ -48,8 +48,11 @@ 48 48 )))|(% colspan="1" %)(% colspan="1" %) 49 49 ((( 50 50 Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed 587 +)))|(% colspan="1" %)(% colspan="1" %) 588 +((( 589 + 51 51 ))) 52 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)591 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 53 53 ((( 54 54 //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.// 55 55 ))) ... ... @@ -62,8 +62,11 @@ 62 62 )))|(% colspan="1" %)(% colspan="1" %) 63 63 ((( 64 64 Script actions **<set_hack_target/>** and **<abort_hack/>** removed 604 +)))|(% colspan="1" %)(% colspan="1" %) 605 +((( 606 + 65 65 ))) 66 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)608 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 67 67 ((( 68 68 //These actions had no effect and were removed.// 69 69 ))) ... ... @@ -76,8 +76,11 @@ 76 76 )))|(% colspan="1" %)(% colspan="1" %) 77 77 ((( 78 78 **<setup_conversation_minigame/>** script action removed 621 +)))|(% colspan="1" %)(% colspan="1" %) 622 +((( 623 + 79 79 ))) 80 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)625 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 81 81 ((( 82 82 //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.// 83 83 ))) ... ... @@ -90,8 +90,11 @@ 90 90 )))|(% colspan="1" %)(% colspan="1" %) 91 91 ((( 92 92 <add_player_choice_*> **confidence** attribute removed 638 +)))|(% colspan="1" %)(% colspan="1" %) 639 +((( 640 + 93 93 ))) 94 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)642 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 95 95 ((( 96 96 //The default confidence of player options is another leftover from the XR era and had no effect in X4.// 97 97 ))) ... ... @@ -104,8 +104,11 @@ 104 104 )))|(% colspan="1" %)(% colspan="1" %) 105 105 ((( 106 106 **<hack_via_control_panel/>** script action removed 655 +)))|(% colspan="1" %)(% colspan="1" %) 656 +((( 657 + 107 107 ))) 108 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)659 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 109 109 ((( 110 110 //Unused script action <hack_via_control_panel/> was removed.// 111 111 ))) ... ... @@ -118,13 +118,47 @@ 118 118 )))|(% colspan="1" %)(% colspan="1" %) 119 119 ((( 120 120 **Lua: **GetMiniGameCursorPosition() removed 672 +)))|(% colspan="1" %)(% colspan="1" %) 673 +((( 674 + 121 121 ))) 122 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)676 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 123 123 ((( 124 124 //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.// 125 125 ))) 680 +|((( 681 +UI core 682 +)))|((( 683 +3.0 Beta 1 684 +)))|((( 685 +**FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders 686 +)))|(% colspan="1" %)(% colspan="1" %) 687 +((( 688 + 689 +))) 690 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 691 +((( 692 +//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.// 693 +))) 126 126 |(% colspan="1" %)(% colspan="1" %) 127 127 ((( 696 +UI extensions 697 +)))|(% colspan="1" %)(% colspan="1" %) 698 +((( 699 +3.0 Beta 1 700 +)))|(% colspan="1" %)(% colspan="1" %) 701 +((( 702 +**FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor 703 +)))|(% colspan="1" %)(% colspan="1" %) 704 +((( 705 + 706 +))) 707 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 708 +((( 709 +//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.// 710 +))) 711 +|(% colspan="1" %)(% colspan="1" %) 712 +((( 128 128 Scripts 129 129 )))|(% colspan="1" %)(% colspan="1" %) 130 130 ((( ... ... @@ -132,11 +132,14 @@ 132 132 )))|(% colspan="1" %)(% colspan="1" %) 133 133 ((( 134 134 **$ware.illegal** updated 720 +)))|(% colspan="1" %)(% colspan="1" %) 721 +((( 722 + 135 135 ))) 136 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)724 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 137 137 ((( 138 138 //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.// 139 - \\//It now returns true if $ware is illegal to any faction in the game.//727 +//It now returns true if $ware is illegal to any faction in the game.// 140 140 ))) 141 141 |(% colspan="1" %)(% colspan="1" %) 142 142 ((( ... ... @@ -146,13 +146,14 @@ 146 146 3.0 Beta 1 147 147 )))|(% colspan="1" %)(% colspan="1" %) 148 148 ((( 149 -'**checkoperational**' filter behaviour changed 737 +MD script **RML_Flight_Along_Path** removed 738 +)))|(% colspan="1" %)(% colspan="1" %) 739 +((( 740 + 150 150 ))) 151 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)742 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 152 152 ((( 153 -//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.// 154 - 155 -//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.// 744 +//The MD script RML_Flight_Along_Path was not referened and was removed.// 156 156 ))) 157 157 |(% colspan="1" %)(% colspan="1" %) 158 158 ((( ... ... @@ -162,12 +162,84 @@ 162 162 3.0 Beta 1 163 163 )))|(% colspan="1" %)(% colspan="1" %) 164 164 ((( 165 -MD script **RML_Flight_Along_Path** removed 754 +parameters of **<event_venture_mission_completed/>** changed 755 +)))|(% colspan="1" %)(% colspan="1" %) 756 +((( 757 + 166 166 ))) 167 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)759 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 168 168 ((( 169 -//The MD script RML_Flight_Along_Path was not referened and was removed.// 761 +//old params: param = venture details, param2 = ships involved, param3 = duration// 762 +//new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration// 170 170 ))) 764 +|((( 765 +Scripts 766 +)))|((( 767 +3.0 Beta 1 768 +)))|((( 769 +**<set_object_wing_name/>** removed, 770 +**<set_object_fleet_name/>** added 771 +)))|(% colspan="1" %)(% colspan="1" %) 772 +((( 773 + 774 +))) 775 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 776 +((( 777 +//The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>// 778 +))) 779 +|((( 780 +Scripts 781 +)))|((( 782 +3.0 Beta 1 783 +)))|((( 784 +**$controllable.wing.*** removed, 785 +**$controllable.fleet.*** added 786 +)))|(% colspan="1" %)(% colspan="1" %) 787 +((( 788 + 789 +))) 790 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 791 +((( 792 +$controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander 793 +))) 794 +|(% colspan="4" %)(% colspan="4" %) 795 +((( 796 +== 2.60 == 797 +))) 798 +|((( 799 +Scripts 800 +)))|((( 801 +2.60 Beta 1 802 +)))|((( 803 +'**checkoperational**' filter behaviour changed 804 +)))|(% colspan="1" %)(% colspan="1" %) 805 +((( 806 + 807 +))) 808 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 809 +((( 810 +//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.// 811 + 812 +//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.// 813 +))) 814 +|((( 815 +Scripts 816 +)))|((( 817 +2.60 Beta 1 818 +)))|((( 819 +$container.**supplyresources** behavior changed 820 +)))|(% colspan="1" %)(% colspan="1" %) 821 +((( 822 + 823 +))) 824 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 825 +((( 826 +//The script keyword $container.supplyresources now includes reserved wares.// 827 +))) 828 +|(% colspan="4" %)(% colspan="4" %) 829 +((( 830 +== 2.20 == 831 +))) 171 171 |(% colspan="1" %)(% colspan="1" %) 172 172 ((( 173 173 UI core ... ... @@ -177,8 +177,11 @@ 177 177 )))|(% colspan="1" %)(% colspan="1" %) 178 178 ((( 179 179 **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined. 841 +)))|(% colspan="1" %)(% colspan="1" %) 842 +((( 843 + 180 180 ))) 181 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)845 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 182 182 ((( 183 183 //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. 184 184 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.// ... ... @@ -195,11 +195,18 @@ 195 195 )))|(% colspan="1" %)(% colspan="1" %) 196 196 ((( 197 197 Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor' 862 +)))|(% colspan="1" %)(% colspan="1" %) 863 +((( 864 + 198 198 ))) 199 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)866 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 200 200 ((( 201 201 //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.// 202 202 ))) 870 +|(% colspan="4" %)(% colspan="4" %) 871 +((( 872 +== 2.00 == 873 +))) 203 203 |(% colspan="1" %)(% colspan="1" %) 204 204 ((( 205 205 Scripts ... ... @@ -209,8 +209,11 @@ 209 209 )))|(% colspan="1" %)(% colspan="1" %) 210 210 ((( 211 211 **<event_build_finished/> **param2 now returns null instead of a construction sequence 883 +)))|(% colspan="1" %)(% colspan="1" %) 884 +((( 885 + 212 212 ))) 213 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)887 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 214 214 ((( 215 215 //The construction sequence which was finished should now be accessed via the buildtask provided via param3.// 216 216 ))) ... ... @@ -223,8 +223,11 @@ 223 223 )))|(% colspan="1" %)(% colspan="1" %) 224 224 ((( 225 225 **param.boarding.{...}** strength parameters removed 900 +)))|(% colspan="1" %)(% colspan="1" %) 901 +((( 902 + 226 226 ))) 227 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)904 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 228 228 ((( 229 229 //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.// 230 230 ))) ... ... @@ -237,8 +237,11 @@ 237 237 )))|(% colspan="1" %)(% colspan="1" %) 238 238 ((( 239 239 **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed 917 +)))|(% colspan="1" %)(% colspan="1" %) 918 +((( 919 + 240 240 ))) 241 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)921 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 242 242 ((( 243 243 //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.// 244 244 ))) ... ... @@ -248,8 +248,11 @@ 248 248 2.00 Beta 1 249 249 )))|((( 250 250 **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals 931 +)))|(% colspan="1" %)(% colspan="1" %) 932 +((( 933 + 251 251 ))) 252 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)935 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 253 253 ((( 254 254 //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.// 255 255 ))) ... ... @@ -259,8 +259,11 @@ 259 259 2.00 Beta 1 260 260 )))|((( 261 261 **FFI: SetFormationShape()** no longer indicates an error upon certain error cases 945 +)))|(% colspan="1" %)(% colspan="1" %) 946 +((( 947 + 262 262 ))) 263 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)949 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 264 264 ((( 265 265 //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.// 266 266 //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.// ... ... @@ -271,8 +271,11 @@ 271 271 2.00 Beta 1 272 272 )))|((( 273 273 **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated. 960 +)))|(% colspan="1" %)(% colspan="1" %) 961 +((( 962 + 274 274 ))) 275 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)964 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 276 276 ((( 277 277 //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.// 278 278 ))) ... ... @@ -282,8 +282,11 @@ 282 282 2.00 Beta 1 283 283 )))|((( 284 284 **<event_player_changed_target/>** now fires and returns null if the player deselects a target. 974 +)))|(% colspan="1" %)(% colspan="1" %) 975 +((( 976 + 285 285 ))) 286 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)978 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 287 287 ((( 288 288 //For prior behavior, check for event.param being non-null.// 289 289 ))) ... ... @@ -293,8 +293,11 @@ 293 293 2.00 Beta 1 294 294 )))|((( 295 295 **<shoot/>/<shoot_at/>** attribute changes. 988 +)))|(% colspan="1" %)(% colspan="1" %) 989 +((( 990 + 296 296 ))) 297 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)992 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 298 298 ((( 299 299 //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.// 300 300 //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.// ... ... @@ -308,8 +308,11 @@ 308 308 2.00 Beta 1 309 309 )))|((( 310 310 **FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %) 1006 +)))|(% colspan="1" %)(% colspan="1" %) 1007 +((( 1008 + 311 311 ))) 312 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1010 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 313 313 ((( 314 314 //Added possibility to query build tasks of a certain buildmodule.// 315 315 ))) ... ... @@ -319,8 +319,11 @@ 319 319 2.00 Beta 1 320 320 )))|((( 321 321 **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field. 1020 +)))|(% colspan="1" %)(% colspan="1" %) 1021 +((( 1022 + 322 322 ))) 323 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1024 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 324 324 ((( 325 325 //Added list of resources a buildmodule needs to build.// 326 326 ))) ... ... @@ -330,8 +330,11 @@ 330 330 2.00 Beta 1 331 331 )))|((( 332 332 (% 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);" %) 1034 +)))|(% colspan="1" %)(% colspan="1" %) 1035 +((( 1036 + 333 333 ))) 334 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1038 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 335 335 ((( 336 336 //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.// 337 337 ))) ... ... @@ -341,11 +341,18 @@ 341 341 2.00 Beta 1 342 342 )))|((( 343 343 **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" %) 1048 +)))|(% colspan="1" %)(% colspan="1" %) 1049 +((( 1050 + 344 344 ))) 345 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1052 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 346 346 ((( 347 347 //Changed return value type to const char* to better identify failure reasons in Lua script.// 348 348 ))) 1056 +|(% colspan="4" %)(% colspan="4" %) 1057 +((( 1058 +== 1.50 == 1059 +))) 349 349 |((( 350 350 UI extensions 351 351 )))|((( ... ... @@ -352,8 +352,11 @@ 352 352 1.50 Beta 3 353 353 )))|((( 354 354 **Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %) 1066 +)))|(% colspan="1" %)(% colspan="1" %) 1067 +((( 1068 + 355 355 ))) 356 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1070 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 357 357 ((( 358 358 //The "docksizes" property no longer includes internal ship storage docks.// 359 359 ))) ... ... @@ -363,8 +363,11 @@ 363 363 1.50 Beta 2 364 364 )))|((( 365 365 **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR). 1080 +)))|(% colspan="1" %)(% colspan="1" %) 1081 +((( 1082 + 366 366 ))) 367 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1084 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 368 368 ((( 369 369 //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".// 370 370 ... ... @@ -378,8 +378,11 @@ 378 378 1.50 Beta 2 379 379 )))|((( 380 380 **FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %) 1098 +)))|(% colspan="1" %)(% colspan="1" %) 1099 +((( 1100 + 381 381 ))) 382 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1102 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 383 383 ((( 384 384 //Added new "operational" field to retrieve information about number of operational upgrades in a group.// 385 385 ))) ... ... @@ -392,8 +392,11 @@ 392 392 )))|(% colspan="1" %)(% colspan="1" %) 393 393 ((( 394 394 **FFI: SetGuidance()** removed useinfopoint argument. 1115 +)))|(% colspan="1" %)(% colspan="1" %) 1116 +((( 1117 + 395 395 ))) 396 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1119 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 397 397 ((( 398 398 //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. 399 399 // ... ... @@ -406,11 +406,18 @@ 406 406 1.50 Beta 1 407 407 )))|((( 408 408 **FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %) 1132 +)))|(% colspan="1" %)(% colspan="1" %) 1133 +((( 1134 + 409 409 ))) 410 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1136 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 411 411 ((( 412 412 (% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. // 413 413 ))) 1140 +|(% colspan="4" %)(% colspan="4" %) 1141 +((( 1142 +== 1.32 == 1143 +))) 414 414 |((( 415 415 UI extensions 416 416 )))|((( ... ... @@ -417,11 +417,18 @@ 417 417 1.32 418 418 )))|((( 419 419 **Lua: GetComponentData() **removed the "nextdestname" property. 1150 +)))|(% colspan="1" %)(% colspan="1" %) 1151 +((( 1152 + 420 420 ))) 421 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1154 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 422 422 ((( 423 423 //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.// 424 424 ))) 1158 +|(% colspan="4" %)(% colspan="4" %) 1159 +((( 1160 +== 1.20 == 1161 +))) 425 425 |((( 426 426 UI extensions 427 427 )))|((( ... ... @@ -428,8 +428,11 @@ 428 428 1.20 429 429 )))|((( 430 430 **FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %) 1168 +)))|(% colspan="1" %)(% colspan="1" %) 1169 +((( 1170 + 431 431 ))) 432 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1172 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 433 433 ((( 434 434 //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.// 435 435 )))
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -85 1317141 +106890567 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/85 131714/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/106890567/Breaking Changes