Jump to content

TranceaddicT

Members
  • Posts

    730
  • Joined

  • Last visited

Everything posted by TranceaddicT

  1. My turn for help. I've been trying to set up a contract that requires a sounding rocket to reach a target zone and return safely for recovery. I've managed to get the second half of the requirement to work but cannot for the life of me fail the contract if altitude exceeds maxAltitude. Here's the code snippet: PARAMETER { name = VesselParameterGroup type = VesselParameterGroup title = Reach the target zone ... PARAMETER { name = ReachState type = ReachState situation = FLYING minAltitude = 2000 maxAltitude = 4000 } hideChildren = true }
  2. Okay, so, as I said before, the root of your problem is that your contract calls for a group (group = Space Agency Satellite Launch) without a CONTRACT_GROUP being defined. If I understand the way things are set up to work, AGENT can have member GROUPS. You need an AGENT. GROUPS are optional. Create another file called 'Groups.cfg' and put this in there: CONTRACT_GROUP { name = JSLG displayName = JPGSP Satellite Launch Group agent = JPGSP Space Agency // sortKey = // maxSimultaneous = /// maxCompletions = // disabledContractType = minVersion = 1.27 // tip = } To make everything play nicely, change your Agent file to be something like this: AGENT { name = JPGSP Space Agency title = JPGSP Space Agency description = We give you contracts from the videogame Space Agency logoURL = ContractPacks/Custom Missions(Space Agency)/Agency/AgencyLogo logoScaledURL = ContractPacks/Custom Missions(Space Agency)/AgencyLogoSmall mentality = NoRandomContractMentality } Now, change your contract so that the naming scheme matches the above. group = JSLG agent = JPGSP Space Agency I'm telling you to do this because your naming convention ('Space Agency') is far too generic. The only thing more generic and mundane than 'Space Agency' is ... Spaaaaaaaace Force!
  3. I'm updating the Sounding Rockets contract pack and recently ran into the same issue. You need to define a CONTRACT_GROUP. CONTRACT_GROUP { name = <use a more unique name than "Satellite Launch" like JPGSP Satellites> displayName = Satellite Launch agent = <agent for Satellite Launch> // sortKey = maxSimultaneous = 1 maxCompletions = 0 // disabledContractType = minVersion = 1.27 // tip = } Put it in a folder with your Agent.cfg. Also read here: https://github.com/jrossignol/ContractConfigurator/wiki
  4. If I understand correctly, you are correcting UbM via this, yes? If true, then for those using it there is a :NEEDS conditional that requires correcting ln276 -@PART[proceduralTankTAC]:NEEDS[ThunderAerospace]:NEEDS[ProceduralParts]:AFTER[ProceduralParts] +@PART[proceduralTankTAC]:NEEDS[ThunderAerospace,ProceduralParts]:AFTER[ProceduralParts]
  5. You might want to try an external PID controller to compare results. https://github.com/KSP-KOS/KSLib/blob/master/library/lib_pid.ks The library scripts are 4yo; so, they probably need some refactoring and updating.
  6. Could this be an atmospheric "boundary" inherent in the aerodynamic model?
  7. For KSP from Squad there's this: https://wiki.kerbalspaceprogram.com/wiki/Startup_parameters The '-mm-dump' is a startup parameter particular to MM provided by @sarbian for help with debugging MM config files.
  8. Might you be thinking of the KSLib repository, here: https://github.com/KSP-KOS/KSLib
  9. And if you use launch KSP with the command line option '-mm-dump' you'll get a complete dump of every part in its final state.
  10. Thank you. That is what I was clumsily trying to get at.
  11. I'm not saying adding one animation is difficult. I'm saying multiple animations rendered all rendered as a single process, adds a level of difficulty. This removes that.
  12. GENIUS!!! PURE. UNADULTERATED. G-E-N-I-U-S !! Like the man said in the post and the video ... A single ani adds significant difficulty to the design and animation process in the graphical software suite of choice - i.e., Blender, AutoDesk, SketchUp, After Effects, et al. This lets someone create a part with multiple animations and allows each to be created separately but operated sequentially all while affording the player's manageability.
  13. Yeah, I know it's necro, but no sense starting a new thread for this not listing in CKAN for 1.6.1 or 1.7
  14. So, I'm taking my first dive on kOS thanks to @SpinkAkron and his wonderful YouTube series. First thing, I'm wondering is if there is a syntax template lurking about for sublime text? Nevermind, there's this: https://github.com/KSP-KOS/EditorTools/tree/develop/SublimeText3
  15. CC is spamming my logfile with this following: 190510T110442.739 [ERROR] [ContractConfigurator.LoggingUtil.Log] ContractConfigurator.ExpressionRequirement: CONTRACT_TYPE 'KerbalAcademyFieldScience', REQUIREMENT 'Expression' of type 'Expression': Error parsing expression 190510T110442.740 [EXCEPTION] [ContractConfigurator.ExpressionParser.ExperienceTraitParser.EQ] NullReferenceException: Object reference not set to an instance of an object at ContractConfigurator.ExpressionParser.ExperienceTraitParser.EQ (Experience.ExperienceTrait a, Experience.ExperienceTrait b) at ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ApplyBooleanOperator (.T lval, System.String op, .T rval) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) at ContractConfigurator.ExpressionParser.ExpressionParser`1[ContractConfigurator.Kerbal].ParseMethod[Boolean] (ContractConfigurator.ExpressionParser.Token token, ContractConfigurator.Kerbal obj, Boolean isFunction) at Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].ParseSpecialIdentifier (ContractConfigurator.ExpressionParser.Token token) at Rethrow as Exception: Error parsing statement. at Error occurred near '*': at (@/trainee.RosterStatus() == Available && @/trainee.ExperienceTrait() == Scientist && @/trainee.ExperienceLevel() < @/newLevel) at .........................................* <-- HERE at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].ExecuteExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Boolean] (System.String key, System.String stringValue, Boolean allowExpression) at ContractConfigurator.ConfigNodeUtil.ParseValue[Boolean] (.ConfigNode configNode, System.String key, Boolean allowExpression) at ContractConfigurator.ConfigNodeUtil.ParseValue[Boolean] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, Boolean defaultValue, System.Func`2 validation) at UnityEngine.Debug:LogException(Exception) at ContractConfigurator.LoggingUtil:LogException(Exception) at ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Boolean, Func`2) at ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Func`2) at ContractConfigurator.DeferredLoadUtil:ExecuteLoad(DeferredLoadObject`1) at System.Reflection.MethodBase:Invoke(Object, Object[]) at ContractConfigurator.<UpdateNonDeterministicValuesIterator>d__30:MoveNext() at System.Linq.<CreateConcatIterator>c__Iterator1`1:MoveNext() at ContractConfigurator.<GenerateContract>d__33:MoveNext() at ContractConfigurator.<ContractEnumerator>d__32:MoveNext() at ContractConfigurator.ContractPreLoader:Update() 190510T110445.819 [ERROR] [ConfigNode.AddValue] Input is null for field 'agent' in config node 'CONTRACT' at System.Environment.get_StackTrace() at ConfigNode.AddValue(System.String name, System.String value) at Contracts.Contract.Save(.ConfigNode node) at SSTUTools.RescueContractPartSelector.OnContractOffered(Contracts.Contract contract) at EventData`1[[Contracts.Contract, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].Fire(Contracts.Contract data) at Contracts.Contract.SetState(State newState) at ContractConfigurator.ConfiguredContract.set_ContractState(State value) at ContractConfigurator.ContractPreLoader+<GenerateContract>d__33.MoveNext() at ContractConfigurator.ContractPreLoader+<ContractEnumerator>d__32.MoveNext() at ContractConfigurator.ContractPreLoader.Update() I've tried to isolate the root but, alas, my code-fu is not that strong. Edit: I've opened an issue on GitHub.
  16. I just downloaded the newest CKAN ... problem solved. During the setup for my lastest 1.6.1 install, I was reading the discussion about boil-off and thought @Pappystein might like to read this... Zero Boil-Off Tank (ZBOT) Experiment https://ntrs.nasa.gov/search.jsp?R=20160010275
  17. Hey y'all. Been away a while and just coming back. I've noticed that CKAN is giving me a conflict between BDB and RT; one won't install (or uninstalls) with the other. Is this new? An error? @CobaltWolf much awesome sauce you have added in the past 6-9m. Well done, sir.
  18. ModuleManager is throwing a simple warning [WRN 12:47:51.428] [ModuleManager] 1 warning related to GameData/EngineLight/engine-configs.cfg My correction: ln88 -@PART[liquidEngineMini]:smallRadialEngineFOR[EngineLight] +@PART[liquidEngineMini&smallRadialEngine]:FOR[EngineLight]
  19. @theonegalen Just found this and, well, WOW. Nice work. Don't know if you've addressed this since I couldn't find it in your extension, but the original UbM has this: **** [WRN 12:47:51.432] [ModuleManager] 1 warning related to GameData/SETIrebalance/MM-PartModding/SETI-PartMod-Yarbrough08.cfg My correction: ln9 -@PART[Mk1-1A2]:NEEDS[Yarbrough08]:AFTER[Yarbrough08]:FOR[SETIrebalance] +@PART[Mk1-1A2]:NEEDS[Yarbrough08]:AFTER[Yarbrough08]
  20. Bumping this for Kerbal Space Program 1.6.0 'To Vee or Not To Vee'
×
×
  • Create New...