Page 1 of 1

[Help] Setting up a sub-mod for PR

Posted: 2009-06-02 09:06
by Outlawz7
Been trying to do as title says, but whenever I run the game it keeps loading default BF2 stuff

Here are my client and server archives
fileManager.mountArchive Objects_server.zip Objects
fileManager.mountArchive Menu_server.zip Menu
fileManager.mountArchive Common_server.zip Common

fileManager.mountArchive mods/bf2/Objects_server.zip Objects
fileManager.mountArchive mods/bf2/Menu_server.zip Menu
fileManager.mountArchive mods/bf2/Common_server.zip Common

fileManager.mountArchive mods/pr/objects/Objects_server.zip Objects
fileManager.mountArchive mods/pr/menu/Menu_server.zip Menu
fileManager.mountArchive mods/pr/Common_server.zip Common
fileManager.mountArchive Objects_client.zip Objects
fileManager.mountArchive Common_client.zip Common
fileManager.mountArchive Menu_client.zip Menu
fileManager.mountArchive Fonts_client.zip Fonts

fileManager.mountArchive mods/bf2/Objects_client.zip Objects
fileManager.mountArchive mods/bf2/Common_client.zip Common
fileManager.mountArchive mods/bf2/Menu_client.zip Menu
fileManager.mountArchive mods/bf2/Fonts_client.zip Fonts
fileManager.mountArchive mods/bf2/Shaders_client.zip Shaders

fileManager.mountArchive mods/pr/Common_client.zip Common
fileManager.mountArchive mods/pr/objects/Objects_client.zip Objects
fileManager.mountArchive mods/pr/menu/Menu_client.zip Menu
fileManager.mountArchive mods/pr/menu/Fonts_client.zip Fonts
fileManager.mountArchive mods/pr/shaders_client_pr.zip Shaders
Help? :(

Re: Setting up a sub-mod for PR

Posted: 2009-06-02 09:11
by Tonnie
by default bf2 stuff you mean what? it runs the vbf2 or runs ur mod but with no diffrences to vbf2?

Re: Setting up a sub-mod for PR

Posted: 2009-06-02 09:13
by Rambo Hunter
IIRC the PR stuff should go at the top.
it loads items from the bottom going up, so all the vBF2 stuff is overwriting the PR archives

Re: Setting up a sub-mod for PR

Posted: 2009-06-02 09:15
by Outlawz7
It runs the BF2 menu without any background movies or without any intro movies, although I do have the mod's init.con set up
bf2Engine.playMovie Movies/bss_intro.bik 1
bf2Engine.playMovie Movies/PR_intro.bik 1
Rambo Hunter wrote:IIRC the PR stuff should go at the top.
it loads items from the bottom going up, so all the vBF2 stuff is overwriting the PR archives
Just tried, didn't make any difference.

Re: Setting up a sub-mod for PR

Posted: 2009-06-02 11:32
by ballard_44
+ I don't think you are accessing the files correctly.

The correct set up is more like this...
fileManager.mountArchive menu/Menu_server.zip Menu
fileManager.mountArchive objects/Objects_server.zip Objects
fileManager.mountArchive ../pr/objects/Objects_server.zip Objects
fileManager.mountArchive ../pr/menu/Menu_server.zip Menu
fileManager.mountArchive ../pr/Common_server.zip Common
fileManager.mountArchive ../bf2/Objects_server.zip Objects
fileManager.mountArchive ../bf2/Menu_server.zip Menu
fileManager.mountArchive ../bf2/Common_server.zip Common
so get rid of the mods part and replace with ..

And like others have said, the order is wrong.

Re: Setting up a sub-mod for PR

Posted: 2009-06-02 12:45
by Rhino
what comes first in the list (closer to the top) is what gets loaded first so in that order you want to be first your mod, then you want pr, then under that you want bf2.

The engine wont reload files its already loaded so what is loaded first is very important.

Re: Setting up a sub-mod for PR

Posted: 2009-06-02 13:09
by Outlawz7
Got it working now, thanks for the info. :)