Nazi Zombie Portable
Please log in or register. If you're not logged in you cannot download maps.

Nazi Zombies Portable Official Community


You are not connected. Please login or register

Custom skyboxes

View previous topic View next topic Go down  Message [Page 1 of 1]

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

BCDeshiG

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


____________________________________________________________________________________________________
Why are you reading this?
View user profile

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

Naievil

avatar
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


____________________________________________________________________________________________________
@dr_mabuse wrote:good job Smilez

View user profile http://Naievil.tk

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

BCDeshiG

avatar
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:



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


____________________________________________________________________________________________________
Why are you reading this?
View user profile

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

Naievil

avatar
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.


____________________________________________________________________________________________________
@dr_mabuse wrote:good job Smilez

View user profile http://Naievil.tk

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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