Jump to content

[1.8.x+] Strategia [v1.8.0] [2019-10-22]


nightingale

Recommended Posts

18 hours ago, nightingale said:

I assume you mean strategies.  Something is likely screwed up - when one fails to load I think it breaks the whole system.  I'd need to see KSP.log to comment further though.

OK thanks - Yes I mean strategies.  Ok I will upload the log onto Dropbox.

Link to comment
Share on other sites

Sorry @nightingale you might already know about this because it may be another Galileo's Planet Pack issue, but I haven't noticed a screenshot in this thread so I'll post one. Strategia 1.7.1 astronaut training says that they start at level zero - and indeed they do when hired.

Spoiler

yvzrsL8.jpg

Meantime if anyone happens to know how I can edit my save file to boost the ones I just hired to level 3, I'd be most grateful if they shared the magic. I need to ship 3 pilots out to deep space pronto! :)

Link to comment
Share on other sites

@eddiew - I did fix something a while back around strategy levels that might be the problem.  Let me do a release as is and see if that fixes it.  If not, will get to it as soon as possible (which may be a bit as I'm travelling for work next week and on vacation the week after).

Also - what do you even have going on?  It looks like some sort of Strategia+ or something...  custom icons, tweaked strategies...

---

And here we go, new release.

Strategia 1.7.2

  • Fixed logic for determining strategy level - this was causing some strategies to be the same for all levels (thanks ibanix).
  • Fixed Astronaut Training Strategies not actually costing extra (thanks Jukelo).
Link to comment
Share on other sites

Thanks @nightingale I'll check that out when I get home tonight :) 

I don't knowingly have anything weird going on... although now you've said it, I realise GPP does say: "The entire databse for Strategia is remastered by Galileo to be fully compatible with GPP. No stock body strategies will appear."

...and I might have missed the May release of that. So I will update both and if that somehow doesn't fix it, I'll pursue it in the GPP thread :) 

Enjoy your travels!

Link to comment
Share on other sites

  • 3 weeks later...

A question, has anyone noticed that with the latest KSP update, that the "to boldly go" rewards for transmitting/collecting science from new biomes isn't working? Everything else seems to be working, though i'll find out more In a few days I've got some probes heading to eve from the eve probes strategy, so we'll see if it counts that. I'd already done the Mun, Minmus and Duna ones before the update. I ask, because I'm not sure if this is just because I was mid career when the update hit, and I've not started a new career to see if the problem continues.

Edited by vardicd
Link to comment
Share on other sites

@nightingale How should I patch Strategia to that when MonthlyBudgets is installed and set to give reputation instead of funds, that Massive Scale Launches also gives reputation instead of funds?
This is because the monthly budget is not put on top of the funds and it's calculated by the reputation - so any surplus by Massive Scale Launches is gone the way it's now.

Link to comment
Share on other sites

@nightingale @severedsolo I will give this a try:

GameData\zFinal\zzz_StrategiaForMonthlyBudgets.cfg

@STRATEGY_BODY_EXPAND[MoonProgram]:HAS[#department[Crewed*]]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationByBody]:HAS[#includeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[CurrencyOperationByBody]:HAS[#excludeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[ContractEffect]
	{
        @advanceFunds = 0
        @advanceFunds
        {
            @Minmus = 0
            @Aptur = 0
            @Serran = 0
        }

        @rewardReputation = 87.5
        @rewardReputation
        {
			@Minmus = 52
			@Aptur = 52
			@Serran = 103
        }

        @rewardFunds = 0
        @rewardFunds
        {
            @Minmus = 0
            @Aptur = 0
            @Serran = 0
        }

        @failureReputation = 650
        failureFunds = 0
	}
}

