[Question] Night maps crashes?

Making or wanting help making your own asset? Check in here
Post Reply
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

[Question] Night maps crashes?

Post by ZZEZ »

Hey, I'm converting a audit in to a nightmap with the idea that the IDF uses night vision.
But whenever I change the kits and spawner to _nvg the map crashes at loading without any error, any ideas on why its happening?
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Post by dbzao »

Make sure you have the _nvg spawner file and all the objects in it. Run it with the debugger enabled to get a better error message (hopefully).

Also make sure you have this

Code: Select all

<isnightmap>1</isnightmap>
in your level .desc file located in /levels/level_name/info/level_name.desc. Check the bi_ming one for reference.
ZZEZ
Retired PR Developer
Posts: 4268
Joined: 2007-07-26 10:10

Post by ZZEZ »

I had everything right, spawner etc.
The problem was my nvg kits had binocs that conflicted with nvg index[7], oddly enough bf2 didn't produce an error..I only realized it when I changed the kits/spawner to US and saw that it worked then I compared my kits and found it.
Post Reply

Return to “PR:BF2 Community Modding”