Page 1 of 1
Add new faction to PR
Posted: 2014-08-17 16:37
by ComradeHX
So far, I did the following:
created sp kit and soldier files for USSR
modified lashkar vally map init_sp.con (ger_sp replaced with ussr_sp)
modified faction_inits.con to include USSR kits(named ussr_sp with RU voice), used ru spawner
What is missing? Nothing showed up when loading into lashkar valley; Blufor is still German.
Re: Add new faction to PR
Posted: 2014-08-17 19:10
by B2P1
I don't know anything about this, but what if you keep the German voices?
Edit: Nevermind that's only applicable for different layers.
Re: Add new faction to PR
Posted: 2014-08-17 19:26
by SShadowFox
Are you loading COOP? If you are but it still shows the Germans instead of Soviets, check the following:
1 - If you really changed the faction at "init_sp.con", not at "init.con" by mistake
2 - If the gamemodes/gpm_coop/(16/32/64)/gameplayobjects.con have the following line on it:
If all of the above are checked and it still loads the Germans, then I don't know what is the problem.
Re: Add new faction to PR
Posted: 2014-08-17 21:16
by ComradeHX
SShadowFox wrote:Are you loading COOP? If you are but it still shows the Germans instead of Soviets, check the following:
1 - If you really changed the faction at "init_sp.con", not at "init.con" by mistake
2 - If the gamemodes/gpm_coop/(16/32/64)/gameplayobjects.con have the following line on it:
If all of the above are checked and it still loads the Germans, then I don't know what is the problem.
1. I changed both and still didn't work.
2. It has that line.
Was there something else that needed to be changed for faction to work?
Should I have created a new spawner for ussr?
I put the changes into my main pr and it crashed without error message while running windowed mode.
Re: Add new faction to PR
Posted: 2014-08-17 22:33
by Mineral
Did you add all flag icons for the loading and minimap?
Re: Add new faction to PR
Posted: 2014-08-17 22:55
by melonmuncher
If there's is something wrong with the faction it will load the faction from the init.con file, I'm sure if you look closely you will notice it's the mp German faction, not the sp version. Change ger to ussr_sp it in the init.con as well and run in windowed to receive an error message.
Re: Add new faction to PR
Posted: 2014-08-18 00:03
by ComradeHX
[R-DEV]Mineral wrote:Did you add all flag icons for the loading and minimap?
I thought the flag was just painted onto minimap.
Where do I find the file that points to the faction's flag?
Re: Add new faction to PR
Posted: 2014-08-18 06:28
by Rhino
As mentioned above there are loads of little flag icons, symbols and localisation text, among the kits and other stuff that goes into making a new team.
I suggest you look deep into one of the minimods like PR:F or PR:WW2 that have most of their new team stuff inside the map files and you can then easily see what needs to be made in order to make a new team.