Page 1 of 1

[Help] Map does not show up in the maplist

Posted: 2008-07-12 14:39
by Nagard
Hi everyone

I set up a second version of Al Basrah for my friends and me playing PR SP. I changed the name to Al Basrah night and that's what I did. I just converted it to a dark map (no special headlights on vehicles and stuff, just dark so it won't look that good but for my friends and me it's enough ^^). But my question is as you can see in the title another one...

My map doesn't appear in the maplist of Battlefield 2 when I want to create a local server. What could I have done wrong?

Greetings
Nagard

Re: Map does not show up in the maplist

Posted: 2008-07-12 15:05
by Hans Martin Slayer
how did you rename the map? you can't simply rename the folder as there are more files you need to change.

Re: Map does not show up in the maplist

Posted: 2008-07-12 15:34
by Nagard
Thanks for your fast help

I renamed the map in the albasrah.desc file and in the init.con

Re: Map does not show up in the maplist

Posted: 2008-07-12 19:48
by J.F.Leusch69
and in te "info" folder of the map there should be a file that isnt a pic, and in that file you could change the gamemodes.

maybe you need this :)

..dont know :)

Re: Map does not show up in the maplist

Posted: 2008-07-12 21:07
by Nagard
Jesus Christ I should have noticed that... I changed the name in the albasrah.desc file and forgot the filename itself. *facestab*

thank you very much leusch

Re: Map does not show up in the maplist

Posted: 2008-07-12 21:49
by J.F.Leusch69
happy, when u are :)

Re: Map does not show up in the maplist

Posted: 2008-07-12 23:44
by Nagard
uhm

well my first problem is fixed. the map is now showing up in the maplist (it was really the .desc file in the info folder). now i got another problem... my map crashes at 13%-14% loading to the desktop. i got no errormessage, nothing (i also tried it in the window mode -> same result) so the problem is probably based somewhere in the objects. (just to mention it: i followed the instructions in this thread step by step How to make your Day map a Night map - Official BF Editor Forums ). so if someone could maybe tell me where my problem exactly could be... please help me. (btw i am a little bit confused, because in the instructions the guy who wrote it said something about the init.con and meant the sky.con or wrote to set some settings to one value and then to set them to another value). I repeat: i only want the map dark. i don't need any headlights and so on.

greetings and thanks for the efforts of everyone who helps me or just tries to do it
Nagard

Re: Map does not show up in the maplist

Posted: 2008-07-13 01:06
by J.F.Leusch69
hmm, so u just changed the sky texture and nothing else???

Re: Map does not show up in the maplist

Posted: 2008-07-13 11:16
by Hans Martin Slayer
when renaming a map, these steps are important:

- Rename the map folder
- Rename the .desc files in the map folder and the Info folder inside the map folder.
- Change the name in the Info\map_name.desc file

- Change all the references to the map name inside these files:
client.zip\Lightmaps\Objects\LightmapAtlas.tai
client.zip\terraindata.raw (binary) (just use Find & Replace in a hex editor)

server.zip\CompiledRoads.con
server.zip\Heightdata.con
server.zip\Init.con
server.zip\Sky.con
server.zip\Terrain.con
server.zip\UndergrowthAtlas.tai
server.zip\Overgrowth\Overgrowth.con
server.zip\Overgrowth\OvergrowthAtlas.tai
server.zip\envmaps\environmentmapinfo.emi
server.zip\AmbientObjects.con (not sure atm)
hope this helps.

Re: Map does not show up in the maplist

Posted: 2008-07-13 11:43
by Nagard
the files i edited were:

albasrah_night.desc (in the info folder)
init.con (server.zip)
sky.con (server.zip)

i also tried out, wether it works if i add these files:

helicoptervision.con
nightvision.con
commandervision.con
normal.con

same result...

hope this will help you helping me ^^

EDIT: New post from Hans Martin Slayer
I will try that out it is possible i forgot one of those entrys thank you

Re: Map does not show up in the maplist

Posted: 2008-07-13 12:38
by Nagard
okay i checked every file you mentioned hans martin slayer, but every "albasrah" was already replaced by an "albasrah_night", so it still crashes at 13%.

anyway a thanks for your efforts
Nagard

Re: Map does not show up in the maplist

Posted: 2008-07-13 18:08
by Hans Martin Slayer
strange, this usualy works for me.

Re: Map does not show up in the maplist

Posted: 2008-07-14 02:30
by turnpipe
Ok start over.
Make it a night map without renaming it.
Then do this.

Rename maps without editor - Battlefield SinglePlayer Forum

Re: Map does not show up in the maplist

Posted: 2008-07-14 13:33
by Nagard
turnpipe i love you for that link...

My problem was the following one:
given link wrote:Note that because of the binary file you have to keep the name the same length until/unless someone decodes the file format.
I renamed "AlBasrah" to "AlBasrah_Night" that caused the crashes.

After i downloaded the HexEditor XVI32 i edited terraindata.raw and tried to start up again. It worked pretty good. All i gotta do now is to get these stupid glowing vehicles and Weapons away :-D

Re: Map does not show up in the maplist

Posted: 2008-07-14 18:59
by turnpipe
This could be lightmap settings for vehicles and weapons. I dont see any settings for it yet. But im thinking sky.con.

Re: Map does not show up in the maplist

Posted: 2008-07-14 20:23
by Nagard
I think it should be somewhere in the lightmaps, too, but I'm also not sure.
It's just annoying to be able to see the enemy pretty easier without nightvisions then with the nvg turned on ^^

Re: Map does not show up in the maplist

Posted: 2008-07-14 23:01
by turnpipe
Nagard wrote:I think it should be somewhere in the lightmaps, too, but I'm also not sure.
It's just annoying to be able to see the enemy pretty easier without nightvisions then with the nvg turned on ^^

Try backing up lightmaps then deleting them then run the map.

Re: Map does not show up in the maplist

Posted: 2008-07-14 23:52
by Nagard
Already tried it ^^
Didn't worked... atm I'm checking every single file in the mapfolder for vehicle-paths or hints, but it's 2 am and I gotta help my dad in a few hours so I gotta sleep now :wink: .

Re: Map does not show up in the maplist

Posted: 2008-07-15 21:55
by turnpipe
Nagard wrote:Already tried it ^^
Didn't worked... atm I'm checking every single file in the mapfolder for vehicle-paths or hints, but it's 2 am and I gotta help my dad in a few hours so I gotta sleep now :wink: .

I got a feeling you going to have to add different textures to the glowing vehicles and weapons. They did change player textures to woodland in a earlier version of pr to stop glowing soldiers on a certain night map.
It could be easy as opening gimp or photoshop and darkening the textures.
Now implementing them to your map is another story.
I hope im wrong to keep this easy.

Re: Map does not show up in the maplist

Posted: 2008-07-16 18:08
by Nagard
ooookay
i think this will take a while but i will try this out.