XCOM 2
Nice DropShip (De)Briefing
atamize 21. mar. 2016 kl. 19:53
Compatibility with Mission Award Variety
Hi, I'd like to make my mod (Mission Award Variety) compatible with your mod. To do that, I would appreciate it if your class ND_MissionEnd could extend UIScreenListener instead of overriding UIDropShipBriefing_MissionEnd. That way I can let people hook my mod into yours as an extra screen if they wanted to. I've tested this and it works; here are the simple changes you'd have to make to ND_MissionEnd:

This goes at the top, replacing the extension:
class ND_MissionEnd extends UIScreenListener config(ND_Config);

Add this to your global variables (you can rename the variable to whatever):
var UIDropShipBriefing_MissionEnd MissionEndScreen;

Replace your constructor InitScreen(...) with this:
event OnInit(UIScreen Screen) { OverwatchStr="Overwatch"; `log("ND: InitScreen"); StatCycle=0; InfoCounter=0; // This is the new stuff MissionEndScreen = UIDropShipBriefing_MissionEnd(Screen); Screen.SetTimer(1.0f, true, nameof(UpdateStatistics), self); }

Add this to the bottom of the file:
defaultproperties { ScreenClass = UIDropShipBriefing_MissionEnd; }

Lastly, find and replace every instance of "LeftList" with "MissionEndScreen.LeftList" and every instance of "RightList" with "MissionEndScreen.RightList". Then replace every instance of "m_str" with "MissionEndScreen.m_str" and that should take care of the localized strings.

You should then be able to remove the mod class override from XComEngine.ini and your mod should be override-free.

Thanks, and I hope we can help each other out.
Sidst redigeret af atamize; 25. mar. 2016 kl. 7:08
< >
Viser 1-13 af 13 kommentarer
Uglu_Muglu  [udvikler] 24. mar. 2016 kl. 22:35 
Thanks for the Hint with the Screen Listener!
Will try to incorporate it!

What is it your mod is actually doing?
Because my mod is directly showing a different version of the first screen.
Do you also modify the post mission screens that are showing?
Or mainly the strings and the like?
Sidst redigeret af Uglu_Muglu; 24. mar. 2016 kl. 22:59
atamize 25. mar. 2016 kl. 7:08 
My mod does basically the same thing, just replaces the vanilla awards with more interesting awards. I don't have multiple screens like yours, though. I'm thinking that people can add a new screen to your config (like number 3) and I will time it in my code so my screen appears in the right order.
Uglu_Muglu  [udvikler] 25. mar. 2016 kl. 8:45 
If you want to make my mod a hard prequestie than you should probably wait a day or too.
There is going to be the version 1.0 :)
My mod then offers a way to customize the different screens completely like what is showing on which screen and in which order and so on and so forth

If you don't plan on making my mod a hard prequesite how do you read from my config file?
Sidst redigeret af Uglu_Muglu; 25. mar. 2016 kl. 8:45
atamize 25. mar. 2016 kl. 8:53 
I'm not going to make it a prerequisite. If people want to use both mods, I will ask them to simply copy the DisplayTime and DisplayOrder arrays from your config and paste them into my config file. It's not the ideal solution, but it's better than nothing.
atamize 28. mar. 2016 kl. 17:55 
I noticed in version 1.0 that ND_MissionEnd hasn't implemented UIScreenListener yet. Are you still planning on incorporating it? No hurry, just wondering when I can expect to get compatibility working. Let me know if you need any further help with the implementation.
Uglu_Muglu  [udvikler] 29. mar. 2016 kl. 2:09 
I didn't planned on putting it into 1.0
probably going to take some time before I implement that because it's holidays for me for the next 2 weeks
But i have a great idea to achieve compatibility:
We could agree on some kind of event system with events like:
ND_StopDisplay
ND_StartDisplay
ND_GetDisplayTime
because maybe people will change the amount of Screens displayed and the time for then
atamize 29. mar. 2016 kl. 5:03 
Yeah, that would be great. No need to sync config files. Looking forward to it!
Dungeon Master 7. dec. 2016 kl. 17:39 
Hi Just wondering how this combatability is going on. I have recently begun playing XCom 2 and I would like these 2 mods to work in tandem... Thanks. Or if yu have no interest in doing so maybe allow atamize to do so by giving him access to your files & permission? (Not sure the technical term for this ) LOL
macelharen 20. aug. 2017 kl. 9:12 
definitely lend my moral support for this. i've been using Atamize's mod for quite some time now and it feels alot more organic...Uglu's is freaking awesome but the default "display time" setting of 15 seconds feels too short to 'ponder' (increased that to 30), and the words used seem soulless.

i'm going to keep using the latter, without integrating, to get a better appreciation and get used to Uglu's concept in order to give decent honest feedback.
Checking subscription numbers, it definitely looks like Atam's on to something with aesthetics but i found that during the long loading times in the drop ship debriefing i got really bored looking at one screen (and wanted more detail)


EDIT: (4 hours later) ahhh...your mod emphasizes RNG, reducing immersion. i'm gonna try Atamize's suggestion in altering his mod's config file.
Sidst redigeret af macelharen; 20. aug. 2017 kl. 13:35
atamize 20. aug. 2017 kl. 19:09 
You still out there, Uglu_Muglu? If you're willing to add me as a contributor to this mod, I could maybe try to get something going here.
Uglu_Muglu  [udvikler] 22. aug. 2017 kl. 16:04 
hey atamize

i used little time in the past on this mod... in retrospective I should have probably just made you contributor...
But I am going to return to this mod and gonna implement your changes within (hopefully) a week or make you contributor.

In addition i am thinking of maybe going elsewhere with this mod or sth similar. One major drawback of having a new PC and knowing the Caps Lock trick was that I just kept skipping over my own pages pretty frequently. As loading times seemed to have vanished and i could never stare long enough at exactly those pages i wanted to stare at. Maybe I will switch (or allow for an option to switch) the place where the information is shown, so it can actually be accessed much easier maybe by extending the post game screen where it shows how many guys got wounded/how many enemies got killed or sth. So you can manually switch between different bits of information.

Also looking at the upcoming DLC where the loading screen seems to contain the post mission photo and stuff this might be a decent idea and make the mod maybe somewhat more worthwile for people with faster computers.
atamize 22. aug. 2017 kl. 17:25 
Sounds good. Don't forget about your idea with the event system; we want to make it as painless as possible for users to use both mods.
agris 26. feb. 2024 kl. 18:48 
still holding out hope for that compatibility patch!
< >
Viser 1-13 af 13 kommentarer
Per side: 1530 50