Khormin Posted December 4, 2015 Share Posted December 4, 2015 Is it possible to have two sets of conditional chains? <pattern> <dependencies operator="And"> <flagDependency value="Y" flag="Option1"> <dependencies> <files> <file source="things.esp" destination=""/> </files> </pattern> <pattern> <dependencies operator="And"> <flagDependency value="Y" flag="Option2"> <dependencies> <files> <file source="stuff.esp" destination=""/> </files> </pattern> If I've selected Option1 and Option2, would that bring me both things.esp and stuff.esp, or just things.esp and then end of the chain, or just not work? IF the latter, is it possible to then nest a conditionalFileInstalls chain between InstallStep branches? <installStep name="Option1"> <!-- Choices resulting in condition Y for flag Option1 --> </installStep> <conditionalFileInstalls> <patterns> <!-- things.esp installer as above --> </patterns> </conditionalFileInstalls> <installStep name="Option2"> <!-- Choices resulting in condition Y for flag Option2 --> </installStep> <conditionalFileInstalls> <patterns> <!-- stuff.esp installer as above --> </patterns> </conditionalFileInstalls> Link to comment Share on other sites More sharing options...
ShinraStrife Posted December 4, 2015 Share Posted December 4, 2015 Is it possible to have two sets of conditional chains? <pattern> <dependencies operator="And"> <flagDependency value="Y" flag="Option1"> <dependencies> <files> <file source="things.esp" destination=""/> </files> </pattern> <pattern> <dependencies operator="And"> <flagDependency value="Y" flag="Option2"> <dependencies> <files> <file source="stuff.esp" destination=""/> </files> </pattern> If I've selected Option1 and Option2, would that bring me both things.esp and stuff.esp, or just things.esp and then end of the chain, or just not work? IF the latter, is it possible to then nest a conditionalFileInstalls chain between InstallStep branches? <installStep name="Option1"> <!-- Choices resulting in condition Y for flag Option1 --> </installStep> <conditionalFileInstalls> <patterns> <!-- things.esp installer as above --> </patterns> </conditionalFileInstalls> <installStep name="Option2"> <!-- Choices resulting in condition Y for flag Option2 --> </installStep> <conditionalFileInstalls> <patterns> <!-- stuff.esp installer as above --> </patterns> </conditionalFileInstalls> I've never tried it but the first one should be possible. Why else would NMM support a <patterns> tag if not to put more than one pattern inside it? Link to comment Share on other sites More sharing options...
Khormin Posted December 4, 2015 Author Share Posted December 4, 2015 Thanks!The reason that I'm asking is that it should bring down FOMOD crafting times a little when using conditionals to install multiple files.Only one way to find out, I guess - manually. Only 347 more entries to go before I can test mine. Link to comment Share on other sites More sharing options...
ShinraStrife Posted December 4, 2015 Share Posted December 4, 2015 Thanks! The reason that I'm asking is that it should bring down FOMOD crafting times a little when using conditionals to install multiple files. Only one way to find out, I guess - manually. Only 347 more entries to go before I can test mine. You could always try it on a test mod first, instead of seeing if it might work on 347 of them :/ Link to comment Share on other sites More sharing options...
Khormin Posted December 5, 2015 Author Share Posted December 5, 2015 That's CRAZY talk, you're CRAZY. It's always better to do a lot of unnecessary work before trying a simple test!(Yeah, was pretty tired when I wrote that, I should've mentioned I'm doing the test, and that the ~708 entry version is the one which will be giving it a full load assessment) Link to comment Share on other sites More sharing options...
Khormin Posted December 12, 2015 Author Share Posted December 12, 2015 Had to pause for a long time 'cause of heatwave followed by family Christmas stuff. Couldn't get either option to work, but it could just as easily be because of my poor programming skill. I'll upload a public copy when I get a minute if you're interested in checking my work. Link to comment Share on other sites More sharing options...
Recommended Posts