This Will Only Work On the NZ:P Reboot
- Preview:
I recently added the ability to add a custom bio, thumbnail, and credits to be displayed on the Custom Maps menu. This tutorial will just be a brief explanation and format for doing this for your maps.
NZ:P on initialization will do a search for all of the maps (.BSP) in the `maps` directory. On top of this, the game will now also search for map.txt and seek out more information for the map. The format for this map.txt file is as-such:
- Code:
MAP TITLE
MAP DESCRIPTION LINE 1
MAP DESCRIPTION LINE 2
MAP DESCRIPTION LINE 3
MAP DESCRIPTION LINE 4
MAP DESCRIPTION LINE 5
MAP DESCRIPTION LINE 6
MAP DESCRIPTION LINE 7
MAP DESCRIPTION LINE 8
MAP AUTHOR(S)
(0-1)MAP USES THUMBNAIL
(0-1)MAP SUPPORTS CUSTOM GAMES
Here is a direct example for the map Boxxer:
- Code:
Boxxer
As suggested this map is essent-
ially a box. I DID go into this
map and give it a bit of detail
and use suggestive coloring and
whatnot...but it's just a box.
Zombies come from the ground so
get ready to get pissed off,
seriously. This map is a pain.
Naievil (suggested by jardo420)
1
1
Setting MAP USES THUMBNAIL to 1 will draw a TGA/PNG graphic called your_map_name.tga in nzp/gfx/menu/custom/.
Please use 128x128 resolution graphics, in order to support all platforms. They will get "stretched" to 16:9 accordingly.
Setting MAP SUPPORTS CUSTOM GAMES to 1 will allow for a future intended feature, based on the Black Ops II zombs custom game feature. It doesn't do anything for now, but setting it is required.
If your map does not use all 8 description lines, please put a space (" ") in its place. The information parser is designed to be simple and fast, so it does not support out-of-order information and will ignore null/completely blank lines.
I encourage you all to use this feature, just having your BSP name show up in the list without any further information is really lame
sorry this tut is shoddy af my head hurts xoxo
- moto
Last edited by MotoLegacy on Wed Mar 06, 2024 1:31 pm; edited 3 times in total (Reason for editing : new pref. resolution for menu graphics.)