[Help] Custom Faction
-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
[Help] Custom Faction
Hello, I'm having some issues loading a custom faction with the faction_inits.zip from the map folder.
Basically I just duplicated a faction to only have unarmed kits on spawn screen.
The error I'm getting is related to the texture on menu/nametag/faction name/miniMap_CP.dds
I have added that file already, as well as, the flag icons and score flag files. I have been following the falklands files as a guideline.
Any idea why I'm still getting this error?
Help would be appreciated.
Basically I just duplicated a faction to only have unarmed kits on spawn screen.
The error I'm getting is related to the texture on menu/nametag/faction name/miniMap_CP.dds
I have added that file already, as well as, the flag icons and score flag files. I have been following the falklands files as a guideline.
Any idea why I'm still getting this error?
Help would be appreciated.

-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: [Help] Custom Faction
Be aware that if you edit your faction_inits.zip file and plan to distribute that + your map to clients, they'll get kicked from normal PR servers. Better is to either create your own "faction_inits" file or load the kits in the menu the vanilla way.
I believe that .dds file in there is actually a .tga file (and then renamed), but that might not be the issue. Use the Falklands, Vietnam or Normandy as a base and copy over every image from the menu client zip. I think you missed something somewhere, otherwise you wouldn't get this error. I admit, this one's always a ***** though
. There are like 3 or 4 places where you have to put an image.
Like this:
menu/HUD/Texture/Ingame/Flags/Icons/Minimap/YOUR_FACTION/miniMap_CP.dds
menu/HUD/Texture/Ingame/Flags/Icons/Minimap/YOUR_FACTION/miniMap_CPBase.dds
menu/HUD/Texture/Ingame/Flags/Icons/Minimap/YOUR_FACTION/miniMap_Flag.dds
menu/HUD/Texture/Ingame/Flags/Icons/Hud/Score/YOUR_FACTION/scoreBoard_Flag.dds
menu/External/FlashMenu/images/joingame/flagLarge_YOUR_FACTION.png
menu/External/FlashMenu/images/joingame/flag_YOUR_FACTION.png
menu/External/FlashMenu/images/joingame/hugeflag_YOUR_FACTION.png
menu/Nametag/YOUR_FACTION/miniMap_CP.dds
menu/Nametag/YOUR_FACTION/miniMap_CPBase.dds
I believe that .dds file in there is actually a .tga file (and then renamed), but that might not be the issue. Use the Falklands, Vietnam or Normandy as a base and copy over every image from the menu client zip. I think you missed something somewhere, otherwise you wouldn't get this error. I admit, this one's always a ***** though
Like this:
menu/HUD/Texture/Ingame/Flags/Icons/Minimap/YOUR_FACTION/miniMap_CP.dds
menu/HUD/Texture/Ingame/Flags/Icons/Minimap/YOUR_FACTION/miniMap_CPBase.dds
menu/HUD/Texture/Ingame/Flags/Icons/Minimap/YOUR_FACTION/miniMap_Flag.dds
menu/HUD/Texture/Ingame/Flags/Icons/Hud/Score/YOUR_FACTION/scoreBoard_Flag.dds
menu/External/FlashMenu/images/joingame/flagLarge_YOUR_FACTION.png
menu/External/FlashMenu/images/joingame/flag_YOUR_FACTION.png
menu/External/FlashMenu/images/joingame/hugeflag_YOUR_FACTION.png
menu/Nametag/YOUR_FACTION/miniMap_CP.dds
menu/Nametag/YOUR_FACTION/miniMap_CPBase.dds

-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
Thanks for the help.
I had done all of that already based on the Falklands and I'm still getting the error.
What did you mean by loading the kits the vanilla way? I'm loading everything from the map files to allow other players to install it like Falklands.
The faction I'm creating is to only use the unarmed kit at spawn, which is a kit that already exists. All other kits that I will be creating will be pickup kits and so, will not interfere with the PR python checker since they will not be on the spawn screen or requestable.
I had done all of that already based on the Falklands and I'm still getting the error.
What did you mean by loading the kits the vanilla way? I'm loading everything from the map files to allow other players to install it like Falklands.
The faction I'm creating is to only use the unarmed kit at spawn, which is a kit that already exists. All other kits that I will be creating will be pickup kits and so, will not interfere with the PR python checker since they will not be on the spawn screen or requestable.
Last edited by Onil on 2012-11-01 15:32, edited 1 time in total.

- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
Re: [Help] Custom Faction
oh man, I remember this when I tried out the Syrian factions. I had this error too. Such a pain in the ***. No idea how I fixed it in the end.
-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
- Daniel
- Posts: 2225
- Joined: 2010-04-15 16:28
- Contact:
Re: [Help] Custom Faction
*bump* mod pls read (previous post) and take action?

