Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cfg syntax errors #2612

Merged
merged 9 commits into from
Mar 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions GameData/RealismOverhaul/DMagic_NO_US_Config.cfg
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
!PART[dmUSMagBoom]:FOR[RealismOverhaul,DMagic]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSScope]:FOR[RealismOverhaul,DMagic]:NEEDS[!UniversalStorage]
{
}
!PART[USRPWS]:FOR[RealismOverhaul,DMagic]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSPresTemp]:FOR[RealismOverhaul,DMagic]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSMat]:FOR[RealismOverhaul,DMagic]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSGoo]:FOR[RealismOverhaul,DMagic]:NEEDS[!UniversalStorage]
{
!PART[dmUSMagBoom]:FOR[RealismOverhaul]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSScope]:FOR[RealismOverhaul]:NEEDS[!UniversalStorage]
{
}
!PART[USRPWS]:FOR[RealismOverhaul]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSPresTemp]:FOR[RealismOverhaul]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSMat]:FOR[RealismOverhaul]:NEEDS[!UniversalStorage]
{
}
!PART[dmUSGoo]:FOR[RealismOverhaul]:NEEDS[!UniversalStorage]
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
!RESOURCE,*{}
!MODULE[ModuleEngineConfigs],*{} //This patch should get rid of any moduleEngineConfigs in the part, but you should remove any that are there anyway just in case

//If the engine doesn't have a gimbal, use !MODULE[ModuleGimbal] instead
//If the engine doesn't have a gimbal, use !MODULE[ModuleGimbal]{} instead
//If the original engine doesn't have a gimbal, you must set up a module gimbal for it first
@MODULE[ModuleGimbal]
{
Expand Down
12 changes: 6 additions & 6 deletions GameData/RealismOverhaul/Engine_Configs/AJ10_Mid_Config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@
}
}
# At least 16 successful ignitions (more if there were more than the one restart of the Transit 1B mission[2]) with 1 failed ignition. One flight had insufficient thrust. [1]
# [1] https://en.wikipedia.org/wiki/List_of_Thor_and_Delta_launches_(1960%E2%80%9369)
# [2] http://www.astronautix.com/t/thorablestar.html
// At least 16 successful ignitions (more if there were more than the one restart of the Transit 1B mission[2]) with 1 failed ignition. One flight had insufficient thrust. [1]
// [1] https://en.wikipedia.org/wiki/List_of_Thor_and_Delta_launches_(1960%E2%80%9369)
// [2] http://www.astronautix.com/t/thorablestar.html
//Thor DM-21 Ablestar: 9 flights, 2 failures. (1 cycle, 1 ignition)
//Thor DSV2A Ablestar: 8 flights, 1 failure. (1 ignition?)
Expand All @@ -192,9 +192,9 @@
@MODULE[ModuleEngineConfigs] { @CONFIG[AJ10-104] { %ratedBurnTime = #$/TESTFLIGHT[AJ10-104]/ratedBurnTime$ } }
}
# Test Flight data (400 second burn time) taken from here: http://www.astronautix.com/a/aj10-118e.html
# At least 48 successful ignitions (more if there were restarts) with 0 failures. One flight failed because of a leaky tank. [1]
# [1] https://en.wikipedia.org/wiki/List_of_Thor_and_Delta_launches_(1960%E2%80%9369)
// Test Flight data (400 second burn time) taken from here: http://www.astronautix.com/a/aj10-118e.html
// At least 48 successful ignitions (more if there were restarts) with 0 failures. One flight failed because of a leaky tank. [1]
// [1] https://en.wikipedia.org/wiki/List_of_Thor_and_Delta_launches_(1960%E2%80%9369)
//Delta-E: 6 flights, 0 failures
//Delta-E1: 17 flights, 0 failures
//Delta-G: 2 flights, 0 failures
Expand Down
4 changes: 2 additions & 2 deletions GameData/RealismOverhaul/Engine_Configs/Rutherford_Config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
// =================================================================================

// Sources: https://www.rocketlabusa.com/assets/Uploads/Rocket-Lab-Launch-Payload-Users-Guide-6.5.pdf
https://www.rocketlabusa.com/electron/
https://www.researchgate.net/publication/324983438_Studies_on_Electric_Pump-Fed_Liquid_Rocket_Engines_for_Micro-Launcher
// https://www.rocketlabusa.com/electron/
// https://www.researchgate.net/publication/324983438_Studies_on_Electric_Pump-Fed_Liquid_Rocket_Engines_for_Micro-Launcher
// Used by:

// Notes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
// =================================================================================

// Sources: https://www.rocketlabusa.com/assets/Uploads/Rocket-Lab-Launch-Payload-Users-Guide-6.5.pdf
https://www.rocketlabusa.com/electron/
https://www.researchgate.net/publication/324983438_Studies_on_Electric_Pump-Fed_Liquid_Rocket_Engines_for_Micro-Launcher
// https://www.rocketlabusa.com/electron/
// https://www.researchgate.net/publication/324983438_Studies_on_Electric_Pump-Fed_Liquid_Rocket_Engines_for_Micro-Launcher
// Used by:

// Notes:
Expand Down
1 change: 1 addition & 0 deletions GameData/RealismOverhaul/Engine_Configs/STBE_Config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
amount = 1
}
}
}