@STRATEGY_BODY_EXPAND[PlanetaryProgram]:HAS[#department[Crewed*]]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationByBody]:HAS[#includeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[CurrencyOperationByBody]:HAS[#excludeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[ContractEffect]
	{
        @advanceFunds = 0
        @advanceFunds
        {
            @Moho = 0
            @Eve = 0
            @Eeloo = 0
            @Mercury = 0
            @Venus = 0
            @Pluto = 0
            Ernus = 0
            @Lave = 0
            @Titanus = 0
        }

        @rewardReputation = 125
        @rewardReputation
        {
			@Moho = 110
			@Eve = 200
			@Eeloo = 200
			@Mercury = 70
			@Venus = 175
			@Pluto = 250
			@Ernus = 75
			@Lave = 200
			@Titanus = 275
        }

        @rewardFunds = 0
        @rewardFunds
        {
            @Moho = 0
            @Eve = 0
            @Eeloo = 0
            @Mercury = 0
            @Venus = 0
            @Pluto = 0
            Ernus = 0
            @Lave = 0
            @Titanus = 0
        }

        @failureReputation = 650
        @failureFunds = 0
	}
}

@STRATEGY_BODY_EXPAND[GasGiantProgram]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationByBody]:HAS[#includeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[CurrencyOperationByBody]:HAS[#excludeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[ContractEffect]
	{
		@advanceFunds = 0
        @rewardReputation = 550
        @rewardFunds = 0

        @failureReputation = 1000
        @failureFunds = 0
	}
}

@STRATEGY_LEVEL_EXPAND[AstronautTrainingProgram]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationWithPopup]
	{
		@currency = Reputation
	}
}

