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 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.matthias
1 +xwiki:XWiki.stefan
Content
... ... @@ -32,6 +32,52 @@
32 32  (((
33 33  == 4.00 ==
34 34  )))
35 +|(% colspan="1" %)(% colspan="1" %)
36 +(((
37 +UI core
38 +)))|(% colspan="1" %)(% colspan="1" %)
39 +(((
40 +4.00 Beta 6
41 +)))|(% colspan="1" %)(% colspan="1" %)
42 +(((
43 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed
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 +//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).//
52 +
53 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead.
54 +//
55 +)))|(% colspan="1" %)(% colspan="1" %)
56 +(((
57 +
58 +)))
59 +|(% colspan="1" %)(% colspan="1" %)
60 +(((
61 +UI core
62 +)))|(% colspan="1" %)(% colspan="1" %)
63 +(((
64 +4.00 Beta 5
65 +)))|(% colspan="1" %)(% colspan="1" %)
66 +(((
67 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
68 +)))|(% colspan="1" %)(% colspan="1" %)
69 +(((
70 +
71 +)))
72 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
73 +(((
74 +//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.//
75 +
76 +//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).
77 +)))|(% colspan="1" %)(% colspan="1" %)
78 +(((
79 +
80 +)))
35 35  |(((
36 36  Parameters
37 37  )))|(((
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -100860788
1 +101548082
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/101548082/Breaking Changes