Bill2462

Scaled Space, Kopernicus - Question

Recommended Posts

Hi! 

I'm developing my own mod ( Reworked Stock System ) that replaces stock planets terrain. But I have some problems with scaled space. 

For example on Ikarus ( new asteroid alike duna moon) : 

This is Ikarus when i'm above real terrain mode activation altitude : 

XIfUIQ0.png

And suddenly... 

FGdzWGA.png

It's now a way bigger and also it's shape is more irregular. 

Here is my Ikarus configuration ( for Kopernicus mod) : 

@Kopernicus:AFTER[KOPERNICUS]
{
	Body
	{
		name = Ikarus
		cacheFile = ReSS_V0.4/cache/Ikarus.bin
        Template
        {
            name = Gilly
			removePQSMods = VertexSimplexNoiseColor
        }
		Properties 
		{
			description = Ikarus is a medium size asteroid orbiting very close to Duna. Kerbal scientists predicted that it will be soon destroyed by Duna tidal forces. 
			radius = 13000
			geeASL = 0.004
			rotationPeriod = 60000
			rotates = true 
			tidallyLocked = false
			initialRotation = 0
			isHomeWorld = false 
			timewarpAltitudeLimits = 0 20000 25000 30000 45000 50000 90000 120000
			sphereOfInfluence = 120000
			ScienceValues
			{
				landedDataValue = 9
				splashedDataValue = 1
				flyingLowDataValue = 1
				flyingHighDataValue = 1
				inSpaceLowDataValue = 8
				inSpaceHighDataValue = 6
				recoveryValue = 6
				flyingAltitudeThreshold = 18000
				spaceAltitudeThreshold = 6000
			}	
		}
		Orbit 
		{
			referenceBody = Duna
			color = 1,1,1,1
			inclination = 8.9
			eccentricity = 0.1
			semiMajorAxis = 1032900
			longitudeOfAscendingNode = 0 
			argumentOfPeriapsis = 0
			meanAnomalyAtEpoch = 0
			epoch = 0 
		}
		ScaledVersion 
		{
			type = Vacuum
			fadeStart = 135000
			fadeEnd = 140000
			sphericalModel = False
			deferMesh = False
			Material
			{
				texture = ReSS_V0.4/Duna/pluginData/Ikarus_Color.png
				normals = ReSS_V0.4/Duna/pluginData/Ikarus_Normal.png
				shininess = 0
				specular = 0.0,0.0,0.0,1.0
				rimPower = 0 
				rimBlend = 0 
			}
		}
		PQS
		{
			Mods
			{
			VertexHeightMap
				{
					map = ReSS_V0.4/Duna/pluginData/Ikarus_Height.png
					offset = 0
					deformity = 10000
					scaleDeformityByRadius = True
					order = 20
					enabled = true
				}
				VertexColorMap
				{
					map = ReSS_V0.4/Duna/pluginData/Ikarus_Color.png
					order = 20
					enabled = true
				}
		
					
			}
		}
		}
		}

I have no Idea what is going on there. Probably something wrong with my configuration but I tried everything and I still have the same issue. 

Edited by Bill2462

Share this post


Link to post
Share on other sites

Yes, and I discovered that  I can fix this problem by simple pressing "update mesh" button. But I need to do that every time I launch the game. 

I need to force updating mesh in Copernicus config and I don't know how. I can't see this option in Kittopia Tech editor. 

Any ideas? 

Share this post


Link to post
Share on other sites

Oh, I found it! 

I just needed to add this into cfg : 

		Debug
		{
			exportMesh = true
			update = true
		}
		cacheFile = ReSS/cache/Ikarus.bin

And now everything works fine! 

Share this post


Link to post
Share on other sites
On 2/2/2017 at 3:58 PM, Bill2462 said:

Oh, I found it! 

I just needed to add this into cfg : 


		Debug
		{
			exportMesh = true
			update = true
		}
		cacheFile = ReSS/cache/Ikarus.bin

And now everything works fine! 

Where exactly did you put the debug order?

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.