Nazi Zombie Portable
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Nazi Zombies Portable Official Community


You are not connected. Please login or register

[TUTORIAL] Adding a Description and Thumbnail for your Custom Maps

2 posters

Go down  Message [Page 1 of 1]

MotoLegacy

MotoLegacy
Staff
Staff
This Will Only Work On the NZ:P Reboot

Preview:

[TUTORIAL] Adding a Description and Thumbnail for your Custom Maps Screen10
[TUTORIAL] Adding a Description and Thumbnail for your Custom Maps Screen11

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* graphic called map.tga in nzp/gfx/menu/custom/. Please use 175x100 resolution graphics for PSP and 480x272 for other platforms!

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
Dempsey

sorry this tut is shoddy af my head hurts xoxo
- moto

*PNGs will work on PC/PSP but are recommended as they will not work properly on the Nintendo Switch. please use TGA instead.. xoxo



Last edited by MotoLegacy on Mon Jul 26, 2021 5:05 pm; edited 1 time in total (Reason for editing : recommended use of TGA over PNG because NX doesn't support PNG loading)


____________________________________________________________________________________________________

Because coffee can only do so much..
[TUTORIAL] Adding a Description and Thumbnail for your Custom Maps 1131519

Derped_Crusader and BCDeshiG like this post

https://bowling.gdn/home

mofu23

mofu23
Mapper
Mapper
bababooey


____________________________________________________________________________________________________
Its better to cum in the sink, than it is to sink in the cum

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum