Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
From version 119.2
edited by Daniel Turner
on 2024/05/22 13:31
on 2024/05/22 13:31
Change comment:
There is no comment for this version
To version 92.1
edited by matthias
on 2021/06/30 12:44
on 2021/06/30 12:44
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -X4 Foundations Wiki.Modding Support.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Daniel1 +xwiki:XWiki.matthias - 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 -{{ 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.7 +{{note}} 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 -{{/ info}}13 +{{/note}} 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,285 +18,87 @@ 18 18 19 19 = Breaking Changes = 20 20 21 -{{toc scope="LOCAL" start="3"/}} 22 - 23 -=== Version 7.00 === 24 - 25 - 26 -(% class="table-striped" %) 27 -|(% colspan="1" style="width:117px" %)Scripts|(% colspan="1" style="width:119px" %)7.00 Beta 6|(% colspan="2" style="width:1625px" %)MD action **<set_holomap_target>** parameter change. 28 -|(% colspan="4" style="width:117px" %)((( 29 -//The **pantime** parameter has never actually done anything beyond turning panning on or making the transition instant. To make this clear it has been** **replaced with the boolean parameter **instant.**// 30 -))) 31 -|(% colspan="1" style="width:117px" %)Assets|(% colspan="1" style="width:119px" %)7.00 Beta 1|(% colspan="2" style="width:1625px" %)Renamed some material names and changed file paths for textures. 32 -|(% colspan="4" style="width:117px" %)((( 33 -(% style="color:#ffffff" %)//Some material names and texture paths were changed. Please DIFF the materiallibrary.xml from 6.20 with 7.0 to see the difference// 34 -))) 35 -|(% colspan="1" style="width:117px" %)(% colspan="1" %) 21 +|=((( 22 +Type 23 +)))|=((( 24 +Version 25 +)))|=((( 26 +Summary 27 +)))|=(% colspan="1" %)(% colspan="1" %) 36 36 ((( 37 -Scripts 38 -)))|(% colspan="1" style="width:119px" %)((( 39 -7.00 Beta 1 40 -)))|(% colspan="2" style="width:1625px" %)((( 41 -MD action **<set_presentation_cluster_persistence/>** now requires the cluster to be a presentation cluster. 29 + 42 42 ))) 43 -|(% colspan="4" title="Background colour :"%)(% colspan="3"title="Background colour :"%)31 +|(% colspan="4" %)(% colspan="4" %) 44 44 ((( 45 - //Previously it was possible to set normal clusters to be persistent presentation clusters which was an invalid state.//33 +== 4.10 == 46 46 ))) 47 -|(% colspan="1" style="width:117px" %)(% colspan="1" %) 48 -((( 49 -UI extensions 50 -)))|(% colspan="1" style="width:119px" %)((( 51 -7.00 Beta 1 52 -)))|(% colspan="2" style="width:1625px" %)((( 53 -**FFI**: RemoveBuildPlot() changed 54 -))) 55 -|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %) 56 -((( 57 -// 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.// 58 -))) 59 -|(% colspan="1" style="width:117px" %)(% colspan="1" %) 60 -((( 61 -Assets 62 -)))|(% colspan="1" style="width:119px" %)((( 63 -7.00 Beta 1 64 -)))|(% colspan="2" style="width:1625px" %)((( 65 -**Some Split DLC materials moved to base game** 66 -))) 67 -|(% colspan="7" title="Background colour :" %)(% colspan="3" title="Background colour :" %) 68 -((( 69 -// //"spl_p1_fx" AND "split_p1_hulltexture_01" were moved from Split DLC to base game 70 -))) 71 -|(% colspan="7" title="Background colour :" %) 72 - 73 ----- 74 - 75 -=== Version 6.00 === 76 - 77 -(% class="table-striped" %) 78 -|((( 79 -Libraries 80 -)))|((( 81 -6.00 Beta 7 82 -)))|(% colspan="2" %)((( 83 -Updated weights for ship groups in shipgroups.xml libraries of base game and all DLCs. 84 -))) 85 -|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %) 86 -((( 87 -//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.// 88 - 89 -//All groups should now have "weight" parameter added and old "weights" were updated to not have single-digit numbers.// 90 -))) 91 91 |(% colspan="1" %)(% colspan="1" %) 92 92 ((( 93 - Scripts37 +Parameters 94 94 )))|(% colspan="1" %)(% colspan="1" %) 95 95 ((( 96 -6.00 Beta 4 97 -)))|(% colspan="2" %)(% colspan="1" %) 98 -((( 99 -Changed conditions for **<event_player_travelmode_started> <event_player_travelmode_stopped> <event_player_travelmode_charge_started> <event_player_travelmode_charge_aborted>** to be raised. 100 -))) 101 -|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %) 102 -((( 103 -//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. // 104 - 105 -//Scripts that need to check whether the player exits travel mode may also need to consider checking whether the player leaves the control seat using <event_player_stopped_control> since this will also result in travel mode stopping.// 106 -))) 107 -|(% colspan="1" %)(% colspan="1" %) 108 -((( 109 -Scripts 40 +4.10 Beta 3 110 110 )))|(% colspan="1" %)(% colspan="1" %) 111 111 ((( 112 -6.00 Beta 3 113 -)))|(% colspan="2" %)(% colspan="1" %) 114 -((( 115 -Changed result of **<find_object_surface>** action in the case of a failure 116 -))) 117 -|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %) 118 -((( 119 -//The 'posname' and 'rotname' result attributes of <find_object_surface> will now return null in the case of no valid surface position being found.// 120 - 121 -//Previously, it returned null only if there was a physics error. It however returned a valid, somewhat-random, position if physics were fine but it was still unable to find a suitable surface position. This position was often unsuitable to use for gameplay purposes so it is now null so the caller can handle the situation.// 122 - 123 -//The action itself has been improved to increase the chance of finding suitable surface positions.// 124 -))) 125 -|(% colspan="1" %)(% colspan="1" %) 126 -((( 127 -Scripts 43 +Renamed **<stationinfobox>** to **<infobox>** 128 128 )))|(% colspan="1" %)(% colspan="1" %) 129 129 ((( 130 -6.00 Beta 1 131 -)))|(% colspan="2" %)(% colspan="1" %) 132 -((( 133 -Behaviour change for **<match_dock>** script component filter 46 + 134 134 ))) 135 -|(% colspan=" 4" title="Backgroundcolour:" %)(% colspan="3" title="Backgroundcolour:" %)48 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 136 136 ((( 137 -//<match_dock> nodes can now be used on container and walkablemodule classes without wrapping them in <match_content> nodes. 138 -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.// 139 -))) 140 -|(% colspan="1" %)(% colspan="1" %) 141 -((( 142 -Scripts 50 +Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that. 143 143 )))|(% colspan="1" %)(% colspan="1" %) 144 144 ((( 145 -6.00 Beta 1 146 -)))|(% colspan="2" %)(% colspan="1" %) 147 -((( 148 -Changed result attribute location for **<get_attackstrength>** 53 + 149 149 ))) 150 -|(% colspan="4" title="Background colour :" %)(% colspan="3" title="Background colour :" %) 151 -((( 152 -//The 'result' attribute of get_attackstrength has been moved into the new <result> subnode and renamed to 'total'.// 153 -))) 154 -|((( 155 -Assets 156 -)))|((( 157 -6.00 Beta 1 158 -)))|(% colspan="2" %)((( 159 -Surface element **connections** are incompatible by default unless tagged as "**standard**", and also "**combat**" for non-missile, non-mining weapons 160 -))) 161 -|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 162 -((( 163 -//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. 164 -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.// 165 -))) 166 166 |(% colspan="1" %)(% colspan="1" %) 167 167 ((( 168 -Scripts 169 -)))|(% colspan="1" %)(% colspan="1" %) 170 -((( 171 -6.00 Beta 1 172 -)))|(% colspan="2" %)(% colspan="1" %) 173 -((( 174 -Changed behaviour of attribute **sortbygatedistanceto** when finding objects, discarding unreachable objects 175 -))) 176 -|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 177 -((( 178 -//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.// 179 -))) 180 -|((( 181 -Scripts 182 -)))|((( 183 -6.00 Beta 1 184 -)))|(% colspan="2" %)((( 185 -**<event_player_owned_killed_object>** and **<event_player_owned_destroyed>** are now triggered before the corresponding **<event_object_destroyed>**, instead of afterwards. 186 -))) 187 -|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 188 -((( 189 -//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.// 190 -))) 191 -|((( 192 -Cutscenes 193 -)))|((( 194 -6.00 Beta 1 195 -)))|(% colspan="2" %)((( 196 -Changed behaviour of **<angles>** in cutscenes 197 -))) 198 -|(% colspan="4" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %)(% colspan="3" data-highlight-colour="#f4f5f7" title="Background color : Light grey 100%" %) 199 -((( 200 -//The yaw and pitch nodes in <angles> are now correctly interpreted as values in degrees.// 201 -))) 202 - 203 ----- 204 - 205 -=== Version 5.00 === 206 - 207 -(% class="table-striped" %) 208 -|((( 209 -Parameters 210 -)))|((( 211 -5.00 Beta 1 212 -)))|(% colspan="2" %)((( 213 -**<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration 214 -))) 215 -|(% colspan="7" %)(% colspan="3" %) 216 -((( 217 -//'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.// 218 -))) 219 - 220 ----- 221 - 222 -=== Version 4.10 === 223 - 224 -(% class="table-striped" %) 225 -|(% colspan="1" %)(% colspan="1" %) 226 -((( 227 227 UI extensions 228 228 )))|(% colspan="1" %)(% colspan="1" %) 229 229 ((( 230 -4.10 Beta 7 231 -)))|(% colspan="2" %)(% colspan="1" %) 232 -((( 233 -**FFI**: SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() deprecated 234 -))) 235 -|(% colspan="4" %)(% colspan="3" %) 236 -((( 237 -//The functionality represented by SetMapRenderCargoContents(), SetMapRenderWorkForceInfo(), SetMapRenderCrewInfo() and SetMapRenderDockedShipInfos() has been removed and the function was therefore stubbed.// 238 -))) 239 -|(% colspan="1" %)(% colspan="1" %) 240 -((( 241 -UI extensions 60 +4.10 Beta 2 242 242 )))|(% colspan="1" %)(% colspan="1" %) 243 243 ((( 244 -4.10 Beta 6 245 -)))|(% colspan="2" %)(% colspan="1" %) 246 -((( 247 -**FFI**: CustomGameStartPlayerProperty2 changed 248 -))) 249 -|(% colspan="4" %)(% colspan="3" %) 250 -((( 251 -//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.// 252 -))) 253 -|(% colspan="1" %)(% colspan="1" %) 254 -((( 255 -Parameters 63 +**FFI**: SetMacroMapPlayerSectorOffset() deprecated 256 256 )))|(% colspan="1" %)(% colspan="1" %) 257 257 ((( 258 -4.10 Beta 3 259 -)))|(% colspan="2" %)(% colspan="1" %) 260 -((( 261 -Renamed **<stationinfobox>** to **<infobox>** 66 + 262 262 ))) 263 -|(% colspan=" 4" %)(% colspan="3" %)68 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 264 264 ((( 265 -//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.// 266 -))) 267 -|(% colspan="1" %)(% colspan="1" %) 268 -((( 269 -UI extensions 70 +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. 270 270 )))|(% colspan="1" %)(% colspan="1" %) 271 271 ((( 272 -4.10 Beta 2 273 -)))|(% colspan="2" %)(% colspan="1" %) 274 -((( 275 -**FFI**: SetMacroMapPlayerSectorOffset() deprecated 73 + 276 276 ))) 277 -|(% colspan="4" %)(% colspan="3" %) 278 -((( 279 -//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.// 280 -))) 281 281 |((( 282 282 UI extensions 283 283 )))|((( 284 284 4.10 Beta 2 285 -)))|(% colspan="2" %)((( 286 -**FFI**: FilterComponentForMapMode() and SetMapObjectFilter() changed 79 +)))|((( 80 +**FFI**: (% style="color: rgb(0,0,0);" %)FilterComponentForMapMode(%%)() and (% style="color: rgb(0,0,0);" %)SetMapObjectFilter() changed 81 +)))|(% colspan="1" %)(% colspan="1" %) 82 +((( 83 + 287 287 ))) 288 -|(% colspan=" 4" %)(% colspan="3" %)85 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 289 289 ((( 290 290 //These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.// 88 +)))|(% colspan="1" %)(% colspan="1" %) 89 +((( 90 + 291 291 ))) 292 292 |((( 293 293 Scripts 294 294 )))|((( 295 295 4.10 Beta 1 296 -)))|(% colspan="2" %)((( 297 -People related attributes of mission** <delivery> **node moved 96 +)))|((( 97 +People related attributes of mission** <delivery> **node moved 98 +)))|((( 99 + 298 298 ))) 299 -|(% colspan="4" %)(% colspan=" 3" %)101 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 300 300 ((( 301 301 //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.// 302 302 ))) ... ... @@ -306,31 +306,37 @@ 306 306 )))|(% colspan="1" %)(% colspan="1" %) 307 307 ((( 308 308 4.10 Beta 1 309 -)))|(% colspan=" 2" %)(% colspan="1" %)111 +)))|(% colspan="1" %)(% colspan="1" %) 310 310 ((( 311 311 **$destructible.productions** replaced with $defensible.productions 114 +)))|(% colspan="1" %)(% colspan="1" %) 115 +((( 116 + 312 312 ))) 313 -|(% colspan=" 4" %)(% colspan="3" %)118 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 314 314 ((( 315 315 //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.// 121 +)))|(% colspan="1" %)(% colspan="1" %) 122 +((( 123 + 316 316 ))) 317 317 |((( 318 318 Scripts 319 319 )))|((( 320 320 4.10 Beta 1 321 -)))|( % colspan="2" %)(((129 +)))|((( 322 322 Removed script property **$object.spawnsourceseed** 131 +)))|((( 132 + 323 323 ))) 324 -|(% colspan="4" %)(% colspan=" 3" %)134 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 325 325 ((( 326 326 //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.// 327 327 ))) 328 - 329 ----- 330 - 331 -=== Version 4.00 === 332 - 333 -(% class="table-striped" %) 138 +|(% colspan="4" %)(% colspan="4" %) 139 +((( 140 +== 4.00 == 141 +))) 334 334 |(% colspan="1" %)(% colspan="1" %) 335 335 ((( 336 336 UI core ... ... @@ -337,27 +337,39 @@ 337 337 )))|(% colspan="1" %)(% colspan="1" %) 338 338 ((( 339 339 4.00 Beta 10 340 -)))|(% colspan=" 2" %)(% colspan="1" %)148 +)))|(% colspan="1" %)(% colspan="1" %) 341 341 ((( 342 342 Controlled ship can change without a **gameplanchange-event** occurring. 151 +)))|(% colspan="1" %)(% colspan="1" %) 152 +((( 153 + 343 343 ))) 344 -|(% colspan=" 4" %)(% colspan="3" %)155 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 345 345 ((( 346 346 //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). 347 -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.// 158 +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. 159 +// 160 +)))|(% colspan="1" %)(% colspan="1" %) 161 +((( 162 + 348 348 ))) 349 349 |((( 350 350 Scripts 351 351 )))|((( 352 352 4.00 Beta 7 353 -)))|( % colspan="2" %)(((168 +)))|((( 354 354 Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 170 +)))|((( 171 + 355 355 ))) 356 -|(% colspan=" 4" %)(% colspan="3" %)173 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 357 357 ((( 358 358 //Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 359 359 New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 360 360 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// 178 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 179 +((( 180 + 361 361 ))) 362 362 |(% colspan="1" %)(% colspan="1" %) 363 363 ((( ... ... @@ -365,16 +365,23 @@ 365 365 )))|(% colspan="1" %)(% colspan="1" %) 366 366 ((( 367 367 4.00 Beta 6 368 -)))|(% colspan=" 2" %)(% colspan="1" %)188 +)))|(% colspan="1" %)(% colspan="1" %) 369 369 ((( 370 370 **FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 191 +)))|(% colspan="1" %)(% colspan="1" %) 192 +((( 193 + 371 371 ))) 372 -|(% colspan=" 4" %)(% colspan="3" %)195 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 373 373 ((( 374 374 //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. 375 375 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).// 376 376 377 -//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.// 200 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead. 201 +// 202 +)))|(% colspan="1" %)(% colspan="1" %) 203 +((( 204 + 378 378 ))) 379 379 |(% colspan="1" %)(% colspan="1" %) 380 380 ((( ... ... @@ -382,24 +382,32 @@ 382 382 )))|(% colspan="1" %)(% colspan="1" %) 383 383 ((( 384 384 4.00 Beta 5 385 -)))|(% colspan=" 2" %)(% colspan="1" %)212 +)))|(% colspan="1" %)(% colspan="1" %) 386 386 ((( 387 387 **FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 215 +)))|(% colspan="1" %)(% colspan="1" %) 216 +((( 217 + 388 388 ))) 389 -|(% colspan=" 4" %)(% colspan="3" %)219 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 390 390 ((( 391 391 //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.// 392 392 393 393 //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). 224 +)))|(% colspan="1" %)(% colspan="1" %) 225 +((( 226 + 394 394 ))) 395 395 |((( 396 396 Parameters 397 397 )))|((( 398 398 4.00 Beta 1 399 -)))|( % colspan="2" %)(((232 +)))|((( 400 400 **requiresconstructionvessel** parameter moved 234 +)))|((( 235 + 401 401 ))) 402 -|(% colspan="4" %)(% colspan=" 3" %)237 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 403 403 ((( 404 404 //The 'requiresconstructionvessel' attribute has been moved from the 'recycling' node itself, to the new 'station' subnode.// 405 405 ))) ... ... @@ -407,44 +407,51 @@ 407 407 Scripts 408 408 )))|((( 409 409 4.00 Beta 1 410 -)))|( % colspan="2" %)(((245 +)))|((( 411 411 Changed behaviour of **gatedistance** script property 247 +)))|((( 248 + 412 412 ))) 413 -|(% colspan=" 4" %)(% colspan="3" %)250 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 414 414 ((( 415 415 //The 'gatedistance' script property now minimizes the number of gate jumps instead of counting the number gate jumps in the fastest route.// 253 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 254 +((( 255 + 416 416 ))) 417 - 418 ----- 419 - 420 -=== Version 3.30 === 421 - 422 -(% class="table-striped" %) 257 +|(% colspan="4" %)(% colspan="4" %) 258 +((( 259 +== 3.30 == 260 +))) 423 423 |((( 424 424 UI extensions 425 425 )))|((( 426 426 3.30 Beta 3 427 -)))|(% colspan="2" %)((( 428 -**FFI: **Removed** GetMissionLimit() **and** IsMissionLimitEnabled()** 265 +)))|((( 266 +**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()** 267 +)))|(% colspan="1" %)(% colspan="1" %) 268 +((( 269 + 429 429 ))) 430 -|(% colspan=" 7" %)(% colspan="3" %)271 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 431 431 ((( 432 -//These mission limit-related functions (added in 3.30 Beta 1 and 2) are replaced with FFI IsMissionLimitReached()// 273 +//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()// 433 433 ))) 434 - 435 ----- 436 - 437 -=== Version 3.20 === 438 - 439 -(% class="table-striped" %) 275 +|(% colspan="4" %)(% colspan="4" %) 276 +((( 277 +== 3.20 == 278 +))) 440 440 |((( 441 441 Scripts 442 442 )))|((( 443 443 3.20 Beta 1 444 -)))|( % colspan="2" %)(((283 +)))|((( 445 445 Parameters of **<event_player_attacked_object/>** and **<event_object_attacked_object/>** changed 285 +)))|(% colspan="1" %)(% colspan="1" %) 286 +((( 287 + 446 446 ))) 447 -|(% colspan="4" %)(% colspan=" 3" %)289 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 448 448 ((( 449 449 //Old params: param = attacked object, param2 = attack method, param3 = attacked component// 450 450 //New params: param = attacked object, param2 = attack method, param3 = attack component detail list: [attacked component, attacking weapon] ... ... @@ -456,11 +456,14 @@ 456 456 )))|(% colspan="1" %)(% colspan="1" %) 457 457 ((( 458 458 3.20 Beta 1 459 -)))|(% colspan=" 2" %)(% colspan="1" %)301 +)))|(% colspan="1" %)(% colspan="1" %) 460 460 ((( 461 461 Removed script property $trade.**restriction.faction** 304 +)))|(% colspan="1" %)(% colspan="1" %) 305 +((( 306 + 462 462 ))) 463 -|(% colspan="4" %)(% colspan=" 3" %)308 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 464 464 ((( 465 465 //$trade.restriction.faction has been replaced with $trade.restriction.factions, which returns a list of factions.// 466 466 ))) ... ... @@ -468,19 +468,20 @@ 468 468 UI extensions 469 469 )))|((( 470 470 3.20 Beta 1 471 -)))|( % colspan="2" %)(((316 +)))|((( 472 472 **Lua**: **GetTradeRestrictions()**, **ToggleFactionTradeRestriction()** and **ToggleFactionTradeWareOverride()** are now obsolete! 318 +)))|(% colspan="1" %)(% colspan="1" %) 319 +((( 320 + 473 473 ))) 474 -|(% colspan="4" %)(% colspan=" 3" %)322 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 475 475 ((( 476 476 //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.// 477 477 ))) 478 - 479 ----- 480 - 481 -=== Version 3.10 === 482 - 483 -(% class="table-striped" %) 326 +|(% colspan="4" %)(% colspan="4" %) 327 +((( 328 +== 3.10 == 329 +))) 484 484 |(% colspan="1" %)(% colspan="1" %) 485 485 ((( 486 486 Scripts ... ... @@ -487,20 +487,21 @@ 487 487 )))|(% colspan="1" %)(% colspan="1" %) 488 488 ((( 489 489 3.10 Beta 1 490 -)))|(% colspan=" 2" %)(% colspan="1" %)336 +)))|(% colspan="1" %)(% colspan="1" %) 491 491 ((( 492 492 Removed script action **<add_build/>** 339 +)))|(% colspan="1" %)(% colspan="1" %) 340 +((( 341 + 493 493 ))) 494 -|(% colspan=" 7" %)(% colspan="3" %)343 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 495 495 ((( 496 496 //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.// 497 497 ))) 498 - 499 ----- 500 - 501 -=== Version 3.00 === 502 - 503 -(% class="table-striped" %) 347 +|(% colspan="4" %)(% colspan="4" %) 348 +((( 349 +== 3.00 == 350 +))) 504 504 |(% colspan="1" %)(% colspan="1" %) 505 505 ((( 506 506 Scripts ... ... @@ -507,11 +507,14 @@ 507 507 )))|(% colspan="1" %)(% colspan="1" %) 508 508 ((( 509 509 3.0 Beta 6 510 -)))|(% colspan=" 2" %)(% colspan="1" %)357 +)))|(% colspan="1" %)(% colspan="1" %) 511 511 ((( 512 512 Changed behaviour of script action **<get_suitable_job/>** 360 +)))|(% colspan="1" %)(% colspan="1" %) 361 +((( 362 + 513 513 ))) 514 -|(% colspan="4" %)(% colspan=" 3" %)364 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 515 515 ((( 516 516 //<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.// 517 517 ))) ... ... @@ -521,11 +521,14 @@ 521 521 )))|(% colspan="1" %)(% colspan="1" %) 522 522 ((( 523 523 3.0 Beta 6 524 -)))|(% colspan=" 2" %)(% colspan="1" %)374 +)))|(% colspan="1" %)(% colspan="1" %) 525 525 ((( 526 526 Changed behaviour of script action **<get_ware_definition/>** 377 +)))|(% colspan="1" %)(% colspan="1" %) 378 +((( 379 + 527 527 ))) 528 -|(% colspan="4" %)(% colspan=" 3" %)381 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 529 529 ((( 530 530 //<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.// 531 531 ))) ... ... @@ -535,13 +535,16 @@ 535 535 )))|(% colspan="1" %)(% colspan="1" %) 536 536 ((( 537 537 3.0 Beta 5 538 -)))|(% colspan=" 2" %)(% colspan="1" %)391 +)))|(% colspan="1" %)(% colspan="1" %) 539 539 ((( 540 540 Renamed all files in the **md**, ui, and **cutscenes** folders to lower-case 394 +)))|(% colspan="1" %)(% colspan="1" %) 395 +((( 396 + 541 541 ))) 542 -|(% colspan="4" %)(% colspan=" 3" %)398 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 543 543 ((( 544 -//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.) 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.)\\ 545 545 546 546 //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).// 547 547 ))) ... ... @@ -551,11 +551,14 @@ 551 551 )))|(% colspan="1" %)(% colspan="1" %) 552 552 ((( 553 553 3.0 Beta 5 554 -)))|(% colspan=" 2" %)(% colspan="1" %)410 +)))|(% colspan="1" %)(% colspan="1" %) 555 555 ((( 556 556 Adjustments of some MD library cues in the base game to change their usage from **<include_actions>** to <run_actions> 413 +)))|(% colspan="1" %)(% colspan="1" %) 414 +((( 415 + 557 557 ))) 558 -|(% colspan="4" %)(% colspan=" 3" %)417 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 559 559 ((( 560 560 //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.// 561 561 ))) ... ... @@ -565,11 +565,14 @@ 565 565 )))|(% colspan="1" %)(% colspan="1" %) 566 566 ((( 567 567 3.0 Beta 5 568 -)))|(% colspan=" 2" %)(% colspan="1" %)427 +)))|(% colspan="1" %)(% colspan="1" %) 569 569 ((( 570 570 Changes to $dockingbay.**todockpos** and $dockingbay.**launchpos** 430 +)))|(% colspan="1" %)(% colspan="1" %) 431 +((( 432 + 571 571 ))) 572 -|(% colspan="4" %)(% colspan=" 3" %)434 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 573 573 ((( 574 574 //Before the change, positions are relative to $dockingbay.parent. 575 575 After the change, positions are relative to $dockingbay as specified in the documentation.// ... ... @@ -580,11 +580,14 @@ 580 580 )))|(% colspan="1" %)(% colspan="1" %) 581 581 ((( 582 582 3.0 Beta 2 583 -)))|(% colspan=" 2" %)(% colspan="1" %)445 +)))|(% colspan="1" %)(% colspan="1" %) 584 584 ((( 585 585 Support for entity flag "**skillsvisible**" dropped 448 +)))|(% colspan="1" %)(% colspan="1" %) 449 +((( 450 + 586 586 ))) 587 -|(% colspan="4" %)(% colspan=" 3" %)452 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 588 588 ((( 589 589 //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().// 590 590 ))) ... ... @@ -592,10 +592,13 @@ 592 592 Scripts 593 593 )))|((( 594 594 3.0 Beta 2 595 -)))|( % colspan="2" %)(((460 +)))|((( 596 596 Changes to **<event_object_changed_owner>** and added **<event_object_changed_true_owner>**. 462 +)))|(% colspan="1" %)(% colspan="1" %) 463 +((( 464 + 597 597 ))) 598 -|(% colspan="4" %)(% colspan=" 3" %)466 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 599 599 ((( 600 600 //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. 601 601 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. ... ... @@ -608,11 +608,14 @@ 608 608 )))|(% colspan="1" %)(% colspan="1" %) 609 609 ((( 610 610 3.0 Beta 1 611 -)))|(% colspan=" 2" %)(% colspan="1" %)479 +)))|(% colspan="1" %)(% colspan="1" %) 612 612 ((( 613 613 **MissionBoard** support dropped 482 +)))|(% colspan="1" %)(% colspan="1" %) 483 +((( 484 + 614 614 ))) 615 -|(% colspan="4" %)(% colspan=" 3" %)486 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 616 616 ((( 617 617 //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.// 618 618 ))) ... ... @@ -620,10 +620,13 @@ 620 620 Job/God 621 621 )))|((( 622 622 3.0 Beta 1 623 -)))|( % colspan="2" %)(((494 +)))|((( 624 624 By default, **job/god entries** now only spawn objects in space added by the extension in which they are defined 496 +)))|(% colspan="1" %)(% colspan="1" %) 497 +((( 498 + 625 625 ))) 626 -|(% colspan="4" %)(% colspan=" 3" %)500 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 627 627 ((( 628 628 //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.// 629 629 ))) ... ... @@ -633,11 +633,14 @@ 633 633 )))|(% colspan="1" %)(% colspan="1" %) 634 634 ((( 635 635 3.0 Beta 1 636 -)))|(% colspan=" 2" %)(% colspan="1" %)510 +)))|(% colspan="1" %)(% colspan="1" %) 637 637 ((( 638 638 Script action **<add_actor_to_room/> **attribute **'room'** renamed to **'object'** 513 +)))|(% colspan="1" %)(% colspan="1" %) 514 +((( 515 + 639 639 ))) 640 -|(% colspan="4" %)(% colspan=" 3" %)517 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 641 641 ((( 642 642 //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.// 643 643 ))) ... ... @@ -647,11 +647,14 @@ 647 647 )))|(% colspan="1" %)(% colspan="1" %) 648 648 ((( 649 649 3.0 Beta 1 650 -)))|(% colspan=" 2" %)(% colspan="1" %)527 +)))|(% colspan="1" %)(% colspan="1" %) 651 651 ((( 652 652 Script action **<set_doors_locked/>** attribute **'group'** changed 530 +)))|(% colspan="1" %)(% colspan="1" %) 531 +((( 532 + 653 653 ))) 654 -|(% colspan="4" %)(% colspan=" 3" %)534 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 655 655 ((( 656 656 //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.// 657 657 ))) ... ... @@ -661,11 +661,14 @@ 661 661 )))|(% colspan="1" %)(% colspan="1" %) 662 662 ((( 663 663 3.0 Beta 1 664 -)))|(% colspan=" 2" %)(% colspan="1" %)544 +)))|(% colspan="1" %)(% colspan="1" %) 665 665 ((( 666 666 Script conditions **<event_hack_*/>** and **<event_controlpanel_hack_*/>** removed 547 +)))|(% colspan="1" %)(% colspan="1" %) 548 +((( 549 + 667 667 ))) 668 -|(% colspan="4" %)(% colspan=" 3" %)551 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 669 669 ((( 670 670 //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.// 671 671 ))) ... ... @@ -675,11 +675,14 @@ 675 675 )))|(% colspan="1" %)(% colspan="1" %) 676 676 ((( 677 677 3.0 Beta 1 678 -)))|(% colspan=" 2" %)(% colspan="1" %)561 +)))|(% colspan="1" %)(% colspan="1" %) 679 679 ((( 680 680 Script actions **<set_hack_target/>** and **<abort_hack/>** removed 564 +)))|(% colspan="1" %)(% colspan="1" %) 565 +((( 566 + 681 681 ))) 682 -|(% colspan="4" %)(% colspan=" 3" %)568 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 683 683 ((( 684 684 //These actions had no effect and were removed.// 685 685 ))) ... ... @@ -689,11 +689,14 @@ 689 689 )))|(% colspan="1" %)(% colspan="1" %) 690 690 ((( 691 691 3.0 Beta 1 692 -)))|(% colspan=" 2" %)(% colspan="1" %)578 +)))|(% colspan="1" %)(% colspan="1" %) 693 693 ((( 694 694 **<setup_conversation_minigame/>** script action removed 581 +)))|(% colspan="1" %)(% colspan="1" %) 582 +((( 583 + 695 695 ))) 696 -|(% colspan="4" %)(% colspan=" 3" %)585 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 697 697 ((( 698 698 //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.// 699 699 ))) ... ... @@ -703,11 +703,14 @@ 703 703 )))|(% colspan="1" %)(% colspan="1" %) 704 704 ((( 705 705 3.0 Beta 1 706 -)))|(% colspan=" 2" %)(% colspan="1" %)595 +)))|(% colspan="1" %)(% colspan="1" %) 707 707 ((( 708 708 <add_player_choice_*> **confidence** attribute removed 598 +)))|(% colspan="1" %)(% colspan="1" %) 599 +((( 600 + 709 709 ))) 710 -|(% colspan="4" %)(% colspan=" 3" %)602 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 711 711 ((( 712 712 //The default confidence of player options is another leftover from the XR era and had no effect in X4.// 713 713 ))) ... ... @@ -717,11 +717,14 @@ 717 717 )))|(% colspan="1" %)(% colspan="1" %) 718 718 ((( 719 719 3.0 Beta 1 720 -)))|(% colspan=" 2" %)(% colspan="1" %)612 +)))|(% colspan="1" %)(% colspan="1" %) 721 721 ((( 722 722 **<hack_via_control_panel/>** script action removed 615 +)))|(% colspan="1" %)(% colspan="1" %) 616 +((( 617 + 723 723 ))) 724 -|(% colspan="4" %)(% colspan=" 3" %)619 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 725 725 ((( 726 726 //Unused script action <hack_via_control_panel/> was removed.// 727 727 ))) ... ... @@ -731,11 +731,14 @@ 731 731 )))|(% colspan="1" %)(% colspan="1" %) 732 732 ((( 733 733 3.0 Beta 1 734 -)))|(% colspan=" 2" %)(% colspan="1" %)629 +)))|(% colspan="1" %)(% colspan="1" %) 735 735 ((( 736 736 **Lua: **GetMiniGameCursorPosition() removed 632 +)))|(% colspan="1" %)(% colspan="1" %) 633 +((( 634 + 737 737 ))) 738 -|(% colspan="4" %)(% colspan=" 3" %)636 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 739 739 ((( 740 740 //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.// 741 741 ))) ... ... @@ -743,10 +743,13 @@ 743 743 UI core 744 744 )))|((( 745 745 3.0 Beta 1 746 -)))|( % colspan="2" %)(((644 +)))|((( 747 747 **FFI: **GetLocalizedInteractiveNotificationKey can return icon placeholders 646 +)))|(% colspan="1" %)(% colspan="1" %) 647 +((( 648 + 748 748 ))) 749 -|(% colspan="4" %)(% colspan=" 3" %)650 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 750 750 ((( 751 751 //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.// 752 752 ))) ... ... @@ -756,11 +756,14 @@ 756 756 )))|(% colspan="1" %)(% colspan="1" %) 757 757 ((( 758 758 3.0 Beta 1 759 -)))|(% colspan=" 2" %)(% colspan="1" %)660 +)))|(% colspan="1" %)(% colspan="1" %) 760 760 ((( 761 761 **FFI: **UIWeaponMod returned by GetInstalledWeaponMod() now includes property SurfaceElementFactor 663 +)))|(% colspan="1" %)(% colspan="1" %) 664 +((( 665 + 762 762 ))) 763 -|(% colspan="4" %)(% colspan=" 3" %)667 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 764 764 ((( 765 765 //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.// 766 766 ))) ... ... @@ -770,11 +770,14 @@ 770 770 )))|(% colspan="1" %)(% colspan="1" %) 771 771 ((( 772 772 3.0 Beta 1 773 -)))|(% colspan=" 2" %)(% colspan="1" %)677 +)))|(% colspan="1" %)(% colspan="1" %) 774 774 ((( 775 775 **$ware.illegal** updated 680 +)))|(% colspan="1" %)(% colspan="1" %) 681 +((( 682 + 776 776 ))) 777 -|(% colspan="4" %)(% colspan=" 3" %)684 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 778 778 ((( 779 779 //$ware.illegal used to return true if the specified ware has the 'illegal' tag which is no longer used.// 780 780 //It now returns true if $ware is illegal to any faction in the game.// ... ... @@ -785,11 +785,14 @@ 785 785 )))|(% colspan="1" %)(% colspan="1" %) 786 786 ((( 787 787 3.0 Beta 1 788 -)))|(% colspan=" 2" %)(% colspan="1" %)695 +)))|(% colspan="1" %)(% colspan="1" %) 789 789 ((( 790 790 MD script **RML_Flight_Along_Path** removed 698 +)))|(% colspan="1" %)(% colspan="1" %) 699 +((( 700 + 791 791 ))) 792 -|(% colspan="4" %)(% colspan=" 3" %)702 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 793 793 ((( 794 794 //The MD script RML_Flight_Along_Path was not referened and was removed.// 795 795 ))) ... ... @@ -799,11 +799,14 @@ 799 799 )))|(% colspan="1" %)(% colspan="1" %) 800 800 ((( 801 801 3.0 Beta 1 802 -)))|(% colspan=" 2" %)(% colspan="1" %)712 +)))|(% colspan="1" %)(% colspan="1" %) 803 803 ((( 804 804 parameters of **<event_venture_mission_completed/>** changed 715 +)))|(% colspan="1" %)(% colspan="1" %) 716 +((( 717 + 805 805 ))) 806 -|(% colspan="4" %)(% colspan=" 3" %)719 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 807 807 ((( 808 808 //old params: param = venture details, param2 = ships involved, param3 = duration// 809 809 //new params: param = venture detail list: [mission name, mission type], param2 = list of ships involved, param3 = duration// ... ... @@ -812,11 +812,14 @@ 812 812 Scripts 813 813 )))|((( 814 814 3.0 Beta 1 815 -)))|( % colspan="2" %)(((728 +)))|((( 816 816 **<set_object_wing_name/>** removed, 817 817 **<set_object_fleet_name/>** added 731 +)))|(% colspan="1" %)(% colspan="1" %) 732 +((( 733 + 818 818 ))) 819 -|(% colspan="4" %)(% colspan=" 3" %)735 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 820 820 ((( 821 821 //The common action <set_object_wing_name/> has been replaced with <set_object_fleet_name/>// 822 822 ))) ... ... @@ -824,28 +824,32 @@ 824 824 Scripts 825 825 )))|((( 826 826 3.0 Beta 1 827 -)))|( % colspan="2" %)(((743 +)))|((( 828 828 **$controllable.wing.*** removed, 829 829 **$controllable.fleet.*** added 746 +)))|(% colspan="1" %)(% colspan="1" %) 747 +((( 748 + 830 830 ))) 831 -|(% colspan="4" %)(% colspan=" 3" %)750 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 832 832 ((( 833 833 $controllable.wing.name, $controllable.wing.iscommander, and $controllable.wing.commander have been replaced with $controllable.fleet.name, $controllable.fleet.iscommander, and $controllable.fleet.commander 834 834 ))) 835 - 836 ----- 837 - 838 -=== Version 2.60 === 839 - 840 -(% class="table-striped" %) 754 +|(% colspan="4" %)(% colspan="4" %) 755 +((( 756 +== 2.60 == 757 +))) 841 841 |((( 842 842 Scripts 843 843 )))|((( 844 844 2.60 Beta 1 845 -)))|( % colspan="2" %)(((762 +)))|((( 846 846 '**checkoperational**' filter behaviour changed 764 +)))|(% colspan="1" %)(% colspan="1" %) 765 +((( 766 + 847 847 ))) 848 -|(% colspan=" 10" %)(% colspan="3" %)768 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 849 849 ((( 850 850 //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.// 851 851 ... ... @@ -855,19 +855,20 @@ 855 855 Scripts 856 856 )))|((( 857 857 2.60 Beta 1 858 -)))|( % colspan="2" %)(((778 +)))|((( 859 859 $container.**supplyresources** behavior changed 860 -)))| | | 861 -|(% colspan="10" %)(% colspan="3" %) 780 +)))|(% colspan="1" %)(% colspan="1" %) 862 862 ((( 782 + 783 +))) 784 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 785 +((( 863 863 //The script keyword $container.supplyresources now includes reserved wares.// 864 864 ))) 865 - 866 ----- 867 - 868 -=== Version 2.20 === 869 - 870 -(% class="table-striped" %) 788 +|(% colspan="4" %)(% colspan="4" %) 789 +((( 790 +== 2.20 == 791 +))) 871 871 |(% colspan="1" %)(% colspan="1" %) 872 872 ((( 873 873 UI core ... ... @@ -874,16 +874,20 @@ 874 874 )))|(% colspan="1" %)(% colspan="1" %) 875 875 ((( 876 876 2.20 Beta 3/4 877 -)))|(% colspan=" 2" %)(% colspan="1" %)798 +)))|(% colspan="1" %)(% colspan="1" %) 878 878 ((( 879 879 **Lua: GetControllerInfo()** returned mouseSteering/mouseCursor values are undefined. 801 +)))|(% colspan="1" %)(% colspan="1" %) 802 +((( 803 + 880 880 ))) 881 -|(% colspan="4" %)(% colspan=" 3" %)805 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 882 882 ((( 883 883 //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. 884 884 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.// 885 885 886 -//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.// 810 +//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. 811 +// 887 887 ))) 888 888 |(% colspan="1" %)(% colspan="1" %) 889 889 ((( ... ... @@ -891,20 +891,21 @@ 891 891 )))|(% colspan="1" %)(% colspan="1" %) 892 892 ((( 893 893 2.20 Beta 3 894 -)))|(% colspan=" 2" %)(% colspan="1" %)819 +)))|(% colspan="1" %)(% colspan="1" %) 895 895 ((( 896 896 Attribute for build related conditions e.g. **<event_build_finished/>** renamed from 'buildmodule' to 'buildprocessor' 822 +)))|(% colspan="1" %)(% colspan="1" %) 823 +((( 824 + 897 897 ))) 898 -|(% colspan="4" %)(% colspan=" 3" %)826 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 899 899 ((( 900 900 //The underlying behaviour remains the same in that it involves the buildprocessor, not the buildmodule. The attribute name has simply been corrected.// 901 901 ))) 902 - 903 ----- 904 - 905 -=== Version 2.00 === 906 - 907 -(% class="table-striped" %) 830 +|(% colspan="4" %)(% colspan="4" %) 831 +((( 832 +== 2.00 == 833 +))) 908 908 |(% colspan="1" %)(% colspan="1" %) 909 909 ((( 910 910 Scripts ... ... @@ -911,11 +911,14 @@ 911 911 )))|(% colspan="1" %)(% colspan="1" %) 912 912 ((( 913 913 2.00 Beta 1 914 -)))|(% colspan=" 2" %)(% colspan="1" %)840 +)))|(% colspan="1" %)(% colspan="1" %) 915 915 ((( 916 916 **<event_build_finished/> **param2 now returns null instead of a construction sequence 843 +)))|(% colspan="1" %)(% colspan="1" %) 844 +((( 845 + 917 917 ))) 918 -|(% colspan="4" %)(% colspan=" 3" %)847 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 919 919 ((( 920 920 //The construction sequence which was finished should now be accessed via the buildtask provided via param3.// 921 921 ))) ... ... @@ -925,11 +925,14 @@ 925 925 )))|(% colspan="1" %)(% colspan="1" %) 926 926 ((( 927 927 2.00 Beta 1 928 -)))|(% colspan=" 2" %)(% colspan="1" %)857 +)))|(% colspan="1" %)(% colspan="1" %) 929 929 ((( 930 930 **param.boarding.{...}** strength parameters removed 860 +)))|(% colspan="1" %)(% colspan="1" %) 861 +((( 862 + 931 931 ))) 932 -|(% colspan="4" %)(% colspan=" 3" %)864 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 933 933 ((( 934 934 //The 'recruitstrength', 'veteranstrength' and 'elitestrength' script parameters were no longer required for balancing the boarding gameplay, and were removed.// 935 935 ))) ... ... @@ -939,11 +939,14 @@ 939 939 )))|(% colspan="1" %)(% colspan="1" %) 940 940 ((( 941 941 2.00 Beta 1 942 -)))|(% colspan=" 2" %)(% colspan="1" %)874 +)))|(% colspan="1" %)(% colspan="1" %) 943 943 ((( 944 944 **$defensible.boardee/$defensible.boarder** and **<set_object_boarder/>/<remove_object_boarder/>** removed 877 +)))|(% colspan="1" %)(% colspan="1" %) 878 +((( 879 + 945 945 ))) 946 -|(% colspan="4" %)(% colspan=" 3" %)881 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 947 947 ((( 948 948 //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.// 949 949 ))) ... ... @@ -951,10 +951,13 @@ 951 951 UI extensions 952 952 )))|((( 953 953 2.00 Beta 1 954 -)))|( % colspan="2" %)(((889 +)))|((( 955 955 **FFI: GetUpgradeSlotCurrentComponent()/GetUpgradeSlotGroup()** works on non-operationals 891 +)))|(% colspan="1" %)(% colspan="1" %) 892 +((( 893 + 956 956 ))) 957 -|(% colspan="4" %)(% colspan=" 3" %)895 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 958 958 ((( 959 959 //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.// 960 960 ))) ... ... @@ -962,10 +962,13 @@ 962 962 UI extensions 963 963 )))|((( 964 964 2.00 Beta 1 965 -)))|( % colspan="2" %)(((903 +)))|((( 966 966 **FFI: SetFormationShape()** no longer indicates an error upon certain error cases 905 +)))|(% colspan="1" %)(% colspan="1" %) 906 +((( 907 + 967 967 ))) 968 -|(% colspan="4" %)(% colspan=" 3" %)909 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 969 969 ((( 970 970 //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.// 971 971 //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.// ... ... @@ -974,10 +974,13 @@ 974 974 Scripts 975 975 )))|((( 976 976 2.00 Beta 1 977 -)))|( % colspan="2" %)(((918 +)))|((( 978 978 **<create_formation/>** now requires the attributes: 'leader' and 'follower'. Attribute 'object' is now deprecated. 920 +)))|(% colspan="1" %)(% colspan="1" %) 921 +((( 922 + 979 979 ))) 980 -|(% colspan="4" %)(% colspan=" 3" %)924 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 981 981 ((( 982 982 //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.// 983 983 ))) ... ... @@ -985,10 +985,13 @@ 985 985 Scripts 986 986 )))|((( 987 987 2.00 Beta 1 988 -)))|( % colspan="2" %)(((932 +)))|((( 989 989 **<event_player_changed_target/>** now fires and returns null if the player deselects a target. 934 +)))|(% colspan="1" %)(% colspan="1" %) 935 +((( 936 + 990 990 ))) 991 -|(% colspan="4" %)(% colspan=" 3" %)938 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 992 992 ((( 993 993 //For prior behavior, check for event.param being non-null.// 994 994 ))) ... ... @@ -996,10 +996,13 @@ 996 996 AI Scripts 997 997 )))|((( 998 998 2.00 Beta 1 999 -)))|( % colspan="2" %)(((946 +)))|((( 1000 1000 **<shoot/>/<shoot_at/>** attribute changes. 948 +)))|(% colspan="1" %)(% colspan="1" %) 949 +((( 950 + 1001 1001 ))) 1002 -|(% colspan="4" %)(% colspan=" 3" %)952 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1003 1003 ((( 1004 1004 //Changed: Attribute "primary" is now optional and defines whether weapons from the ship's active primary weapon group will be fired. Defaults to true.// 1005 1005 //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.// ... ... @@ -1011,10 +1011,13 @@ 1011 1011 UI extensions 1012 1012 )))|((( 1013 1013 2.00 Beta 1 1014 -)))|(% colspan="2" %)((( 1015 -**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter. 964 +)))|((( 965 +**FFI: GetBuildTask()/GetNumBuildTasks()** got a new "buildmoduleid" parameter.(% class="confluenceTd" %) 966 +)))|(% colspan="1" %)(% colspan="1" %) 967 +((( 968 + 1016 1016 ))) 1017 -|(% colspan="4" %)(% colspan=" 3" %)970 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1018 1018 ((( 1019 1019 //Added possibility to query build tasks of a certain buildmodule.// 1020 1020 ))) ... ... @@ -1022,10 +1022,13 @@ 1022 1022 UI extensions 1023 1023 )))|((( 1024 1024 2.00 Beta 1 1025 -)))|( % colspan="2" %)(((978 +)))|((( 1026 1026 **Lua:** **GetLibraryEntry()** retrieved a new "buildresources" field. 980 +)))|(% colspan="1" %)(% colspan="1" %) 981 +((( 982 + 1027 1027 ))) 1028 -|(% colspan="4" %)(% colspan=" 3" %)984 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1029 1029 ((( 1030 1030 //Added list of resources a buildmodule needs to build.// 1031 1031 ))) ... ... @@ -1033,10 +1033,13 @@ 1033 1033 UI extensions 1034 1034 )))|((( 1035 1035 2.00 Beta 1 1036 -)))|(% colspan="2" %)((( 1037 -**Lua: CalculateTotalHullFraction() **was removed. 992 +)))|((( 993 +(% 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);" %) 994 +)))|(% colspan="1" %)(% colspan="1" %) 995 +((( 996 + 1038 1038 ))) 1039 -|(% colspan="4" %)(% colspan=" 3" %)998 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1040 1040 ((( 1041 1041 //Unused, derelict function from XR - use GetComponentData(..., "hullpercent") instead.// 1042 1042 ))) ... ... @@ -1044,27 +1044,31 @@ 1044 1044 UI extensions 1045 1045 )))|((( 1046 1046 2.00 Beta 1 1047 -)))|(% colspan="2" %)((( 1048 -**FFI: RequestDockAtReason()/UndockPlayerShip() **changed their return values. 1006 +)))|((( 1007 +**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" %) 1008 +)))|(% colspan="1" %)(% colspan="1" %) 1009 +((( 1010 + 1049 1049 ))) 1050 -|(% colspan="4" %)(% colspan=" 3" %)1012 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1051 1051 ((( 1052 1052 //Changed return value type to const char* to better identify failure reasons in Lua script.// 1053 1053 ))) 1054 - 1055 ----- 1056 - 1057 -=== Version 1.50 === 1058 - 1059 -(% class="table-striped" %) 1016 +|(% colspan="4" %)(% colspan="4" %) 1017 +((( 1018 +== 1.50 == 1019 +))) 1060 1060 |((( 1061 1061 UI extensions 1062 1062 )))|((( 1063 1063 1.50 Beta 3 1064 -)))|(% colspan="2" %)((( 1065 -**Lua: GetComponentData() **changed behavior of "docksizes" property. 1024 +)))|((( 1025 +**Lua: GetComponentData() **changed behavior of "docksizes" propertly.(% class="confluenceTd" %) 1026 +)))|(% colspan="1" %)(% colspan="1" %) 1027 +((( 1028 + 1066 1066 ))) 1067 -|(% colspan="4" %)(% colspan=" 3" %)1030 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1068 1068 ((( 1069 1069 //The "docksizes" property no longer includes internal ship storage docks.// 1070 1070 ))) ... ... @@ -1072,10 +1072,13 @@ 1072 1072 All 1073 1073 )))|((( 1074 1074 1.50 Beta 2 1075 -)))|( % colspan="2" %)(((1038 +)))|((( 1076 1076 **Meaning of "Shipyard"** was corrected throughout Lua/MD/AI scripts, so that Wharfs are not Shipyards (unlike in XR). 1040 +)))|(% colspan="1" %)(% colspan="1" %) 1041 +((( 1042 + 1077 1077 ))) 1078 -|(% colspan="4" %)(% colspan=" 3" %)1044 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1079 1079 ((( 1080 1080 //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".// 1081 1081 ... ... @@ -1087,10 +1087,13 @@ 1087 1087 UI extensions 1088 1088 )))|((( 1089 1089 1.50 Beta 2 1090 -)))|(% colspan="2" %)((( 1091 -**FFI: UpgradeGroupInfo **datatype was changed. 1056 +)))|((( 1057 +**FFI: UpgradeGroupInfo **datatype was changed.(% class="confluenceTd" %) 1058 +)))|(% colspan="1" %)(% colspan="1" %) 1059 +((( 1060 + 1092 1092 ))) 1093 -|(% colspan="4" %)(% colspan=" 3" %)1062 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1094 1094 ((( 1095 1095 //Added new "operational" field to retrieve information about number of operational upgrades in a group.// 1096 1096 ))) ... ... @@ -1100,13 +1100,17 @@ 1100 1100 )))|(% colspan="1" %)(% colspan="1" %) 1101 1101 ((( 1102 1102 1.50 Beta 1 1103 -)))|(% colspan=" 2" %)(% colspan="1" %)1072 +)))|(% colspan="1" %)(% colspan="1" %) 1104 1104 ((( 1105 1105 **FFI: SetGuidance()** removed useinfopoint argument. 1075 +)))|(% colspan="1" %)(% colspan="1" %) 1076 +((( 1077 + 1106 1106 ))) 1107 -|(% colspan="4" %)(% colspan=" 3" %)1079 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1108 1108 ((( 1109 -//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.// 1081 +//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. 1082 +// 1110 1110 1111 1111 //The new function declaration is: void SetGuidance(UniverseID componentid, UIPosRot offset)// 1112 1112 ))) ... ... @@ -1114,44 +1114,49 @@ 1114 1114 UI extensions 1115 1115 )))|((( 1116 1116 1.50 Beta 1 1117 -)))|(% colspan="2" %)((( 1118 -**FFI: CancelConstruction() **changed its return value. 1090 +)))|((( 1091 +**FFI: CancelConstruction() **changed its return value.(% class="confluenceTd" %) 1092 +)))|(% colspan="1" %)(% colspan="1" %) 1093 +((( 1094 + 1119 1119 ))) 1120 -|(% colspan="4" %)(% colspan=" 3" %)1096 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1121 1121 ((( 1122 -//CancelConstruction() now returns if the cancellation was successful. // 1098 +(% style="color: rgb(0,0,0);" %)//CancelConstruction() now returns if the cancellation was successful. // 1123 1123 ))) 1124 - 1125 ----- 1126 - 1127 -=== Version 1.32 === 1128 - 1129 -(% class="table-striped" %) 1100 +|(% colspan="4" %)(% colspan="4" %) 1101 +((( 1102 +== 1.32 == 1103 +))) 1130 1130 |((( 1131 1131 UI extensions 1132 1132 )))|((( 1133 1133 1.32 1134 -)))|( % colspan="2" %)(((1108 +)))|((( 1135 1135 **Lua: GetComponentData() **removed the "nextdestname" property. 1110 +)))|(% colspan="1" %)(% colspan="1" %) 1111 +((( 1112 + 1136 1136 ))) 1137 -|(% colspan="4" %)(% colspan=" 3" %)1114 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1138 1138 ((( 1139 1139 //Instead of "nextdestname", use the properties "destination" or "destinationsector" to retrieve a destination component, then retrieve its "name" property.// 1140 1140 ))) 1141 - 1142 ----- 1143 - 1144 -=== Version 1.20 === 1145 - 1146 -(% class="table-striped" %) 1118 +|(% colspan="4" %)(% colspan="4" %) 1119 +((( 1120 +== 1.20 == 1121 +))) 1147 1147 |((( 1148 1148 UI extensions 1149 1149 )))|((( 1150 1150 1.20 1151 -)))|(% colspan="2" %)((( 1152 -**FFI: GetAAOption()** got a new "useconfig" parameter. 1126 +)))|((( 1127 +**FFI: GetAAOption()** got a new "useconfig" parameter.(% class="confluenceTd" %) 1128 +)))|(% colspan="1" %)(% colspan="1" %) 1129 +((( 1130 + 1153 1153 ))) 1154 -|(% colspan="4" %)(% colspan=" 3" %)1132 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 1155 1155 ((( 1156 -//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.// 1134 +//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.// 1157 1157 )))
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,0 +1,1 @@ 1 +104596046 - space
-
... ... @@ -1,0 +1,1 @@ 1 +X4WIKI - url
-
... ... @@ -1,0 +1,1 @@ 1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/104596046/Breaking Changes