Creating your own fog

A Tutorial for Source Engine

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Foofinoo points.
  • Post: Give Foofinoo your thoughts on this Tutorial.
  • Vote: Help Foofinoo win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Resistance is futile...

Join GameBanana

Already a Bananite? Login

Updates

Various Fixes
  • English Mistakes
  • Text Formatting
Foofinoo avatar
Foofinoo avatar Lost in time...
Cell 1 Flag Affiliation: Cell 1
Member Joined 4y
5,643 points Ranked 794th
24 medals 2 legendary 4 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Thanked 50 submitters Medal icon
Foofinoo avatar
Foofinoo
Cell 1 Flag
Cell 1
17d

You will learn how to create your own fog...

Just another update...

This tutorial was requested by NvC_DmN_CH.

This is my 4th tutorial, and it's about the fog... No, it's about YOUR fog !!

To create your own fog, I will explain the different properties of the entity we will use : func_smokevolume.

Otherwise, the func_smokevolume can have others "smoky" applications : explosions, steam, some kind of clouds, smolders...

However, it's still pretty easy but it can take some time to make the seeked effect.

START 

1. Firstly, make the area where your fog will be.

2. Secondly, create a block using the trigger texture and turn that block into a func_smokevolume.

Now, change it's values :
  • Particle Color 1 : 230 230 230 (really light grey)
  • Particle Color 2 : 220 220 220 (a little bit darker than the first one)
  • Material : particle/smokesprites_0007
  • Particle Draw Width : 130
  • Particle Spacing Distance : 50
  • Density Ramp Speed : 0.05
  • Rotation Speed : 5
  • Movement Speed : 5
  • Density : 0.35

3. And done !! You probably think it's fast but you can do a lot of tests before you find the fog of your dreams...

EXPLANATIONS

  • Particle Color 1 : Even if this entity is only using 1 sprite, you can choose 2 colors to have a fancier fog. This is the first color...
  • Particle Color 2 : ...And this is the second
  • Material : This is the sprite sued for the fog effect
  • Particle Draw Width : It's the size of the sprite
  • Particle Spacing Distance : The distance between each sprite (smaller value = more sprites)
  • Density Ramp Speed : This is the time needed for the sprites to fade between invisible to the density choosen value
  • Rotation Speed : The speed that the sprites will rotate
  • Movement Speed : The speed that the sprites will move 
  • Density : This is the opacity of your sprites

Don't forget that this is heavily modifiable, and you can get a lot of differents results : you might have to make a lot of tests to find the fog of your dreams...

END

Notes :
  • This type of fog can easily decrease performance. You should use them sparingly
  • Some steps have their own screenshots, don't forget to look at them
  • I hope that you have learn something and that it was not so hard to understand
  • Thanks for reading !!

Posts

  • 3y
    NvC_DmN_CH avatar
    NvC_DmN_CH avatar There
    Apocalyptic Flag Affiliation: Apocalyptic
    Member Joined 4y
    3,718 points Ranked 1224th
    36 medals 1 legendary 5 rare
    • Returned 5000 times Medal icon
    • Submitted 20 Gamefiles Medal icon
    • 3rd Place - The
    • 2nd Place - Alien Devices Modeling Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    NvC_DmN_CH avatar
    NvC_DmN_CH
    Apocalyptic Flag
    Apocalyptic
    > **Posted by Sally-2K**

    > There are some limits, you can only have 2048 sprites to be emitted by the func_smokevolume on the map. So if you cover a large area usually about half of that smokevolume will be filled with the smoke particles and the other half being just air

    make smaller area :D or make more func_smokevolume-s.
    I mean:

    **example:**
    if your room is 4096x4096, make a func_smokevolume big as the room's size, and clip it so there to be more than one func_smokevolume, there should be more particles which will fill this air

    10/10

    DmN means DiaMoNd avatar
    Mantra
    DmN means DiaMoNd
  • 3y
    Sally-2K avatar
    Sally-2K Offline
    Member Joined 5y
    There are some limits, you can only have 2048 sprites to be emitted by the func_smokevolume on the map. So if you cover a large area usually about half of that smokevolume will be filled with the smoke particles and the other half being just air
    Call me Masterb8es
  • 3y
    NvC_DmN_CH avatar
    NvC_DmN_CH avatar There
    Apocalyptic Flag Affiliation: Apocalyptic
    Member Joined 4y
    3,718 points Ranked 1224th
    36 medals 1 legendary 5 rare
    • Returned 5000 times Medal icon
    • Submitted 20 Gamefiles Medal icon
    • 3rd Place - The
    • 2nd Place - Alien Devices Modeling Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    NvC_DmN_CH avatar
    NvC_DmN_CH
    Apocalyptic Flag
    Apocalyptic
    aa... It seems to be very easy.... Thank you very much! Is very good tutorial, helpful too!

    10/10! Excellent work!

    10/10

    • Thanks x 1
    DmN means DiaMoNd avatar
    Mantra
    DmN means DiaMoNd

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Creator
Foofinoo avatar Cell 1 Flag
Cell 1
Foofinoo avatar Offline
Cell 1 Flag Affiliation: Cell 1
Member Joined 4y
5,643 points Ranked 794th
24 medals 2 legendary 4 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Thanked 50 submitters Medal icon
Writer

Submitter

Foofinoo avatar
Foofinoo avatar Lost in time...
Cell 1 Flag Affiliation: Cell 1
Member Joined 4y
5,643 points Ranked 794th
24 medals 2 legendary 4 rare
  • Returned 5000 times Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • 2nd Place - Marble Tracks Redux Contest Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Thanked 50 submitters Medal icon

Foofinoo avatar
Foofinoo
Cell 1 Flag
Cell 1

Creator
Send a Private Message to the submitter

Category

Details

Difficulty Level
Beginner Difficulty

Stats

Posts
3
Views
2,162
Date Added
3y
Date Modified
17d
Date Updated
17d
bcp.crwdcntrl.net tracking pixel