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
-
... ... @@ -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: 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 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 thegamenow distinguishes between hostile and enemyrelation states. Objectsnot yet 'hostile'withthe player are now visualized differentlyandtherefore distinguishablefrom realhostileones.Because of that, several related changesweremade forthese objects to bringthem morein linewith how 'neutral' objectsbehave (f.e.no automaticattackingof these objects by theplayer property anymore,notargetselectionwhentargeting the closest enemy, etc.).To reflectthis, theseobjects arenowreturning1(neutral)astherelationstatus by theGetRelationStatus()/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 yethostile) 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 -10 15480821 +100860974 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/10 1548082/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/100860974/Breaking Changes