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


Nazi Zombies Portable Official Community
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» How to Make a Simple Musical Easter Egg
Sat Oct 18, 2014 11:50 pm by WillWow

» All/most commands for nzp
Sat Oct 18, 2014 11:33 pm by WillWow

» How To Make A Elevator Tutorial and Die Rise
Sat Oct 18, 2014 11:28 pm by WillWow

» [LOCKED N TRASHED]New Weapons For NZP 1.2 ALPHA/BETA and others.
Sun Oct 12, 2014 2:08 pm by jastolze

» quake mods?
Thu Oct 09, 2014 9:24 pm by jastolze

» NZP 1.2 PSP???
Mon Oct 06, 2014 6:15 pm by PerikiyoXD

» Help With My Maps
Fri Oct 03, 2014 11:20 pm by anubiz

» Android?
Wed Sep 24, 2014 10:10 pm by jastolze

» [GAME] Draw something in ma beach!
Tue Sep 16, 2014 2:35 pm by anubiz

» Pod the Mod Rap - See if you can beat me!
Fri Sep 12, 2014 11:16 pm by Call16-Podolski

» Waypoint Curiousity
Thu Sep 11, 2014 10:48 am by dr_mabuse

» Anyone Knows the name of this song?
Tue Sep 09, 2014 1:41 pm by jastolze

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Links of interest
CoW1944

Augustine

Left4Quake

Conscript

Adding custom fog to your NZP/Kurok/Quake maps551
Share | 
 

 Adding custom fog to your NZP/Kurok/Quake maps

View previous topic View next topic Go down 
AuthorMessage
dr_mabuse
QC Coder and mapper
QC Coder and mapper


Posts: 640
Cash: 1327
Join date: 2011-05-28
Age: 33
Location: In ur moms bed..

PostSubject: Adding custom fog to your NZP/Kurok/Quake maps   Tue Sep 11, 2012 1:27 pm

Before we start you need to know that the current NZP build on the PC uses different fog settings
than the PSP, you need to experiment with the fog settings.
Also you should have some knowledge on mapping / using Worldcraft or VHE!!

THIS WILL NOT WORK IN VANILLA QUAKE UNLESS YOU ADD THE TRIGGER_COMMAND INTO THE QC SOURCE!!

1st: Just make a big block around your map, use your trigger texture... Should look like this:



2nd: tie to entity, use "trigger_command" and add your prefered fog value in.. should look like this:



3rd: Compile your map and run it in your game (Quake, Kurok or NZP)...

You will now ALWAYS have the nice fog effect on your map, also this SHOULD
bypass the annoying hardcoded NZP fog..

Example pics with the fog command used to change the look of the map and simulate a sky:

Desert look a like (simulating sandstorm):




Winter look a like:


____________________________________________________________________________________________________
Back to top Go down
View user profile
Radixan
Member
Member


Posts: 36
Cash: 60
Join date: 2012-04-07
Age: 18
Location: Spain

PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Tue Sep 11, 2012 2:17 pm

I have a question...
What is each parameter?

I can see this values:
Code:
fog -250 2000 50 30
But... (If you know what I mean... XD) I don't know what they mean.
Back to top Go down
View user profile
dr_mabuse
QC Coder and mapper
QC Coder and mapper


Posts: 640
Cash: 1327
Join date: 2011-05-28
Age: 33
Location: In ur moms bed..

PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Tue Sep 11, 2012 2:55 pm

the fog values... just enter fog on the console and you see WHAT the parameters mean.

____________________________________________________________________________________________________
Back to top Go down
View user profile
Radixan
Member
Member


Posts: 36
Cash: 60
Join date: 2012-04-07
Age: 18
Location: Spain

PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Tue Sep 11, 2012 5:18 pm

dr_mabuse wrote:
the fog values... just enter fog on the console and you see WHAT the parameters mean.

OK, now, I'll put it easier for everyone.