-
Spec
- Retired PR Developer
- Posts: 8439
- Joined: 2007-09-01 22:42
Re: [Help] Custom Faction
Uh. Yes. Thanks. Next time please just use the report post button and don't necro a thread just to say that it should be closed 

--- currently reduced activity ---
Thanks to [R-MOD]IINoddyII for the signature!
_____________________________
Propriety is an adequate basis for behavior towards strangers, honesty is the only respectful way to treat friends.
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
-
Spec
- Retired PR Developer
- Posts: 8439
- Joined: 2007-09-01 22:42
Re: [Help] Custom Faction
Actually, Rhino has the better point. Leaving this open for Onil to post how he actually solved the problem.

--- currently reduced activity ---
Thanks to [R-MOD]IINoddyII for the signature!
_____________________________
Propriety is an adequate basis for behavior towards strangers, honesty is the only respectful way to treat friends.
-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
If I remember correctly it was because of the zip files that were rar files renamed to zip and so the game wouldn't open them.
Once that was fixed, I didn't get the error anymore. Sometimes it's quite simple, most times it is not.
Once that was fixed, I didn't get the error anymore. Sometimes it's quite simple, most times it is not.

-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: [Help] Custom Faction
Are you serial?? 
I had that years ago as well. WinRAR does its awesomeness, everything works fine, but BF2 is like.. wait----wut??
I had that years ago as well. WinRAR does its awesomeness, everything works fine, but BF2 is like.. wait----wut??

-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
Exactly... and it took me quite sometime to even think that that might be the issue. spent hours going through all the files searching for typos and such and then I remembered that I had made rar files and changed the extension to zip. Let's just say bf2 didn't like it that much... 

-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
Anyone knows how I can get multiple geoms from different skinnedmesh files to only one file?
Can't seem to find a good tutorial about skinnedmeshes and bundlemeshes.
I'm also not being able to load my custom soldier reskins. Everything seems fine with the files but when I spawn with the updated mesh, it's still loading the original skins.
Help please :\
EDIT: Custom soldier reskins are loading now. Still need to find a way of combining geoms from different files into one though.
Can't seem to find a good tutorial about skinnedmeshes and bundlemeshes.
I'm also not being able to load my custom soldier reskins. Everything seems fine with the files but when I spawn with the updated mesh, it's still loading the original skins.
Help please :\
EDIT: Custom soldier reskins are loading now. Still need to find a way of combining geoms from different files into one though.
Last edited by Onil on 2012-12-08 11:43, edited 1 time in total.

-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
Anyone has a solution for the pickup kits being rotated to north and ignoring the GPO rotation value?
Quite annoying! -_-
Quite annoying! -_-

-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: [Help] Custom Faction
Editor only saves X axis rotation for object spawners, but if you type them in manually to the GPO.con you can have object spawners rotated on all axis.
-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
I only work with notepad and have rotated the object spawners in the GPO but they still get rotated to north on a dedicated server. On local they have the GPO rotation though.
And since all mods that I have tried, have the same issue, I'm guessing there is not solution so far. Unless if someone gets a brilliant idea to fix this.
And since all mods that I have tried, have the same issue, I'm guessing there is not solution so far. Unless if someone gets a brilliant idea to fix this.

-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: [Help] Custom Faction
That might be the case, I only tested this out on local when I was seeing if it was at all feasible of placing down CSBs in this way but ended up opting for placing them down as staticobjects as it was far easierOnil wrote:I only work with notepad and have rotated the object spawners in the GPO but they still get rotated to north on a dedicated server. On local they have the GPO rotation though.
And since all mods that I have tried, have the same issue, I'm guessing there is not solution so far. Unless if someone gets a brilliant idea to fix this.
-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
Yeah, I suppose the only way to fix it is if the kits are spawned by python... isn't that how the cache kits are spawned? They are always parallel to the cache and this only happens on pickup kits, not on the caches or vehicles.

-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: [Help] Custom Faction
I believe the cache kits are spawned though python yes based on the caches location.
-
Onil
- Posts: 1232
- Joined: 2007-08-19 09:50
Re: [Help] Custom Faction
How does the python recognize the caches in the GPO? Object Spawner name (ex: a_121) ?
Would it spawn pickup kits randomly if I change it from ammo cache to the kit?
I checked and both the cache and the kits don't have the rotation issue and that is probably due to it being spawned by the python.
Would it spawn pickup kits randomly if I change it from ammo cache to the kit?
I checked and both the cache and the kits don't have the rotation issue and that is probably due to it being spawned by the python.




