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,6 +37,70 @@ 37 37 UI core 38 38 )))|(% colspan="1" %)(% colspan="1" %) 39 39 ((( 40 +4.00 Beta 10 41 +)))|(% colspan="1" %)(% colspan="1" %) 42 +((( 43 +Controlled ship can change without a **gameplanchange-event** occurring. 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 +//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). 51 +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. 52 +// 53 +)))|(% colspan="1" %)(% colspan="1" %) 54 +((( 55 + 56 +))) 57 +|((( 58 +Scripts 59 +)))|((( 60 +4.00 Beta 7 61 +)))|((( 62 +Parameters of **<event_terraforming_project_succeeded>** and **<event_terraforming_project_failed>** changed 63 +)))|((( 64 + 65 +))) 66 +|(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 67 +((( 68 +//Old params: param = project ID, param2 = were there positive side-effects?, param3 = were there negative side-effects? 69 +New params: param = project ID, param2 = [were there positive side-effects?, were there negative side-effects?], param3 = payout in Credits 70 +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// 71 +)))|(% class="highlight-grey" data-highlight-colour="grey" %)(% class="highlight-grey" data-highlight-colour="grey" %) 72 +((( 73 + 74 +))) 75 +|(% colspan="1" %)(% colspan="1" %) 76 +((( 77 +UI core 78 +)))|(% colspan="1" %)(% colspan="1" %) 79 +((( 80 +4.00 Beta 6 81 +)))|(% colspan="1" %)(% colspan="1" %) 82 +((( 83 +**FFI:** GetFactionRelationStatus() handling for faction relation range [-20,-10] changed 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 +//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. 91 +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).// 92 + 93 +//If you rely on a handling where these factions are treated like enemies, please use the new GetFactionRelationStatus2() function instead. 94 +// 95 +)))|(% colspan="1" %)(% colspan="1" %) 96 +((( 97 + 98 +))) 99 +|(% colspan="1" %)(% colspan="1" %) 100 +((( 101 +UI core 102 +)))|(% colspan="1" %)(% colspan="1" %) 103 +((( 40 40 4.00 Beta 5 41 41 )))|(% colspan="1" %)(% colspan="1" %) 42 42 ((( ... ... @@ -47,9 +47,9 @@ 47 47 ))) 48 48 |(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %)(% class="highlight-grey" colspan="3" data-highlight-colour="grey" %) 49 49 ((( 50 -//4.00 Beta 5// //introduces a new ' adversary' relation state.Previously,objects withinthat relation range werecategorizedas'enemy'andGetRelationStatus()/GetRelationStatus2()therefore returned0(enemy)forthese 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() //function which returns the new range for these objects: 1 (meaning ' adversary' here with following relations having been shifted up).114 +//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.// 115 + 116 +//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). 53 53 )))|(% colspan="1" %)(% colspan="1" %) 54 54 ((( 55 55
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -10 15480761 +102924598 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/10 1548076/Breaking Changes1 +https://www.egosoft.com:8444/confluence/wiki/spaces/X4WIKI/pages/102924598/Breaking Changes