RESOURCE
{
Expand Down
2 changes: 1 addition & 1 deletion GameData/RealismOverhaul/Engine_Configs/Stentor_Config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

//If the engine doesn't have a gimbal, use !MODULE[ModuleGimbal] instead
//If the original engine doesn't have a gimbal, you must set up a module gimbal for it first
!MODULE[ModuleGimbal]
!MODULE[ModuleGimbal]{}

MODULE
{
Expand Down
2 changes: 1 addition & 1 deletion GameData/RealismOverhaul/Parts/AdvCapsule/ROAdvCapsule.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -547,4 +547,4 @@ PART
}

// Removes the real K2Pod since it is no longer needed and would be a duplicate
!PART[K2Pod]:FOR[RealismOverhaul]
!PART[K2Pod]:FOR[RealismOverhaul]{}
12 changes: 3 additions & 9 deletions GameData/RealismOverhaul/REWORK/RO_CZ3B.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -434,18 +434,12 @@
@PART[long_march_3B_Engine_YF75]:FOR[RealismOverhaul]:NEEDS[!RftS,!RealFuels_StockEngines]
{
%RSSROConfig = True
!MODULE[TweakScale]
{
}
!MODULE[TweakScale] {}
%title = YF-75 (2x) [3 m]
%manufacturer = CALT
%description = Chinese gas generator cryogenic upper stage engine, used on the Long March series of rockets in a double configuration. Can restart up to two times.
{
DRVeyl marked this conversation as resolved.
Show resolved Hide resolved
%scale = 1, 1, 1
}
!MODEL,1
{
}
@MODEL { %scale = 1, 1, 1 }
!MODEL,1 {}
%scale = 1.0
%rescaleFactor = 1.0
%attachRules = 1,0,1,0,0
Expand Down
34 changes: 14 additions & 20 deletions GameData/RealismOverhaul/REWORK/RO_KOSMOS.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@maxTemp = 1973.15
@maximum_drag = 0.32
@title = Salyut 2/1.33m Adapter Section
!vesselType
!vesselType = DELETE
@description = This pressurized structural element allows the Forward Transfer Compartment to seamlessly attach to a docking port.
MODULE
{
Expand Down Expand Up @@ -94,7 +94,7 @@
@maxTemp = 1973.15
@maximum_drag = 0.32
@title = Salyut 4/2.66m Adapter Section
!vesselType
!vesselType = DELETE
@description = This pressurized structural element allows the Salyut Command Block to attach smoothly to the Main Storage block.
MODULE
{
Expand Down Expand Up @@ -363,7 +363,7 @@
@maximum_drag = 0.32
@title = Salyut Propulsion Block (2m)
@description = The propulsion block attaches to the aft of the Main Storage block and provides propellant storage and two RD-0225 engines for orbital manuevering. Also has room for a 2nd docking port for aft docking and propellant resupply.
!vesselType
!vesselType = DELETE
!MODULE[CrewManifestModule] {}
@MODULE[ModuleEngines]
{
Expand Down Expand Up @@ -695,7 +695,7 @@
@maximum_drag = 0.32
@title = Kosmos Salyut Forward Transfer Compartment (2m)
@description = The Forward Transfer Compartment was basically an access tunnel with an inner bulkhead enabling it to be sealed off for EVAs from the side hatch.
!vesselType
!vesselType = DELETE
MODULE
{
name = LifeSupportModule
Expand Down Expand Up @@ -759,7 +759,7 @@
@category = Pods
@description = The pressurized Working/Operations Compartment was the main living/working area and was comprised of two cylindrical shells connected by a conical section.
@CrewCapacity = 2
!MODULE[ModuleSAS]
!MODULE[ModuleSAS]{}
MODULE
{
name = ModuleSPU
Expand Down Expand Up @@ -973,9 +973,7 @@
}
@PART[Kosmos_Salyut_RCS]:FOR[RealismOverhaul] // Salyut RCS Block
{
!MODULE[TweakScale]
{
}
!MODULE[TweakScale] {}
//10N thruster x2, ~1.8kg per thruster x2 x2 for control = 7.2kg
@title = Kosmos Salyut RCS Thruster
@description = Mounted on the fore and aft of the vehicle for station-keeping, these RCS thrusters provide very low thrust and use H2O2 (HTP) for propellant.
Expand All @@ -999,8 +997,8 @@
{
name = ModuleEngineConfigs
type = ModuleRCS
thrustRating = resourceFlowMode = STACK_PRIORITY_SEARCH
thrusterPower
thrustRating = thrusterPower
resourceFlowMode = STACK_PRIORITY_SEARCH
techLevel = 2
origTechLevel = 2
engineType = L
Expand All @@ -1011,7 +1009,7 @@
{
name = Hydrazine
resourceFlowMode = STACK_PRIORITY_SEARCH
thrusterPower = 0.01
thrusterPower = 0.01
resourceName = Hydrazine
IspSL = 0.23
IspV = 0.72
Expand All @@ -1020,7 +1018,7 @@
{
name = HTP
resourceFlowMode = STACK_PRIORITY_SEARCH
thrusterPower = 0.01
thrusterPower = 0.01
resourceName = HTP
IspSL = 0.2
IspV = 0.465
Expand All @@ -1029,7 +1027,7 @@
{
name = NitrousOxide
resourceFlowMode = STACK_PRIORITY_SEARCH
thrusterPower = 0.01
thrusterPower = 0.01
resourceName = NitrousOxide
IspSL = 0.2
IspV = 0.525
Expand All @@ -1038,7 +1036,7 @@
{
name = MonoPropellant
resourceFlowMode = STACK_PRIORITY_SEARCH
thrusterPower = 0.01
thrusterPower = 0.01
resourceName = MonoPropellant
IspSL = 0.21
IspV = 0.64
Expand All @@ -1047,13 +1045,9 @@
}
@PART[Kosmos_TKS_RCS]:FOR[RealismOverhaul] // TKS RCS Block
{
!MODULE[TweakScale]
{
}
!MODULE[TweakScale] {}
}
@PART[Kosmos_VA_RRV_Retro_Unit]:FOR[RealismOverhaul] // VA Retro Block
{
!MODULE[TweakScale]
{
}
!MODULE[TweakScale] {}
}
4 changes: 2 additions & 2 deletions GameData/RealismOverhaul/REWORK/RO_KOSMOS_Engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
{
%key,0 = 0 463
%key,1 = 1 300
!key,2
!key,2 = DELETE
}
}
!MODULE[ModuleGimbal]
Expand Down Expand Up @@ -320,7 +320,7 @@
{
%key,0 = 0 415
%key,1 = 1 275
!key,2
!key,2 = DELETE
}
}
!MODULE[ModuleGimbal]
Expand Down
5 changes: 3 additions & 2 deletions GameData/RealismOverhaul/REWORK/RO_SXT_fuselage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
}
%CrewCapacity = 6
@node_stack_top = 0.0, 2.04, 0.0, 0.0, 1.0, 0.0
@node_stack_bottom = 0.0, -1.93, 0.0, 0.0, -1.0, 0.0!MODULE[ModuleFuelTanks] {}
MODULE
@node_stack_bottom = 0.0, -1.93, 0.0, 0.0, -1.0, 0.0
!MODULE[ModuleFuelTanks] {}
MODULE
{
name = ModuleFuelTanks
volume = 400
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
@PART[orbitaiespod]:FOR[RealismOverhaul] // AIES C1 'Orbiter'
{
%RSSROConfig = True
!mesh
!mesh = DELETE
MODEL
{
model = AIES_Aerospace/Command/AIESorbiterpod/model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
%crashTolerance = 12
%breakingForce = 250
%breakingTorque = 250
@[ModuleEngines*]
@MODULE[ModuleEngines*]
{
%maxThrust = 409
%minThrust = 409
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%thermalMassModifier = 1.0
%skinMassPerArea = 4

!RESOURCE, * {}
HebaruSan marked this conversation as resolved.
Show resolved Hide resolved
!RESOURCE,* {}

MODULE
{
Expand All @@ -41,7 +41,7 @@
%thermalMassModifier = 1.0
%skinMassPerArea = 4
!RESOURCE, * {}
!RESOURCE,* {}
MODULE
{
Expand Down Expand Up @@ -89,7 +89,7 @@
%thermalMassModifier = 1.0
%skinMassPerArea = 4
!RESOURCE, * {}
!RESOURCE,* {}
%engineType = RD180
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
%SASServiceLevel = 1
}

!RESOURCE, * {}
!RESOURCE,* {}
!MODULE[ModuleFuelTanks] {}

MODULE
Expand Down Expand Up @@ -109,7 +109,7 @@
%SASServiceLevel = 1
}

!RESOURCE, * {}
!RESOURCE,* {}
!MODULE[ModuleFuelTanks] {}

MODULE
Expand Down Expand Up @@ -154,7 +154,7 @@
%SASServiceLevel = 1
}

!RESOURCE, * {}
!RESOURCE,* {}
!MODULE[ModuleFuelTanks] {}

@MODULE[ModuleRCSFX]
Expand Down Expand Up @@ -223,7 +223,7 @@
%SASServiceLevel = 1
}

!RESOURCE, * {}
!RESOURCE,* {}
!MODULE[ModuleFuelTanks] {}

@MODULE[ModuleRCSFX]
Expand Down Expand Up @@ -460,7 +460,7 @@
!MODULE[ModuleReactionWheel] {}
!RESOURCE, * {}
!RESOURCE,* {}
@MODULE[ModuleSAS]
{
Expand Down Expand Up @@ -506,7 +506,7 @@
!MODULE[ModuleReactionWheel] {}
!RESOURCE, * {}
!RESOURCE,* {}
@MODULE[ModuleSAS]
{
Expand Down
Loading