Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
From version 103.1
edited by cbj
on 2023/02/20 14:12
on 2023/02/20 14:12
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +X4 Foundations Wiki.Modding Support.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. cbj1 +xwiki:XWiki.Ketraar - Content
-
... ... @@ -4,13 +4,13 @@ 4 4 The following table provides an overview about all breaking changes. This should help you to make any necessary changes to restore compatibility of older mods with new versions of X4. 5 5 Feel free to drop a note if a certain breaking change is breaking your mod and you have difficulties finding a way to work around the issue. 6 6 7 -{{no te}}8 -The list of breaking changes does **NOT**cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself.7 +{{info}} 8 +⚠ The list of breaking changes does **NOT** cover changes in the provided/shipped scripts (for instance UI scripts like the ones located under ui/addons/XXX or ui/core/Lua). These scripts can change anytime without explicit notice. If you hook into one of these scripts or provide replacements for these, please check the script for possible breaking changes yourself. 9 9 10 10 Further note that the list provides information about breaking changes which are in the pipeline of being released. This is meant merely as an informational heads up. Neither do mistake this as an announcement of that version becoming available soon nor take it for granted that such a change will go live. Any information provided for not yet released versions can change (and even be removed) prior to such version having seen the light of day. 11 11 12 12 As a final note, please be aware that issues introduced during the beta phase might not be explicitly mentioned in the list below, if things would only be broken in-between two beta versions. While we still aim to document any (potential) breaking change here, there might be circumstances for which we divert from that procedure (especially in case of only minor issues which are considered merely bugfixes rather than an intended behavior change). 13 -{{/no te}}13 +{{/info}} 14 14 15 15 {{warning title="UI modding considered unstable until further notice..."}} 16 16 Please note that UI modding must be considered **unstable** in the current version. While we are working hard to get the UI modding integration into a stable state, we might have to introduce larger backwards incompatibilities in the following patches. This means that you might have to modify any mod using UI modding capabilities to a larger extend to keep it compatible with certain patches. Still, we are doing our best not to unnecessarily break things for modders and certainly will announce such changes on this page here. ... ... @@ -18,18 +18,40 @@ 18 18 19 19 = Breaking Changes = 20 20 21 +=== 7.00 === 22 + 21 21 (% class="wrapped" %) 22 22 |=((( 23 23 Type 24 -)))|=((( 25 -Version 26 -)))|=((( 27 -Summary 28 28 ))) 29 -|(% colspan=" 3" %)(% colspan="3" %)27 +|(% colspan="1" %)(% colspan="1" %) 30 30 ((( 31 - ==6.00 ==29 +UI extensions 32 32 ))) 31 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 32 +((( 33 +// The build plot's buildstorage is no longer removed implicitly. The buildstorage will instead be cleaned-up once it is empty and no ships are docked.// 34 +))) 35 + 36 +---- 37 + 38 +=== 6.00 === 39 + 40 + 41 +(% class="wrapped" %) 42 +|((( 43 +Libraries 44 +)))|((( 45 +6.00 Beta 7 46 +)))|(% colspan="2" %)((( 47 +Updated weights for ship groups in shipgroups.xml libraries of base game and all DLCs. 48 +))) 49 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 50 +((( 51 +//Previously some entries were lacking "weight" parameter, causing it to default to "1", which prevent adding new ships to the group with appropriate/configurable granularity.// 52 + 53 +//All groups should now have "weight" parameter added and old "weights" were updated to not have single-digit numbers.// 54 +))) 33 33 |(% colspan="1" %)(% colspan="1" %) 34 34 ((( 35 35 Scripts ... ... @@ -36,11 +36,11 @@ 36 36 )))|(% colspan="1" %)(% colspan="1" %) 37 37 ((( 38 38 6.00 Beta 4 39 -)))|(% colspan=" 1" %)(% colspan="1" %)61 +)))|(% colspan="2" %)(% colspan="1" %) 40 40 ((( 41 41 Changed conditions for **<event_player_travelmode_started> <event_player_travelmode_stopped> <event_player_travelmode_charge_started> <event_player_travelmode_charge_aborted>** to be raised. 42 42 ))) 43 -|(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey"%)(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey" %)65 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 44 44 ((( 45 45 //The <event_player_travelmode_started>, <event_player_travelmode_stopped>, <event_player_travelmode_charge_started> and <event_player_travelmode_charge_aborted> events will no longer be raised if the player is a passenger on board a ship which enters or leaves travel mode. Previously these events would be raised whether the player was the pilot or a passenger. // 46 46 ... ... @@ -52,11 +52,11 @@ 52 52 )))|(% colspan="1" %)(% colspan="1" %) 53 53 ((( 54 54 6.00 Beta 3 55 -)))|(% colspan=" 1" %)(% colspan="1" %)77 +)))|(% colspan="2" %)(% colspan="1" %) 56 56 ((( 57 57 Changed result of **<find_object_surface>** action in the case of a failure 58 58 ))) 59 -|(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey"%)(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey" %)81 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 60 60 ((( 61 61 //The 'posname' and 'rotname' result attributes of <find_object_surface> will now return null in the case of no valid surface position being found.// 62 62 ... ... @@ -70,11 +70,11 @@ 70 70 )))|(% colspan="1" %)(% colspan="1" %) 71 71 ((( 72 72 6.00 Beta 1 73 -)))|(% colspan=" 1" %)(% colspan="1" %)95 +)))|(% colspan="2" %)(% colspan="1" %) 74 74 ((( 75 75 Behaviour change for **<match_dock>** script component filter 76 76 ))) 77 -|(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey"%)(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey" %)99 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 78 78 ((( 79 79 //<match_dock> nodes can now be used on container and walkablemodule classes without wrapping them in <match_content> nodes. 80 80 This has introduced a new potential pitfall: If finding or counting contained components be wary that there may be multiple positive results, even if there is only one dockingbay. e.g. matching contents for a station will include the dockingbay but also its containing walkable module as that also contains the dockingbay. To only account for docking bays, also filter by dockingbay class.// ... ... @@ -85,11 +85,11 @@ 85 85 )))|(% colspan="1" %)(% colspan="1" %) 86 86 ((( 87 87 6.00 Beta 1 88 -)))|(% colspan=" 1" %)(% colspan="1" %)110 +)))|(% colspan="2" %)(% colspan="1" %) 89 89 ((( 90 90 Changed result attribute location for **<get_attackstrength>** 91 91 ))) 92 -|(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey"%)(% class="highlight-grey" title="Background colour : " colspan="3" data-highlight-colour="grey" %)114 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" title="Background colour :" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" title="Background colour :" %) 93 93 ((( 94 94 //The 'result' attribute of get_attackstrength has been moved into the new <result> subnode and renamed to 'total'.// 95 95 ))) ... ... @@ -97,10 +97,10 @@ 97 97 Assets 98 98 )))|((( 99 99 6.00 Beta 1 100 -)))|((( 122 +)))|(% colspan="2" %)((( 101 101 Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons 102 102 ))) 103 -|(% 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"%)125 +|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 104 104 ((( 105 105 //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. 106 106 Exception: special equipment that is deliberately not compatible with the majority of slots may use another tag instead of "standard", e.g. "highpower" for certain Terran weapons.// ... ... @@ -111,11 +111,11 @@ 111 111 )))|(% colspan="1" %)(% colspan="1" %) 112 112 ((( 113 113 6.00 Beta 1 114 -)))|(% colspan=" 1" %)(% colspan="1" %)136 +)))|(% colspan="2" %)(% colspan="1" %) 115 115 ((( 116 116 Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects 117 117 ))) 118 -|(% 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"%)140 +|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 119 119 ((( 120 120 //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.// 121 121 ))) ... ... @@ -123,10 +123,10 @@ 123 123 Scripts 124 124 )))|((( 125 125 6.00 Beta 1 126 -)))|((( 148 +)))|(% colspan="2" %)((( 127 127 **<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards. 128 128 ))) 129 -|(% 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"%)151 +|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 130 130 ((( 131 131 //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.// 132 132 ))) ... ... @@ -134,32 +134,36 @@ 134 134 Cutscenes 135 135 )))|((( 136 136 6.00 Beta 1 137 -)))|((( 159 +)))|(% colspan="2" %)((( 138 138 Changed behaviour of **<angles>** in cutscenes 139 139 ))) 140 -|(% 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"%)162 +|(% class="highlight-grey" colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% class="highlight-grey" colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 141 141 ((( 142 142 //The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.// 143 143 ))) 144 -|(% colspan="3" %)(% colspan="3" %) 145 -((( 146 -== 5.00 == 147 -))) 166 + 167 +---- 168 + 169 +=== 5.00 === 170 + 171 +(% class="wrapped" %) 148 148 |((( 149 149 Parameters 150 150 )))|((( 151 151 5.00 Beta 1 152 -)))|((( 176 +)))|(% colspan="2" %)((( 153 153 **<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration 154 154 ))) 155 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)179 +|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 156 156 ((( 157 157 //'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.// 158 158 ))) 159 -|(% colspan="3" %)(% colspan="3" %) 160 -((( 161 -== 4.10 == 162 -))) 183 + 184 +---- 185 + 186 +=== 4.10 === 187 + 188 +(% class="wrapped" %) 163 163 |(% colspan="1" %)(% colspan="1" %) 164 164 ((( 165 165 UI extensions ... ... @@ -166,13 +166,13 @@ 166 166 )))|(% colspan="1" %)(% colspan="1" %) 167 167 ((( 168 168 4.10 Beta 7 169 -)))|(% colspan=" 1" %)(% colspan="1" %)195 +)))|(% colspan="2" %)(% colspan="1" %) 170 170 ((( 171 -**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()(%%)deprecated197 +**FFI**: SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() deprecated 172 172 ))) 173 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)199 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 174 174 ((( 175 -//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.//201 +//The functionality represented by SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() has been removed and the function was therefore stubbed.// 176 176 ))) 177 177 |(% colspan="1" %)(% colspan="1" %) 178 178 ((( ... ... @@ -180,11 +180,11 @@ 180 180 )))|(% colspan="1" %)(% colspan="1" %) 181 181 ((( 182 182 4.10 Beta 6 183 -)))|(% colspan=" 1" %)(% colspan="1" %)209 +)))|(% colspan="2" %)(% colspan="1" %) 184 184 ((( 185 185 **FFI**: CustomGameStartPlayerProperty2 changed 186 186 ))) 187 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)213 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 188 188 ((( 189 189 //This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.// 190 190 ))) ... ... @@ -194,11 +194,11 @@ 194 194 )))|(% colspan="1" %)(% colspan="1" %) 195 195 ((( 196 196 4.10 Beta 3 197 -)))|(% colspan=" 1" %)(% colspan="1" %)223 +)))|(% colspan="2" %)(% colspan="1" %) 198 198 ((( 199 199 Renamed **<stationinfobox>** to **<infobox>** 200 200 ))) 201 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)227 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 202 202 ((( 203 203 //Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.// 204 204 ))) ... ... @@ -208,11 +208,11 @@ 208 208 )))|(% colspan="1" %)(% colspan="1" %) 209 209 ((( 210 210 4.10 Beta 2 211 -)))|(% colspan=" 1" %)(% colspan="1" %)237 +)))|(% colspan="2" %)(% colspan="1" %) 212 212 ((( 213 213 **FFI**: SetMacroMapPlayerSectorOffset() deprecated 214 214 ))) 215 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)241 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 216 216 ((( 217 217 //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.// 218 218 ))) ... ... @@ -220,10 +220,10 @@ 220 220 UI extensions 221 221 )))|((( 222 222 4.10 Beta 2 223 -)))|((( 224 -**FFI**: (% style="color: rgb(0,0,0);" %)FilterComponentForMapMode(%%)()and(% style="color: rgb(0,0,0);" %)SetMapObjectFilter() changed249 +)))|(% colspan="2" %)((( 250 +**FFI**: FilterComponentForMapMode() and SetMapObjectFilter() changed 225 225 ))) 226 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)252 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 227 227 ((( 228 228 //These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.// 229 229 ))) ... ... @@ -231,10 +231,10 @@ 231 231 Scripts 232 232 )))|((( 233 233 4.10 Beta 1 234 -)))|((( 235 -People related attributes of mission** <delivery> **node moved260 +)))|(% colspan="2" %)((( 261 +People related attributes of mission** <delivery> **node moved 236 236 ))) 237 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)263 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 238 238 ((( 239 239 //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.// 240 240 ))) ... ... @@ -244,11 +244,11 @@ 244 244 )))|(% colspan="1" %)(% colspan="1" %) 245 245 ((( 246 246 4.10 Beta 1 247 -)))|(% colspan=" 1" %)(% colspan="1" %)273 +)))|(% colspan="2" %)(% colspan="1" %) 248 248 ((( 249 249 **$destructible.productions** replaced with $defensible.productions 250 250 ))) 251 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)277 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 252 252 ((( 253 253 //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.// 254 254 ))) ... ... @@ -256,17 +256,19 @@ 256 256 Scripts 257 257 )))|((( 258 258 4.10 Beta 1 259 -)))|((( 285 +)))|(% colspan="2" %)((( 260 260 Removed script property **$object.spawnsourceseed** 261 261 ))) 262 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)288 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 263 263 ((( 264 264 //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.// 265 265 ))) 266 -|(% colspan="3" %)(% colspan="3" %) 267 -((( 268 -== 4.00 == 269 -))) 292 + 293 +---- 294 + 295 +=== 4.00 === 296 + 297 +(% class="wrapped" %) 270 270 |(% colspan="1" %)(% colspan="1" %) 271 271 ((( 272 272 UI core ... ... @@ -273,24 +273,23 @@ 273 273 )))|(% colspan="1" %)(% colspan="1" %) 274 274 ((( 275 275 4.00 Beta 10 276 -)))|(% colspan=" 1" %)(% colspan="1" %)304 +)))|(% colspan="2" %)(% colspan="1" %) 277 277 ((( 278 278 Controlled ship can change without a **gameplanchange-event** occurring. 279 279 ))) 280 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)308 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 281 281 ((( 282 282 //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). 283 -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. 284 -// 311 +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.// 285 285 ))) 286 286 |((( 287 287 Scripts 288 288 )))|((( 289 289 4.00 Beta 7 290 -)))|((( 317 +)))|(% colspan="2" %)((( 291 291 Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 292 292 ))) 293 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)320 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 294 294 ((( 295 295 //Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 296 296 New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits ... ... @@ -302,17 +302,16 @@ 302 302 )))|(% colspan="1" %)(% colspan="1" %) 303 303 ((( 304 304 4.00 Beta 6 305 -)))|(% colspan=" 1" %)(% colspan="1" %)332 +)))|(% colspan="2" %)(% colspan="1" %) 306 306 ((( 307 307 **FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 308 308 ))) 309 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)336 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 310 310 ((( 311 311 //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. 312 312 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).// 313 313 314 -//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead. 315 -// 341 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.// 316 316 ))) 317 317 |(% colspan="1" %)(% colspan="1" %) 318 318 ((( ... ... @@ -320,11 +320,11 @@ 320 320 )))|(% colspan="1" %)(% colspan="1" %) 321 321 ((( 322 322 4.00 Beta 5 323 -)))|(% colspan=" 1" %)(% colspan="1" %)349 +)))|(% colspan="2" %)(% colspan="1" %) 324 324 ((( 325 325 **FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 326 326 ))) 327 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)353 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 328 328 ((( 329 329 //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.// 330 330 ... ... @@ -334,10 +334,10 @@ 334 334 Parameters 335 335 )))|((( 336 336 4.00 Beta 1 337 -)))|((( 363 +)))|(% colspan="2" %)((( 338 338 **requiresconstructionvessel** parameter moved 339 339 ))) 340 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)366 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 341 341 ((( 342 342 //The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.// 343 343 ))) ... ... @@ -345,40 +345,44 @@ 345 345 Scripts 346 346 )))|((( 347 347 4.00 Beta 1 348 -)))|((( 374 +)))|(% colspan="2" %)((( 349 349 Changed behaviour of **gatedistance** script property 350 350 ))) 351 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)377 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 352 352 ((( 353 353 //The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.// 354 354 ))) 355 -|(% colspan="3" %)(% colspan="3" %) 356 -((( 357 -== 3.30 == 358 -))) 381 + 382 +---- 383 + 384 +=== 3.30 === 385 + 386 +(% class="wrapped" %) 359 359 |((( 360 360 UI extensions 361 361 )))|((( 362 362 3.30 Beta 3 363 -)))|((( 364 -**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()**391 +)))|(% colspan="2" %)((( 392 +**FFI: **Removed** GetMissionLimit() **and** IsMissionLimitEnabled()** 365 365 ))) 366 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)394 +|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 367 367 ((( 368 -//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()//396 +//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimitReached()// 369 369 ))) 370 -|(% colspan="3" %)(% colspan="3" %) 371 -((( 372 -== 3.20 == 373 -))) 398 + 399 +---- 400 + 401 +=== 3.20 === 402 + 403 +(% class="wrapped" %) 374 374 |((( 375 375 Scripts 376 376 )))|((( 377 377 3.20 Beta 1 378 -)))|((( 408 +)))|(% colspan="2" %)((( 379 379 Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed 380 380 ))) 381 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)411 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 382 382 ((( 383 383 //Old params: param = attacked object, param2 = attack method, param3 = attacked component// 384 384 //New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon] ... ... @@ -390,11 +390,11 @@ 390 390 )))|(% colspan="1" %)(% colspan="1" %) 391 391 ((( 392 392 3.20 Beta 1 393 -)))|(% colspan=" 1" %)(% colspan="1" %)423 +)))|(% colspan="2" %)(% colspan="1" %) 394 394 ((( 395 395 Removed script property $trade.**restriction.faction** 396 396 ))) 397 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)427 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 398 398 ((( 399 399 //$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.// 400 400 ))) ... ... @@ -402,17 +402,19 @@ 402 402 UI extensions 403 403 )))|((( 404 404 3.20 Beta 1 405 -)))|((( 435 +)))|(% colspan="2" %)((( 406 406 **Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete! 407 407 ))) 408 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)438 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 409 409 ((( 410 410 //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.// 411 411 ))) 412 -|(% colspan="3" %)(% colspan="3" %) 413 -((( 414 -== 3.10 == 415 -))) 442 + 443 +---- 444 + 445 +=== 3.10 === 446 + 447 +(% class="wrapped" %) 416 416 |(% colspan="1" %)(% colspan="1" %) 417 417 ((( 418 418 Scripts ... ... @@ -419,18 +419,20 @@ 419 419 )))|(% colspan="1" %)(% colspan="1" %) 420 420 ((( 421 421 3.10 Beta 1 422 -)))|(% colspan=" 1" %)(% colspan="1" %)454 +)))|(% colspan="2" %)(% colspan="1" %) 423 423 ((( 424 424 Removed script action **<add_build/>** 425 425 ))) 426 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)458 +|(% class="highlight-grey" colspan="7" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 427 427 ((( 428 428 //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.// 429 429 ))) 430 -|(% colspan="3" %)(% colspan="3" %) 431 -((( 432 -== 3.00 == 433 -))) 462 + 463 +---- 464 + 465 +=== 3.00 === 466 + 467 +(% class="wrapped" %) 434 434 |(% colspan="1" %)(% colspan="1" %) 435 435 ((( 436 436 Scripts ... ... @@ -437,11 +437,11 @@ 437 437 )))|(% colspan="1" %)(% colspan="1" %) 438 438 ((( 439 439 3.0 Beta 6 440 -)))|(% colspan=" 1" %)(% colspan="1" %)474 +)))|(% colspan="2" %)(% colspan="1" %) 441 441 ((( 442 442 Changed behaviour of script action **<get_suitable_job/>** 443 443 ))) 444 -|(% 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="3" data-highlight-colour="grey" %) 445 445 ((( 446 446 //<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.// 447 447 ))) ... ... @@ -451,11 +451,11 @@ 451 451 )))|(% colspan="1" %)(% colspan="1" %) 452 452 ((( 453 453 3.0 Beta 6 454 -)))|(% colspan=" 1" %)(% colspan="1" %)488 +)))|(% colspan="2" %)(% colspan="1" %) 455 455 ((( 456 456 Changed behaviour of script action **<get_ware_definition/>** 457 457 ))) 458 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)492 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 459 459 ((( 460 460 //<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.// 461 461 ))) ... ... @@ -465,13 +465,13 @@ 465 465 )))|(% colspan="1" %)(% colspan="1" %) 466 466 ((( 467 467 3.0 Beta 5 468 -)))|(% colspan=" 1" %)(% colspan="1" %)502 +)))|(% colspan="2" %)(% colspan="1" %) 469 469 ((( 470 470 Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case 471 471 ))) 472 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)506 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 473 473 ((( 474 -//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.) \\508 +//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.) 475 475 476 476 //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).// 477 477 ))) ... ... @@ -481,11 +481,11 @@ 481 481 )))|(% colspan="1" %)(% colspan="1" %) 482 482 ((( 483 483 3.0 Beta 5 484 -)))|(% colspan=" 1" %)(% colspan="1" %)518 +)))|(% colspan="2" %)(% colspan="1" %) 485 485 ((( 486 486 Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions> 487 487 ))) 488 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)522 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 489 489 ((( 490 490 //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.// 491 491 ))) ... ... @@ -495,11 +495,11 @@ 495 495 )))|(% colspan="1" %)(% colspan="1" %) 496 496 ((( 497 497 3.0 Beta 5 498 -)))|(% colspan=" 1" %)(% colspan="1" %)532 +)))|(% colspan="2" %)(% colspan="1" %) 499 499 ((( 500 500 Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos** 501 501 ))) 502 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)536 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 503 503 ((( 504 504 //Before the change, positions are relative to $dockingbay.parent. 505 505 After the change, positions are relative to $dockingbay as specified in the documentation.// ... ... @@ -510,11 +510,11 @@ 510 510 )))|(% colspan="1" %)(% colspan="1" %) 511 511 ((( 512 512 3.0 Beta 2 513 -)))|(% colspan=" 1" %)(% colspan="1" %)547 +)))|(% colspan="2" %)(% colspan="1" %) 514 514 ((( 515 515 Support for entity flag "**skillsvisible**" dropped 516 516 ))) 517 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)551 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 518 518 ((( 519 519 //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().// 520 520 ))) ... ... @@ -522,10 +522,10 @@ 522 522 Scripts 523 523 )))|((( 524 524 3.0 Beta 2 525 -)))|((( 559 +)))|(% colspan="2" %)((( 526 526 Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**. 527 527 ))) 528 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)562 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 529 529 ((( 530 530 //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. 531 531 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. ... ... @@ -538,11 +538,11 @@ 538 538 )))|(% colspan="1" %)(% colspan="1" %) 539 539 ((( 540 540 3.0 Beta 1 541 -)))|(% colspan=" 1" %)(% colspan="1" %)575 +)))|(% colspan="2" %)(% colspan="1" %) 542 542 ((( 543 543 **MissionBoard** support dropped 544 544 ))) 545 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)579 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 546 546 ((( 547 547 //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.// 548 548 ))) ... ... @@ -550,10 +550,10 @@ 550 550 Job/God 551 551 )))|((( 552 552 3.0 Beta 1 553 -)))|((( 587 +)))|(% colspan="2" %)((( 554 554 By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined 555 555 ))) 556 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)590 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 557 557 ((( 558 558 //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.// 559 559 ))) ... ... @@ -563,11 +563,11 @@ 563 563 )))|(% colspan="1" %)(% colspan="1" %) 564 564 ((( 565 565 3.0 Beta 1 566 -)))|(% colspan=" 1" %)(% colspan="1" %)600 +)))|(% colspan="2" %)(% colspan="1" %) 567 567 ((( 568 568 Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'** 569 569 ))) 570 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)604 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 571 571 ((( 572 572 //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.// 573 573 ))) ... ... @@ -577,11 +577,11 @@ 577 577 )))|(% colspan="1" %)(% colspan="1" %) 578 578 ((( 579 579 3.0 Beta 1 580 -)))|(% colspan=" 1" %)(% colspan="1" %)614 +)))|(% colspan="2" %)(% colspan="1" %) 581 581 ((( 582 582 Script action **<set_doors_locked/>** attribute **'group'** changed 583 583 ))) 584 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)618 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 585 585 ((( 586 586 //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.// 587 587 ))) ... ... @@ -591,11 +591,11 @@ 591 591 )))|(% colspan="1" %)(% colspan="1" %) 592 592 ((( 593 593 3.0 Beta 1 594 -)))|(% colspan=" 1" %)(% colspan="1" %)628 +)))|(% colspan="2" %)(% colspan="1" %) 595 595 ((( 596 596 Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed 597 597 ))) 598 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)632 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 599 599 ((( 600 600 //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.// 601 601 ))) ... ... @@ -605,11 +605,11 @@ 605 605 )))|(% colspan="1" %)(% colspan="1" %) 606 606 ((( 607 607 3.0 Beta 1 608 -)))|(% colspan=" 1" %)(% colspan="1" %)642 +)))|(% colspan="2" %)(% colspan="1" %) 609 609 ((( 610 610 Script actions **<set_hack_target/>** and **<abort_hack/>** removed 611 611 ))) 612 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)646 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 613 613 ((( 614 614 //These actions had no effect and were removed.// 615 615 ))) ... ... @@ -619,11 +619,11 @@ 619 619 )))|(% colspan="1" %)(% colspan="1" %) 620 620 ((( 621 621 3.0 Beta 1 622 -)))|(% colspan=" 1" %)(% colspan="1" %)656 +)))|(% colspan="2" %)(% colspan="1" %) 623 623 ((( 624 624 **<setup_conversation_minigame/>** script action removed 625 625 ))) 626 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)660 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 627 627 ((( 628 628 //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.// 629 629 ))) ... ... @@ -633,11 +633,11 @@ 633 633 )))|(% colspan="1" %)(% colspan="1" %) 634 634 ((( 635 635 3.0 Beta 1 636 -)))|(% colspan=" 1" %)(% colspan="1" %)670 +)))|(% colspan="2" %)(% colspan="1" %) 637 637 ((( 638 638 <add_player_choice_*> **confidence** attribute removed 639 639 ))) 640 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)674 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 641 641 ((( 642 642 //The default confidence of player options is another leftover from the XR era and had no effect in X4.// 643 643 ))) ... ... @@ -647,11 +647,11 @@ 647 647 )))|(% colspan="1" %)(% colspan="1" %) 648 648 ((( 649 649 3.0 Beta 1 650 -)))|(% colspan=" 1" %)(% colspan="1" %)684 +)))|(% colspan="2" %)(% colspan="1" %) 651 651 ((( 652 652 **<hack_via_control_panel/>** script action removed 653 653 ))) 654 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)688 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 655 655 ((( 656 656 //Unused script action <hack_via_control_panel/> was removed.// 657 657 ))) ... ... @@ -661,11 +661,11 @@ 661 661 )))|(% colspan="1" %)(% colspan="1" %) 662 662 ((( 663 663 3.0 Beta 1 664 -)))|(% colspan=" 1" %)(% colspan="1" %)698 +)))|(% colspan="2" %)(% colspan="1" %) 665 665 ((( 666 666 **Lua: **GetMiniGameCursorPosition() removed 667 667 ))) 668 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)702 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 669 669 ((( 670 670 //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.// 671 671 ))) ... ... @@ -673,10 +673,10 @@ 673 673 UI core 674 674 )))|((( 675 675 3.0 Beta 1 676 -)))|((( 710 +)))|(% colspan="2" %)((( 677 677 **FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders 678 678 ))) 679 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)713 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 680 680 ((( 681 681 //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.// 682 682 ))) ... ... @@ -686,11 +686,11 @@ 686 686 )))|(% colspan="1" %)(% colspan="1" %) 687 687 ((( 688 688 3.0 Beta 1 689 -)))|(% colspan=" 1" %)(% colspan="1" %)723 +)))|(% colspan="2" %)(% colspan="1" %) 690 690 ((( 691 691 **FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor 692 692 ))) 693 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)727 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 694 694 ((( 695 695 //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.// 696 696 ))) ... ... @@ -700,11 +700,11 @@ 700 700 )))|(% colspan="1" %)(% colspan="1" %) 701 701 ((( 702 702 3.0 Beta 1 703 -)))|(% colspan=" 1" %)(% colspan="1" %)737 +)))|(% colspan="2" %)(% colspan="1" %) 704 704 ((( 705 705 **$ware.illegal** updated 706 706 ))) 707 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)741 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 708 708 ((( 709 709 //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.// 710 710 //It now returns true if $ware is illegal to any faction in the game.// ... ... @@ -715,11 +715,11 @@ 715 715 )))|(% colspan="1" %)(% colspan="1" %) 716 716 ((( 717 717 3.0 Beta 1 718 -)))|(% colspan=" 1" %)(% colspan="1" %)752 +)))|(% colspan="2" %)(% colspan="1" %) 719 719 ((( 720 720 MD script **RML_Flight_Along_Path** removed 721 721 ))) 722 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)756 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 723 723 ((( 724 724 //The MD script RML_Flight_Along_Path was not referened and was removed.// 725 725 ))) ... ... @@ -729,11 +729,11 @@ 729 729 )))|(% colspan="1" %)(% colspan="1" %) 730 730 ((( 731 731 3.0 Beta 1 732 -)))|(% colspan=" 1" %)(% colspan="1" %)766 +)))|(% colspan="2" %)(% colspan="1" %) 733 733 ((( 734 734 parameters of **<event_venture_mission_completed/>** changed 735 735 ))) 736 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)770 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 737 737 ((( 738 738 //old params: param = venture details, param2 = ships involved, param3 = duration// 739 739 //new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration// ... ... @@ -742,11 +742,11 @@ 742 742 Scripts 743 743 )))|((( 744 744 3.0 Beta 1 745 -)))|((( 779 +)))|(% colspan="2" %)((( 746 746 **<set_object_wing_name/>** removed, 747 747 **<set_object_fleet_name/>** added 748 748 ))) 749 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)783 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 750 750 ((( 751 751 //The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>// 752 752 ))) ... ... @@ -754,26 +754,28 @@ 754 754 Scripts 755 755 )))|((( 756 756 3.0 Beta 1 757 -)))|((( 791 +)))|(% colspan="2" %)((( 758 758 **$controllable.wing.*** removed, 759 759 **$controllable.fleet.*** added 760 760 ))) 761 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)795 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 762 762 ((( 763 763 $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander 764 764 ))) 765 -|(% colspan="3" %)(% colspan="3" %) 766 -((( 767 -== 2.60 == 768 -))) 799 + 800 +---- 801 + 802 +=== 2.60 === 803 + 804 +(% class="wrapped" %) 769 769 |((( 770 770 Scripts 771 771 )))|((( 772 772 2.60 Beta 1 773 -)))|((( 809 +)))|(% colspan="2" %)((( 774 774 '**checkoperational**' filter behaviour changed 775 775 ))) 776 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)812 +|(% class="highlight-grey" colspan="10" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 777 777 ((( 778 778 //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.// 779 779 ... ... @@ -783,14 +783,20 @@ 783 783 Scripts 784 784 )))|((( 785 785 2.60 Beta 1 786 -)))|((( 822 +)))|(% colspan="2" %)((( 787 787 $container.**supplyresources** behavior changed 788 -))) 789 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)824 +)))| | | 825 +|(% class="highlight-grey" colspan="10" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 790 790 ((( 791 791 //The script keyword $container.supplyresources now includes reserved wares.// 792 792 ))) 793 -|(% colspan="3" %)(% colspan="3" %) 829 + 830 +---- 831 + 832 +=== 2.20 === 833 + 834 +(% class="wrapped" %) 835 +|(% colspan="4" %)(% colspan="3" %) 794 794 ((( 795 795 == 2.20 == 796 796 ))) ... ... @@ -800,17 +800,16 @@ 800 800 )))|(% colspan="1" %)(% colspan="1" %) 801 801 ((( 802 802 2.20 Beta 3/4 803 -)))|(% colspan=" 1" %)(% colspan="1" %)845 +)))|(% colspan="2" %)(% colspan="1" %) 804 804 ((( 805 805 **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined. 806 806 ))) 807 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)849 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 808 808 ((( 809 809 //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. 810 810 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.// 811 811 812 -//It's a pending change to ensure that the returned mode is more reasonable in an upcoming patch. So be aware that another breaking change might be introduced at some point. 813 -// 854 +//It's a pending change to ensure that the returned mode is more reasonable in an upcoming patch. So be aware that another breaking change might be introduced at some point.// 814 814 ))) 815 815 |(% colspan="1" %)(% colspan="1" %) 816 816 ((( ... ... @@ -818,18 +818,20 @@ 818 818 )))|(% colspan="1" %)(% colspan="1" %) 819 819 ((( 820 820 2.20 Beta 3 821 -)))|(% colspan=" 1" %)(% colspan="1" %)862 +)))|(% colspan="2" %)(% colspan="1" %) 822 822 ((( 823 823 Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor' 824 824 ))) 825 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)866 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 826 826 ((( 827 827 //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.// 828 828 ))) 829 -|(% colspan="3" %)(% colspan="3" %) 830 -((( 831 -== 2.00 == 832 -))) 870 + 871 +---- 872 + 873 +=== 2.00 === 874 + 875 +(% class="wrapped" %) 833 833 |(% colspan="1" %)(% colspan="1" %) 834 834 ((( 835 835 Scripts ... ... @@ -836,11 +836,11 @@ 836 836 )))|(% colspan="1" %)(% colspan="1" %) 837 837 ((( 838 838 2.00 Beta 1 839 -)))|(% colspan=" 1" %)(% colspan="1" %)882 +)))|(% colspan="2" %)(% colspan="1" %) 840 840 ((( 841 841 **<event_build_finished/> **param2 now returns null instead of a construction sequence 842 842 ))) 843 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)886 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 844 844 ((( 845 845 //The construction sequence which was finished should now be accessed via the buildtask provided via param3.// 846 846 ))) ... ... @@ -850,11 +850,11 @@ 850 850 )))|(% colspan="1" %)(% colspan="1" %) 851 851 ((( 852 852 2.00 Beta 1 853 -)))|(% colspan=" 1" %)(% colspan="1" %)896 +)))|(% colspan="2" %)(% colspan="1" %) 854 854 ((( 855 855 **param.boarding.{...}** strength parameters removed 856 856 ))) 857 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)900 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 858 858 ((( 859 859 //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.// 860 860 ))) ... ... @@ -864,11 +864,11 @@ 864 864 )))|(% colspan="1" %)(% colspan="1" %) 865 865 ((( 866 866 2.00 Beta 1 867 -)))|(% colspan=" 1" %)(% colspan="1" %)910 +)))|(% colspan="2" %)(% colspan="1" %) 868 868 ((( 869 869 **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed 870 870 ))) 871 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)914 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 872 872 ((( 873 873 //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.// 874 874 ))) ... ... @@ -876,10 +876,10 @@ 876 876 UI extensions 877 877 )))|((( 878 878 2.00 Beta 1 879 -)))|((( 922 +)))|(% colspan="2" %)((( 880 880 **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals 881 881 ))) 882 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)925 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 883 883 ((( 884 884 //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.// 885 885 ))) ... ... @@ -887,10 +887,10 @@ 887 887 UI extensions 888 888 )))|((( 889 889 2.00 Beta 1 890 -)))|((( 933 +)))|(% colspan="2" %)((( 891 891 **FFI: SetFormationShape()** no longer indicates an error upon certain error cases 892 892 ))) 893 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)936 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 894 894 ((( 895 895 //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.// 896 896 //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.// ... ... @@ -899,10 +899,10 @@ 899 899 Scripts 900 900 )))|((( 901 901 2.00 Beta 1 902 -)))|((( 945 +)))|(% colspan="2" %)((( 903 903 **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated. 904 904 ))) 905 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)948 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 906 906 ((( 907 907 //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.// 908 908 ))) ... ... @@ -910,10 +910,10 @@ 910 910 Scripts 911 911 )))|((( 912 912 2.00 Beta 1 913 -)))|((( 956 +)))|(% colspan="2" %)((( 914 914 **<event_player_changed_target/>** now fires and returns null if the player deselects a target. 915 915 ))) 916 -|(% 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="3" data-highlight-colour="grey" %) 917 917 ((( 918 918 //For prior behavior, check for event.param being non-null.// 919 919 ))) ... ... @@ -921,10 +921,10 @@ 921 921 AI Scripts 922 922 )))|((( 923 923 2.00 Beta 1 924 -)))|((( 967 +)))|(% colspan="2" %)((( 925 925 **<shoot/>/<shoot_at/>** attribute changes. 926 926 ))) 927 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)970 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 928 928 ((( 929 929 //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.// 930 930 //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.// ... ... @@ -936,10 +936,10 @@ 936 936 UI extensions 937 937 )))|((( 938 938 2.00 Beta 1 939 -)))|((( 982 +)))|(% colspan="2" %)((( 940 940 **FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter. 941 941 ))) 942 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)985 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 943 943 ((( 944 944 //Added possibility to query build tasks of a certain buildmodule.// 945 945 ))) ... ... @@ -947,10 +947,10 @@ 947 947 UI extensions 948 948 )))|((( 949 949 2.00 Beta 1 950 -)))|((( 993 +)))|(% colspan="2" %)((( 951 951 **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field. 952 952 ))) 953 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)996 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 954 954 ((( 955 955 //Added list of resources a buildmodule needs to build.// 956 956 ))) ... ... @@ -958,10 +958,10 @@ 958 958 UI extensions 959 959 )))|((( 960 960 2.00 Beta 1 961 -)))|((( 962 - (% 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);" %)1004 +)))|(% colspan="2" %)((( 1005 +**Lua: CalculateTotalHullFraction() **was removed. 963 963 ))) 964 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1007 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 965 965 ((( 966 966 //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.// 967 967 ))) ... ... @@ -969,25 +969,27 @@ 969 969 UI extensions 970 970 )))|((( 971 971 2.00 Beta 1 972 -)))|((( 973 -**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.1015 +)))|(% colspan="2" %)((( 1016 +**FFI: RequestDockAtReason()/UndockPlayerShip() **changed their return values. 974 974 ))) 975 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1018 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 976 976 ((( 977 977 //Changed return value type to const char* to better identify failure reasons in Lua script.// 978 978 ))) 979 -|(% colspan="3" %)(% colspan="3" %) 980 -((( 981 -== 1.50 == 982 -))) 1022 + 1023 +---- 1024 + 1025 +=== 1.50 === 1026 + 1027 +(% class="wrapped" %) 983 983 |((( 984 984 UI extensions 985 985 )))|((( 986 986 1.50 Beta 3 987 -)))|((( 1032 +)))|(% colspan="2" %)((( 988 988 **Lua: GetComponentData() **changed behavior of "docksizes" property. 989 989 ))) 990 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1035 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 991 991 ((( 992 992 //The "docksizes" property no longer includes internal ship storage docks.// 993 993 ))) ... ... @@ -995,10 +995,10 @@ 995 995 All 996 996 )))|((( 997 997 1.50 Beta 2 998 -)))|((( 1043 +)))|(% colspan="2" %)((( 999 999 **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR). 1000 1000 ))) 1001 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1046 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1002 1002 ((( 1003 1003 //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".// 1004 1004 ... ... @@ -1010,10 +1010,10 @@ 1010 1010 UI extensions 1011 1011 )))|((( 1012 1012 1.50 Beta 2 1013 -)))|((( 1058 +)))|(% colspan="2" %)((( 1014 1014 **FFI: UpgradeGroupInfo **datatype was changed. 1015 1015 ))) 1016 -|(% 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="3" data-highlight-colour="grey" %) 1017 1017 ((( 1018 1018 //Added new "operational" field to retrieve information about number of operational upgrades in a group.// 1019 1019 ))) ... ... @@ -1023,14 +1023,13 @@ 1023 1023 )))|(% colspan="1" %)(% colspan="1" %) 1024 1024 ((( 1025 1025 1.50 Beta 1 1026 -)))|(% colspan=" 1" %)(% colspan="1" %)1071 +)))|(% colspan="2" %)(% colspan="1" %) 1027 1027 ((( 1028 1028 **FFI: SetGuidance()** removed useinfopoint argument. 1029 1029 ))) 1030 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1075 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1031 1031 ((( 1032 -//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. 1033 -// 1077 +//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.// 1034 1034 1035 1035 //The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)// 1036 1036 ))) ... ... @@ -1038,40 +1038,46 @@ 1038 1038 UI extensions 1039 1039 )))|((( 1040 1040 1.50 Beta 1 1041 -)))|((( 1085 +)))|(% colspan="2" %)((( 1042 1042 **FFI: CancelConstruction() **changed its return value. 1043 1043 ))) 1044 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1088 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1045 1045 ((( 1046 - (% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. //1090 +//CancelConstruction() now returns if the cancellation was successful. // 1047 1047 ))) 1048 -|(% colspan="3" %)(% colspan="3" %) 1049 -((( 1050 -== 1.32 == 1051 -))) 1092 + 1093 +---- 1094 + 1095 +=== 1.32 === 1096 + 1097 +(% class="wrapped" %) 1052 1052 |((( 1053 1053 UI extensions 1054 1054 )))|((( 1055 1055 1.32 1056 -)))|((( 1102 +)))|(% colspan="2" %)((( 1057 1057 **Lua: GetComponentData() **removed the "nextdestname" property. 1058 1058 ))) 1059 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1105 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1060 1060 ((( 1061 1061 //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.// 1062 1062 ))) 1063 -|(% colspan="3" %)(% colspan="3" %) 1064 -((( 1065 -== 1.20 == 1066 -))) 1109 + 1110 +---- 1111 + 1112 +=== 1.20 === 1113 + 1114 +(% class="wrapped" %) 1067 1067 |((( 1068 1068 UI extensions 1069 1069 )))|((( 1070 1070 1.20 1071 -)))|((( 1119 +)))|(% colspan="2" %)((( 1072 1072 **FFI: GetAAOption()** got a new "useconfig" parameter. 1073 1073 ))) 1074 -|(% class="highlight-grey" colspan=" 3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)1122 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 1075 1075 ((( 1076 -//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.//1124 +//The AA setting was changed to check the new setting with the user. In order to restore the old setting GetAAOption() gets the option to retrieve the config settings.// 1077 1077 ))) 1126 + 1127 +
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 1413291461 +78577854 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/ 141329146/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/78577854/Breaking Changes