[Help] Map does not show up in the maplist

Making or wanting help making your own asset? Check in here
Post Reply
Nagard
Posts: 217
Joined: 2008-05-02 17:06

[Help] Map does not show up in the maplist

Post 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
Hans Martin Slayer
Retired PR Developer
Posts: 4090
Joined: 2007-01-21 02:20

Re: Map does not show up in the maplist

Post 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.
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post by Nagard »

Thanks for your fast help

I renamed the map in the albasrah.desc file and in the init.con
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: Map does not show up in the maplist

Post 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 :)
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: Map does not show up in the maplist

Post by J.F.Leusch69 »

happy, when u are :)
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: Map does not show up in the maplist

Post by J.F.Leusch69 »

hmm, so u just changed the sky texture and nothing else???
Hans Martin Slayer
Retired PR Developer
Posts: 4090
Joined: 2007-01-21 02:20

Re: Map does not show up in the maplist

Post 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.
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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
Hans Martin Slayer
Retired PR Developer
Posts: 4090
Joined: 2007-01-21 02:20

Re: Map does not show up in the maplist

Post by Hans Martin Slayer »

strange, this usualy works for me.
turnpipe
Posts: 274
Joined: 2008-01-27 19:25

Re: Map does not show up in the maplist

Post by turnpipe »

Ok start over.
Make it a night map without renaming it.
Then do this.

Rename maps without editor - Battlefield SinglePlayer Forum
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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
Last edited by Nagard on 2008-07-14 16:17, edited 1 time in total.
turnpipe
Posts: 274
Joined: 2008-01-27 19:25

Re: Map does not show up in the maplist

Post by turnpipe »

This could be lightmap settings for vehicles and weapons. I dont see any settings for it yet. But im thinking sky.con.
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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 ^^
turnpipe
Posts: 274
Joined: 2008-01-27 19:25

Re: Map does not show up in the maplist

Post 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.
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post 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: .
turnpipe
Posts: 274
Joined: 2008-01-27 19:25

Re: Map does not show up in the maplist

Post 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.
Nagard
Posts: 217
Joined: 2008-05-02 17:06

Re: Map does not show up in the maplist

Post by Nagard »

ooookay
i think this will take a while but i will try this out.
Post Reply

Return to “PR:BF2 Community Modding”