project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 06-02-2009, 06:06 AM   #1
[R-DEV]Outlawz7
PR:BF2 Developer

[R-DEV]Outlawz7's Avatar
Default [Help] Setting up a sub-mod for PR

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

Quote:
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
Quote:
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?
[R-DEV]Outlawz7 is offline Reply With Quote
Old 06-02-2009, 06:11 AM   #2
[R-DEV]Tonnie
PR:BF2 Developer

[R-DEV]Tonnie's Avatar
Default Re: Setting up a sub-mod for PR

by default bf2 stuff you mean what? it runs the vbf2 or runs ur mod but with no diffrences to vbf2?


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

HangMan: BF2 Editor, it has very strict limitations memory wise, and crashes all the time. Its like a girl. Treat it with respect and take it slow and you'll get places. Rush and get ahead of yourself and it will turn around and punch you in the mouth
[R-DEV]Tonnie is offline Reply With Quote
Old 06-02-2009, 06:13 AM   #3
Rambo Hunter

Rambo Hunter's Avatar
Default Re: Setting up a sub-mod for PR

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



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

Rambo Hunter is offline Reply With Quote
Old 06-02-2009, 06:15 AM   #4
[R-DEV]Outlawz7
PR:BF2 Developer

[R-DEV]Outlawz7's Avatar
Default Re: Setting up a sub-mod for PR

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

Quote:
bf2Engine.playMovie Movies/bss_intro.bik 1
bf2Engine.playMovie Movies/PR_intro.bik 1
Quote:
Originally Posted by Rambo Hunter View Post
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.
[R-DEV]Outlawz7 is offline Reply With Quote
Old 06-02-2009, 08:17 AM   #5
Jonny

Jonny's Avatar
Default Re: Setting up a sub-mod for PR

Your PR folders are in the wrong place, but not for the reason Rambo said. It doesn't overwrite stuff if it already exists in memory, the first thing loaded is what is used. You should put the PR stuff at the top, and then continue hunting around in files for other things you may need to change.

XKCD forums, in the middle of a perfectly sane conversation:
Has anyone really been far even as decided to use even go want to do look more like?
Best post ever made!

EG: PPSh is made of win and quite possibly stamped sheet metal
Jonny is offline Reply With Quote
Old 06-02-2009, 08:32 AM   #6
[R-DEV]ballard_44
PR:BF2 Developer
Default Re: Setting up a sub-mod for PR

+ I don't think you are accessing the files correctly.

The correct set up is more like this...

Quote:
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.
[R-DEV]ballard_44 is offline Reply With Quote
Old 06-02-2009, 09:45 AM   #7
[R-DEV]Rhino
PR Mapper Team
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Default Re: Setting up a sub-mod for PR

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.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 06-02-2009, 10:09 AM   #8
[R-DEV]Outlawz7
PR:BF2 Developer

[R-DEV]Outlawz7's Avatar
Default Re: Setting up a sub-mod for PR

Got it working now, thanks for the info.
[R-DEV]Outlawz7 is offline Reply With Quote
Reply


Tags
setting, submod
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:10 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.