Page 1 of 1

[Help!] Map audit problem with layers

Posted: 2008-01-09 11:08
by Ragni<RangersPL>
I've decided to make a map audit to practice and learn about mapping. Road to Jalalabad (BF2 map) was my choice and I started to audit this map. There was no "Editor" folder inside so I've created my own (according to Rhinos Map Audit Tutorial), after that I've created "GamePlayObjects.con" and "Layers.con" files for the editor (according to Rhinos Map Audit Tutorial)... but when I open this map in the editor I have no other Layers in it. It looks like all the Control points, spawn points, object spawners, etc, from all three layers (16, 32, 64 players), are mixed together on the same layer (in this case it's default layer)

Image

The questions are: What is going on? Why there is no other layers? How to fix it?

HELP!

Posted: 2008-01-09 14:48
by Rhino
make sure you have defined the right layers to the right 64, 32 and 16 versions etc and that your layer.con is setup right, and in the editor folder etc.

Posted: 2008-01-09 16:07
by Ragni<RangersPL>
I've checked "GamePlayObjects.con" and "Layers.con" files (again...), both off them are inside "Editor" folder. My 64_player version is on the layer 4, 32_player on layer 3 and 16_player on layer 2.

Here is my Layer.con file:

Code: Select all

rem ******** 16_player ********
LayerManager.AddUserLayer "16_player" 4 2 0 1 
LayerManager.SetLocked 0
LayerManager.SetDisabled 0
LayerManager.AddGameModeFilter "gpm_cq"
LayerManager.AddPlayerFilter "16"

rem ******** 32_player ********
LayerManager.AddUserLayer "32_player" 8 3 0 1 
LayerManager.SetLocked 0
LayerManager.SetDisabled 0
LayerManager.AddGameModeFilter "gpm_cq"
LayerManager.AddPlayerFilter "32"

rem ******** 64_player ********
LayerManager.AddUserLayer "64_player" 16 4 0 1 
LayerManager.SetLocked 0
LayerManager.SetDisabled 0
LayerManager.AddGameModeFilter "gpm_cq"
LayerManager.AddPlayerFilter "64"

Posted: 2008-01-09 16:11
by Rhino
yet looks fine, you sure that in your GPO.con that 64 is layer 4 etc?

Posted: 2008-01-09 16:25
by Ragni<RangersPL>
Well... I think so.

Image Image Image

Posted: 2008-01-09 16:41
by Rhino
yep all looks fine, hummm.

only thing I can think is check you are loading the right mod in the editor, and check your filenames etc.

Posted: 2008-01-09 18:29
by Ragni<RangersPL>
Ok, thanks for help anyway. I'll check all the files one more time. If this will fail than I'll remove all the Object Spawners, Spawn Points, Control Points and Combat Zones from the default layer and I'll try to create all three layers from the scratch.

Posted: 2008-01-10 10:46
by Ragni<RangersPL>
OK, I've made simple test map to figure out what's wrong... I've made some test and this is what I get. There is something wrong with my BF2editor or pr_edit folder. I can't properly create layers.

This is what I get when I try to make a new layer using bf2 mod in the editor...
Image

...and this is what I get when I try to make a new layer using pr_edit mod in the editor
Image

I've tried to open Road to Jalalabad map again and here's the funniest part, it looks like my my BF2editor moves all the stuff from all the layers into default layer. This is just the example of code from Output box:

Code: Select all

Object CP_16_RtJ_Hotel was in an invalid layer. Moved to default.
Object CP_16_RtJ_Junkyard was in an invalid layer. Moved to default.
Object CP_16_RtJ_Market was in an invalid layer. Moved to default.
Object CP_16_RtJ_Mosque was in an invalid layer. Moved to default.

Posted: 2008-01-10 11:47
by Rhino
ye that dont help :p

take it you have gone 100% thought this tut and also mainly done step 7?
https://www.realitymod.com/forum/f189-m ... dding.html

Posted: 2008-01-10 13:17
by Ragni<RangersPL>
Sorry Rhino, I haven't installed all the stuff from your PR_EDIT.rar

Now pr_edit mod works better now. I still can't see any other layers on Road to Jalalabad map but at least I can make my own now.

Thanks.