Campaign-style Defeat Message (Unwanted)

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Campaign-style Defeat Message (Unwanted)

Post by Aero »

Ok...First of all... WEU sucks!
Get jassnewgen.
As for your dialog with a quit button...this is easily done.

Set up a dialog as usual...then when you're ready to add buttons....do this (custom script):

call DialogAddQuitButton(<name of dialog>,true,"Quit Mission",512)

And...that's it.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

I probably should have uploaded this first:
This is what I want:
Image
Not this:
Image
I'm really just curious as to why WE thinks I have a campaign running.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Campaign-style Defeat Message (Unwanted)

Post by Bartimaeus »

Are you playing on single player? If so, that's your problem. If you get "defeated" in single player, it will always show that. When going in multiplayer, it will switch to the first example, plus with your custom message. And if the first example is in single player, than it must actually be victory, just with a custom message.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

There are ten user-controlled players, but when I test the map, naturally I am the only human in the game.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Campaign-style Defeat Message (Unwanted)

Post by Bartimaeus »

TechGeek001 wrote:There are ten user-controlled players, but when I test the map, naturally I am the only human in the game.
Yes, but you're playing single player, right?
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

I tested it on BattleNet once - got the same thing.
It was a private game and I think I had set all the other players to computers...
I guess I could go look again.

EDIT: Nope, it does the same thing on Battle.net
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Campaign-style Defeat Message (Unwanted)

Post by Bartimaeus »

TechGeek001 wrote:I tested it on BattleNet once - got the same thing.
It was a private game and I think I had set all the other players to computers...
I guess I could go look again.

EDIT: Nope, it does the same thing on Battle.net
Umm........................

Have you tried it with another real player? As in an actual person?
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

It's irrelevant - the new map that I used to take the screenshot of the defeat message I want was tested in the same manner.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Campaign-style Defeat Message (Unwanted)

Post by Bartimaeus »

TechGeek001 wrote:It's irrelevant - the new map that I used to take the screenshot of the defeat message I want was tested in the same manner.
No, not really. Considering that the message is impossible to show when you're playing with other actual players. So IDK, either you're the worse map maker ever born, or you didn't test it with another player.

(edit) Just show me your gull dang trigger.

(edit2) Or do you mean that you fixed it? :|
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

It's not a trigger, it's just...killing me.
Aero, I tried your suggestion, this is what I came up with:

Code: Select all

West Done
    Events
    Conditions
    Actions
        Wait 60.00 seconds
        Game - Victory Player 1 (Red) (Show dialogs, Show scores)
        Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
        Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
        Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
        Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
        Game - Victory Player 11 (Dark Green) (Show dialogs, Show scores)
        Player Group - Pick every player in Map_East and do (Actions)
            Loop - Actions
                Dialog - Clear VoteDialog[1]
                Dialog - Change the title of VoteDialog[1] to You have been Defea...
                Custom script:   call DialogAddQuitButton(<name of dialog>,true,"Quit Mission",512)
Got a "Line 1496: Expected a valid argument list."

Bartimaeus, what I'm saying is that every map I have ever created in the past has done the right thing, that is, the standard Defeat message. This one displays the Campaign defeat message even during full house games.
I want to know why so I can fix it. Or, at the very least, find a solution like Aero's that works.
I know its a pain in the ass, and I appreciate everyone's input - immensely.

EDIT: I AM AN IDIOT.