Nazi Zombies: 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

Custom skyboxes

2 posters

Go down  Message [Page 1 of 1]

1Custom skyboxes Empty Custom skyboxes Wed Jun 14, 2017 1:37 pm

BCDeshiG

BCDeshiG
Member
Member

How would I have a custom skybox for my map? I am using the Hammer editor.

2Custom skyboxes Empty Re: Custom skyboxes Mon Jun 19, 2017 12:20 am

Naievil

Naievil
Staff
Staff

The best way to do this is to just edit the worldspawn data.

From the map menu, open "map properties" and select the skybox name. From there, you must add the name of the file for a skybox that you would like to open. There is a test skybox in nzp/env/ that shows the naming convention. You could read this for more information, taken from the Quake Wiki:
Each Skybox face name is composed of two components: the base name and a suffix indicating which face the image relates to.

The base name should be strictly alphanumeric, and should not contain spaces. Only the base name is used for loading.

The suffix should be either of "bk" (back face), "ft" (front face), "lf" (left face), "rt" (right face), "up" (up face) or "dn" (down face).


As for what to put in the textbox for the worldspawn, put in the base name referenced above.

Most importantly, in the default.cfg file, remove this line I added:
Code:
sky sky   // naievil (FIXME) test skybox

http://Naievil.tk

3Custom skyboxes Empty Re: Custom skyboxes Mon Jun 19, 2017 2:50 pm

BCDeshiG

BCDeshiG
Member
Member

Naievil wrote:
Most importantly, in the default.cfg file, remove this line I added:

Code:
sky sky   // naievil (FIXME) test skybox

Did the above which lead to this:

Custom skyboxes Fte-2015

Maps with custom skyboxes work fine though.

Before:
Code:
0.5 // naievil (FIXME) should probably change back to 1
sky sky   // naievil (FIXME) test skybox
fov 70

vid_fullscreen_standalone 0
vid_width 1024
vid_height 768

cl_cursor "menu/cursor"
cl_cursor_bias_x 0
cl_cursor_bias_y 0
in_rawinput 1

After:
Code:
0.5 // naievil (FIXME) should probably change back to 1
fov 70

vid_fullscreen_standalone 0
vid_width 1024
vid_height 768

cl_cursor "menu/cursor"
cl_cursor_bias_x 0
cl_cursor_bias_y 0
in_rawinput 1

4Custom skyboxes Empty Re: Custom skyboxes Tue Jun 20, 2017 3:34 am

Naievil

Naievil
Staff
Staff

Yes, NDU relies on an external skybox. if the skybox is not found, it will display that.

You need to wait for @motolegacy to add my fix to his repository OR you could check out my branch of the NZP reboot for that and many more fixes.

http://Naievil.tk

Sponsored content



Back to top  Message [Page 1 of 1]

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