Open jrossignol opened 7 years ago
This is an interesting one, especially with Making History's new Mercury-like capsule. Some brainstorming on some things that could make this strategy a little different than some of the other ones:
(Did you mean Gemini-like capsule?)
Looking at the historical MISS (Man In Space Soonest) proposal which became the Mercury Program, maybe this could discount rocket fuel tanks/engines and cause aircraft fuel tanks/engines to become more expensive, or unlock specific tech? Craft with wings cost more?
Though now that I think about it, neither of those things are probably part of what Strategia does currently.
Perhaps there could be a competing X-Plane strategy, requiring players to choose whether to focus on winged flight or capsule flight.
None of these really feel right, though. Just spitballing.
Derp - yes, the new stuff is Gemini, old stuff is Mercury.
So ran in to an issue: I am adding the "Kerbin Program" as the first Celestial Body Program (the manned ones).
I can get it to show up in the admin building, but it creates 17 copies of it (1 for every body in the kerbal system). Here is the code for the first part of the Strategy definition in the .cfg file:
`
name = KerbinProgram
id = KerbinProgram
title = The $homeWorld Program
title
{
Earth = The Mercury Program
}
desc = For generations we've stared at the stars, now we want to go there! But some say $body is flat and those little white dots are painted on a dome. Let's find out!
department = Crewed Missions
icon = Strategia/icons/LocalScience1
groupTag = CelestialBodyProgram,A
`
If I replace $homeWorld with $body, then instead of the admin building showing 17 copies of "The Kerbin Program", each copy has the name of a different body in the system.
I looked at the source code for CelestialBodyProgram.cs and noticed there is a class defined for each of the current program types (moon, planet, gas giant). Would a new class need to be created for Kerbin or is there a way to work around this in the config files?
No new class needed, use STRATEGY instead of STRATEGY_BODY_EXPAND. The id field won't be required in that case as well.
On Sat, Apr 7, 2018, 1:09 PM fwdixon, notifications@github.com wrote:
So ran in to an issue: I am adding the "Kerbin Program" as the first Celestial Body Program (the manned ones).
I can get it to show up in the admin building, but it creates 17 copies of it (1 for every body in the kerbal system). Here is the code for the first part of the Strategy definition in the .cfg file:
` name = KerbinProgram id = KerbinProgram
title = The $homeWorld Program title { Earth = The Mercury Program } desc = For generations we've stared at the stars, now we want to go there! But some say $body is flat and those little white dots are painted on a dome. Let's find out! department = Crewed Missions icon = Strategia/icons/LocalScience1
groupTag = CelestialBodyProgram,A
`
If I replace $homeWorld with $body, then instead of the admin building showing 17 copies of "The Kerbin Program", each copy has the name of a different body in the system.
I looked at the source code for CelestialBodyProgram.cs and noticed there is a class defined for each of the current program types (moon, planet, gas giant). Would a new class need to be created for Kerbin or is there a way to work around this in the config files?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrossignol/Strategia/issues/56#issuecomment-379492098, or mute the thread https://github.com/notifications/unsubscribe-auth/AIUFdTxDacs6cHENKA6D1DA1FrVHEif9ks5tmQ7xgaJpZM4LqfgF .
So I got an unmanned strategy/contract set working tonight.
I did end up making a few small changes to the Strategia.dll because I wanted the contracts to conform to whatever planet pack/homeworld mod was being used. I've attached all the relevant files for you to review under pull request #73
Now on to manned!
Manned strategy and contract uploaded.
Suggestion from MailletC on the forums: