10.08.2005, 16:12:31
I meant to make the filename and extension customizeable.
It is already possible to have two pkt files loaded, but the pkt loading was somehow fucked after RA2 - in YR, the missionsmd.pkt is always loaded from inside langmd.mix, even if missionsmd.pkt also exists in the directory (unlike other files, which correctly get replaced by loose copies), and the loose file is appended to the original one. It loads missionsmd.pkt from inside there and also, any *.pkt file from the directory. And if there happens to be one repeating [section] in two or more of those files, well, ugly IEs follow. And my idea was that if I change the pkt filename & extension that the game wants to read, I'll be able to shift stock maps into mpmodes they would not otherwise be available in, as the stock missionsmd.pkt won't be seen.
Edit: One application that I can think of atm is that this way it woudl be simple to create separate mpmodes for each theatre, and, like, make certain objects unavailable (like saying the Squid/Dolphin are not used to cold waters and removing them from the Snow mpmode; or saying that vehicles have less difficulty moving through concrete roads than through open ground, and giving all terraintypes a speed bonus in Urban mpmode
or even saying that Temperate and Snow maps take place on two different planets, with different gravity effects and whatnot... heh, more of eyecandy stuff, but still fun.)
But I also want to stress that it's not urgent, and I'm not demanding anything, just so you know. It was just a thought which hit me when I was reading. Honestly, I'd be more interested in peeking in that IDA DB of yours, and, who knows, maybe I'll be able to contribute something to this patch too
It is already possible to have two pkt files loaded, but the pkt loading was somehow fucked after RA2 - in YR, the missionsmd.pkt is always loaded from inside langmd.mix, even if missionsmd.pkt also exists in the directory (unlike other files, which correctly get replaced by loose copies), and the loose file is appended to the original one. It loads missionsmd.pkt from inside there and also, any *.pkt file from the directory. And if there happens to be one repeating [section] in two or more of those files, well, ugly IEs follow. And my idea was that if I change the pkt filename & extension that the game wants to read, I'll be able to shift stock maps into mpmodes they would not otherwise be available in, as the stock missionsmd.pkt won't be seen.
Edit: One application that I can think of atm is that this way it woudl be simple to create separate mpmodes for each theatre, and, like, make certain objects unavailable (like saying the Squid/Dolphin are not used to cold waters and removing them from the Snow mpmode; or saying that vehicles have less difficulty moving through concrete roads than through open ground, and giving all terraintypes a speed bonus in Urban mpmode

But I also want to stress that it's not urgent, and I'm not demanding anything, just so you know. It was just a thought which hit me when I was reading. Honestly, I'd be more interested in peeking in that IDA DB of yours, and, who knows, maybe I'll be able to contribute something to this patch too
