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. klaus1 +xwiki:XWiki.stefan - Content
-
... ... @@ -18,7 +18,6 @@ 18 18 19 19 = Breaking Changes = 20 20 21 -(% class="wrapped" %) 22 22 |=((( 23 23 Type 24 24 )))|=((( ... ... @@ -25,172 +25,12 @@ 25 25 Version 26 26 )))|=((( 27 27 Summary 28 -))) 29 -|(% colspan="3" %)(% colspan="3" %) 27 +)))|=(% colspan="1" %)(% colspan="1" %) 30 30 ((( 31 - ==6.00 ==29 + 32 32 ))) 33 -|((( 34 -Assets 35 -)))|((( 36 -6.00 Beta 1 37 -)))|((( 38 -Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons 39 -))) 40 -|(% class="highlight-#f4f5f7" title="Background color : Light grey 100%" colspan="3" data-highlight-colour="#f4f5f7" %)(% class="highlight-#f4f5f7" title="Background color : Light grey 100%" colspan="3" data-highlight-colour="#f4f5f7" %) 31 +|(% colspan="4" %)(% colspan="4" %) 41 41 ((( 42 -//Connection tags used to specify compatibilities in component templates between a ship or station module and engines or shields now additionally require the use of the "standard" tag matching weapon or turret logic. For weapons that are neither Missile Launcher nor Mining Laser, the tag "combat" is also required. 43 -// 44 -))) 45 -|(% colspan="1" %)(% colspan="1" %) 46 -((( 47 -Scripts 48 -)))|(% colspan="1" %)(% colspan="1" %) 49 -((( 50 -6.00 Beta 1 51 -)))|(% colspan="1" %)(% colspan="1" %) 52 -((( 53 -Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects 54 -))) 55 -|(% class="highlight-#f4f5f7" title="Background color : Light grey 100%" colspan="3" data-highlight-colour="#f4f5f7" %)(% class="highlight-#f4f5f7" title="Background color : Light grey 100%" colspan="3" data-highlight-colour="#f4f5f7" %) 56 -((( 57 -//When finding components with attribute "sortbygatedistanceto", e.g. in <find_object>, any objects with a negative gatedistance (i.e. unreachable objects) are automatically excluded from the result.// 58 -))) 59 -|((( 60 -Scripts 61 -)))|((( 62 -6.00 Beta 1 63 -)))|((( 64 -**<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards. 65 -))) 66 -|(% class="highlight-#f4f5f7" title="Background color : Light grey 100%" colspan="3" data-highlight-colour="#f4f5f7" %)(% class="highlight-#f4f5f7" title="Background color : Light grey 100%" colspan="3" data-highlight-colour="#f4f5f7" %) 67 -((( 68 -//The order of events was adjusted, allowing handlers of <event_player_owned_killed_object> and <event_player_owned_destroyed> to access commander/subordinate relationship of the destroyed object.// 69 -))) 70 -|(% colspan="3" %)(% colspan="3" %) 71 -((( 72 -== 5.00 == 73 -))) 74 -|((( 75 -Parameters 76 -)))|((( 77 -5.00 Beta 1 78 -)))|((( 79 -**<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration 80 -))) 81 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 82 -((( 83 -//'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.// 84 -))) 85 -|(% colspan="3" %)(% colspan="3" %) 86 -((( 87 -== 4.10 == 88 -))) 89 -|(% colspan="1" %)(% colspan="1" %) 90 -((( 91 -UI extensions 92 -)))|(% colspan="1" %)(% colspan="1" %) 93 -((( 94 -4.10 Beta 7 95 -)))|(% colspan="1" %)(% colspan="1" %) 96 -((( 97 -**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 98 -))) 99 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 100 -((( 101 -//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.// 102 -))) 103 -|(% colspan="1" %)(% colspan="1" %) 104 -((( 105 -UI extensions 106 -)))|(% colspan="1" %)(% colspan="1" %) 107 -((( 108 -4.10 Beta 6 109 -)))|(% colspan="1" %)(% colspan="1" %) 110 -((( 111 -**FFI**: CustomGameStartPlayerProperty2 changed 112 -))) 113 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 114 -((( 115 -//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.// 116 -))) 117 -|(% colspan="1" %)(% colspan="1" %) 118 -((( 119 -Parameters 120 -)))|(% colspan="1" %)(% colspan="1" %) 121 -((( 122 -4.10 Beta 3 123 -)))|(% colspan="1" %)(% colspan="1" %) 124 -((( 125 -Renamed **<stationinfobox>** to **<infobox>** 126 -))) 127 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 128 -((( 129 -//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.// 130 -))) 131 -|(% colspan="1" %)(% colspan="1" %) 132 -((( 133 -UI extensions 134 -)))|(% colspan="1" %)(% colspan="1" %) 135 -((( 136 -4.10 Beta 2 137 -)))|(% colspan="1" %)(% colspan="1" %) 138 -((( 139 -**FFI**: SetMacroMapPlayerSectorOffset() deprecated 140 -))) 141 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 142 -((( 143 -//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.// 144 -))) 145 -|((( 146 -UI extensions 147 -)))|((( 148 -4.10 Beta 2 149 -)))|((( 150 -**FFI**: (% style="color: rgb(0,0,0);" %)FilterComponentForMapMode(%%)() and (% style="color: rgb(0,0,0);" %)SetMapObjectFilter() changed 151 -))) 152 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 153 -((( 154 -//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.// 155 -))) 156 -|((( 157 -Scripts 158 -)))|((( 159 -4.10 Beta 1 160 -)))|((( 161 -People related attributes of mission** <delivery> **node moved 162 -))) 163 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 164 -((( 165 -//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.// 166 -))) 167 -|(% colspan="1" %)(% colspan="1" %) 168 -((( 169 -Scripts 170 -)))|(% colspan="1" %)(% colspan="1" %) 171 -((( 172 -4.10 Beta 1 173 -)))|(% colspan="1" %)(% colspan="1" %) 174 -((( 175 -**$destructible.productions** replaced with $defensible.productions 176 -))) 177 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 178 -((( 179 -//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.// 180 -))) 181 -|((( 182 -Scripts 183 -)))|((( 184 -4.10 Beta 1 185 -)))|((( 186 -Removed script property **$object.spawnsourceseed** 187 -))) 188 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 189 -((( 190 -//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.// 191 -))) 192 -|(% colspan="3" %)(% colspan="3" %) 193 -((( 194 194 == 4.00 == 195 195 ))) 196 196 |(% colspan="1" %)(% colspan="1" %) ... ... @@ -198,64 +198,22 @@ 198 198 UI core 199 199 )))|(% colspan="1" %)(% colspan="1" %) 200 200 ((( 201 -4.00 Beta 1040 +4.00 Beta 5 202 202 )))|(% colspan="1" %)(% colspan="1" %) 203 203 ((( 204 -Controlled ship can change without a **gameplanchange-event** occurring. 205 -))) 206 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 207 -((( 208 -//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). 209 -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. 210 -// 211 -))) 212 -|((( 213 -Scripts 214 -)))|((( 215 -4.00 Beta 7 216 -)))|((( 217 -Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 218 -))) 219 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 220 -((( 221 -//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 222 -New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 223 -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// 224 -))) 225 -|(% colspan="1" %)(% colspan="1" %) 226 -((( 227 -UI core 43 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 228 228 )))|(% colspan="1" %)(% colspan="1" %) 229 229 ((( 230 -4.00 Beta 6 231 -)))|(% colspan="1" %)(% colspan="1" %) 232 -((( 233 -**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 46 + 234 234 ))) 235 235 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 236 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 -))) 243 -|(% colspan="1" %)(% colspan="1" %) 244 -((( 245 -UI core 50 +//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. 51 +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). 246 246 )))|(% colspan="1" %)(% colspan="1" %) 247 247 ((( 248 -4.00 Beta 5 249 -)))|(% colspan="1" %)(% colspan="1" %) 250 -((( 251 -**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 54 + 252 252 ))) 253 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 254 -((( 255 -//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.// 256 - 257 -//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). 258 -))) 259 259 |((( 260 260 Parameters 261 261 )))|((( ... ... @@ -262,8 +262,10 @@ 262 262 4.00 Beta 1 263 263 )))|((( 264 264 **requiresconstructionvessel** parameter moved 62 +)))|((( 63 + 265 265 ))) 266 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)65 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 267 267 ((( 268 268 //The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.// 269 269 ))) ... ... @@ -273,12 +273,17 @@ 273 273 4.00 Beta 1 274 274 )))|((( 275 275 Changed behaviour of **gatedistance** script property 75 +)))|((( 76 + 276 276 ))) 277 277 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 278 278 ((( 279 279 //The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.// 81 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 82 +((( 83 + 280 280 ))) 281 -|(% colspan=" 3" %)(% colspan="3" %)85 +|(% colspan="4" %)(% colspan="4" %) 282 282 ((( 283 283 == 3.30 == 284 284 ))) ... ... @@ -288,12 +288,15 @@ 288 288 3.30 Beta 3 289 289 )))|((( 290 290 **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()** 95 +)))|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 + 291 291 ))) 292 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)99 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 293 293 ((( 294 294 //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()// 295 295 ))) 296 -|(% colspan=" 3" %)(% colspan="3" %)103 +|(% colspan="4" %)(% colspan="4" %) 297 297 ((( 298 298 == 3.20 == 299 299 ))) ... ... @@ -303,8 +303,11 @@ 303 303 3.20 Beta 1 304 304 )))|((( 305 305 Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed 113 +)))|(% colspan="1" %)(% colspan="1" %) 114 +((( 115 + 306 306 ))) 307 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)117 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 308 308 ((( 309 309 //Old params: param = attacked object, param2 = attack method, param3 = attacked component// 310 310 //New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon] ... ... @@ -319,8 +319,11 @@ 319 319 )))|(% colspan="1" %)(% colspan="1" %) 320 320 ((( 321 321 Removed script property $trade.**restriction.faction** 132 +)))|(% colspan="1" %)(% colspan="1" %) 133 +((( 134 + 322 322 ))) 323 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)136 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 324 324 ((( 325 325 //$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.// 326 326 ))) ... ... @@ -330,12 +330,15 @@ 330 330 3.20 Beta 1 331 331 )))|((( 332 332 **Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete! 146 +)))|(% colspan="1" %)(% colspan="1" %) 147 +((( 148 + 333 333 ))) 334 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)150 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 335 335 ((( 336 336 //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.// 337 337 ))) 338 -|(% colspan=" 3" %)(% colspan="3" %)154 +|(% colspan="4" %)(% colspan="4" %) 339 339 ((( 340 340 == 3.10 == 341 341 ))) ... ... @@ -348,12 +348,15 @@ 348 348 )))|(% colspan="1" %)(% colspan="1" %) 349 349 ((( 350 350 Removed script action **<add_build/>** 167 +)))|(% colspan="1" %)(% colspan="1" %) 168 +((( 169 + 351 351 ))) 352 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)171 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 353 353 ((( 354 354 //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.// 355 355 ))) 356 -|(% colspan=" 3" %)(% colspan="3" %)175 +|(% colspan="4" %)(% colspan="4" %) 357 357 ((( 358 358 == 3.00 == 359 359 ))) ... ... @@ -366,8 +366,11 @@ 366 366 )))|(% colspan="1" %)(% colspan="1" %) 367 367 ((( 368 368 Changed behaviour of script action **<get_suitable_job/>** 188 +)))|(% colspan="1" %)(% colspan="1" %) 189 +((( 190 + 369 369 ))) 370 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)192 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 371 371 ((( 372 372 //<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.// 373 373 ))) ... ... @@ -380,8 +380,11 @@ 380 380 )))|(% colspan="1" %)(% colspan="1" %) 381 381 ((( 382 382 Changed behaviour of script action **<get_ware_definition/>** 205 +)))|(% colspan="1" %)(% colspan="1" %) 206 +((( 207 + 383 383 ))) 384 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)209 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 385 385 ((( 386 386 //<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.// 387 387 ))) ... ... @@ -394,8 +394,11 @@ 394 394 )))|(% colspan="1" %)(% colspan="1" %) 395 395 ((( 396 396 Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case 222 +)))|(% colspan="1" %)(% colspan="1" %) 223 +((( 224 + 397 397 ))) 398 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)226 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 399 399 ((( 400 400 //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.)\\ 401 401 ... ... @@ -410,8 +410,11 @@ 410 410 )))|(% colspan="1" %)(% colspan="1" %) 411 411 ((( 412 412 Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions> 241 +)))|(% colspan="1" %)(% colspan="1" %) 242 +((( 243 + 413 413 ))) 414 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)245 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 415 415 ((( 416 416 //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.// 417 417 ))) ... ... @@ -424,8 +424,11 @@ 424 424 )))|(% colspan="1" %)(% colspan="1" %) 425 425 ((( 426 426 Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos** 258 +)))|(% colspan="1" %)(% colspan="1" %) 259 +((( 260 + 427 427 ))) 428 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)262 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 429 429 ((( 430 430 //Before the change, positions are relative to $dockingbay.parent. 431 431 After the change, positions are relative to $dockingbay as specified in the documentation.// ... ... @@ -439,8 +439,11 @@ 439 439 )))|(% colspan="1" %)(% colspan="1" %) 440 440 ((( 441 441 Support for entity flag "**skillsvisible**" dropped 276 +)))|(% colspan="1" %)(% colspan="1" %) 277 +((( 278 + 442 442 ))) 443 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)280 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 444 444 ((( 445 445 //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().// 446 446 ))) ... ... @@ -450,8 +450,11 @@ 450 450 3.0 Beta 2 451 451 )))|((( 452 452 Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**. 290 +)))|(% colspan="1" %)(% colspan="1" %) 291 +((( 292 + 453 453 ))) 454 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)294 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 455 455 ((( 456 456 //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. 457 457 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. ... ... @@ -467,8 +467,11 @@ 467 467 )))|(% colspan="1" %)(% colspan="1" %) 468 468 ((( 469 469 **MissionBoard** support dropped 310 +)))|(% colspan="1" %)(% colspan="1" %) 311 +((( 312 + 470 470 ))) 471 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)314 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 472 472 ((( 473 473 //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.// 474 474 ))) ... ... @@ -478,8 +478,11 @@ 478 478 3.0 Beta 1 479 479 )))|((( 480 480 By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined 324 +)))|(% colspan="1" %)(% colspan="1" %) 325 +((( 326 + 481 481 ))) 482 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)328 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 483 483 ((( 484 484 //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.// 485 485 ))) ... ... @@ -492,8 +492,11 @@ 492 492 )))|(% colspan="1" %)(% colspan="1" %) 493 493 ((( 494 494 Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'** 341 +)))|(% colspan="1" %)(% colspan="1" %) 342 +((( 343 + 495 495 ))) 496 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)345 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 497 497 ((( 498 498 //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.// 499 499 ))) ... ... @@ -506,8 +506,11 @@ 506 506 )))|(% colspan="1" %)(% colspan="1" %) 507 507 ((( 508 508 Script action **<set_doors_locked/>** attribute **'group'** changed 358 +)))|(% colspan="1" %)(% colspan="1" %) 359 +((( 360 + 509 509 ))) 510 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)362 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 511 511 ((( 512 512 //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.// 513 513 ))) ... ... @@ -520,8 +520,11 @@ 520 520 )))|(% colspan="1" %)(% colspan="1" %) 521 521 ((( 522 522 Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed 375 +)))|(% colspan="1" %)(% colspan="1" %) 376 +((( 377 + 523 523 ))) 524 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)379 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 525 525 ((( 526 526 //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.// 527 527 ))) ... ... @@ -534,8 +534,11 @@ 534 534 )))|(% colspan="1" %)(% colspan="1" %) 535 535 ((( 536 536 Script actions **<set_hack_target/>** and **<abort_hack/>** removed 392 +)))|(% colspan="1" %)(% colspan="1" %) 393 +((( 394 + 537 537 ))) 538 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)396 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 539 539 ((( 540 540 //These actions had no effect and were removed.// 541 541 ))) ... ... @@ -548,8 +548,11 @@ 548 548 )))|(% colspan="1" %)(% colspan="1" %) 549 549 ((( 550 550 **<setup_conversation_minigame/>** script action removed 409 +)))|(% colspan="1" %)(% colspan="1" %) 410 +((( 411 + 551 551 ))) 552 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)413 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 553 553 ((( 554 554 //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.// 555 555 ))) ... ... @@ -562,8 +562,11 @@ 562 562 )))|(% colspan="1" %)(% colspan="1" %) 563 563 ((( 564 564 <add_player_choice_*> **confidence** attribute removed 426 +)))|(% colspan="1" %)(% colspan="1" %) 427 +((( 428 + 565 565 ))) 566 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)430 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 567 567 ((( 568 568 //The default confidence of player options is another leftover from the XR era and had no effect in X4.// 569 569 ))) ... ... @@ -576,8 +576,11 @@ 576 576 )))|(% colspan="1" %)(% colspan="1" %) 577 577 ((( 578 578 **<hack_via_control_panel/>** script action removed 443 +)))|(% colspan="1" %)(% colspan="1" %) 444 +((( 445 + 579 579 ))) 580 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)447 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 581 581 ((( 582 582 //Unused script action <hack_via_control_panel/> was removed.// 583 583 ))) ... ... @@ -590,8 +590,11 @@ 590 590 )))|(% colspan="1" %)(% colspan="1" %) 591 591 ((( 592 592 **Lua: **GetMiniGameCursorPosition() removed 460 +)))|(% colspan="1" %)(% colspan="1" %) 461 +((( 462 + 593 593 ))) 594 -|(% 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" %) 595 595 ((( 596 596 //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.// 597 597 ))) ... ... @@ -601,8 +601,11 @@ 601 601 3.0 Beta 1 602 602 )))|((( 603 603 **FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders 474 +)))|(% colspan="1" %)(% colspan="1" %) 475 +((( 476 + 604 604 ))) 605 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)478 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 606 606 ((( 607 607 //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.// 608 608 ))) ... ... @@ -615,8 +615,11 @@ 615 615 )))|(% colspan="1" %)(% colspan="1" %) 616 616 ((( 617 617 **FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor 491 +)))|(% colspan="1" %)(% colspan="1" %) 492 +((( 493 + 618 618 ))) 619 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)495 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 620 620 ((( 621 621 //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.// 622 622 ))) ... ... @@ -629,8 +629,11 @@ 629 629 )))|(% colspan="1" %)(% colspan="1" %) 630 630 ((( 631 631 **$ware.illegal** updated 508 +)))|(% colspan="1" %)(% colspan="1" %) 509 +((( 510 + 632 632 ))) 633 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)512 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 634 634 ((( 635 635 //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.// 636 636 //It now returns true if $ware is illegal to any faction in the game.// ... ... @@ -644,8 +644,11 @@ 644 644 )))|(% colspan="1" %)(% colspan="1" %) 645 645 ((( 646 646 MD script **RML_Flight_Along_Path** removed 526 +)))|(% colspan="1" %)(% colspan="1" %) 527 +((( 528 + 647 647 ))) 648 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)530 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 649 649 ((( 650 650 //The MD script RML_Flight_Along_Path was not referened and was removed.// 651 651 ))) ... ... @@ -658,8 +658,11 @@ 658 658 )))|(% colspan="1" %)(% colspan="1" %) 659 659 ((( 660 660 parameters of **<event_venture_mission_completed/>** changed 543 +)))|(% colspan="1" %)(% colspan="1" %) 544 +((( 545 + 661 661 ))) 662 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)547 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 663 663 ((( 664 664 //old params: param = venture details, param2 = ships involved, param3 = duration// 665 665 //new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration// ... ... @@ -671,8 +671,11 @@ 671 671 )))|((( 672 672 **<set_object_wing_name/>** removed, 673 673 **<set_object_fleet_name/>** added 559 +)))|(% colspan="1" %)(% colspan="1" %) 560 +((( 561 + 674 674 ))) 675 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)563 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 676 676 ((( 677 677 //The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>// 678 678 ))) ... ... @@ -683,12 +683,15 @@ 683 683 )))|((( 684 684 **$controllable.wing.*** removed, 685 685 **$controllable.fleet.*** added 574 +)))|(% colspan="1" %)(% colspan="1" %) 575 +((( 576 + 686 686 ))) 687 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)578 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 688 688 ((( 689 689 $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander 690 690 ))) 691 -|(% colspan=" 3" %)(% colspan="3" %)582 +|(% colspan="4" %)(% colspan="4" %) 692 692 ((( 693 693 == 2.60 == 694 694 ))) ... ... @@ -698,8 +698,11 @@ 698 698 2.60 Beta 1 699 699 )))|((( 700 700 '**checkoperational**' filter behaviour changed 592 +)))|(% colspan="1" %)(% colspan="1" %) 593 +((( 594 + 701 701 ))) 702 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)596 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 703 703 ((( 704 704 //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.// 705 705 ... ... @@ -711,12 +711,15 @@ 711 711 2.60 Beta 1 712 712 )))|((( 713 713 $container.**supplyresources** behavior changed 608 +)))|(% colspan="1" %)(% colspan="1" %) 609 +((( 610 + 714 714 ))) 715 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)612 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 716 716 ((( 717 717 //The script keyword $container.supplyresources now includes reserved wares.// 718 718 ))) 719 -|(% colspan=" 3" %)(% colspan="3" %)616 +|(% colspan="4" %)(% colspan="4" %) 720 720 ((( 721 721 == 2.20 == 722 722 ))) ... ... @@ -729,8 +729,11 @@ 729 729 )))|(% colspan="1" %)(% colspan="1" %) 730 730 ((( 731 731 **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined. 629 +)))|(% colspan="1" %)(% colspan="1" %) 630 +((( 631 + 732 732 ))) 733 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)633 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 734 734 ((( 735 735 //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. 736 736 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.// ... ... @@ -747,12 +747,15 @@ 747 747 )))|(% colspan="1" %)(% colspan="1" %) 748 748 ((( 749 749 Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor' 650 +)))|(% colspan="1" %)(% colspan="1" %) 651 +((( 652 + 750 750 ))) 751 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)654 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 752 752 ((( 753 753 //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.// 754 754 ))) 755 -|(% colspan=" 3" %)(% colspan="3" %)658 +|(% colspan="4" %)(% colspan="4" %) 756 756 ((( 757 757 == 2.00 == 758 758 ))) ... ... @@ -765,8 +765,11 @@ 765 765 )))|(% colspan="1" %)(% colspan="1" %) 766 766 ((( 767 767 **<event_build_finished/> **param2 now returns null instead of a construction sequence 671 +)))|(% colspan="1" %)(% colspan="1" %) 672 +((( 673 + 768 768 ))) 769 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)675 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 770 770 ((( 771 771 //The construction sequence which was finished should now be accessed via the buildtask provided via param3.// 772 772 ))) ... ... @@ -779,8 +779,11 @@ 779 779 )))|(% colspan="1" %)(% colspan="1" %) 780 780 ((( 781 781 **param.boarding.{...}** strength parameters removed 688 +)))|(% colspan="1" %)(% colspan="1" %) 689 +((( 690 + 782 782 ))) 783 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)692 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 784 784 ((( 785 785 //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.// 786 786 ))) ... ... @@ -793,8 +793,11 @@ 793 793 )))|(% colspan="1" %)(% colspan="1" %) 794 794 ((( 795 795 **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed 705 +)))|(% colspan="1" %)(% colspan="1" %) 706 +((( 707 + 796 796 ))) 797 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)709 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 798 798 ((( 799 799 //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.// 800 800 ))) ... ... @@ -804,8 +804,11 @@ 804 804 2.00 Beta 1 805 805 )))|((( 806 806 **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals 719 +)))|(% colspan="1" %)(% colspan="1" %) 720 +((( 721 + 807 807 ))) 808 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)723 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 809 809 ((( 810 810 //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.// 811 811 ))) ... ... @@ -815,8 +815,11 @@ 815 815 2.00 Beta 1 816 816 )))|((( 817 817 **FFI: SetFormationShape()** no longer indicates an error upon certain error cases 733 +)))|(% colspan="1" %)(% colspan="1" %) 734 +((( 735 + 818 818 ))) 819 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)737 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 820 820 ((( 821 821 //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.// 822 822 //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.// ... ... @@ -827,8 +827,11 @@ 827 827 2.00 Beta 1 828 828 )))|((( 829 829 **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated. 748 +)))|(% colspan="1" %)(% colspan="1" %) 749 +((( 750 + 830 830 ))) 831 -|(% 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" %) 832 832 ((( 833 833 //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.// 834 834 ))) ... ... @@ -838,8 +838,11 @@ 838 838 2.00 Beta 1 839 839 )))|((( 840 840 **<event_player_changed_target/>** now fires and returns null if the player deselects a target. 762 +)))|(% colspan="1" %)(% colspan="1" %) 763 +((( 764 + 841 841 ))) 842 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)766 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 843 843 ((( 844 844 //For prior behavior, check for event.param being non-null.// 845 845 ))) ... ... @@ -849,8 +849,11 @@ 849 849 2.00 Beta 1 850 850 )))|((( 851 851 **<shoot/>/<shoot_at/>** attribute changes. 776 +)))|(% colspan="1" %)(% colspan="1" %) 777 +((( 778 + 852 852 ))) 853 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)780 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 854 854 ((( 855 855 //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.// 856 856 //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.// ... ... @@ -863,9 +863,12 @@ 863 863 )))|((( 864 864 2.00 Beta 1 865 865 )))|((( 866 -**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter. 793 +**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %) 794 +)))|(% colspan="1" %)(% colspan="1" %) 795 +((( 796 + 867 867 ))) 868 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)798 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 869 869 ((( 870 870 //Added possibility to query build tasks of a certain buildmodule.// 871 871 ))) ... ... @@ -875,8 +875,11 @@ 875 875 2.00 Beta 1 876 876 )))|((( 877 877 **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field. 808 +)))|(% colspan="1" %)(% colspan="1" %) 809 +((( 810 + 878 878 ))) 879 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)812 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 880 880 ((( 881 881 //Added list of resources a buildmodule needs to build.// 882 882 ))) ... ... @@ -886,8 +886,11 @@ 886 886 2.00 Beta 1 887 887 )))|((( 888 888 (% 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);" %) 822 +)))|(% colspan="1" %)(% colspan="1" %) 823 +((( 824 + 889 889 ))) 890 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)826 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 891 891 ((( 892 892 //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.// 893 893 ))) ... ... @@ -896,13 +896,16 @@ 896 896 )))|((( 897 897 2.00 Beta 1 898 898 )))|((( 899 -**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. 835 +**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" %) 836 +)))|(% colspan="1" %)(% colspan="1" %) 837 +((( 838 + 900 900 ))) 901 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)840 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 902 902 ((( 903 903 //Changed return value type to const char* to better identify failure reasons in Lua script.// 904 904 ))) 905 -|(% colspan=" 3" %)(% colspan="3" %)844 +|(% colspan="4" %)(% colspan="4" %) 906 906 ((( 907 907 == 1.50 == 908 908 ))) ... ... @@ -911,9 +911,12 @@ 911 911 )))|((( 912 912 1.50 Beta 3 913 913 )))|((( 914 -**Lua: GetComponentData() **changed behavior of "docksizes" property. 853 +**Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %) 854 +)))|(% colspan="1" %)(% colspan="1" %) 855 +((( 856 + 915 915 ))) 916 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)858 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 917 917 ((( 918 918 //The "docksizes" property no longer includes internal ship storage docks.// 919 919 ))) ... ... @@ -923,8 +923,11 @@ 923 923 1.50 Beta 2 924 924 )))|((( 925 925 **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR). 868 +)))|(% colspan="1" %)(% colspan="1" %) 869 +((( 870 + 926 926 ))) 927 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)872 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 928 928 ((( 929 929 //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".// 930 930 ... ... @@ -937,9 +937,12 @@ 937 937 )))|((( 938 938 1.50 Beta 2 939 939 )))|((( 940 -**FFI: UpgradeGroupInfo **datatype was changed. 885 +**FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %) 886 +)))|(% colspan="1" %)(% colspan="1" %) 887 +((( 888 + 941 941 ))) 942 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)890 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 943 943 ((( 944 944 //Added new "operational" field to retrieve information about number of operational upgrades in a group.// 945 945 ))) ... ... @@ -952,8 +952,11 @@ 952 952 )))|(% colspan="1" %)(% colspan="1" %) 953 953 ((( 954 954 **FFI: SetGuidance()** removed useinfopoint argument. 903 +)))|(% colspan="1" %)(% colspan="1" %) 904 +((( 905 + 955 955 ))) 956 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)907 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 957 957 ((( 958 958 //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. 959 959 // ... ... @@ -965,13 +965,16 @@ 965 965 )))|((( 966 966 1.50 Beta 1 967 967 )))|((( 968 -**FFI: CancelConstruction() **changed its return value. 919 +**FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %) 920 +)))|(% colspan="1" %)(% colspan="1" %) 921 +((( 922 + 969 969 ))) 970 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)924 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 971 971 ((( 972 972 (% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. // 973 973 ))) 974 -|(% colspan=" 3" %)(% colspan="3" %)928 +|(% colspan="4" %)(% colspan="4" %) 975 975 ((( 976 976 == 1.32 == 977 977 ))) ... ... @@ -981,12 +981,15 @@ 981 981 1.32 982 982 )))|((( 983 983 **Lua: GetComponentData() **removed the "nextdestname" property. 938 +)))|(% colspan="1" %)(% colspan="1" %) 939 +((( 940 + 984 984 ))) 985 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)942 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 986 986 ((( 987 987 //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.// 988 988 ))) 989 -|(% colspan=" 3" %)(% colspan="3" %)946 +|(% colspan="4" %)(% colspan="4" %) 990 990 ((( 991 991 == 1.20 == 992 992 ))) ... ... @@ -995,9 +995,12 @@ 995 995 )))|((( 996 996 1.20 997 997 )))|((( 998 -**FFI: GetAAOption()** got a new "useconfig" parameter. 955 +**FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %) 956 +)))|(% colspan="1" %)(% colspan="1" %) 957 +((( 958 + 999 999 ))) 1000 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)960 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1001 1001 ((( 1002 1002 //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.// 1003 1003 )))
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -1 358565001 +101548080 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/1 35856500/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101548080/Breaking Changes