Changes for page Breaking Changes

Last modified by Michael Baumgardt on 2026/04/17 12:03

From version 94.1
edited by florian
on 2021/08/26 11:06
Change comment: There is no comment for this version
To version 76.1
edited by stefan
on 2021/02/01 11:51
Change comment: added breaking change for GetFactionRelationStatus()

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.florian
1 +xwiki:XWiki.stefan
Content
... ... @@ -30,153 +30,6 @@
30 30  )))
31 31  |(% colspan="4" %)(% colspan="4" %)
32 32  (((
33 -== 4.10 ==
34 -)))
35 -|(% colspan="1" %)(% colspan="1" %)
36 -(((
37 -UI extensions
38 -)))|(% colspan="1" %)(% colspan="1" %)
39 -(((
40 -4.10 Beta 7
41 -)))|(% colspan="1" %)(% colspan="1" %)
42 -(((
43 -**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
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 -//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.//
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 6
61 -)))|(% colspan="1" %)(% colspan="1" %)
62 -(((
63 -**FFI**: CustomGameStartPlayerProperty2 changed
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 -//This struct was added in 4.10 Beta 2 and an additional member count was added in Beta 6.//
71 -)))|(% colspan="1" %)(% colspan="1" %)
72 -(((
73 -
74 -)))
75 -|(% colspan="1" %)(% colspan="1" %)
76 -(((
77 -Parameters
78 -)))|(% colspan="1" %)(% colspan="1" %)
79 -(((
80 -4.10 Beta 3
81 -)))|(% colspan="1" %)(% colspan="1" %)
82 -(((
83 -Renamed **<stationinfobox>** to **<infobox>**
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 -//Info box parameters are now shared across stations and ships. The node has a more generic name to reflect that.//
91 -)))|(% colspan="1" %)(% colspan="1" %)
92 -(((
93 -
94 -)))
95 -|(% colspan="1" %)(% colspan="1" %)
96 -(((
97 -UI extensions
98 -)))|(% colspan="1" %)(% colspan="1" %)
99 -(((
100 -4.10 Beta 2
101 -)))|(% colspan="1" %)(% colspan="1" %)
102 -(((
103 -**FFI**: SetMacroMapPlayerSectorOffset() deprecated
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 -//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.//
111 -)))|(% colspan="1" %)(% colspan="1" %)
112 -(((
113 -
114 -)))
115 -|(((
116 -UI extensions
117 -)))|(((
118 -4.10 Beta 2
119 -)))|(((
120 -**FFI**: (% style="color: rgb(0,0,0);" %)FilterComponentForMapMode(%%)() and (% style="color: rgb(0,0,0);" %)SetMapObjectFilter() changed
121 -)))|(% colspan="1" %)(% colspan="1" %)
122 -(((
123 -
124 -)))
125 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
126 -(((
127 -//These functions were added in 4.10 Beta 1 and an additional boolean parameter allowentitydeliverymissionobject was added in Beta 2.//
128 -)))|(% colspan="1" %)(% colspan="1" %)
129 -(((
130 -
131 -)))
132 -|(((
133 -Scripts
134 -)))|(((
135 -4.10 Beta 1
136 -)))|(((
137 -People related attributes of mission** <delivery> **node moved
138 -)))|(((
139 -
140 -)))
141 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
142 -(((
143 -//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.//
144 -)))
145 -|(% colspan="1" %)(% colspan="1" %)
146 -(((
147 -Scripts
148 -)))|(% colspan="1" %)(% colspan="1" %)
149 -(((
150 -4.10 Beta 1
151 -)))|(% colspan="1" %)(% colspan="1" %)
152 -(((
153 -**$destructible.productions** replaced with $defensible.productions
154 -)))|(% colspan="1" %)(% colspan="1" %)
155 -(((
156 -
157 -)))
158 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
159 -(((
160 -//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.//
161 -)))|(% colspan="1" %)(% colspan="1" %)
162 -(((
163 -
164 -)))
165 -|(((
166 -Scripts
167 -)))|(((
168 -4.10 Beta 1
169 -)))|(((
170 -Removed script property **$object.spawnsourceseed**
171 -)))|(((
172 -
173 -)))
174 -|(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="4" data-highlight-colour="grey" %)
175 -(((
176 -//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.//
177 -)))
178 -|(% colspan="4" %)(% colspan="4" %)
179 -(((
180 180  == 4.00 ==
181 181  )))
182 182  |(% colspan="1" %)(% colspan="1" %)
... ... @@ -184,46 +184,6 @@
184 184  UI core
185 185  )))|(% colspan="1" %)(% colspan="1" %)
186 186  (((
187 -4.00 Beta 10
188 -)))|(% colspan="1" %)(% colspan="1" %)
189 -(((
190 -Controlled ship can change without a **gameplanchange-event** occurring.
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 -//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).
198 -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.
199 -//
200 -)))|(% colspan="1" %)(% colspan="1" %)
201 -(((
202 -
203 -)))
204 -|(((
205 -Scripts
206 -)))|(((
207 -4.00 Beta 7
208 -)))|(((
209 -Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed
210 -)))|(((
211 -
212 -)))
213 -|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
214 -(((
215 -//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
216 -New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits
217 -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//
218 -)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
219 -(((
220 -
221 -)))
222 -|(% colspan="1" %)(% colspan="1" %)
223 -(((
224 -UI core
225 -)))|(% colspan="1" %)(% colspan="1" %)
226 -(((
227 227  4.00 Beta 6
228 228  )))|(% colspan="1" %)(% colspan="1" %)
229 229  (((
... ... @@ -235,7 +235,7 @@
235 235  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
236 236  (((
237 237  //In order to keep consistency with regards to the new behvior 'hostile' relation state and the older (deprecated) UI functions, the behavior of the deprecated GetFactionRelationStatus() function was changed according to the behavior of the GetRelationStatus()/GetRelationStatus2() functions which was done in the previous beta.
238 -Factions with a relation rating between -20 and -10 will now report a relation status of 'neutral' (aka: 1) instead of 'hostile'/'enemy' (aka: 0).//
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).//
239 239  
240 240  //If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
241 241  //
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -106890567
1 +101548082
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/106890567/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101548082/Breaking Changes