How to make opponent leader invisible?

The place to post your WML questions and answers.

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.
Post Reply
User avatar
tapik
Code Contributor
Posts: 133
Joined: November 24th, 2005, 3:14 pm
Location: Pr'ílepy-Holes'ov-Zlín-C'eská Republika-EU-sol
Contact:

How to make opponent leader invisible?

Post by tapik »

Hi,
I'm trying (as a new maintainer) to port Delfador's Memoirs to 1.0.2, but I have a big trouble. The fourth scenario, http://svn.berlios.de/viewcvs/wescamp-i ... 3&view=log is based on two summonning stones (instead of normal enemy leader behavior) and the victory condition is to survive 12 turns. The scenario is loadable in BfW 0.9.3, but 1.0.2 throws exception: error general: Cannot load game:load_game_failed: Invalid starting position (0,0) for the leader of side 2.

I have no idea where the problem could be :-(

Please, could anybody help me?

Thanks very much...
guest
Posts: 109
Joined: April 16th, 2005, 3:15 am

Post by guest »

This is, I believe, related to a fix (by bruno) that changes how strictly WML is read.

Instead of using position 0,0 for the leader, you should have "no_leader=yes".
User avatar
tapik
Code Contributor
Posts: 133
Joined: November 24th, 2005, 3:14 pm
Location: Pr'ílepy-Holes'ov-Zlín-C'eská Republika-EU-sol
Contact:

Post by tapik »

guest wrote:This is, I believe, related to a fix (by bruno) that changes how strictly WML is read.

Instead of using position 0,0 for the leader, you should have "no_leader=yes".
Thanks very much, it works fine.
bruno
Inactive Developer
Posts: 293
Joined: June 26th, 2005, 8:39 pm
Contact:

Post by bruno »

If you want a unit to speak with a portrait and not have to include the picture in each message, you can put the unit on the recall list. If you use [unit] tags to add a unit at an invalid position and the side has a recall list, the unit will be added to the recall list.
Post Reply