AerospaceBricks Posted Tuesday at 10:44 PM Share Posted Tuesday at 10:44 PM Hello I am having trouble writing a config file for an engine in rocket motor menagerie. What i would like to do is increase the thrust and its subtype as well. But I just can't seem to get it to work. The config file is in a separate mod called Myconfigs with a folder inside it called Patches and the config is in that folder. I would appreciate any help. I have attached the config at the bottom. @PART[rmm_cotopaxi]:NEEDS[RocketMotorMenagerie] { @MODULE[ModuleB9PartSwitch] { @Subtype[RS-53] { @description = <b>Thrust:</b> 1962 kN ASL / 2421 kN Vac.\n<b Isp:</b> 368 s ASL / 454 s Vac. @maxThrust = 2421 // kN } @Subtype[ssme_BlockIII] { @description = <b>Thrust:</b> 1962 kN ASL / 2421 kN Vac.\n<b Isp:</b> 368 s ASL / 454 s Vac. @maxThrust = 2421 // kN } @Subtype[ssme_BlockII] { @description = <b>Thrust:</b> 1962 kN ASL / 2421 kN Vac.\n<b Isp:</b> 368 s ASL / 454 s Vac. @maxThrust = 2421 // kN } @Subtype[ssme_Block1] { @description = <b>Thrust:</b> 1962 kN ASL / 2421 kN Vac.\n<b Isp:</b> 368 s ASL / 454 s Vac. @maxThrust = 2421 // kN } @Subtype[ssme_FOMF] { @description = <b>Thrust:</b> 1962 kN ASL / 2421 kN Vac.\n<b Isp:</b> 368 s ASL / 454 s Vac. @maxThrust = 2421 // kN } } } Quote Link to comment Share on other sites More sharing options...
Aelfhe1m Posted Tuesday at 11:32 PM Share Posted Tuesday at 11:32 PM 33 minutes ago, AerospaceBricks said: Hello I am having trouble writing a config file for an engine in rocket motor menagerie. What i would like to do is increase the thrust and its subtype as well. But I just can't seem to get it to work. The config file is in a separate mod called Myconfigs with a folder inside it called Patches and the config is in that folder. I would appreciate any help. I have attached the config at the bottom. You need to match the name of the descriptionDetail field in the patch and correctly nest the maxThrust field. Then since you're applying the same change to all the subtypes you can use ,* to match them all provided you add a has clause to identify the correct B9PartSwitch. Here's the modified patch (untested): @PART[rmm_cotopaxi]:NEEDS[RocketMotorMenagerie] { @MODULE[ModuleB9PartSwitch]:HAS[#moduleID[engineSwitch]] { @SUBTYPE,* { @descriptionDetail = <b>Thrust:</b> 1962 kN ASL / 2421 kN Vac.\n<b Isp:</b> 368 s ASL / 454 s Vac. @MODULE { @DATA { @maxThrust = 2421 // kN } } } } } Quote Link to comment Share on other sites More sharing options...
AerospaceBricks Posted 10 hours ago Share Posted 10 hours ago That works, thank you so much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.