How to make fog

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Sun May 31, 2009 10:23 am

  • how to make fog in NetRadiant ??
    Kay
    Alien
     
    Posts: 182
    Joined: Sat Jun 07, 2008 4:46 pm
    Location: Behind bars

Sun May 31, 2009 1:34 pm

  • Its just a set thing in the worldspawn. Theres no way to make say a single room with fog, it can only be done globally as far as I'm aware.

    If you look in the worldspawn the name for it will be something like:

    fog [strength] [color]

    The strength being how dense the fog is. Use a value far less than 1 or you wont be able to see anything :P
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Sun May 31, 2009 4:40 pm

  • try trigger_multiple >> event >> paticles >> type >> smoke.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Sun May 31, 2009 4:45 pm

  • That would look stupid and eat too much FPS.
    As Sepelio said, you should set it up in worldspawn. The description of the entity tells all the info you need.
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Sun May 31, 2009 4:48 pm

  • particles can be used to make dynamic fog, but yes, will eat up fps.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Sun May 31, 2009 5:52 pm

  • No smoke, please.

    My graphics hardware hates smoke.

    The game will run smooth as visibly possible, then comes a smoke effect and then it all goes to hell.
    My will be done.
    User avatar
    AnArKiSt
    Alien
     
    Posts: 176
    Joined: Fri Feb 27, 2009 6:41 am
    Location: Behind a firewall.

Sun May 31, 2009 5:53 pm

Sun May 31, 2009 6:20 pm

  • key: fog
    value: density r g b mindist maxdist (this is what ive rwemember can be wrong :P )
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany

Sun May 31, 2009 9:14 pm

  • Sven wrote:key: fog
    value: density r g b mindist maxdist (this is what ive rwemember can be wrong :P )


    Looks more correct than mine :P

    On this note of particles, how can I use a point particles to simulate rain/falling water?

    (in this case, its for my assault map. I want the player to destroy a pipe, and then have it begin spraying water)
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Sun May 31, 2009 9:36 pm

  • first set up your particles, for this you need 2 emiters to do the water spray arch, then link them to a trigger_multiple and the downward part starts 2 seconds later.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Sun May 31, 2009 10:06 pm

  • Alright I have no idea how to make them work. Whats all this about setting particle types and bgm files and....

    Tutorial anywhere?
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Sun May 31, 2009 10:08 pm

  • check the grand howto. i'll see if i can find one, if not, i'll make one.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Sun May 31, 2009 10:11 pm

  • Doesn't look like theres anything in there... I can't seem to get it to work so I'm at a brick wall now!
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Sun May 31, 2009 10:12 pm

Mon Jun 01, 2009 6:50 am

  • Sepelio wrote:
    Sven wrote:key: fog
    value: density r g b mindist maxdist (this is what ive rwemember can be wrong :P )


    Looks more correct than mine :P

    On this note of particles, how can I use a point particles to simulate rain/falling water?

    (in this case, its for my assault map. I want the player to destroy a pipe, and then have it begin spraying water)


    func_rain ...and im waiting for your assualt map :) ´
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany

Mon Jun 01, 2009 8:34 am

  • ty guys, i gonna try it :D

    hehe im a noob here, where can i find the Worldspawn
    Kay
    Alien
     
    Posts: 182
    Joined: Sat Jun 07, 2008 4:46 pm
    Location: Behind bars

Mon Jun 01, 2009 8:52 am

  • The worldspawn is the single entity stores the noninteractive parts of a map.

    It includes brushes, the skybox, etc.
    My will be done.
    User avatar
    AnArKiSt
    Alien
     
    Posts: 176
    Joined: Fri Feb 27, 2009 6:41 am
    Location: Behind a firewall.

Mon Jun 01, 2009 9:28 am

  • flipje225 wrote:where can i find the Worldspawn


    In Netradiant, type "L" for entity list, scroll down to the bottom, there it is.

    Select it and type "N" for the entity inspector.

    If you want to have an example, take a look at mentalfog.
    [Tue Aug 5 2008] [00:15:01] <Ronan`> RoKenn, you're an evil person :P
    Image
    RoKenn
    Alien
     
    Posts: 141
    Joined: Wed Apr 25, 2007 10:25 pm

Mon Jun 01, 2009 9:45 am

  • RoKenn wrote:In Netradiant, type "L" for entity list, scroll down to the bottom, there it is.

    Select it and type "N" for the entity inspector.


    yes but how do i add the line:

    fog [strength] [color]

    in it :roll: :roll:
    Kay
    Alien
     
    Posts: 182
    Joined: Sat Jun 07, 2008 4:46 pm
    Location: Behind bars

Mon Jun 01, 2009 9:59 am

  • flipje225 wrote:yes but how do i add the line:

    fog [strength] [color]


    As Key you enter "fog".
    As Value you enter "1 0.2 0.2 0.2 0.997 800".
    Then you press return.
    [Tue Aug 5 2008] [00:15:01] <Ronan`> RoKenn, you're an evil person :P
    Image
    RoKenn
    Alien
     
    Posts: 141
    Joined: Wed Apr 25, 2007 10:25 pm

Mon Jun 01, 2009 3:20 pm

  • flipje225 wrote:
    RoKenn wrote:In Netradiant, type "L" for entity list, scroll down to the bottom, there it is.

    Select it and type "N" for the entity inspector.


    yes but how do i add the line:

    fog [strength] [color]

    in it :roll: :roll:


    worldspawn is the entity which a box you created is when you dont set it to another entity(like trigger_teleport,func_ladder,func_door,etc...)
    1. with shift+left mouse click on a worldspawnpart
    2. press 'n'
    3. you see 2 fields: key and value
    4. 'key: fog' and 'value: density r g b mindist maxdist' then press enter

    eg for fog:
    key|value
    fog 0.2 0.1 0.1 0.4 1 1


    ...wow the thing with 'L' i didnt know its reaaly useful ;)
    i thought i will do the same as 'm' its another list but informates you about the count of the entities :D
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest