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.n ick1 +xwiki:XWiki.owen - Content
-
... ... @@ -24,20 +24,446 @@ 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 +))) 35 +|((( 36 +Scripts 37 +)))|((( 38 +4.10 Beta 1 39 +)))|((( 40 +People related attributes of mission** <delivery> **node moved 41 +)))|((( 42 + 43 +))) 44 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 45 +((( 46 +//The <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.// 47 +))) 48 +|(% colspan="4" %)(% colspan="4" %) 49 +((( 50 +== 4.10 == 51 +))) 28 28 |(% colspan="1" %)(% colspan="1" %) 29 29 ((( 30 30 Scripts 31 31 )))|(% colspan="1" %)(% colspan="1" %) 32 32 ((( 57 +4.10 Beta 1 58 +)))|(% colspan="1" %)(% colspan="1" %) 59 +((( 60 +**$destructible.productions** replaced with $defensible.productions 61 +)))|(% colspan="1" %)(% colspan="1" %) 62 +((( 63 + 64 +))) 65 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 66 +((( 67 +//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.// 68 +)))|(% colspan="1" %)(% colspan="1" %) 69 +((( 70 + 71 +))) 72 +|((( 73 +Scripts 74 +)))|((( 75 +4.10 Beta 1 76 +)))|((( 77 +Removed script property **$object.spawnsourceseed** 78 +)))|((( 79 + 80 +))) 81 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 82 +((( 83 +//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.// 84 +))) 85 +|(% colspan="4" %)(% colspan="4" %) 86 +((( 87 +== 4.00 == 88 +))) 89 +|(% colspan="1" %)(% colspan="1" %) 90 +((( 91 +UI core 92 +)))|(% colspan="1" %)(% colspan="1" %) 93 +((( 94 +4.00 Beta 10 95 +)))|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 +Controlled ship can change without a **gameplanchange-event** occurring. 98 +)))|(% colspan="1" %)(% colspan="1" %) 99 +((( 100 + 101 +))) 102 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 103 +((( 104 +//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). 105 +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. 106 +// 107 +)))|(% colspan="1" %)(% colspan="1" %) 108 +((( 109 + 110 +))) 111 +|((( 112 +Scripts 113 +)))|((( 114 +4.00 Beta 7 115 +)))|((( 116 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 117 +)))|((( 118 + 119 +))) 120 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 121 +((( 122 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 123 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 124 +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// 125 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 126 +((( 127 + 128 +))) 129 +|(% colspan="1" %)(% colspan="1" %) 130 +((( 131 +UI core 132 +)))|(% colspan="1" %)(% colspan="1" %) 133 +((( 134 +4.00 Beta 6 135 +)))|(% colspan="1" %)(% colspan="1" %) 136 +((( 137 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 138 +)))|(% colspan="1" %)(% colspan="1" %) 139 +((( 140 + 141 +))) 142 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 143 +((( 144 +//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. 145 +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).// 146 + 147 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead. 148 +// 149 +)))|(% colspan="1" %)(% colspan="1" %) 150 +((( 151 + 152 +))) 153 +|(% colspan="1" %)(% colspan="1" %) 154 +((( 155 +UI core 156 +)))|(% colspan="1" %)(% colspan="1" %) 157 +((( 158 +4.00 Beta 5 159 +)))|(% colspan="1" %)(% colspan="1" %) 160 +((( 161 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 162 +)))|(% colspan="1" %)(% colspan="1" %) 163 +((( 164 + 165 +))) 166 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 167 +((( 168 +//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.// 169 + 170 +//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). 171 +)))|(% colspan="1" %)(% colspan="1" %) 172 +((( 173 + 174 +))) 175 +|((( 176 +Parameters 177 +)))|((( 178 +4.00 Beta 1 179 +)))|((( 180 +**requiresconstructionvessel** parameter moved 181 +)))|((( 182 + 183 +))) 184 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 185 +((( 186 +//The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.// 187 +))) 188 +|((( 189 +Scripts 190 +)))|((( 191 +4.00 Beta 1 192 +)))|((( 193 +Changed behaviour of **gatedistance** script property 194 +)))|((( 195 + 196 +))) 197 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 198 +((( 199 +//The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.// 200 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 201 +((( 202 + 203 +))) 204 +|(% colspan="4" %)(% colspan="4" %) 205 +((( 206 +== 3.30 == 207 +))) 208 +|((( 209 +UI extensions 210 +)))|((( 211 +3.30 Beta 3 212 +)))|((( 213 +**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()** 214 +)))|(% colspan="1" %)(% colspan="1" %) 215 +((( 216 + 217 +))) 218 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 219 +((( 220 +//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()// 221 +))) 222 +|(% colspan="4" %)(% colspan="4" %) 223 +((( 224 +== 3.20 == 225 +))) 226 +|((( 227 +Scripts 228 +)))|((( 229 +3.20 Beta 1 230 +)))|((( 231 +Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed 232 +)))|(% colspan="1" %)(% colspan="1" %) 233 +((( 234 + 235 +))) 236 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 237 +((( 238 +//Old params: param = attacked object, param2 = attack method, param3 = attacked component// 239 +//New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon] 240 +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// 241 +))) 242 +|(% colspan="1" %)(% colspan="1" %) 243 +((( 244 +Scripts 245 +)))|(% colspan="1" %)(% colspan="1" %) 246 +((( 247 +3.20 Beta 1 248 +)))|(% colspan="1" %)(% colspan="1" %) 249 +((( 250 +Removed script property $trade.**restriction.faction** 251 +)))|(% colspan="1" %)(% colspan="1" %) 252 +((( 253 + 254 +))) 255 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 256 +((( 257 +//$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.// 258 +))) 259 +|((( 260 +UI extensions 261 +)))|((( 262 +3.20 Beta 1 263 +)))|((( 264 +**Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete! 265 +)))|(% colspan="1" %)(% colspan="1" %) 266 +((( 267 + 268 +))) 269 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 270 +((( 271 +//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.// 272 +))) 273 +|(% colspan="4" %)(% colspan="4" %) 274 +((( 275 +== 3.10 == 276 +))) 277 +|(% colspan="1" %)(% colspan="1" %) 278 +((( 279 +Scripts 280 +)))|(% colspan="1" %)(% colspan="1" %) 281 +((( 282 +3.10 Beta 1 283 +)))|(% colspan="1" %)(% colspan="1" %) 284 +((( 285 +Removed script action **<add_build/>** 286 +)))|(% colspan="1" %)(% colspan="1" %) 287 +((( 288 + 289 +))) 290 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 291 +((( 292 +//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.// 293 +))) 294 +|(% colspan="4" %)(% colspan="4" %) 295 +((( 296 +== 3.00 == 297 +))) 298 +|(% colspan="1" %)(% colspan="1" %) 299 +((( 300 +Scripts 301 +)))|(% colspan="1" %)(% colspan="1" %) 302 +((( 303 +3.0 Beta 6 304 +)))|(% colspan="1" %)(% colspan="1" %) 305 +((( 306 +Changed behaviour of script action **<get_suitable_job/>** 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 +//<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.// 314 +))) 315 +|(% colspan="1" %)(% colspan="1" %) 316 +((( 317 +Scripts 318 +)))|(% colspan="1" %)(% colspan="1" %) 319 +((( 320 +3.0 Beta 6 321 +)))|(% colspan="1" %)(% colspan="1" %) 322 +((( 323 +Changed behaviour of script action **<get_ware_definition/>** 324 +)))|(% colspan="1" %)(% colspan="1" %) 325 +((( 326 + 327 +))) 328 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 329 +((( 330 +//<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.// 331 +))) 332 +|(% colspan="1" %)(% colspan="1" %) 333 +((( 334 +Global 335 +)))|(% colspan="1" %)(% colspan="1" %) 336 +((( 337 +3.0 Beta 5 338 +)))|(% colspan="1" %)(% colspan="1" %) 339 +((( 340 +Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case 341 +)))|(% colspan="1" %)(% colspan="1" %) 342 +((( 343 + 344 +))) 345 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 346 +((( 347 +//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.)\\ 348 + 349 +//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).// 350 +))) 351 +|(% colspan="1" %)(% colspan="1" %) 352 +((( 353 +Scripts 354 +)))|(% colspan="1" %)(% colspan="1" %) 355 +((( 356 +3.0 Beta 5 357 +)))|(% colspan="1" %)(% colspan="1" %) 358 +((( 359 +Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions> 360 +)))|(% colspan="1" %)(% colspan="1" %) 361 +((( 362 + 363 +))) 364 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 365 +((( 366 +//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.// 367 +))) 368 +|(% colspan="1" %)(% colspan="1" %) 369 +((( 370 +Scripts 371 +)))|(% colspan="1" %)(% colspan="1" %) 372 +((( 373 +3.0 Beta 5 374 +)))|(% colspan="1" %)(% colspan="1" %) 375 +((( 376 +Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos** 377 +)))|(% colspan="1" %)(% colspan="1" %) 378 +((( 379 + 380 +))) 381 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 382 +((( 383 +//Before the change, positions are relative to $dockingbay.parent. 384 +After the change, positions are relative to $dockingbay as specified in the documentation.// 385 +))) 386 +|(% colspan="1" %)(% colspan="1" %) 387 +((( 388 +Global 389 +)))|(% colspan="1" %)(% colspan="1" %) 390 +((( 391 +3.0 Beta 2 392 +)))|(% colspan="1" %)(% colspan="1" %) 393 +((( 394 +Support for entity flag "**skillsvisible**" dropped 395 +)))|(% colspan="1" %)(% colspan="1" %) 396 +((( 397 + 398 +))) 399 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 400 +((( 401 +//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().// 402 +))) 403 +|((( 404 +Scripts 405 +)))|((( 406 +3.0 Beta 2 407 +)))|((( 408 +Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**. 409 +)))|(% colspan="1" %)(% colspan="1" %) 410 +((( 411 + 412 +))) 413 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 414 +((( 415 +//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. 416 +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. 417 +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. 418 +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). 419 +))) 420 +|(% colspan="1" %)(% colspan="1" %) 421 +((( 422 +Global 423 +)))|(% colspan="1" %)(% colspan="1" %) 424 +((( 33 33 3.0 Beta 1 34 34 )))|(% colspan="1" %)(% colspan="1" %) 35 35 ((( 428 +**MissionBoard** support dropped 429 +)))|(% colspan="1" %)(% colspan="1" %) 430 +((( 431 + 432 +))) 433 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 434 +((( 435 +//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.// 436 +))) 437 +|((( 438 +Job/God 439 +)))|((( 440 +3.0 Beta 1 441 +)))|((( 442 +By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined 443 +)))|(% colspan="1" %)(% colspan="1" %) 444 +((( 445 + 446 +))) 447 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 448 +((( 449 +//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.// 450 +))) 451 +|(% colspan="1" %)(% colspan="1" %) 452 +((( 453 +Scripts 454 +)))|(% colspan="1" %)(% colspan="1" %) 455 +((( 456 +3.0 Beta 1 457 +)))|(% colspan="1" %)(% colspan="1" %) 458 +((( 36 36 Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'** 460 +)))|(% colspan="1" %)(% colspan="1" %) 461 +((( 462 + 37 37 ))) 38 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)464 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 39 39 ((( 40 -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. 466 +//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.// 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 action **<set_doors_locked/>** attribute **'group'** changed 477 +)))|(% colspan="1" %)(% colspan="1" %) 478 +((( 479 + 51 51 ))) 52 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)481 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 53 53 ((( 54 54 //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.// 55 55 ))) ... ... @@ -62,8 +62,11 @@ 62 62 )))|(% colspan="1" %)(% colspan="1" %) 63 63 ((( 64 64 Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed 494 +)))|(% colspan="1" %)(% colspan="1" %) 495 +((( 496 + 65 65 ))) 66 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)498 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 67 67 ((( 68 68 //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.// 69 69 ))) ... ... @@ -76,8 +76,11 @@ 76 76 )))|(% colspan="1" %)(% colspan="1" %) 77 77 ((( 78 78 Script actions **<set_hack_target/>** and **<abort_hack/>** removed 511 +)))|(% colspan="1" %)(% colspan="1" %) 512 +((( 513 + 79 79 ))) 80 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)515 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 81 81 ((( 82 82 //These actions had no effect and were removed.// 83 83 ))) ... ... @@ -90,8 +90,11 @@ 90 90 )))|(% colspan="1" %)(% colspan="1" %) 91 91 ((( 92 92 **<setup_conversation_minigame/>** script action removed 528 +)))|(% colspan="1" %)(% colspan="1" %) 529 +((( 530 + 93 93 ))) 94 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)532 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 95 95 ((( 96 96 //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.// 97 97 ))) ... ... @@ -104,8 +104,11 @@ 104 104 )))|(% colspan="1" %)(% colspan="1" %) 105 105 ((( 106 106 <add_player_choice_*> **confidence** attribute removed 545 +)))|(% colspan="1" %)(% colspan="1" %) 546 +((( 547 + 107 107 ))) 108 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)549 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 109 109 ((( 110 110 //The default confidence of player options is another leftover from the XR era and had no effect in X4.// 111 111 ))) ... ... @@ -118,8 +118,11 @@ 118 118 )))|(% colspan="1" %)(% colspan="1" %) 119 119 ((( 120 120 **<hack_via_control_panel/>** script action removed 562 +)))|(% colspan="1" %)(% colspan="1" %) 563 +((( 564 + 121 121 ))) 122 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)566 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 123 123 ((( 124 124 //Unused script action <hack_via_control_panel/> was removed.// 125 125 ))) ... ... @@ -132,13 +132,47 @@ 132 132 )))|(% colspan="1" %)(% colspan="1" %) 133 133 ((( 134 134 **Lua: **GetMiniGameCursorPosition() removed 579 +)))|(% colspan="1" %)(% colspan="1" %) 580 +((( 581 + 135 135 ))) 136 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)583 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 137 137 ((( 138 138 //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.// 139 139 ))) 587 +|((( 588 +UI core 589 +)))|((( 590 +3.0 Beta 1 591 +)))|((( 592 +**FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders 593 +)))|(% colspan="1" %)(% colspan="1" %) 594 +((( 595 + 596 +))) 597 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 598 +((( 599 +//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.// 600 +))) 140 140 |(% colspan="1" %)(% colspan="1" %) 141 141 ((( 603 +UI extensions 604 +)))|(% colspan="1" %)(% colspan="1" %) 605 +((( 606 +3.0 Beta 1 607 +)))|(% colspan="1" %)(% colspan="1" %) 608 +((( 609 +**FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor 610 +)))|(% colspan="1" %)(% colspan="1" %) 611 +((( 612 + 613 +))) 614 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 615 +((( 616 +//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.// 617 +))) 618 +|(% colspan="1" %)(% colspan="1" %) 619 +((( 142 142 Scripts 143 143 )))|(% colspan="1" %)(% colspan="1" %) 144 144 ((( ... ... @@ -146,11 +146,14 @@ 146 146 )))|(% colspan="1" %)(% colspan="1" %) 147 147 ((( 148 148 **$ware.illegal** updated 627 +)))|(% colspan="1" %)(% colspan="1" %) 628 +((( 629 + 149 149 ))) 150 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)631 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 151 151 ((( 152 152 //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.// 153 - \\//It now returns true if $ware is illegal to any faction in the game.//634 +//It now returns true if $ware is illegal to any faction in the game.// 154 154 ))) 155 155 |(% colspan="1" %)(% colspan="1" %) 156 156 ((( ... ... @@ -160,13 +160,14 @@ 160 160 3.0 Beta 1 161 161 )))|(% colspan="1" %)(% colspan="1" %) 162 162 ((( 163 -'**checkoperational**' filter behaviour changed 644 +MD script **RML_Flight_Along_Path** removed 645 +)))|(% colspan="1" %)(% colspan="1" %) 646 +((( 647 + 164 164 ))) 165 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)649 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 166 166 ((( 167 -//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.// 168 - 169 -//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.// 651 +//The MD script RML_Flight_Along_Path was not referened and was removed.// 170 170 ))) 171 171 |(% colspan="1" %)(% colspan="1" %) 172 172 ((( ... ... @@ -176,23 +176,84 @@ 176 176 3.0 Beta 1 177 177 )))|(% colspan="1" %)(% colspan="1" %) 178 178 ((( 179 -MD script **RML_Flight_Along_Path** removed 661 +parameters of **<event_venture_mission_completed/>** changed 662 +)))|(% colspan="1" %)(% colspan="1" %) 663 +((( 664 + 180 180 ))) 181 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)666 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 182 182 ((( 183 -//The MD script RML_Flight_Along_Path was not referened and was removed.// 668 +//old params: param = venture details, param2 = ships involved, param3 = duration// 669 +//new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration// 184 184 ))) 185 185 |((( 186 186 Scripts 187 187 )))|((( 674 +3.0 Beta 1 675 +)))|((( 676 +**<set_object_wing_name/>** removed, 677 +**<set_object_fleet_name/>** added 678 +)))|(% colspan="1" %)(% colspan="1" %) 679 +((( 680 + 681 +))) 682 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 683 +((( 684 +//The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>// 685 +))) 686 +|((( 687 +Scripts 688 +)))|((( 689 +3.0 Beta 1 690 +)))|((( 691 +**$controllable.wing.*** removed, 692 +**$controllable.fleet.*** added 693 +)))|(% colspan="1" %)(% colspan="1" %) 694 +((( 695 + 696 +))) 697 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 698 +((( 699 +$controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander 700 +))) 701 +|(% colspan="4" %)(% colspan="4" %) 702 +((( 703 +== 2.60 == 704 +))) 705 +|((( 706 +Scripts 707 +)))|((( 188 188 2.60 Beta 1 189 189 )))|((( 190 -$container.supplyresources behavior changed 710 +'**checkoperational**' filter behaviour changed 711 +)))|(% colspan="1" %)(% colspan="1" %) 712 +((( 713 + 191 191 ))) 192 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)715 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 193 193 ((( 717 +//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.// 718 + 719 +//Sub nodes such as match_child will have checkoperational default to false. Existing uses may find that results now include non-operational components.// 720 +))) 721 +|((( 722 +Scripts 723 +)))|((( 724 +2.60 Beta 1 725 +)))|((( 726 +$container.**supplyresources** behavior changed 727 +)))|(% colspan="1" %)(% colspan="1" %) 728 +((( 729 + 730 +))) 731 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 732 +((( 194 194 //The script keyword $container.supplyresources now includes reserved wares.// 195 195 ))) 735 +|(% colspan="4" %)(% colspan="4" %) 736 +((( 737 +== 2.20 == 738 +))) 196 196 |(% colspan="1" %)(% colspan="1" %) 197 197 ((( 198 198 UI core ... ... @@ -202,8 +202,11 @@ 202 202 )))|(% colspan="1" %)(% colspan="1" %) 203 203 ((( 204 204 **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined. 748 +)))|(% colspan="1" %)(% colspan="1" %) 749 +((( 750 + 205 205 ))) 206 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)752 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 207 207 ((( 208 208 //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. 209 209 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.// ... ... @@ -220,11 +220,18 @@ 220 220 )))|(% colspan="1" %)(% colspan="1" %) 221 221 ((( 222 222 Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor' 769 +)))|(% colspan="1" %)(% colspan="1" %) 770 +((( 771 + 223 223 ))) 224 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)773 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 225 225 ((( 226 226 //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.// 227 227 ))) 777 +|(% colspan="4" %)(% colspan="4" %) 778 +((( 779 +== 2.00 == 780 +))) 228 228 |(% colspan="1" %)(% colspan="1" %) 229 229 ((( 230 230 Scripts ... ... @@ -234,8 +234,11 @@ 234 234 )))|(% colspan="1" %)(% colspan="1" %) 235 235 ((( 236 236 **<event_build_finished/> **param2 now returns null instead of a construction sequence 790 +)))|(% colspan="1" %)(% colspan="1" %) 791 +((( 792 + 237 237 ))) 238 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)794 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 239 239 ((( 240 240 //The construction sequence which was finished should now be accessed via the buildtask provided via param3.// 241 241 ))) ... ... @@ -248,8 +248,11 @@ 248 248 )))|(% colspan="1" %)(% colspan="1" %) 249 249 ((( 250 250 **param.boarding.{...}** strength parameters removed 807 +)))|(% colspan="1" %)(% colspan="1" %) 808 +((( 809 + 251 251 ))) 252 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)811 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 253 253 ((( 254 254 //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.// 255 255 ))) ... ... @@ -262,8 +262,11 @@ 262 262 )))|(% colspan="1" %)(% colspan="1" %) 263 263 ((( 264 264 **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed 824 +)))|(% colspan="1" %)(% colspan="1" %) 825 +((( 826 + 265 265 ))) 266 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)828 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 267 267 ((( 268 268 //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.// 269 269 ))) ... ... @@ -273,8 +273,11 @@ 273 273 2.00 Beta 1 274 274 )))|((( 275 275 **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals 838 +)))|(% colspan="1" %)(% colspan="1" %) 839 +((( 840 + 276 276 ))) 277 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)842 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 278 278 ((( 279 279 //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.// 280 280 ))) ... ... @@ -284,8 +284,11 @@ 284 284 2.00 Beta 1 285 285 )))|((( 286 286 **FFI: SetFormationShape()** no longer indicates an error upon certain error cases 852 +)))|(% colspan="1" %)(% colspan="1" %) 853 +((( 854 + 287 287 ))) 288 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)856 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 289 289 ((( 290 290 //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.// 291 291 //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.// ... ... @@ -296,8 +296,11 @@ 296 296 2.00 Beta 1 297 297 )))|((( 298 298 **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated. 867 +)))|(% colspan="1" %)(% colspan="1" %) 868 +((( 869 + 299 299 ))) 300 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)871 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 301 301 ((( 302 302 //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.// 303 303 ))) ... ... @@ -307,8 +307,11 @@ 307 307 2.00 Beta 1 308 308 )))|((( 309 309 **<event_player_changed_target/>** now fires and returns null if the player deselects a target. 881 +)))|(% colspan="1" %)(% colspan="1" %) 882 +((( 883 + 310 310 ))) 311 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)885 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 312 312 ((( 313 313 //For prior behavior, check for event.param being non-null.// 314 314 ))) ... ... @@ -318,8 +318,11 @@ 318 318 2.00 Beta 1 319 319 )))|((( 320 320 **<shoot/>/<shoot_at/>** attribute changes. 895 +)))|(% colspan="1" %)(% colspan="1" %) 896 +((( 897 + 321 321 ))) 322 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)899 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 323 323 ((( 324 324 //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.// 325 325 //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.// ... ... @@ -333,8 +333,11 @@ 333 333 2.00 Beta 1 334 334 )))|((( 335 335 **FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %) 913 +)))|(% colspan="1" %)(% colspan="1" %) 914 +((( 915 + 336 336 ))) 337 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)917 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 338 338 ((( 339 339 //Added possibility to query build tasks of a certain buildmodule.// 340 340 ))) ... ... @@ -344,8 +344,11 @@ 344 344 2.00 Beta 1 345 345 )))|((( 346 346 **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field. 927 +)))|(% colspan="1" %)(% colspan="1" %) 928 +((( 929 + 347 347 ))) 348 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)931 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 349 349 ((( 350 350 //Added list of resources a buildmodule needs to build.// 351 351 ))) ... ... @@ -355,8 +355,11 @@ 355 355 2.00 Beta 1 356 356 )))|((( 357 357 (% 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);" %) 941 +)))|(% colspan="1" %)(% colspan="1" %) 942 +((( 943 + 358 358 ))) 359 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)945 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 360 360 ((( 361 361 //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.// 362 362 ))) ... ... @@ -366,11 +366,18 @@ 366 366 2.00 Beta 1 367 367 )))|((( 368 368 **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" %) 955 +)))|(% colspan="1" %)(% colspan="1" %) 956 +((( 957 + 369 369 ))) 370 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)959 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 371 371 ((( 372 372 //Changed return value type to const char* to better identify failure reasons in Lua script.// 373 373 ))) 963 +|(% colspan="4" %)(% colspan="4" %) 964 +((( 965 +== 1.50 == 966 +))) 374 374 |((( 375 375 UI extensions 376 376 )))|((( ... ... @@ -377,8 +377,11 @@ 377 377 1.50 Beta 3 378 378 )))|((( 379 379 **Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %) 973 +)))|(% colspan="1" %)(% colspan="1" %) 974 +((( 975 + 380 380 ))) 381 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)977 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 382 382 ((( 383 383 //The "docksizes" property no longer includes internal ship storage docks.// 384 384 ))) ... ... @@ -388,8 +388,11 @@ 388 388 1.50 Beta 2 389 389 )))|((( 390 390 **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR). 987 +)))|(% colspan="1" %)(% colspan="1" %) 988 +((( 989 + 391 391 ))) 392 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)991 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 393 393 ((( 394 394 //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".// 395 395 ... ... @@ -403,8 +403,11 @@ 403 403 1.50 Beta 2 404 404 )))|((( 405 405 **FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %) 1005 +)))|(% colspan="1" %)(% colspan="1" %) 1006 +((( 1007 + 406 406 ))) 407 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1009 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 408 408 ((( 409 409 //Added new "operational" field to retrieve information about number of operational upgrades in a group.// 410 410 ))) ... ... @@ -417,8 +417,11 @@ 417 417 )))|(% colspan="1" %)(% colspan="1" %) 418 418 ((( 419 419 **FFI: SetGuidance()** removed useinfopoint argument. 1022 +)))|(% colspan="1" %)(% colspan="1" %) 1023 +((( 1024 + 420 420 ))) 421 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1026 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 422 422 ((( 423 423 //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. 424 424 // ... ... @@ -431,11 +431,18 @@ 431 431 1.50 Beta 1 432 432 )))|((( 433 433 **FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %) 1039 +)))|(% colspan="1" %)(% colspan="1" %) 1040 +((( 1041 + 434 434 ))) 435 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1043 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 436 436 ((( 437 437 (% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. // 438 438 ))) 1047 +|(% colspan="4" %)(% colspan="4" %) 1048 +((( 1049 +== 1.32 == 1050 +))) 439 439 |((( 440 440 UI extensions 441 441 )))|((( ... ... @@ -442,11 +442,18 @@ 442 442 1.32 443 443 )))|((( 444 444 **Lua: GetComponentData() **removed the "nextdestname" property. 1057 +)))|(% colspan="1" %)(% colspan="1" %) 1058 +((( 1059 + 445 445 ))) 446 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1061 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 447 447 ((( 448 448 //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.// 449 449 ))) 1065 +|(% colspan="4" %)(% colspan="4" %) 1066 +((( 1067 +== 1.20 == 1068 +))) 450 450 |((( 451 451 UI extensions 452 452 )))|((( ... ... @@ -453,8 +453,11 @@ 453 453 1.20 454 454 )))|((( 455 455 **FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %) 1075 +)))|(% colspan="1" %)(% colspan="1" %) 1076 +((( 1077 + 456 456 ))) 457 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1079 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 458 458 ((( 459 459 //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.// 460 460 )))
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 851320001 +103285157 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/ 85132000/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/103285157/Breaking Changes