-
Posts
24,927 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by linuxgurugamer
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Ok, I'll try it without. Thanks Edit: I'm at work, so just did a very quick test, and yes, changing the name to a static string fixed the problem Thanks- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Here you go, thanks https://drive.google.com/file/d/0Bzid7e3pW1k7bm1pNlV1SlBxOW8/view?usp=sharing This zip contains the log, the save file and the complete directory for Spacetux, including the assets. I deleted all the extra contract packs, just left the first one which is the simplest. This is a major rework of the UnmannedMissions pack, using all that I've learned to reduce the number of contract from over 200 to just 5 or so, and is compatible (I hope) with Kopernicus and New Horizons- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Progress, I'm now getting contracts for the correct bodies. However, I have a very strange issue. As soon as I accept a contract and go into the VAB, the contract is failed. It's probably simple, but I'm just done with a 2 day business convention, and am bleary eyed. So I'll look for a response tomorrow, Here are the parameters for the simplest one: PARAMETER { name = Sequence_1 type = Sequence title = Flyby @STGUnmannedMissions:UnmannedMissionPlanet PARAMETER { name = VesselParameterGroup_1 type = VesselParameterGroup completeInSequence = true PARAMETER { name = HasCrew_1 type = HasCrew maxCrew = 0 minCrew = 0 } PARAMETER { name = ReachState_1 type = ReachState // maxAltitude = 50000 targetBody = @STGUnmannedMissions:UnmannedMissionPlanet } PARAMETER { name = ReachState_Escaping_1 type = ReachState situation = ESCAPING targetBody = @STGUnmannedMissions:UnmannedMissionPlanet } } }- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
That works, thanks.- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Ok, I'm trying this now: BEHAVIOUR { name = Expression type = Expression CONTRACT_COMPLETED_SUCCESS { type = List<CelestialBody> impactedPlanets = $impactedPlanets.Add(@STGUnmannedMissions:UnmannedMissionPlanet) } } REQUIREMENT { name = Expression_3 type = Expression expression = $impactedPlanets.Contains(@STGUnmannedMissions:UnmannedMissionPlanet) == true } and this is generating the following error: [ERR 14:37:48.897] ContractConfigurator.ExpressionRequirement: CONTRACT_TYPE 'Targeted Impact', REQUIREMENT 'Expression_3' of type 'Expression': Error parsing expression [EXC 14:37:48.901] MissingMethodException: Cannot find method 'Contains' for class 'Boolean'. ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction) ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].ParseMethod[Boolean] (ContractConfigurator.ExpressionParser.Token token, Boolean obj, Boolean isFunction) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].ParseDataStoreIdentifier (ContractConfigurator.ExpressionParser.Token token) Rethrow as Exception: Error parsing statement. Error occurred near '*': $impactedPlanets.Contains(@STGUnmannedMissions:UnmannedMissionPlanet) == true ..........................* <-- HERE ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Boolean].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Boolean] (System.String key, System.String stringValue, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[Boolean] (.ConfigNode configNode, System.String key, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[Boolean] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, Boolean defaultValue, System.Func`2 validation) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Boolean, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory) ContractConfigurator.ExpressionRequirement:Load(ConfigNode) ContractConfigurator.ContractRequirement:GenerateRequirement(ConfigNode, ContractType, ContractRequirement&, IContractConfiguratorFactory) ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__1e:MoveNext() ContractConfigurator.ContractConfigurator:Update() which doesn't make sense, since the error seems to be saying that $impactedPlanets is a boolean, when it is declared as a list. or did I just run up against a limitation in the persistent data store?- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Ok. Let me think on it for a while. Maybe I can try this with a persistent list of bodies which have been visited instead.- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
I'm having a problem with the following code: CONTRACT_TYPE { name = FirstImpact_@/STGUnmannedMissions:UnmannedMissionPlanet group = STGUnmannedMissions .... } CONTRACT_TYPE { name = Targeted @STGUnmannedMissions:UnmannedMissionPlanet Impact group = STGUnmannedMissions .... REQUIREMENT { name = CompleteContract_3 type = CompleteContract contractType = FirstImpact_@/STGUnmannedMissions:UnmannedMissionPlanet } } I'm getting the following error: [ERR 10:52:36.328] ContractConfigurator.CompleteContractRequirement: contractType 'FirstImpact_' must either be a Contract sub-class or ContractConfigurator contract type I have tried variations without the "/" in the "@/"; ie: "@STDUnmannedMissions", but still get the same error. I'm wondering if the contractType can't parse variables? Thanks in advance- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Ok. don't hold your breath, but I'll keep it in the back of my mind. LGG- 5,206 replies
-
It does ( the AcceptContract and CompleteContract), but ModuleManager has no idea about contract packs. This is why I'm now bundling a dummy DLL with my UnmannedMissions (and will soon add to others) so that MM can be used to modify contracts based on whether other contract packs are installed or not Maybe we should make it part of the requirement that a dummy DLL be bundled for this reason. Very easy to do, and I'd be happy to create a dummy dll for anyone who asks.
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
I saw that, and it won't do what I want. That's ok, I'll figure something else out. If I decide to take a crack at it, would you be willing to accept a patch? Thanks for all you do- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Duh! You are absolutely correct, sorry. I am thinking about both AntennaRange and RT. I'm not sure yet if I want to go this route, but was wondering if there was a way to find out the antenna range. I was thinking of making some contracts dependent on if the player has an antenna with the available range (or some fraction thereof) before creating a contract- 5,206 replies
-
[1.12.x] Mark IV Spaceplane System (August 18, 2024)
linuxgurugamer replied to Nertea's topic in KSP1 Mod Releases
Are you saying that when you edit the motion of the part (ie: throw range, etc (not sure if I'm saying it right)) that it just doesn't work? -
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
@nightingale I was looking at the AvailableParts class, and don't see any way to find the maximum range of an antenna. Is this something difficult to add?- 5,206 replies
-
[1.12.x] Mark IV Spaceplane System (August 18, 2024)
linuxgurugamer replied to Nertea's topic in KSP1 Mod Releases
Well, the player should check all controls for proper movement, and if backwards it is easy to change. -
This is rather a nebulous report. I would need some more information: System specs Version of KSP OS List of other mods KSP_Data/output_log.txt file Until I can see this, it's simple a matter of "someone said that something happened" In answer to your question, this is the first time I've heard of this.
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Ok. I just tested this with the latest dll, as of about 8 am this morning. I see the issue, no idea what the problem is. I did a little playing around, but no idea. It's about as simple as you can make it, so I think it is in @nightingale's court now- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
First, you can remove the lines targetBody = Kerbin I think it would be better to have that as a requirement rather than a target body. Targetbody will default to the location of the contract, and you already specify that at the top. If I get sometime this evening, I'll load it up and see what else I can find. Other than the above comment, I don't see anything wrong. Are you using the latest dev dll?- 5,206 replies
-
My Jeb is sitting in a place of honor at my home (I have the 3D printed figure).
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Just send me what you have so I can look at it. It might be something obvious (to me) since I've recently been working with it- 5,206 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
Not yet. The stuff I've been working on is not yet in github. contact me if you want a copy of the latest version, only works with the dev version of CC Are you sure you don't have a hidden parameter? If you want, shoot me a copy of the contract and I'll take a look. What version of CC are you using for this?- 5,206 replies
-
Space Warships : What if bigger ships are faster?
linuxgurugamer replied to SomeGuy123's topic in Science & Spaceflight
It's still a missle. Or, possible, a drone -
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
linuxgurugamer replied to nightingale's topic in KSP1 Mod Releases
sounds like fun :-(- 5,206 replies