-
Posts
730 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by TranceaddicT
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
TranceaddicT replied to nightingale's topic in KSP1 Mod Releases
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 }- 5,225 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
TranceaddicT replied to nightingale's topic in KSP1 Mod Releases
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!- 5,225 replies
-
- 1
-
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
TranceaddicT replied to nightingale's topic in KSP1 Mod Releases
Post your files somewhere so we can look at them.- 5,225 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
TranceaddicT replied to nightingale's topic in KSP1 Mod Releases
Do you have an Agent setup?- 5,225 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
TranceaddicT replied to nightingale's topic in KSP1 Mod Releases
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- 5,225 replies
-
Gonna bump this for the 8mo anniversary reminder.
- 4,345 replies
-
- helicopter
- parts
-
(and 1 more)
Tagged with:
-
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]
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
TranceaddicT replied to Dunbaratu's topic in KSP1 Mod Releases
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.- 1,364 replies
-
- 1
-
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
TranceaddicT replied to Dunbaratu's topic in KSP1 Mod Releases
Could this be an atmospheric "boundary" inherent in the aerodynamic model?- 1,364 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
TranceaddicT replied to Dunbaratu's topic in KSP1 Mod Releases
There is always the kOS compile() func.- 1,364 replies
-
- 1
-
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
TranceaddicT replied to Dunbaratu's topic in KSP1 Mod Releases
Might you be thinking of the KSLib repository, here: https://github.com/KSP-KOS/KSLib- 1,364 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[1.12.x] ModuleSequentialAnimateGeneric
TranceaddicT replied to linuxgurugamer's topic in KSP1 Mod Releases
Thank you. That is what I was clumsily trying to get at. -
[1.12.x] ModuleSequentialAnimateGeneric
TranceaddicT replied to linuxgurugamer's topic in KSP1 Mod Releases
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. -
[1.12.x] ModuleSequentialAnimateGeneric
TranceaddicT replied to linuxgurugamer's topic in KSP1 Mod Releases
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. -
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
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
TranceaddicT replied to Dunbaratu's topic in KSP1 Mod Releases
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- 1,364 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[1.4.3] Kerbal Academy Contract Pack [v1.2.x]
TranceaddicT replied to Mark Kerbin's topic in KSP1 Mod Releases
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.- 89 replies
-
- contract pack
- contract configurator
-
(and 3 more)
Tagged with:
-
@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]
-
A Basic Remider During Update Periods
TranceaddicT replied to TranceaddicT's topic in KSP1 Mods Discussions
Bumping this for Kerbal Space Program 1.6.0 'To Vee or Not To Vee'