Since RE:RC is entering another major phase of development, the first since August gave us 1.43, I know I have a few problems to solve.
First and foremost is the location limit keeping the map down. The situation is as follows:
Each civilian currently requires its own location where it is stationed and rescued from. This robs the map of 20-30 locations.
I have no player to use as a rescue-able solve this problem, and since anyone in Force 1 can rescue a civ with any unit they have I'm not sure what to do about this. There is also the problem that there are times when P12 civs will be running around that aren't supposed to be rescue-able like the rest of them.
Anyone have an idea for a trigger system to replace the current location using method?
Switches.
I need some way to find out which switches are being used and which are not. Due to both me and PK owning a substantial amount of triggers in the map, I'm not sure which switches are in use and which are not. I need a better way to find out rather than going through each and every trigger to see if its using a switch and what for.
All help is appreciated, and will hopefully get the new map out faster.
About civilans:
You can use 2 locations to scan hrough all of them (two instead of one in case there are two civilans that are close to eachother). One location is the one that detects any rescuer-unit, and the second one is 0x0. You can scan through all the civilans within one trigger cycle and give them back, so you don't even need a special player for that.
Say P12 owns the civilans and P11 is used for scanning (you can use any non-human player for scanning actually, even if he is used for different things... as long as he doesen't have any civilans for other purposes located in the 'battle arena' location). Location 'Detect' is the rescue location, and '0x0' is the in-case location.
Trig1:
Players: P8
Cond: P12 brings atleast 1 civilan to 'battle arena'
Actions:
center '0x0' on civilan owned by P12 in battle arena
center 'detect' on civilan owned by P12 in '0x0'
give all civilan in '0x0' to P11
Preserve
Trigs1-6
Players: P8
Cond:
P1 brings atleast 1 any unit to 'detect'
Actions:
Give all civilan owned by P11 at '0x0' to P1
Preserve
[repeat this trigger for all human players. Sorry, I didn't map for some time, so I don't exactly remember how would force triggers behave here. Maybe by using them, you can cut the trigger amount. I suggested this to be safe of any errors]
The group of 7 triggers consisting of Trig1 and Trigs1-6 is copied for the amount of civilans and at the end of those 7*30 triggers, you place a trigger that gives all the civilans back to P12.
About the switches: you can copy your triggers into something like Notepad++ and use the search function to find all conditions and actions that contain 'switch' in them.
Hope this helped.
None.