Changes for page Breaking Changes
Last modified by Michael Baumgardt on 2026/04/17 12:03
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -30,202 +30,9 @@ 30 30 ))) 31 31 |(% colspan="4" %)(% colspan="4" %) 32 32 ((( 33 -== 4.10 == 34 -))) 35 -|(% colspan="1" %)(% colspan="1" %) 36 -((( 37 -Parameters 38 -)))|(% colspan="1" %)(% colspan="1" %) 39 -((( 40 -4.10 Beta 3 41 -)))|(% colspan="1" %)(% colspan="1" %) 42 -((( 43 -Renamed **<stationinfobox>** to **<infobox>** 44 -)))|(% colspan="1" %)(% colspan="1" %) 45 -((( 46 - 47 -))) 48 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 49 -((( 50 -Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that. 51 -)))|(% colspan="1" %)(% colspan="1" %) 52 -((( 53 - 54 -))) 55 -|(% colspan="1" %)(% colspan="1" %) 56 -((( 57 -UI extensions 58 -)))|(% colspan="1" %)(% colspan="1" %) 59 -((( 60 -4.10 Beta 2 61 -)))|(% colspan="1" %)(% colspan="1" %) 62 -((( 63 -**FFI**: SetMacroMapPlayerSectorOffset() 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 //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. 71 -)))|(% colspan="1" %)(% colspan="1" %) 72 -((( 73 - 74 -))) 75 -|((( 76 -UI extensions 77 -)))|((( 78 -4.10 Beta 2 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 - 84 -))) 85 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 86 -((( 87 -//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 - 91 -))) 92 -|((( 93 -Scripts 94 -)))|((( 95 -4.10 Beta 1 96 -)))|((( 97 -People related attributes of mission** <delivery> **node moved 98 -)))|((( 99 - 100 -))) 101 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 102 -((( 103 -//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.// 104 -))) 105 -|(% colspan="1" %)(% colspan="1" %) 106 -((( 107 -Scripts 108 -)))|(% colspan="1" %)(% colspan="1" %) 109 -((( 110 -4.10 Beta 1 111 -)))|(% colspan="1" %)(% colspan="1" %) 112 -((( 113 -**$destructible.productions** replaced with $defensible.productions 114 -)))|(% colspan="1" %)(% colspan="1" %) 115 -((( 116 - 117 -))) 118 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 119 -((( 120 -//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 - 124 -))) 125 -|((( 126 -Scripts 127 -)))|((( 128 -4.10 Beta 1 129 -)))|((( 130 -Removed script property **$object.spawnsourceseed** 131 -)))|((( 132 - 133 -))) 134 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %) 135 -((( 136 -//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.// 137 -))) 138 -|(% colspan="4" %)(% colspan="4" %) 139 -((( 140 140 == 4.00 == 141 141 ))) 142 -|(% colspan="1" %)(% colspan="1" %) 143 -((( 144 -UI core 145 -)))|(% colspan="1" %)(% colspan="1" %) 146 -((( 147 -4.00 Beta 10 148 -)))|(% colspan="1" %)(% colspan="1" %) 149 -((( 150 -Controlled ship can change without a **gameplanchange-event** occurring. 151 -)))|(% colspan="1" %)(% colspan="1" %) 152 -((( 153 - 154 -))) 155 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 156 -((( 157 -//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). 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 - 163 -))) 164 164 |((( 165 -Scripts 166 -)))|((( 167 -4.00 Beta 7 168 -)))|((( 169 -Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 170 -)))|((( 171 - 172 -))) 173 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 174 -((( 175 -//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 176 -New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 177 -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 - 181 -))) 182 -|(% colspan="1" %)(% colspan="1" %) 183 -((( 184 -UI core 185 -)))|(% colspan="1" %)(% colspan="1" %) 186 -((( 187 -4.00 Beta 6 188 -)))|(% colspan="1" %)(% colspan="1" %) 189 -((( 190 -**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 191 -)))|(% colspan="1" %)(% colspan="1" %) 192 -((( 193 - 194 -))) 195 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 196 -((( 197 -//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. 198 -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).// 199 - 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 - 205 -))) 206 -|(% colspan="1" %)(% colspan="1" %) 207 -((( 208 -UI core 209 -)))|(% colspan="1" %)(% colspan="1" %) 210 -((( 211 -4.00 Beta 5 212 -)))|(% colspan="1" %)(% colspan="1" %) 213 -((( 214 -**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed 215 -)))|(% colspan="1" %)(% colspan="1" %) 216 -((( 217 - 218 -))) 219 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 220 -((( 221 -//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.// 222 - 223 -//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 - 227 -))) 228 -|((( 229 229 Parameters 230 230 )))|((( 231 231 4.00 Beta 1
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -10 45960461 +100860788 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/10 4596046/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860788/Breaking Changes