Problem when creating a faction

Moderators: Slitherine Core, BA Moderators, WH40K Armageddon moderators

Post Reply
Aekar
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 231
Joined: Thu Nov 27, 2014 10:29 am

Problem when creating a faction

Post 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?
Aekar
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 231
Joined: Thu Nov 27, 2014 10:29 am

Re: Problem when creating a faction

Post 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.
Joubarbe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Mon Aug 09, 2010 7:08 pm

Re: Problem when creating a faction

Post by Joubarbe »

I don't have the answer, but maybe you need to add at least one unit to make it able to launch ?
Aekar
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 231
Joined: Thu Nov 27, 2014 10:29 am

Re: Problem when creating a faction

Post 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 :(
deranzo
Warhammer Designer
Warhammer Designer
Posts: 178
Joined: Wed Mar 22, 2017 12:53 pm

Re: Problem when creating a faction

Post 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
it is a good day to die
Post Reply

Return to “Mods and Scenario Design”