Changes for page Breaking Changes

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

From version 77.1
edited by stefan
on 2021/02/01 12:01
Change comment: 0 <-> 1 mismatch
To version 73.1
edited by stefan
on 2021/01/09 02:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -37,34 +37,10 @@
37 37  UI core
38 38  )))|(% colspan="1" %)(% colspan="1" %)
39 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: 1) instead of 'hostile'/'enemy' (aka: 0).//
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 64  4.00 Beta 5
65 65  )))|(% colspan="1" %)(% colspan="1" %)
66 66  (((
67 -**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in relation range [-25,-10] changed
43 +**FFI:** GetRelationStatus()/GetRelationStatus2() handling for objects in ranges relation range [-25,-10] changed
68 68  )))|(% colspan="1" %)(% colspan="1" %)
69 69  (((
70 70  
... ... @@ -71,9 +71,9 @@
71 71  )))
72 72  |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)
73 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).
50 +//4.00 Beta 5// //introduces a new 'adversary' relation state. Previously objects within that relation range were categorized as 'enemy' and GetRelationStatus()/GetRelationStatus2() therefore returned 0 (enemy) for these objects.
51 +Since these 'adversary' objects are now visualized and therefore distinguishable from enemies, several related changes were made for these objects to bring them more in line with how 'neutral' objects are handled (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.
52 +If you rely on a handling where they are treated like enemies, please use the new GetRelationStatus3() //FFI function which returns the new range for these objects: 1 (meaning 'adversary' here with following relations having been shifted up).
77 77  )))|(% colspan="1" %)(% colspan="1" %)
78 78  (((
79 79  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -101548190
1 +100860974
url
... ... @@ -1,1 +1,1 @@
1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/101548190/Breaking Changes
1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860974/Breaking Changes