Instant loss on entering scenario.
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
-
- Posts: 126
- Joined: March 3rd, 2011, 7:14 pm
Instant loss on entering scenario.
Hello there. I'm wondering if any of you kind and particularly virile WML types could solve the problem I've been having. Upon loading a particular scenario, the game tells me that I've instantly lost.
I'll put each of the three potentially important files in a spoiler for you kind chaps and chapesses.
The Port Meiran scenario
Here's the World scenario, the important bit is (obviously) the Port Meiran section
and attached is the Port Meiran map.
Thanks in advance for the slew of helpful answers.
I'll put each of the three potentially important files in a spoiler for you kind chaps and chapesses.
The Port Meiran scenario
Spoiler:
Spoiler:
Thanks in advance for the slew of helpful answers.
- Attachments
-
- Port_Meiran.map
- (26.29 KiB) Downloaded 193 times
Re: Instant loss on entering scenario.
Side 1 has no leader, and therefore you lose immediately. Add canrecruit=yes to the [side] tag.
-
- Posts: 126
- Joined: March 3rd, 2011, 7:14 pm
Re: Instant loss on entering scenario.
Heh. Cheers, Zookeeper. I wouldn't've noticed that in a million years.
EDIT: But it's not the answer I'm looking for. It's still insta-loss on load.
EDIT: But it's not the answer I'm looking for. It's still insta-loss on load.
Re: Instant loss on entering scenario.
We can't help much without knowing whats in that {HERO_DEATHS} macro-as I didn't see it in anything you posted.
-
- Posts: 126
- Joined: March 3rd, 2011, 7:14 pm
Re: Instant loss on entering scenario.
Ah. sorry. I'm doing this on behalf of Melinath. I didn't realise that HERO_DEATHS wasn't a standard macro. Uh... where would I look for it.
- Mountain_King
- Translator
- Posts: 569
- Joined: May 31st, 2010, 7:54 pm
Re: Instant loss on entering scenario.
In one of the campaign folders, most likely labeled "macros" or "utils."
Projects: Ice Age Fun, Japhel's Journey (same link), Shameless Crossover Excuse (Maintainer), and Age of Dinosaurs!
Is cothabhálach an aistriúcháin Gaeilge mé.
EXTERMINATE!!!!
Is cothabhálach an aistriúcháin Gaeilge mé.
EXTERMINATE!!!!
-
- Posts: 126
- Joined: March 3rd, 2011, 7:14 pm
Re: Instant loss on entering scenario.
Nevermind. Melinath has already fixed it. I forgot to add player start positions.
Now, here's another one, of the exact opposite. The world map gives you a victory as soon as you end turn 1. What's causing this?
Now, here's another one, of the exact opposite. The world map gives you a victory as soon as you end turn 1. What's causing this?
Re: Instant loss on entering scenario.
Well, having some of those custom macro's (eg/ the {CONTINUE ......} one) would be nice.....
-
- Posts: 126
- Joined: March 3rd, 2011, 7:14 pm
Re: Instant loss on entering scenario.
Damn you, Melinath!
*scurries away to find macros*
*scurries back with macro in hand. Well... buffer.*
#define CONTINUE NEXT_SCENARIO
[endlevel]
result=victory
next_scenario={NEXT_SCENARIO}
save=yes
carryover_report=no
carryover_percentage=100
linger_mode=no
bonus=no
[/endlevel]
#enddef
Hmmmm... I'll have a look at all of the instances of "continue". It's possible that there's a continue without a map specified, which might cause a straight win. I don't know why it would kick in at the end of turn, rather than at the moment, like normal.
*scurries away to find macros*
*scurries back with macro in hand. Well... buffer.*
#define CONTINUE NEXT_SCENARIO
[endlevel]
result=victory
next_scenario={NEXT_SCENARIO}
save=yes
carryover_report=no
carryover_percentage=100
linger_mode=no
bonus=no
[/endlevel]
#enddef
Hmmmm... I'll have a look at all of the instances of "continue". It's possible that there's a continue without a map specified, which might cause a straight win. I don't know why it would kick in at the end of turn, rather than at the moment, like normal.
- Mountain_King
- Translator
- Posts: 569
- Joined: May 31st, 2010, 7:54 pm
Re: Instant loss on entering scenario.
I have experienced similar errors before, mostly related to the non-existence of an enemy leader. Is there a somewhere in the scenario file? If not, try adding one and seeing what happens.
Code: Select all
victory_when_enemies_defeated=no
Projects: Ice Age Fun, Japhel's Journey (same link), Shameless Crossover Excuse (Maintainer), and Age of Dinosaurs!
Is cothabhálach an aistriúcháin Gaeilge mé.
EXTERMINATE!!!!
Is cothabhálach an aistriúcháin Gaeilge mé.
EXTERMINATE!!!!
-
- Posts: 126
- Joined: March 3rd, 2011, 7:14 pm
Re: Instant loss on entering scenario.
My firstborn to you, sir!