Jump to content

Modular Manager Syntax Help


FullOfStars

Recommended Posts

Hi all,

Currently been trying to get a little more in depth with my modding and config file skills. I've been trying to integrate and merge several planetpacks and I've noticed that my Scatterer and Clouds settings are a mess because of this, leading to them not working or such.
So, I decided to take it back to basics. I've been reading the Scatterer and Module Manager wikis through and through and decided I needed to get my commands and syntax up to speed. 
I'm at bare bones here, but I'm still confused. I'm just trying to get these commands to do anything, so I would really appreciate someone to look over the following. Remember that this is just a training exercise for me.
1. Install Scatterer 

2. Remove Planet List

3. New Folder that I dropped the stock Scatterer planet list and configs into (I would have assumed I would have to force it to load this but apparently it just, takes it no matter what.)

4. Added a new config in that same New mod folder that was planetlist update with the following:

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]
        {}
        Item...

 @Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]
        {}
        Item... etc etc etc...

What exactly am I doing wrong? I've tried doing both [Scatterer] and [Scatterer_planetsList]. The goal obviously is to simply remove scatterer from Kerbin but leave the rest unchanged (this is important to me to know that what I'm doing is working or isn't). Played around with a bunch of other syntax too but, this seems like it should be how to modify something like this. Maybe I'm not understanding how everything is loaded in KSP. The goal was supposed to be: Load KSP no Scatterer config -> Load Scatter Config from New Mod  Folder -> Modify Scatter Planetlist config to remove Kerbin. I tested Scatter with no config, works, I test Scatter with the configs in the new mod folder, works. Can't get it to budge. Tips, hints, tricks, pathing and loading breakdowns, or links appreciated. Thanks. 

Link to comment
Share on other sites

From your example, what is "Item..etc, etc"?
Anything added would need to be properly defined as a proper node{}....
Also, there are no closing brackets in your example.
ie, you need the last two brackets

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]
        {}
        Item... etc etc etc...
    }
}


 

Edited by Stone Blue
Link to comment
Share on other sites

56 minutes ago, Stone Blue said:

From your example, what is "Item..etc, etc"?
Anything added would need to be properly defined as a proper node{}....
Also, there are no closing brackets in your example.
ie, you need the last two brackets

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]
        {}
        Item... etc etc etc...
    }
}


 

This was just how they had it listed in the config, that was the node name, Item with Kerbin trying to be the value. I did manage to get Scatterer to work, but now I can't get EVE_Clouds to stack properly. 

Link to comment
Share on other sites

hmm... then you need to also define the replacement Item node properly, withits own brackets, too:

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]{}

        Item
        {
			... etc etc etc...
        }
    }
}

OK.. this seems to be the original:
 

Scatterer_planetsList
{		
	scattererCelestialBodies
	{
		Item
		{
			celestialBodyName = Kerbin
			transformName = Kerbin
			loadDistance = 100000000
			unloadDistance = 200000000
			hasOcean = True
			flatScaledSpaceModel = True
			usesCloudIntegration = True
			mainSunCelestialBody = Sun
			sunColor = 1.0,1.0,1.0
			eclipseCasters
			{
				Item = Mun
				Item = Minmus
			}
			planetshineSources
			{
				Item
				{
					bodyName = Mun
					color = 1,1,1
					intensity = 0.0799999982
					isSun = False
				}
			}
		}

Are you *only* trying to delete Kerbin? or trying to delete/replace with something?
If delete *only*, you *should* just need:
 

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]{}
    }
}

At least as far as the *syntax* goes...
I have no idea what the *results* of straight up deleteing, or deleting/replacing that node, will be...
I'm not familiar with Scatterer/EVE/Kopernicus...

Edited by Stone Blue
Link to comment
Share on other sites

4 hours ago, Stone Blue said:

hmm... then you need to also define the replacement Item node properly, withits own brackets, too:

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]{}

        Item
        {
			... etc etc etc...
        }
    }
}

OK.. this seems to be the original:
 

Scatterer_planetsList
{		
	scattererCelestialBodies
	{
		Item
		{
			celestialBodyName = Kerbin
			transformName = Kerbin
			loadDistance = 100000000
			unloadDistance = 200000000
			hasOcean = True
			flatScaledSpaceModel = True
			usesCloudIntegration = True
			mainSunCelestialBody = Sun
			sunColor = 1.0,1.0,1.0
			eclipseCasters
			{
				Item = Mun
				Item = Minmus
			}
			planetshineSources
			{
				Item
				{
					bodyName = Mun
					color = 1,1,1
					intensity = 0.0799999982
					isSun = False
				}
			}
		}

Are you *only* trying to delete Kerbin? or trying to delete/replace with something?
If delete *only*, you *should* just need:
 

@Scatterer_planetsList:AFTER[Scatterer]
{        
    @scattererCelestialBodies
    {
        !Item[Kerbin]{}
    }
}

At least as far as the *syntax* goes...
I have no idea what the *results* of straight up deleteing, or deleting/replacing that node, will be...
I'm not familiar with Scatterer/EVE/Kopernicus...

That was exactly it, thank you. The reason I was deleting it in the first place was because I was using After Kerbin for a backbone and it replaced Kerbin with a different planet, but then I was adding it back then. I've since changed over to using the other planet mods as a backbone which doesn't do this, but I can still delete stock bodies. My big issue now is EVE_Clouds not loading properly, but I've been able to get Scatterer to work by simply stacking @ on the two Scatterer planetlist and celestial bodies. 

Link to comment
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.

×
×
  • Create New...