Page 1 of 1
Problem when creating a faction
Posted: Sat Dec 06, 2014 12:01 am
by Aekar
Maybe someone can help we with this issue.
This will also display to others the required steps to create a faction.
Actually, just adding a line to a whdat file won't do it
So ...
- I added a faction to data/factions.whdat (at the end of the list, and separated by tabs like the other lines)
Dark Eldar dark_eldar icon_experience_darkEldar
- I placed:
* the new pictures in UI / gameview ( icon_experience_darkEldar.png / icon_experience_darkEldar_empty.png )
* the new pictures in UI / purchase / factions ( dark_eldar.png / selected_dark_eldar.png )
When the line is present, the Editor cannot launch.
When I remove it, the Editor works again.
So what did I miss?
Re: Problem when creating a faction
Posted: Sat Dec 06, 2014 8:35 am
by Aekar
For now, I will believe the Editor doesn't support custom factions at ll, so I will design my scenarios without any custom faction, and try to find a way to change its faction once the map is designed.
Re: Problem when creating a faction
Posted: Sat Dec 06, 2014 11:39 am
by Joubarbe
I don't have the answer, but maybe you need to add at least one unit to make it able to launch ?
Re: Problem when creating a faction
Posted: Sat Dec 06, 2014 12:17 pm
by Aekar
Previously the same thing occurred, with the new faction, 42 new weapons and five new units.
I was really sad to break the editor

Re: Problem when creating a faction
Posted: Sat Apr 15, 2017 7:46 am
by deranzo
Aekar wrote:Maybe someone can help we with this issue.
This will also display to others the required steps to create a faction.
Actually, just adding a line to a whdat file won't do it
So ...
- I added a faction to data/factions.whdat (at the end of the list, and separated by tabs like the other lines)
Dark Eldar dark_eldar icon_experience_darkEldar
- I placed:
* the new pictures in UI / gameview ( icon_experience_darkEldar.png / icon_experience_darkEldar_empty.png )
* the new pictures in UI / purchase / factions ( dark_eldar.png / selected_dark_eldar.png )
When the line is present, the Editor cannot launch.
When I remove it, the Editor works again.
So what did I miss?
There is more to do. Take a look here and have an idea. You can rearrange codes to armageddon
http://www.slitherine.com/forum/viewtop ... 45057#wrap But you must edit some other files too that is not present in panzer corps folder hierarchy.
I have managed to add my new faction to editor but this is not all. You must make work that option also. To do that you must have access to game codes which is not possible right now. Because in editor or png files are just graphical changes. You must create new panels for the game purchase screen etc etc.
You can replace existing factions with another but cant make work of new ones without interfering codes