The closest/easist option might be to make them all a distinct house, and use the # of buildings destroyed for that house event...
Of course this might mean you have to power the remaining structures with off-map power, but you could disable those as needed with a change house script too. _________________ http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai QUICK_EDIT
LOL, that kind of sounds like what they have. The map has power plants off the map, but I am not 100% sure how that works... Its really weird, confusing, and complex. _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
It's not complex at all, you can attach the change house trigger to the off-map power, and trigger it at the same time the first trigger goes off for too few on-map power buildings. _________________ http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai QUICK_EDIT
How does the game recognize destroy vs capture that way? LOL, I am not sure how they get all that to work...
Nor do I understand the change house aspect of it...
The original map must have (I am guessing) 40+ triggers for 8 power plants... Its kind of a maze that I dont really see how they get it to work.
An idea I am tinkering with, and seems to kind of work... I am not sure what pit falls it may have... Is kind of like what they have, and kind of like what you said, but there is no change house.
The idea I am tinkering with is to add...
CivyPower house
PowerHack house
In the maps text code (kind of like what they have): Add:
Code:
[BuildingTypes]
0=CAPOWR1
1=CAPOWR2
2=CAPOWR3
...
...
... for all 8
Each power-plant on map will be one of the CAPOWR# buildings with house == CivyPower house so the player can capture.
Then have 8 PowerHack house buildings such as 1x1 gagap off the map for each CAPOWR# .
Then have triggers with: 61 TechType does not Exist for each CAPOWR#, this does not seem to be house/capture specific, each trigger enables another trigger that destroys the off the map (gagap) building for each CAPOWR#.
Then have another trigger that watch's PowerHack house: 15 Destroyed, Buildings, #... for # (In this case I think 2 or 3 of the 8, I think the game has 4, but I am still working that number) of buildings destroyed.
So it would end up being 8+8+1=17 triggers... I really wish it was not so many...
But I am not a fan of having all the CAPOWR# code for each power plant...
There has got to be a better way... _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
LOL, then I was thinking about exploits in that mission...
For example, if I sell all buildings, then you just need 1 power plant, then time warp happens... Grand cannons come back, but nothing else.
But the odd thing I found was a bug... If you sell all buildings, after time warp, Tanya does not appear, and you dont get the aircraft carriers. So the mission is not complete-able. _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
But I guess at least what I have works... Its weird, but it works. _________________ MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.) QUICK_EDIT
You have a unique house with say 8 NAPOWR, each with an attached trigger that has the condition of # of buildings lost. Off map you have a NANRCT providing power to the corret house, but with a different trigger attached that changes house to that unique house, away from the house that needs the power --- and start the scenario lose process, or trigger loss instantly, however you prefer.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum