Skip to content

Commit

Permalink
Space Wind Nerf
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmosgc committed Jan 30, 2025
1 parent ede1183 commit 80fb35e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Content.Shared/CCVar/CCVars.Atmos.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@ public sealed partial class CCVars
CVarDef.Create("atmos.space_wind", true, CVar.SERVERONLY);

public static readonly CVarDef<float> SpaceWindStrengthMultiplier =
CVarDef.Create("atmos.space_wind_strength_multiplier", 1f, CVar.SERVERONLY);
CVarDef.Create("atmos.space_wind_strength_multiplier", 0.5f, CVar.SERVERONLY);

/// <summary>
/// Divisor from maxForce (pressureDifference * 2.25f) to force applied on objects.
/// </summary>
public static readonly CVarDef<float> SpaceWindPressureForceDivisorThrow =
CVarDef.Create("atmos.space_wind_pressure_force_divisor_throw", 15f, CVar.SERVERONLY);
CVarDef.Create("atmos.space_wind_pressure_force_divisor_throw", 8f, CVar.SERVERONLY);

/// <summary>
/// Divisor from maxForce (pressureDifference * 2.25f) to force applied on objects.
/// </summary>
public static readonly CVarDef<float> SpaceWindPressureForceDivisorPush =
CVarDef.Create("atmos.space_wind_pressure_force_divisor_push", 2500f, CVar.SERVERONLY);
CVarDef.Create("atmos.space_wind_pressure_force_divisor_push", 2000f, CVar.SERVERONLY);

/// <summary>
/// The maximum velocity (not force) that may be applied to an object by atmospheric pressure differences.
/// Useful to prevent clipping through objects.
/// </summary>
public static readonly CVarDef<float> SpaceWindMaxVelocity =
CVarDef.Create("atmos.space_wind_max_velocity", 15f, CVar.SERVERONLY);
CVarDef.Create("atmos.space_wind_max_velocity", 9f, CVar.SERVERONLY);

/// <summary>
/// The maximum force that may be applied to an object by pushing (i.e. not throwing) atmospheric pressure differences.
/// A "throwing" atmospheric pressure difference ignores this limit, but not the max. velocity limit.
/// </summary>
public static readonly CVarDef<float> SpaceWindMaxPushForce =
CVarDef.Create("atmos.space_wind_max_push_force", 20f, CVar.SERVERONLY);
CVarDef.Create("atmos.space_wind_max_push_force", 10f, CVar.SERVERONLY);

/// <summary>
/// If an object's mass is below this number, then this number is used in place of mass to determine whether air pressure can throw an object.
Expand All @@ -48,7 +48,7 @@ public sealed partial class CCVars
/// And maybe do your part to fix that? :)
/// </remarks>
public static readonly CVarDef<float> SpaceWindMinimumCalculatedMass =
CVarDef.Create("atmos.space_wind_minimum_calculated_mass", 5f, CVar.SERVERONLY);
CVarDef.Create("atmos.space_wind_minimum_calculated_mass", 4f, CVar.SERVERONLY);

/// <summary>
/// Calculated as 1/Mass, where Mass is the physics.Mass of the desired threshold.
Expand Down

0 comments on commit 80fb35e

Please sign in to comment.