Holdfast: Nations At War

Holdfast: Nations At War

Not enough ratings
Xarks Fog Replacer
   
Award
Favorite
Favorited
Unfavorite
Type: Script
File Size
Posted
Updated
749.433 KB
27 Apr @ 5:49am
9 Jun @ 10:18am
33 Change Notes ( view )

Subscribe to download
Xarks Fog Replacer

In 2 collections by Xarkanoth
Commander Battle | NA | Hosted by the CSG
10 items
CSG Monday EU Linebattle
29 items
Description
Xark's Fog Replacer V1.0
Upgrade your battles with beautiful, dynamic volumetric fog! Xark’s Fog Replacer overhauls the default fog system with a fully customizable, realistic solution, bringing your server's atmosphere to life.



Features
    [] Replaces default fog with high-quality volumetric fog.[] Realistic swirling and movement with noise control.[] Smooth transitions between fog states.[] Full customization for fog color, density, brightness, scale, and height.[] Automatic synchronization for players who join mid-game.[] Highly optimized performance — minimal resource impact.



Admin Controls
Use RC commands to control fog dynamically during gameplay.
    [] fog on – Enable fog for yourself.[] fog off – Disable fog for yourself.[] fog on all – Enable fog for all players.[] fog off all – Disable fog for all players.

Installation
Do not install server_only.
mods_installed 3471510700 # Xarks_Fog_Replacer
load_mod 3471510700 # Xarks_Fog_Replacer

Customization Options
Fine-tune your battlefield atmosphere with the following variables:
    [] Density: Adjust fog thickness.[] Brightness: Set the overall brightness level.[] Noise Strength: Control swirling movement.[] Maximum Distance: Define how far the fog extends.[] Fog Scale: The size of the fog.[] Fog Height: How tall the fog is[] Albedo: Color of the fogMust be Hex*[] Base Height: Y position of the fog.



Mod Variables
These may be global or local variables:
mod_variable XFS:<name>:<value>
    []density[]brightness[]noisestrength[]maxdistance[]fogscale[]fogheight[]fogbaseheight[]albedo

Here is a default config you can use to start off with:
mod_variable XFS:density:0.015 mod_variable XFS:brightness:0.3 mod_variable XFS:noisestrength:1.35 mod_variable XFS:maxdistance:500 mod_variable XFS:fogscale:500 mod_variable XFS:fogheight:28.5 mod_variable XFS:fogbaseheight:2.5 mod_variable XFS:albedo:DAE5F0



Technical Highlights
    [] Auto far clip plane adjustments for better visuals.
  • Integrated distance fog disabling.