Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. stefan1 +xwiki:XWiki.matthias - Content
-
... ... @@ -30,6 +30,173 @@ 30 30 ))) 31 31 |(% colspan="4" %)(% colspan="4" %) 32 32 ((( 33 +== 5.00 == 34 +))) 35 +|((( 36 +Parameters 37 +)))|((( 38 +5.00 Beta 1 39 +)))|((( 40 +**<controlpanel><entry>: minduration** removed, **maxduration** renamed to duration 41 +)))|((( 42 + 43 +))) 44 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 45 +((( 46 +//'minduration' was unused in X4, maxduration was and still is taken as the actual duration of control panel hacks. No functionality change.// 47 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 48 +((( 49 + 50 +))) 51 +|(% colspan="4" %)(% colspan="4" %) 52 +((( 53 +== 4.10 == 54 +))) 55 +|(% colspan="1" %)(% colspan="1" %) 56 +((( 57 +UI extensions 58 +)))|(% colspan="1" %)(% colspan="1" %) 59 +((( 60 +4.10 Beta 7 61 +)))|(% colspan="1" %)(% colspan="1" %) 62 +((( 63 +**FFI**: (% style="color: rgb(0,0,0);" %)SetMapRenderCargoContents(%%)(), (% style="color: rgb(0,0,0);" %)SetMapRenderWorkForceInfo(), (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)SetMapRenderCrewInfo() and (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)SetMapRenderDockedShipInfos()(%%) deprecated 64 +)))|(% colspan="1" %)(% colspan="1" %) 65 +((( 66 + 67 +))) 68 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 69 +((( 70 +//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.// 71 +)))|(% colspan="1" %)(% colspan="1" %) 72 +((( 73 + 74 +))) 75 +|(% colspan="1" %)(% colspan="1" %) 76 +((( 77 +UI extensions 78 +)))|(% colspan="1" %)(% colspan="1" %) 79 +((( 80 +4.10 Beta 6 81 +)))|(% colspan="1" %)(% colspan="1" %) 82 +((( 83 +**FFI**: CustomGameStartPlayerProperty2 changed 84 +)))|(% colspan="1" %)(% colspan="1" %) 85 +((( 86 + 87 +))) 88 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 89 +((( 90 +//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.// 91 +)))|(% colspan="1" %)(% colspan="1" %) 92 +((( 93 + 94 +))) 95 +|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 +Parameters 98 +)))|(% colspan="1" %)(% colspan="1" %) 99 +((( 100 +4.10 Beta 3 101 +)))|(% colspan="1" %)(% colspan="1" %) 102 +((( 103 +Renamed **<stationinfobox>** to **<infobox>** 104 +)))|(% colspan="1" %)(% colspan="1" %) 105 +((( 106 + 107 +))) 108 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 109 +((( 110 +//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.// 111 +)))|(% colspan="1" %)(% colspan="1" %) 112 +((( 113 + 114 +))) 115 +|(% colspan="1" %)(% colspan="1" %) 116 +((( 117 +UI extensions 118 +)))|(% colspan="1" %)(% colspan="1" %) 119 +((( 120 +4.10 Beta 2 121 +)))|(% colspan="1" %)(% colspan="1" %) 122 +((( 123 +**FFI**: SetMacroMapPlayerSectorOffset() deprecated 124 +)))|(% colspan="1" %)(% colspan="1" %) 125 +((( 126 + 127 +))) 128 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 129 +((( 130 +//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.// 131 +)))|(% colspan="1" %)(% colspan="1" %) 132 +((( 133 + 134 +))) 135 +|((( 136 +UI extensions 137 +)))|((( 138 +4.10 Beta 2 139 +)))|((( 140 +**FFI**: (% style="color: rgb(0,0,0);" %)FilterComponentForMapMode(%%)() and (% style="color: rgb(0,0,0);" %)SetMapObjectFilter() changed 141 +)))|(% colspan="1" %)(% colspan="1" %) 142 +((( 143 + 144 +))) 145 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 146 +((( 147 +//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.// 148 +)))|(% colspan="1" %)(% colspan="1" %) 149 +((( 150 + 151 +))) 152 +|((( 153 +Scripts 154 +)))|((( 155 +4.10 Beta 1 156 +)))|((( 157 +People related attributes of mission** <delivery> **node moved 158 +)))|((( 159 + 160 +))) 161 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 162 +((( 163 +//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.// 164 +))) 165 +|(% colspan="1" %)(% colspan="1" %) 166 +((( 167 +Scripts 168 +)))|(% colspan="1" %)(% colspan="1" %) 169 +((( 170 +4.10 Beta 1 171 +)))|(% colspan="1" %)(% colspan="1" %) 172 +((( 173 +**$destructible.productions** replaced with $defensible.productions 174 +)))|(% colspan="1" %)(% colspan="1" %) 175 +((( 176 + 177 +))) 178 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 179 +((( 180 +//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.// 181 +)))|(% colspan="1" %)(% colspan="1" %) 182 +((( 183 + 184 +))) 185 +|((( 186 +Scripts 187 +)))|((( 188 +4.10 Beta 1 189 +)))|((( 190 +Removed script property **$object.spawnsourceseed** 191 +)))|((( 192 + 193 +))) 194 +|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 195 +((( 196 +//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.// 197 +))) 198 +|(% colspan="4" %)(% colspan="4" %) 199 +((( 33 33 == 4.00 == 34 34 ))) 35 35 |(% colspan="1" %)(% colspan="1" %) ... ... @@ -37,6 +37,46 @@ 37 37 UI core 38 38 )))|(% colspan="1" %)(% colspan="1" %) 39 39 ((( 207 +4.00 Beta 10 208 +)))|(% colspan="1" %)(% colspan="1" %) 209 +((( 210 +Controlled ship can change without a **gameplanchange-event** occurring. 211 +)))|(% colspan="1" %)(% colspan="1" %) 212 +((( 213 + 214 +))) 215 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 216 +((( 217 +//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). 218 +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. 219 +// 220 +)))|(% colspan="1" %)(% colspan="1" %) 221 +((( 222 + 223 +))) 224 +|((( 225 +Scripts 226 +)))|((( 227 +4.00 Beta 7 228 +)))|((( 229 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 230 +)))|((( 231 + 232 +))) 233 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 234 +((( 235 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 236 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 237 +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// 238 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 239 +((( 240 + 241 +))) 242 +|(% colspan="1" %)(% colspan="1" %) 243 +((( 244 +UI core 245 +)))|(% colspan="1" %)(% colspan="1" %) 246 +((( 40 40 4.00 Beta 6 41 41 )))|(% colspan="1" %)(% colspan="1" %) 42 42 ((( ... ... @@ -48,7 +48,7 @@ 48 48 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 49 49 ((( 50 50 //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. 51 -Factions with a relation rating between -20 and -10 will now report a relation status of 'neutral' (aka: 0) instead of 'hostile'/'enemy' (aka:1).//258 +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).// 52 52 53 53 //If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead. 54 54 //
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -1 015480821 +135856498 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/1 01548082/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/135856498/Breaking Changes