How to change the party colour?
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.
How to change the party colour?
Actually, I think it already exists somewhere, but I can't find it. I would like to play the Two Brothers campaign. But red is always the enemy colour. This as my own colour is absolutely terrible. How change it?
Re: How to change the party colour?
You can use
:debug
and :lua wesnoth.set_side_id(1,"","gold")
to change side 1 color to gold.Re: How to change the party colour?
Thank you! Where can I use them?
Re: How to change the party colour?
Default hotkey for command entering is : which is why examples start with it.
Re: How to change the party colour?
What a pity! I didn't play the game for a long time. I used to appreciate it once because it was all in text files being easy to modify. Nevertheless, thank you!
Re: How to change the party colour?
It is also in text files, just thought its easier to tell you way that works for all maps, instead of telling you to go to the scenario file you use, find correct [side] and change color there.
Re: How to change the party colour?
Well, thank you again! But I find it easier to edit a text file. Which one we talk about?
Re: How to change the party colour?
Its usually different file for every scenario. For example https://github.com/ProditorMagnus/Oroci ... d.cfg#L362 specifies enemy color in orocia.
Re: How to change the party colour?
No, Ravana, I'm sorry, this was a misunderstanding. An advantage of text files is that the words "color" and "red" can be easily found in them. But I can't find the relevant passage.
- lhybrideur
- Posts: 369
- Joined: July 9th, 2019, 1:46 pm
Re: How to change the party colour?
If you want to change the team color, you just have to had color= inside the [side] in each scenario or modify it if it is already there.
For example, here is the first scenario a Two Brothers but with purple and green as colors. I simply added color=purple in side 1 and color=green in side 2
For example, here is the first scenario a Two Brothers but with purple and green as colors. I simply added color=purple in side 1 and color=green in side 2
Re: How to change the party colour?
Thank you! This is what I was looking for.