Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Victory/Defeat Problems
Victory/Defeat Problems
Feb 15 2010, 10:52 pm
By: Expopower  

Feb 15 2010, 10:52 pm Expopower Post #1



Okay, let's see...I made a map which is composed of 4 forces:

1. Human Force (4 players)
2. Allied Comp Force (1 comp)
3. Neutral Comp Force (1 comp)
4. Enemy Comp Force (2 comps).

The victory/defeat triggers only really apply to the Human Force, and are summarized below:
______________________________

Victory:
1. Switch ## is set. (Applies to Human Force)

Defeat:
1. Current player loses all units. (Applies to Current Player)
OR
2. Unit X is destroyed. (Applies to Human Force)
______________________________

Now, the defeat triggers work fine, but the victory trigger is a little more troublesome. When Switch ## is set, the preceding actions of the trigger run through smoothly, but the scenario ends in defeat for all but one player when the trigger reaches the "end scenario in victory for current player" action.

I've already ensured that Allied Victory is on, both through a trigger applying to the Human Force, and triggers applying to each individual human player. I've also ensured that there are no triggers that conflict with the alliance status (eg. Set player to Ally).

So, I was just wondering what I missed, or how I could modify the trigger to get it to end the scenario in victory for the entire Human Force.

Thanks!



None.

Feb 15 2010, 10:55 pm stickynote Post #2



Try making the victory trigger for individual players. That should work. If it doesn't, then you probably have something that will trigger the defeat triggers.



None.

Feb 15 2010, 11:07 pm Neki Post #3



It still doesn't sound like you have allied victory on, but I'm not sure. If a victory trigger runs for one player, and allied victory isn't on, don't all the other players lose? (or is it draw?)



None.

Feb 15 2010, 11:13 pm Kaias Post #4



Unfortunately I had put all this knowledge in my short term memory but if you're determined enough to sort through the banter read through this thread: http://www.staredit.net/topic/8388/



None.

Feb 16 2010, 12:43 am Expopower Post #5



So...I should just forget about making the trigger apply to the Human Force, and instead have it apply to each of the 4 human players?



None.

Feb 16 2010, 9:46 am NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

No. Clicking individual players is exactly the same as clicking he force they are in. When the map starts StarCraft splits and creates copies of those trigger for each player anyway.

I would try to defeat their enemies. This should give all players an automatic victory.




Feb 16 2010, 6:55 pm rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

You need a victory trigger to win the game. You also need everyone who is going to win to have on allied victory. You only need it if there's a trigger that says "Non-Allied Victory Players" apparently.

post map.

Post has been edited 1 time(s), last time on Feb 16 2010, 8:13 pm by rockz. Reason: incorrect



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Feb 16 2010, 7:14 pm Kaias Post #8



Quote from rockz
You also need everyone who is going to win to have on allied victory.
Not correct.

Alliance status doesn't matter at all. When a player receives the victory action it makes that trigger run through the last run through, and any player that doesn't receive the victory action in that loop gets defeat.

So, are you clearing the switch in the trigger that gives the players victory? Also, whatever prompts the victory switch to be set could be in-between the players' triggers, causing any of the players before that to get defeat.



None.

Feb 18 2010, 4:45 am Expopower Post #9



Oh, actually, setting it individually for each player seemed to have worked. (Weird, huh?)



None.

Feb 18 2010, 11:44 pm rockz Post #10

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Expopower
Oh, actually, setting it individually for each player seemed to have worked. (Weird, huh?)
This shouldn't be the case (and I'm not going to test it), but could it be that a trigger with force 1: always, victory won't run for player 2, since player 1 already ran the trigger? I think somewhere the triggers just messed up.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[09:18 pm]
Ultraviolet -- 🔪🐈
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[2024-5-19. : 6:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
Please log in to shout.


Members Online: MetalGear