It's composed by 9 values.

Originals are:
Code:
fog 2 0.2 0.2 0.2 1 600 2000 100 200

And now, I'll explain what they mean.

First value - Smoothness:
To higher number, most distinguishable is the strip between the fog and the clear zone.

2nd, 3rd and 4th values - Colours:
2nd is Red
3rd is Green
4th is Yellow

Fifth value - Transparency:
From 0 to 1.
0 = 100% transparent
1 = 0% transparent

Sixth value - Distance (near):
To higher number, farther you can see. (notice that it approaches from the limit to you)

Seventh value - Distance (far):
To higher number, farther you can see. (notice that it changes the limit distance)

Eighth value - Density (near):
To higher number, more fog. (notice that it only denses from the limit to you)

Ninth value - Density (far):
To higher number, more fog. (notice that it only denses from the limit to skyline)

This is that I've understood after a lot of tries. :D
Back to top Go down
View user profile
Guest
Guest



PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Tue Sep 11, 2012 5:46 pm

Radixan wrote:
dr_mabuse wrote:
the fog values... just enter fog on the console and you see WHAT the parameters mean.

OK, now, I'll put it easier for everyone.

It's composed by 9 values.

Originals are:
Code:
fog 2 0.2 0.2 0.2 1 600 2000 100 200

And now, I'll explain what they mean.

First value - Smoothness:
To higher number, most distinguishable is the strip between the fog and the clear zone.

2nd, 3rd and 4th values - Colours:
2nd is Red
3rd is Green
4th is Yellow

Fifth value - Transparency:
From 0 to 1.
0 = 100% transparent
1 = 0% transparent

Sixth value - Distance (near):
To higher number, farther you can see. (notice that it approaches from the limit to you)

Seventh value - Distance (far):
To higher number, farther you can see. (notice that it changes the limit distance)

Eighth value - Density (near):
To higher number, more fog. (notice that it only denses from the limit to you)

Ninth value - Density (far):
To higher number, more fog. (notice that it only denses from the limit to skyline)

This is that I've understood after a lot of tries. VeryHappy
Nice tutorial
I would give rep but I gave some to mabuse earlier on his original post lol Smilez
Back to top Go down
ScatterBox
Member
Member


Posts: 59
Cash: 97
Join date: 2013-10-23
Location: Inside the icebox

PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Mon Jan 27, 2014 9:08 pm

Sorry to dig up an old topic, but I can't get this to work. Is it because I have a skybox?

I have implemented this into QC directly from the NZ:P source. So I don't see why it wouldn't work using Kurok.

____________________________________________________________________________________________________
Back to top Go down
View user profile
Douch_Dagger
Member
Member


Posts: 37
Cash: 80
Join date: 2013-07-09
Age: 23
Location: california

PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Mon Jan 27, 2014 11:48 pm

wth?! is this nzp or not? i've never seen the HUD like that

____________________________________________________________________________________________________
I like my Zombies Lively Undead.


NZP Hamachi Network:Revnova  Password:sk
Steam:Revnova
Youtube: https://www.youtube.com/channel/UCgHZmFFhYA6EuDN8wdo9Oag
Intrests:Zombie Murdering, and Horror
Back to top Go down
View user profile
ScatterBox
Member
Member


Posts: 59
Cash: 97
Join date: 2013-10-23
Location: Inside the icebox

PostSubject: Re: Adding custom fog to your NZP/Kurok/Quake maps   Tue Jan 28, 2014 2:01 am

Douch_Dagger wrote:
wth?! is this nzp or not? i've never seen the HUD like that

Umm. Ok, that was completely off topic from what I posted, but this HUD is from the PSP game Cause of War: 1944.

http://www.moddb.com/games/cause-of-war-1944
Back to top Go down
View user profile
 

Adding custom fog to your NZP/Kurok/Quake maps

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Nazi Zombie Portable ::  :: -