Fog and worldspawn

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

Mon Jul 23, 2007 8:45 am

  • From an earlier post on this forum, fog should be placed not in the cfg file, but in the worldspawn

    How does one do that? Is the "worldspawn" a text file like the cfg or is it just a random brush?
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Jul 23, 2007 9:54 pm

  • It's an entity, I think.
    Shoe
    Keyboard killer
     
    Posts: 517
    Joined: Wed Mar 08, 2006 2:18 am

Mon Jul 23, 2007 9:57 pm

  • Shoe wrote:It's an entity, I think.

    Ok.. but how do I do anything with it? It apears on the entity list, but Radiant won't let me create a "worldspawn" entty.
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Mon Jul 23, 2007 10:24 pm

  • Clueless Newbie wrote:Ok.. but how do I do anything with it? It apears on the entity list, but Radiant won't let me create a "worldspawn" entty.

    That's because there already is one. I'm not a mapper, but it should be the first thing radiant creates when you create a new map. Every brush belongs to worldspawn, so to edit it, open the entity inspector and select an arbitrary brush.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Tue Jul 24, 2007 10:37 am

  • KadaverJack wrote:
    Clueless Newbie wrote:Ok.. but how do I do anything with it? It apears on the entity list, but Radiant won't let me create a "worldspawn" entty.

    That's because there already is one. I'm not a mapper, but it should be the first thing radiant creates when you create a new map. Every brush belongs to worldspawn, so to edit it, open the entity inspector and select an arbitrary brush.

    That worked. Thanks.

    However, I noticed that the fog also blocks out the sky/skybox. Is there any way to prevent the fog from doing this? I don't want a thick fog that obscures parts of the map - just a little haze for the long views.
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Tue Jul 24, 2007 4:43 pm

  • World fog will always hide the skybox, simplified the sky is drawn at infinite distance so the fog will alwys be opace there, nomatter how thin it is. Unfortunatly dp only supports world fog and not fog volumes like some other games have.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Tue Jul 24, 2007 6:11 pm

  • tZork wrote:World fog will always hide the skybox, simplified the sky is drawn at infinite distance so the fog will alwys be opace there, nomatter how thin it is. Unfortunatly dp only supports world fog and not fog volumes like some other games have.

    Ah, that's too bad. A thin haze of fog plus a visible landscape/skybox looks really great - if done right.

    Oh well. Now I know how to do fog in levels that don't have visible skies.
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Wed Jul 25, 2007 2:56 am

  • Another thing i noticed about skyboxes is you can only have 1 per level. Maybe someone with engine knowledge can confirm this for me.
    User avatar
    ihsan
    Alien trapper
     
    Posts: 305
    Joined: Fri Mar 03, 2006 3:33 pm
    Location: Trinidad (Where Obama met Chavez)



Return to Nexuiz - Editing




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