Code Monkey home page Code Monkey logo

Comments (10)

zorg2044 avatar zorg2044 commented on August 14, 2024

Just a heads up the RS27A subtype is not linked to an upgrade. Its just there as a switch. The subtype was created for accuracy but there is no upgrade linked since the RS27A trades higher Isp and thrust for lower sea level Isp. So it isnt a straight up upgrade in all respects. It in fact has less thrust at sea level than the RS27 (by a small but noticeable amount).

If you wanted to place it somewhere specific you would need to patch in an upgrade into the subtype node or something.

from cwpt.

KerbalKore avatar KerbalKore commented on August 14, 2024

Thanks for the tip! Based on what I found online, the RS27A was used on Delta from 7000 up, while the normal RS27 was used on Delta on 2000, 3000, and 5000.
image Since we're going to need more Delta nodes anyway, I figure we can make an upgrade to unlock the RS27A in delta7k.

from cwpt.

KerbalKore avatar KerbalKore commented on August 14, 2024

@zorg2044 would this work to make the RS27A subtype require an upgrade?

%PARTUPGRADE[bluedog_delta]:FIRST:NEEDS[Bluedog_DB]
{
  name = bluedog_RS27A // RS27A
	partIcon = bluedog.Delta2.RS27
	techRequired = delta7k
	entryCost = 5000
	cost = 0 // for display only; all parts implementing this will need a PartStatsUpgradeModule with cost = this.

	title = Daleth-SSR-27a "Darkah" Liquid Engine
	basicInfo = <color=green>Max. Thrust (Vac.): 263.5 kN\nEngine Isp: 302 (Vac.)</color>
	manufacturer = Bluedog Design Bureau
	description = Upgrades the Daleth-SSR-27 "Darkah" Liquid Engine to the SSR-27A model.
}
@PART[bluedog_Delta2_RS27]:After[Bluedog_DB]
{
        @MODULE[ModuleB9PartSwitch]
        {
                @SUBTYPE[name[RS27A]]
                {
	             %upgradeRequired = bluedog_RS27A
                }
	}
}

from cwpt.

DeltaDizzy avatar DeltaDizzy commented on August 14, 2024

@KerbalKore so you are editing a PARTUPGRADE named bluedog_delta, and INSERTING a name key with value bluedog_RS27A

from cwpt.

KerbalKore avatar KerbalKore commented on August 14, 2024

yeah hold on I did a goof

from cwpt.

KerbalKore avatar KerbalKore commented on August 14, 2024
+PARTUPGRADE:FIRST:NEEDS[Bluedog_DB]
{
  name = bluedog_RS27A // RS27A
	partIcon = bluedog.Delta2.RS27
	techRequired = delta7k
	entryCost = 5000
	cost = 0 // for display only; all parts implementing this will need a PartStatsUpgradeModule with cost = this.

	title = Daleth-SSR-27a "Darkah" Liquid Engine
	basicInfo = <color=green>Max. Thrust (Vac.): 263.5 kN\nEngine Isp: 302 (Vac.)</color>
	manufacturer = Bluedog Design Bureau
	description = Upgrades the Daleth-SSR-27 "Darkah" Liquid Engine to the SSR-27A model.
}
@PART[bluedog_Delta2_RS27]:After[Bluedog_DB]
{
        @MODULE[ModuleB9PartSwitch]
        {
                @SUBTYPE[name[RS27A]]
                {
	             %upgradeRequired = bluedog_RS27A
                }
	}
}

would this work @DeltaDizzy @zorg2044 ?

from cwpt.

DeltaDizzy avatar DeltaDizzy commented on August 14, 2024

@KerbalKore which PARTUPGRADE are you copying?

from cwpt.

KerbalKore avatar KerbalKore commented on August 14, 2024

@DeltaDizzy I'm in class RN so i cant talk on discord, but im trying to make a new upgrade, and then make it so that the RS27A subtype requires that upgrade

from cwpt.

zorg2044 avatar zorg2044 commented on August 14, 2024

It might work for the Rs27 but in general its a good idea to specify the module ID for B9 since a lot of parts might have multiple B9 switchers. It also makes your patch resilient against other types of B9 switchers being added to the part after the fact.

@PART[bluedog_Delta2_RS27]:After[Bluedog_DB]
{
        @MODULE[ModuleB9PartSwitch]:HAS[#moduleID[engineSwitch]]
        {
              ---snip---
	}
}

from cwpt.

DeltaDizzy avatar DeltaDizzy commented on August 14, 2024

Is it the GEM-60XL or the GEM-63XL?

from cwpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.