how create alliance?

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
hpfr
Posts: 5
Joined: June 27th, 2017, 4:41 pm

how create alliance?

Post by hpfr »

Hello,

First I apologize for my English and if the question has already been asked.

I created a map for 6 players. Is it possible to create alliances to make a 3 vs 3.
I would also like to create a third camp run by the AI.
Finally, is it possible to assign a movement zone to a unit?
Thank for your help.
Hadrien.
User avatar
Bitron
Developer
Posts: 453
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: how create alliance?

Post by Bitron »

Hello Hadrien, and welcome to the forums!
hpfr wrote:I created a map for 6 players. Is it possible to create alliances to make a 3 vs 3.
you can use the team_name= subtag in the [side]-tag for creating teams .
hpfr wrote:Finally, is it possible to assign a movement zone to a unit?
Micro ai's might help with that.
hpfr
Posts: 5
Joined: June 27th, 2017, 4:41 pm

Re: how create alliance?

Post by hpfr »

Thank you very much for your answer.
I was hoping I could do this without using WML code, no luck.
I'll try right now.
User avatar
Bitron
Developer
Posts: 453
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: how create alliance?

Post by Bitron »

I am pretty sure it is possible in the Map Editor, but I never used it to create the actual scenarios.
Just had a look, when you have a scenario (not a map!) open in the editor, you can change the team name via the "side" tab at the top of the screen.
hpfr
Posts: 5
Joined: June 27th, 2017, 4:41 pm

Re: how create alliance?

Post by hpfr »

I also think it's possible with the map editor but I'm a beginner.
I found a scenario but it is in a campaign.
Do you know a scenario with this kind of configuration?
Except the alliances I want the other options remain configurable when I launch the game.
User avatar
Bitron
Developer
Posts: 453
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: how create alliance?

Post by Bitron »

You can simply save your own map as scenario file (.cfg) with the map editor.
I think everything remains configurable, even if you set xp modifier, starting gold and stuff like that in the cfg file since it is just about changing the default values.

I'd recommend to have a look at this page. It's a little guide about how to create scenarios and should contain everything you need. (:
hpfr
Posts: 5
Joined: June 27th, 2017, 4:41 pm

Re: how create alliance?

Post by hpfr »

I have already tried to read this page but it's in English and I don't know how to code.
I've saved the map as a scenario, I can change the values but there is no alliances.
User avatar
Bitron
Developer
Posts: 453
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: how create alliance?

Post by Bitron »

If you upload the cfg file, I could help you with the coding.
hpfr
Posts: 5
Joined: June 27th, 2017, 4:41 pm

Re: how create alliance?

Post by hpfr »

Sorry I was doing tests.
I succeeded with the map editor.
I appreciate your help beut I will not ask you to code for me, I have to learn.
thanks a lot
Post Reply