@STRATEGY_LEVEL_EXPAND[MassiveLaunches]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[OrbitWeightBonus]:HAS[#minLevel[3]]
	{
        @funds 
        {
            @3 = 0
        }
		reputation
		{
			3 = 14
		}
	}

	@EFFECT[OrbitWeightBonus]:HAS[#minLevel[2]]
	{
		@funds 
		{
			@2 = 0
			@3 = 0
		}
		@reputation
		{
			@2 = 14
			@3 = 31
		}
	}

	@EFFECT[OrbitWeightBonus]:HAS[~minLevel[]]
	{
        @funds 
        {
            @1 = 0
            @2 = 0
            @3 = 0
        }
		@reputation
		{
			@1 = 14
			@2 = 31
			@3 = 36
		}
	}
}

@STRATEGY_LEVEL_EXPAND[MediaCircus]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@!EFFECT[CurrencyOperation]:HAS[#currency[Funds]]
	{
        @minValue
        {
            @1 = 0
            @2 = 0
            @3 = 0
        }
        @maxValue
        {
            @1 = 0
            @2 = 0
            @3 = 0
        }
	}
	@EFFECT[CurrencyOperation]:HAS[#currency[Reputation]]
	{
		minValue
		{
			1 = 2.5
			2 = 5
			3 = 10
		}
		maxValue
		{
			1 = 2.5
			2 = 5
			3 = 10
		}
	}
}

@STRATEGY_LEVEL_EXPAND[BoldlyGo]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[ExplorationFundingEffect]:HAS[#explorationType[Biome]]
	{
        @rewardFunds
        {
            @1 = 0
            @2 = 0
            @3 = 0
        }
		rewardReputation
		{
			1 = 1.5
			2 = 2.5
			3 = 5
		}
	}

	@EFFECT[ExplorationFundingEffect]:HAS[#explorationType[CelestialBody]]
	{
        @rewardFunds
        {
            @2 = 0
            @3 = 0
        }
		rewardReputation
		{
			2 = 10
			3 = 20
		}
	}

	@EFFECT[CurrencyOperationByBody]
	{
		@currency = Reputation
	}
}

@STRATEGY_LEVEL_EXPAND[ProbeFrenzy]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationUnmanned]:HAS[#currency[Funds]]
	{
		@currency = Reputation
	}
}

@STRATEGY_BODY_EXPAND[MoonProgram]:HAS[#department[Uncrewed*]]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationByBody]:HAS[#includeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[CurrencyOperationByBody]:HAS[#excludeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[ContractEffect]
	{
        @advanceFunds = 0
        @advanceFunds
        {
            @Minmus = 0
            @Aptur = 0
            @Serran = 0
        }
		@rewardReputation = 87.5
		@rewardReputation
		{
			@Minmus = 57.5
			@Aptur = 57.5
			@Serran = 112.5
		}

        @rewardFunds = 0
        @rewardFunds
        {
            @Minmus = 0
            @Aptur = 0
            @Serran = 0
        }

        @failureReputation = 505
        @failureFunds = 0
	}
}

@STRATEGY_BODY_EXPAND[PlanetaryProgram]:HAS[#department[Uncrewed*]]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[CurrencyOperationByBody]:HAS[#includeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[CurrencyOperationByBody]:HAS[#excludeBody[*]]
	{
		@currency = Reputation
	}

	@EFFECT[ContractEffect]
	{
        @advanceFunds = 0
        @advanceFunds
        {
            @Moho = 0
            @Eve = 0
            @Eeloo = 0
            @Mercury = 0
            @Venus = 0
            @Pluto = 0
            Ernus = 0
            @Lave = 0
            @Titanus = 0
        }
        @rewardReputation = 150
        @rewardReputation
        {
			@Moho = 110
			@Eve = 200
			@Eeloo = 200
			@Mercury = 60
			@Venus = 175
			@Pluto = 200
			@Ernus = 80
			@Lave = 200
			@Titanus = 275
        }

        @rewardFunds = 0
        @rewardFunds
        {
            @Moho = 0
            @Eve = 0
            @Eeloo = 0
            @Mercury = 0
            @Venus = 0
            @Pluto = 0
            Ernus = 0
            @Lave = 0
            @Titanus = 0
        }

		@failureReputation = 650
		@failureFunds = 0
	}
}

@STRATEGY[ImpactorProbes]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[ContractEffect]
	{
        @advanceFunds = 0
        @rewardReputation = 150
        @rewardFunds = 0

		@failureReputation = 650
		@failureFunds = 0
	}
}

@STRATEGY[FlyByProbes]:NEEDS[CustomBarnKit,Strategia,MonthlyBudgets]:FINAL
{
	@EFFECT[ContractEffect]
	{
        @advanceFunds = 0
        @rewardReputation = 150
        @rewardFunds = 0

		@failureReputation = 650
		@failureFunds = 0
	}
}

 

Edited by Gordon Dry
and some more fixes
Link to comment
Share on other sites

  • 1 month later...

@eddiew there's a fix for this in an unreleased commit in the GPP github repo. I think a new version is coming out soon to complement 1.4.5 kopernicus update but if you want the config fixed now:

https://github.com/Galileo88/Galileos-Planet-Pack/blob/master/GameData/GPP/GPP_Configs/GPP_Strategia.cfg

btw, @nightingale, GPP makes very cool use of Strategia and Custom Barn Kit. Could probably feature in your OP as an example of what's possible.

Link to comment
Share on other sites

  • 3 weeks later...

When I go to open up the tech tree, there are a LOT of nodes that are present but have no items in them... but there are items further up the tech tree in the same line that you seemingly cannot get to unless you unlock a blank node.  So 1) Is there a way to circumvent this issue (cuz sometimes I would have to spend quite a bit of my science units for certain nodes) or 2) can you provide a list of the mods those slots were designed for so that I may track them down?

Link to comment
Share on other sites

1 hour ago, TheNowMovement1 said:

When I go to open up the tech tree, there are a LOT of nodes that are present but have no items in them... but there are items further up the tech tree in the same line that you seemingly cannot get to unless you unlock a blank node.  So 1) Is there a way to circumvent this issue (cuz sometimes I would have to spend quite a bit of my science units for certain nodes) or 2) can you provide a list of the mods those slots were designed for so that I may track them down?

install the mod "Hide Empty Tech Tree Nodes". Also, Strategia doesn't change the TechTree afaik.

Edited by GrubbyZebra
Link to comment
Share on other sites

  • 5 weeks later...
  • 2 weeks later...
1 hour ago, cy-one said:

I'm a bit confused...

I have the AdminBuilding on max, but can only use 3 Strategias (the Building itself on SpaceCenter even says 4).

What's the issue? Even the CustomBarnKit shows 4 for the third level?

Long standing issue. The tooltip in the space center will show 1 more than you can actually select.

You can just change the file to get more strategies.

Link to comment
Share on other sites

  • 3 weeks later...

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...