Changes for page Breaking Changes

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

From version 70.1
edited by matthias
on 2020/10/20 08:43
Change comment: Added changed script property
To version 79.1
edited by matthias
on 2021/02/08 09:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -33,6 +33,70 @@
33 33  == 4.00 ==
34 34  )))
35 35  |(((
36 +Scripts
37 +)))|(((
38 +4.00 Beta 7
39 +)))|(((
40 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed
41 +)))|(((
42 +
43 +)))
44 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
45 +(((
46 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects?
47 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits
48 +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//
49 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %)
50 +(((
51 +
52 +)))
53 +|(% colspan="1" %)(% colspan="1" %)
54 +(((
55 +UI core
56 +)))|(% colspan="1" %)(% colspan="1" %)
57 +(((
58 +4.00 Beta 6
59 +)))|(% colspan="1" %)(% colspan="1" %)
60 +(((
61 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed
62 +)))|(% colspan="1" %)(% colspan="1" %)
63 +(((
64 +
65 +)))
66 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
67 +(((
68 +//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.
69 +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).//
70 +
71 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
72 +//
73 +)))|(% colspan="1" %)(% colspan="1" %)
74 +(((
75 +
76 +)))
77 +|(% colspan="1" %)(% colspan="1" %)
78 +(((
79 +UI core
80 +)))|(% colspan="1" %)(% colspan="1" %)
81 +(((
82 +4.00 Beta 5
83 +)))|(% colspan="1" %)(% colspan="1" %)
84 +(((
85 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
86 +)))|(% colspan="1" %)(% colspan="1" %)
87 +(((
88 +
89 +)))
90 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
91 +(((
92 +//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.//
93 +
94 +//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).
95 +)))|(% colspan="1" %)(% colspan="1" %)
96 +(((
97 +
98 +)))
99 +|(((
36 36  Parameters
37 37  )))|(((
38 38  4.00 Beta 1
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -100860788
1 +101909299
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860788/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101909299/Breaking Changes