I'm working on this for you. Trying to figure where it's at in the map or just exe or both. If this works and I do this it would be possible to play other objectives then just kill all enemies. So people would need a program to dl to make these changes. I will work on this again tonight.
It's looks to me that blizzard used a totally different map editor than they have gave us
Well to make these changes we want to find what we need to change so we need to look in the exe, map file. The info above comes from the exe.
You need a memory scanner / hex editor. (Cheat engine, art money, etc.)
Let's say you want to edit the war2 exe with cheatengine.
1. Load war2, minimize it with alt + tab.
2. Open cheat engine, open process warcraft 2 in the list.
3. Now we need to scan / look for changes.
You need to study a little of how cheat engine works. I'm almost certain that this memory address is not static and will change. Not sure though not in front of pc...
4. So we want to do a 4 byte scan so check hex and put 01 in the box. Don't click first scan yet. Do not scan yet.
5 Go back into war2 load the campaign map that you need
victory conditions.01=own 4 oil platforms and 1 shipyard.
6 once you load that campaign map now go back to cheat engine and scan click first scan. Boom now you probably found around 10,000,000+ results. You need the 1 address to see if we can pull this off. So narrow down these results.
7 go back to war2 find the campaign that requires kill daemon. Now once you loaded it, go back to cheat engine, put 10 in the scan box and click next scan, make sure you click the right button or you will restart the scan..... now you should have a couple thousand values, not millions.
8 repeat this process keep switching campaigns and once loaded scan for the value of victory conditions example 01,10 like we did above.
9 now once you got only like 10 things saying what u scanned for. Then double click each on. You will notice they where added to the bottom of cheat engine. Click the check box to freeze these values. Now once you done that. Load a different map and see if the victory conditions match what you frozen them too.
There are many ways to scan for these values I recommend you watch a 10 minute YouTube video for cheat engine. I'll edit back later to see your questions.