Skip to content

Commit

Permalink
remove isp "fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigma88 committed Feb 29, 2020
1 parent 6479f12 commit a4d2231
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
}
@Atmosphere
{
@pressureCurveIsNormalized ^= :t:T:
@pressureCurveIsNormalized ^= :R:r:
@pressureCurveIsNormalized ^= :U:u:
@pressureCurveIsNormalized ^= :E:e:

@temperatureCurveIsNormalized ^= :t:T:
@temperatureCurveIsNormalized ^= :R:r:
@temperatureCurveIsNormalized ^= :U:u:
@temperatureCurveIsNormalized ^= :E:e:

@addAFG ^= :f:F:
@addAFG ^= :A:a:
@addAFG ^= :L:l:
Expand Down
15 changes: 0 additions & 15 deletions GameData/Sigma/Dimensions/Configs/General/atmosphereFix.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,5 @@
%altitude = #$maxAltitude$
%atmosphereDepth = #$maxAltitude$
}


// Fix normalized curves

@Atmosphere:HAS[#pressureCurveIsNormalized[True]]
{
!pressureCurveIsNormalized,* = DEL
%pressureCurveNormalizeFix = True
@pressureCurve
{
@key,*[0, ] *= #$../maxAltitude$
@key,*[2, ] /= #$../maxAltitude$
@key,*[3, ] /= #$../maxAltitude$
}
}
}
}
39 changes: 0 additions & 39 deletions GameData/Sigma/Dimensions/Configs/ReDimension/atmoScale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -132,43 +132,4 @@
}
}
}


// ISP fix

@Body[Kerbin]
{
@Atmosphere
{
@pressureCurve
{
@key,*[0, ] += 1e-6
key,0 = 0 101.325 0 0
}
}
}


// Normalization Fix

@Body,*
{
@Atmosphere:HAS[#pressureCurveNormalizeFix[True]]
{
!pressureCurveNormalizeFix = DEL
pressureCurveIsNormalized = True
@pressureCurve
{
@key,* ^= : : :

@key,* ^= :$: 0 0 0 x:

@key,*[0, ] /= #$../maxAltitude$
@key,*[2, ] *= #$../maxAltitude$
@key,*[3, ] *= #$../maxAltitude$

@key,* ^= : 0 0 0 x$: :
}
}
}
}

0 comments on commit a4d2231

Please sign in to comment.