-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from Sigma88/Development
v0.4.0
- Loading branch information
Showing
100 changed files
with
2,238 additions
and
2,562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
GameData/GalacticNeighborhood/Configs/Core/ProceduralStars/ProceduralStarBase.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@Kopernicus:FOR[KopernicusAfter] | ||
{ | ||
@Body:HAS[#ProceduralStar[True]] | ||
{ | ||
@Properties | ||
{ | ||
&radius = 1 | ||
&mass = 1 | ||
&temperature = 5772 | ||
} | ||
%ScaledVersion | ||
{ | ||
%GNCoronae | ||
{ | ||
%temperature = #$../../Properties/temperature$ | ||
%radius = #$../../Properties/radius$ | ||
} | ||
} | ||
@Properties | ||
{ | ||
@radius *= 261600000 // real = 69570000 | ||
@mass *= 1.75656696858329e28 // real = 1.988435e28 | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[*]] | ||
{ | ||
%ProceduralStar | ||
{ | ||
type = #$../ProceduralStarType$ | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],!PQS] | ||
{ | ||
Debug | ||
{ | ||
exportMesh = False | ||
} | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
GameData/GalacticNeighborhood/Configs/Core/ProceduralStars/ProceduralStarStockColor.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
@Kopernicus:HAS[~RealisticStars[True]]:FOR[KopernicusAfter] | ||
{ | ||
@Body:HAS[#ProceduralStar[True]] | ||
{ | ||
%ProceduralStar | ||
{ | ||
%temperature = #$../Properties/temperature$ | ||
%emitColor0 = GalacticNeighborhood/Textures/Spectra/StockSpectrum0 | ||
%emitColor1 = GalacticNeighborhood/Textures/Spectra/StockSpectrum1 | ||
%sunspotColor = GalacticNeighborhood/Textures/Spectra/sunspotColor | ||
%lightColor = GalacticNeighborhood/Textures/Spectra/RealSpectrum | ||
} | ||
%ScaledVersion | ||
{ | ||
%Material | ||
{ | ||
%sunspotPower = 0.6 | ||
%rimBlend = 0 | ||
} | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[BrownDwarf]] | ||
{ | ||
%ScaledVersion | ||
{ | ||
%Light | ||
{ | ||
sunLensFlareColor = 0.25,0.1,0.1,1 | ||
} | ||
%Material | ||
{ | ||
%sunspotPower = 0 | ||
%noiseMap = BUILTIN/gas1_clouds | ||
} | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[RedGiant]] | ||
{ | ||
%ProceduralStar | ||
{ | ||
!emitColor1 = DEL | ||
!sunspotColor = DEL | ||
emitColorMult = 1.2 | ||
%sunspotTemp = 5772 | ||
} | ||
%ScaledVersion | ||
{ | ||
%Material | ||
{ | ||
%sunspotTex = GalacticNeighborhood/Textures/Maps/RedGiant | ||
%sunspotPower = 1 | ||
} | ||
} | ||
} | ||
} | ||
|
||
@Kopernicus:HAS[~RealisticStars[True]]:AFTER[SGN] | ||
{ | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[RedGiant]] | ||
{ | ||
%cacheFile = #GalacticNeighborhood/Cache/$name$.bin | ||
%PQS | ||
{ | ||
%materialType = AtmosphericOptimized | ||
%Mods | ||
{ | ||
VertexHeightMap | ||
{ | ||
map = GalacticNeighborhood/Textures/Maps/RedGiant.dds | ||
offset = 0 | ||
deformity = #$../../../Properties/radius$ | ||
@deformity *= 0.1 | ||
order = 100 | ||
enabled = True | ||
} | ||
} | ||
} | ||
!Debug,* {} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
GameData/GalacticNeighborhood/Configs/Core/ProceduralStars/ProceduralStarStockCorona.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
@Kopernicus:HAS[~RealisticStars[True]]:FOR[KopernicusAfter] | ||
{ | ||
@Body:HAS[#ProceduralStar[True]] | ||
{ | ||
%ScaledVersion | ||
{ | ||
%GNCoronae | ||
{ | ||
!Corona,* {} | ||
Corona | ||
{ | ||
mainTexture = GalacticNeighborhood/Textures/Coronae/typeX_corona | ||
mainTextureScale = 1,1 | ||
} | ||
} | ||
@GNCoronae:HAS[#temperature[<5500]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTexture ^= :X:K: | ||
} | ||
} | ||
@GNCoronae:HAS[~temperature[<5500],#temperature[<7500]] | ||
{ | ||
@Corona | ||
{ | ||
!mainTexture = DEL | ||
} | ||
} | ||
@GNCoronae:HAS[~temperature[<7500],#temperature[<8500]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTexture ^= :X:F: | ||
} | ||
} | ||
@GNCoronae:HAS[~temperature[<8500],#temperature[<15000]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTexture ^= :X:A: | ||
} | ||
} | ||
@GNCoronae:HAS[~temperature[<15000]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTexture ^= :X:O: | ||
} | ||
} | ||
@GNCoronae:HAS[#radius[<0.5]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTextureScale = 0.4277,1 | ||
} | ||
} | ||
@GNCoronae:HAS[#radius[>2]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTextureScale = 2,1 | ||
} | ||
} | ||
@GNCoronae:HAS[#radius[>10]] | ||
{ | ||
@Corona | ||
{ | ||
@mainTextureScale = 3,1 | ||
} | ||
} | ||
@GNCoronae:HAS[@Corona] | ||
{ | ||
#Corona {} | ||
} | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[WhiteDwarf]] | ||
{ | ||
@ScaledVersion | ||
{ | ||
@GNCoronae | ||
{ | ||
@Corona,* | ||
{ | ||
%mainTexture = GalacticNeighborhood/Textures/Coronae/typeF_corona | ||
%mainTextureOffset = 0,0.06 | ||
} | ||
} | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[BrownDwarf]] | ||
{ | ||
@ScaledVersion | ||
{ | ||
@GNCoronae | ||
{ | ||
@Corona,* | ||
{ | ||
%localScaleMult = 0.85,0.85,0.85 | ||
} | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
GameData/GalacticNeighborhood/Configs/Core/ProceduralStars/ProceduralStarStockFlare.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
@Kopernicus:HAS[~RealisticStars[True]]:FOR[KopernicusAfter] | ||
{ | ||
@Body:HAS[#ProceduralStar[True]] | ||
{ | ||
%ScaledVersion | ||
{ | ||
%Light | ||
{ | ||
%temperature = #$../../Properties/temperature$ | ||
%sunFlare = GalacticNeighborhood/Textures/Flares/star_flares.unity3d:typeX_starFlare | ||
%activeSunFlare = GalacticNeighborhood/Textures/Flares/sun_flares.unity3d:typeX_sunFlare | ||
} | ||
@Light:HAS[#temperature[<3000]] | ||
{ | ||
@sunFlare ^= :X:M: | ||
!activeSunFlare = DEL | ||
} | ||
@Light:HAS[~temperature[<3000],#temperature[<5200]] | ||
{ | ||
@sunFlare ^= :X:K: | ||
@activeSunFlare ^= :X:K: | ||
} | ||
@Light:HAS[~temperature[<5200],#temperature[<6500]] | ||
{ | ||
@sunFlare ^= :X:K: | ||
@activeSunFlare ^= :X:K: | ||
} | ||
@Light:HAS[~temperature[<6500],#temperature[<7500]] | ||
{ | ||
@sunFlare ^= :X:G: | ||
@activeSunFlare ^= :X:G: | ||
} | ||
@Light:HAS[~temperature[<7500],#temperature[<10000]] | ||
{ | ||
@sunFlare ^= :X:F: | ||
@activeSunFlare ^= :X:F: | ||
} | ||
@Light:HAS[~temperature[<10000],#temperature[<15000]] | ||
{ | ||
@sunFlare ^= :X:A: | ||
@activeSunFlare ^= :X:A: | ||
} | ||
@Light:HAS[~temperature[<15000],#temperature[<22500]] | ||
{ | ||
@sunFlare ^= :X:A: | ||
@activeSunFlare ^= :X:A: | ||
} | ||
@Light:HAS[~temperature[<22500]] | ||
{ | ||
@sunFlare ^= :X:O: | ||
@activeSunFlare ^= :X:O: | ||
} | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[WhiteDwarf]] | ||
{ | ||
@ScaledVersion | ||
{ | ||
@Light | ||
{ | ||
%sunFlare = GalacticNeighborhood/Textures/Flares/star_flares.unity3d:typeF_starFlare | ||
%activeSunFlare = GalacticNeighborhood/Textures/Flares/sun_flares.unity3d:typeF_sunFlare | ||
} | ||
} | ||
} | ||
@Body:HAS[#ProceduralStar[True],#ProceduralStarType[RedGiant]] | ||
{ | ||
@ScaledVersion | ||
{ | ||
@Light | ||
{ | ||
%sunFlare = GalacticNeighborhood/Textures/Flares/star_flares.unity3d:typeK_starFlare | ||
%activeSunFlare = GalacticNeighborhood/Textures/Flares/sun_flares.unity3d:typeK_sunFlare | ||
} | ||
} | ||
} | ||
} |
36 changes: 0 additions & 36 deletions
36
GameData/GalacticNeighborhood/Configs/Core/RescaleBrightness.cfg
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.