Skip to content

Conversation

@Aephiex
Copy link

@Aephiex Aephiex commented Dec 7, 2024

@NetsuNegi
Hello, I solved the conflict for you. Merge my pull request and yours will be mergeable.

CrimRecya and others added 22 commits November 24, 2024 14:44
…piggybacked bugfix (Phobos-developers#1394)

this is just a bugfix.

---------

Co-authored-by: Kerbiter <crabiter@vivaldi.net>
…layer maps (Phobos-developers#1425)

Trigger event 601 & 602 don't work properly in single player maps, while
604 & 605 do. The only distinction between them is what I've changed.
You can test the result with this map:

[all01umd.zip](https://github.com/user-attachments/files/17784794/all01umd.zip)

By the way, phobos's new events and actions use
FindByIndex/Array->GetItem instead of FindByCountryIndex, which leads to
inconsistency with the vanilla events and actions, for they use country
index instead of house index. In single player map with whole new houses
(like official RA2 campaign, they use BadGuy1, GoodGuy1 etc.), it begins
with 14 by country index, but 0 by house index. This may make map
editing and FA2 adaptation more complicated, so I want to know your
opinions.

If you want to restore the vanilla habit, just modify in this way

![B17A4FF7777CB422DB89F0CE84E77E66](https://github.com/user-attachments/assets/0e0a0478-2b5b-4762-830b-e3c6b22e7fcf)

Co-authored-by: Trsdy <914137150@qq.com>
should the filter be applied earlier?
ep24 got broken so add an ally check filter temporarily. Check this later
…rs#1430)

The reason for this was explained in Phobos-developers#1425 . Now alll new events &
actions use country index, aligning with vanilla customs.
@NetsuNegi NetsuNegi merged commit 00b5254 into NetsuNegi:origin/branch/exclusive-sw-sidebar Dec 7, 2024
1 check passed
@Aephiex Aephiex deleted the exclusive-sw-sidebar branch December 7, 2024 10:44
NetsuNegi pushed a commit that referenced this pull request Sep 20, 2025
@Metadorius asked if this is doable and I am delivering. Basically
exactly what it says in the title, all currently active TeamClass
instances will have some info about them printed at the end of the sync
log. Because the TeamClass array already effectively functions as a
storage for this info there was no need to add any new sync events to
record. Additionally I tried to make it bit more readable by adjusting
the padding used dynamically but this does add little bit of extra
runtime on writing the logs (which is only done once unless you have
-MPDEBUG parameter on) I suppose.

If there is some other relevant info about teams that should be
recorded, let it be known in this PR. I tried to include the most
relevant parts.

An example of what such a log may look like:
```
AI Teams:
#00000: Type:  07C2D662-CTMBDFLab01-G | Script: 06DAB27C-SCCoalBDFLab-G | Line:  1 | Owner: 2 (Computer) | OwnerHouse: Coalition
#1: Type:  065D29C6-DTMBDFPow01-G | Script: 06C0F679-SCDomiBDFPow-G | Line:  3 | Owner: 3 (Computer) | OwnerHouse:  Dominion
#2: Type:  04F1F694-CTMBDFPow01-G | Script: 05728DCA-SCCoalBDFPow-G | Line:  1 | Owner: 2 (Computer) | OwnerHouse: Coalition
#3: Type:  0448FEAF-DTMBDFLab01-G | Script: 0511D07E-SCDomiBDFLab-G | Line:  1 | Owner: 3 (Computer) | OwnerHouse:  Dominion
#4: Type:  05DB3227-CTMBDFRef01-G | Script: 06930A62-SCCoalBDFRef-G | Line:  1 | Owner: 2 (Computer) | OwnerHouse: Coalition
#5: Type: 05E743F3-DTMRavager01-G | Script:   079C95F4-SCDomiRavg-G | Line:  4 | Owner: 3 (Computer) | OwnerHouse:  Dominion | TargetRTTI: 11 (Cell) | TargetID: 01078752 | MissionTargetRTTI: 11 (Cell) | MissionTargetID: 01078752
#6: Type: 05DAB9F5-CTMBaseGen01-G | Script: 07FA9250-SCCoalBDFGen-G | Line:  7 | Owner: 2 (Computer) | OwnerHouse: Coalition
#7: Type: 04ABA9BD-DTMBaseGen01-G | Script: 06A89E7D-SCDomiBDFGen-G | Line:  5 | Owner: 3 (Computer) | OwnerHouse:  Dominion
#8: Type:  0720B95E-DTMBDFRef01-G | Script: 07DB1BDD-SCDomiBDFRef-G | Line:  3 | Owner: 3 (Computer) | OwnerHouse:  Dominion
#9: Type: 07F11555-DTMFVSHarv01-G | Script:  06DF9E54-SCGenFVSHrv-G | Line:  2 | Owner: 3 (Computer) | OwnerHouse:  Dominion
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants