-
Posts
103 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by hargn
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
Hello, I want to know how is the DATA_NODE inside the CONTRACT_GROUP intended to be used. I've the following data inside my contract's group : DATA { type = int maxUnlockedTechLevel = MaxTechLevelUnlocked() } but when I want to use it into my contract (to implement progression) : DATA { type = string satContractPrestige = @/maxUnlockedTechLevel >= @/comSatPrestigeLevel.ElementAt(0) ? "Trivial" : @/maxUnlockedTechLevel >= @/comSatPrestigeLevel.ElementAt(1) ? "Significant" : "Exceptional" } prestige = ContractPrestige(@/satContractPrestige) I get the following error message : [ERR 12:37:08.720] ContractConfigurator.ContractType: CONTRACT_TYPE 'ComSatFirst': Error parsing satContractPrestige [EXC 12:37:08.721] Exception: Unknown identifier '@/maxUnlockedTechLevel'. UnityEngine.Debug:LogException(Exception)^M ContractConfigurator.LoggingUtil:LogException(Exception)^M ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, String, Func`2)^M ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Func`2)^M ContractConfigurator.DeferredLoadUtil:ExecuteLoad(DeferredLoadObject`1)^M System.Reflection.MethodBase:Invoke(Object, Object[])^M ContractConfigurator.ConfigNodeUtil:ExecuteDeferredLoads()^M ContractConfigurator.ContractType:Load(ConfigNode)^M ContractConfigurator.<LoadContractConfig>d__26:MoveNext()^M ContractConfigurator.ContractConfigurator:Update() [ERR 12:37:08.722] ContractConfigurator.ContractType: CONTRACT_TYPE 'ComSatFirst': Error parsing prestige So it appears that the data introduced into a contract group is ignored. That is a bug or I'm doing something wrong? Thanks for your help EDIT : The CONTRACT_TYPE of this example is declared inside another one. I want to use inheritance of data along different contract groups.- 5,201 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
EDIT : Not tested with 1.15.4 Maybe the whole Tech expression parser is broken. I have another error with this : DATA { type = string satContractPrestige = Tech("generalRocketry").isUnlocked() ? "Trivial" : "Significant" } I got this error : [ERR 18:17:38.199] ContractConfigurator.ContractType: CONTRACT_TYPE 'ComSatFirst': Error parsing satContractPrestige [EXC 18:17:38.202] DataStoreCastException: Cannot cast from System.String to ContractConfigurator.Tech. ContractConfigurator.ExpressionParser.ExpressionParser`1[System.String].ConvertType[Tech] (System.String value)^M ContractConfigurator.ExpressionParser.ExpressionParser`1[System.String].ParseStatement[Tech] (System.String lval)^M Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.^M System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)^M System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)^M ContractConfigurator.ExpressionParser.ExpressionParser`1[ContractConfigurator.Tech].ParseStatement[Tech] ()^M Rethrow as DataStoreCastException: Cannot cast from System.String to ContractConfigurator.Tech.^M ContractConfigurator.ExpressionParser.ExpressionParser`1[ContractConfigurator.Tech].ParseStatement[Tech] ()^M Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.^M System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)^M System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)^M ContractConfigurator.ExpressionParser.ExpressionParser`1[T].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction)^M Rethrow as DataStoreCastException: Cannot cast from System.String to ContractConfigurator.Tech.^M ContractConfigurator.ExpressionParser.ExpressionParser`1[T].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction)^M ContractConfigurator.ExpressionParser.ExpressionParser`1[System.String].ParseMethod[String] (ContractConfigurator.ExpressionParser.Token token, System.String obj, Boolean isFunction)^M Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.^M System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)^M System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)^M ContractConfigurator.ExpressionParser.ExpressionParser`1[System.String].ParseStatement[String] ()^M Rethrow as DataStoreCastException: Cannot cast from System.String to ContractConfigurator.Tech.^M ContractConfigurator.ExpressionParser.ExpressionParser`1[System.String].ParseStatement[String] ()^M Rethrow as Exception: Error parsing statement.^M Error occurred near '*':^M Tech("generalRocketry").isUnlocked() ? "Trivial" : "Significant"^M ......................* <-- HERE^M ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode)^M ContractConfigurator.ConfigNodeUtil.ParseSingleValue[String] (System.String key, System.String stringValue, Boolean allowExpression)^M ContractConfigurator.ConfigNodeUtil.ParseValue[String] (.ConfigNode configNode, System.String key, Boolean allowExpression)^M ContractConfigurator.ConfigNodeUtil.ParseValue[String] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, System.String defaultValue, System.Func`2 validation)^M UnityEngine.Debug:LogException(Exception)^M ContractConfigurator.LoggingUtil:LogException(Exception)^M ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, String, Func`2)^M ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory)^M System.Reflection.MethodBase:Invoke(Object, Object[])^M ContractConfigurator.ExpressionParser.DataNode:ParseDataNodes(ConfigNode, IContractConfiguratorFactory, Dictionary`2, Dictionary`2)^M ContractConfigurator.ContractType:Load(ConfigNode)^M ContractConfigurator.<LoadContractConfig>d__26:MoveNext()^M ContractConfigurator.ContractConfigurator:Update()- 5,201 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
Hi @nightingale, I tried to put a DATA_NODE into a CONTRACT_GROUP, but I got a parsing error. Here is the code : DATA { type = int maxTechLevel = MaxTechLevelUnlocked() } and the log of the error : [ERR 08:56:04.227] ContractConfigurator.ContractGroup: CONTRACT_GROUP 'ComSatContracts': Error parsing maxTechLevel [EXC 08:56:04.238] InvalidOperationException: Operation is not valid due to the current state of the object System.Linq.Enumerable.Iterate[Int32,Int32] (IEnumerable`1 source, Int32 initValue, System.Func`3 selector)^M System.Linq.Enumerable.Max (IEnumerable`1 source)^M ContractConfigurator.ExpressionParser.TechParser.MaxTechLevelUnlocked ()^M ContractConfigurator.ExpressionParser.Function`1[System.Int32].Invoke ()^M ContractConfigurator.ExpressionParser.Function`1[System.Int32].Invoke (System.Object[] parameters)^M ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Int32].ParseMethod[Int32] (ContractConfigurator.ExpressionParser.Token token, Int32 obj, Boolean isFunction)^M Rethrow as Exception: Error parsing statement.^M Error occurred near '*':^M MaxTechLevelUnlocked()^M ......................* <-- HERE^M ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Int32].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode)^M ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Int32] (System.String key, System.String stringValue, Boolean allowExpression)^M ContractConfigurator.ConfigNodeUtil.ParseValue[Int32] (.ConfigNode configNode, System.String key, Boolean allowExpression)^M ContractConfigurator.ConfigNodeUtil.ParseValue[Int32] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, Int32 defaultValue, System.Func`2 validation)^M UnityEngine.Debug:LogException(Exception)^M ContractConfigurator.LoggingUtil:LogException(Exception)^M ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Int32, Func`2)^M ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory)^M System.Reflection.MethodBase:Invoke(Object, Object[])^M ContractConfigurator.ExpressionParser.DataNode:ParseDataNodes(ConfigNode, IContractConfiguratorFactory, Dictionary`2, Dictionary`2)^M ContractConfigurator.ContractGroup:Load(ConfigNode)^M ContractConfigurator.ContractGroup:Load(ConfigNode)^M ContractConfigurator.<LoadContractConfig>d__26:MoveNext()^M ContractConfigurator.ContractConfigurator:Update() Can you tell me what I'm doing wrong? As MaxTechLevelUnlocked() is a global function, I don't see where is my mistake. Thanks- 5,201 replies
-
- 1
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
I want this as a parameter to validate the contract : the vessel must generate power (storing energy with its solar panels) to meet the contract.- 5,201 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
I mean the instantaneous resource consumption, the derivative of the resource quantity by seconds. For a contract, a want to know if the vessel consumes power or if the power reserve is growing due to solar panels. Else, I'm looking for a function to get the current vessel instance. Does CurrentVessel().ResourceQuantity(ElectricCharge) work to get the resource of the current vessel ?- 5,201 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
Hi there, Is there a way into CC to have a contract parameter based on a resource consumption? It could be useful for the contracts I want to write. Thanks- 5,201 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
Ok, thanks- 5,201 replies
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
Ok, thanks @nightingale, No problems for the CollectScience wraped into the Any statement. But to be sure about the ReachState when you say to use two targetBody lines, is this example valid? PARAMETER { name = ReachState type = ReachState targetBody = Pluto targetBody = Charon maxAltitude = 20000000 disableOnStateChange = true }- 5,201 replies
-
Hi there, I'm currently working on adding new RP-0's contract in order to support the RSS Expansion mod. Then I would ask to the community what do you prefer for flyby contracts targeting dual bodies like Pluto/Charon. Should I : - Make a flyby contract for each body. - Make one contract for the both. In this case, the vessel should return : science for the two involved bodies, or only for only one of them. I don't know if the last case can be implemented with the actual version of ContractConfigurator but I'm working on it (and any help is welcome off course ;-] ) Thanks for your answers
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
hargn replied to nightingale's topic in KSP1 Mod Releases
Hello, I havn't found my answer on the topic or in the documentation so I allow myself to ask this question : I want to make flyby contract (for RP-0 and RSS Expansion) for dual body : Pluto/Charon or Ida/Dactyl eg. - So I need to specify both bodies into the ReachState parameter : are the bodies separated by comma, or have I to make a list of strings? - For the CollectScience parameter, are many bodies allowed? Else, is there a way to specify to collect science on the first body or the second one? Thanks for your help!- 5,201 replies
-
[WIP][1.0.5]* RSS Visual Enhancements (RVE)
hargn replied to pingopete's topic in KSP1 Mod Development
And how can you be sure that RSS is responsible of your crash? First, RSS+RVE is very memory consumer, so in function of your config, you may be able or not to play with these mod. What are your installed RAM and VRAM on your config? Then, did you use CKAN to install you mod? Installing your mod manually can easily lead you to errors. Last, If you want help to fix your errors, you should post your logs, on pastebin eg. -
Yeah, I was reading this : https://github.com/KSP-RO/RP-0/issues/177, and apparently, there is a lot to do in order to improve the RP-0 contract system. But for the sat contracts, I believe that the whole contract packs should be rewritten to override the stock system and allow some progression, am I wrong? I think it could be done by milestones on LEO -> MEO -> GEO, or on satellite mass : less than 100kg -> less than 1t -> more than 1t ?
-
Hi all, I think that there are some difficulty issues with the satellite contracts (that, if i'm not wrong, are produced by the stock SatelliteContract modules) : I've unlocked the "Early Orbital" and "Early Avionics" nodes in the tech tree and I just have completed the first_OrbitUncrewed satellite milestone contract. Just after this, lot of new contracts are offered, whose one is to place a satellite around the earth at an altitude of 7Mm that is (I believe) higher that I can reach with my current tech level. But, I also have other contracts to place satellites in GEO while the first_GEOUncrewed milestone contracts has the first_MoonFlybyUncrewed as requirement, but also to orbit the Moon and even Mars. So maybe the satellite contracts need to be rebalanced ? Else I've a request : is the RSS Expanded mod planned to be integrated into RP-0?
-
[WIP][1.0.5]* RSS Visual Enhancements (RVE)
hargn replied to pingopete's topic in KSP1 Mod Development
Hi @nablabla, Take the linux64 branch, even if you run KSP on windows : https://github.com/Pingopete/RVE-KSP-1.0.4/archive/Linux64.zip Then follow the instructions stored into the readme.txt -
Thanks @Phineas Freak The log was displaying a warning message about this, the mass of the parts seems to be negative. It seems to be better in any cae to use procedural wings instead rescaled fins.
-
Hi there, I just have started a new RP-0 career with a new fresh installation of KSP 1.1.2, Realism Overhaul and all the mods coming behind and I have an issue with my first sounding rocket (a simple rocket with a nosecone, a tank, the aerobee motor and three basic fins). Specificaly, my problem comes from the "Basic Fin" part : when loaded on the launchpad, my aerobee rocket starts to go up at very low speed (0,2 m/s) despite the launch clamps. Then the rocket explodes after a certain amount of time (less than 20s). If I start the engine and I release the launch clamps, the rocket reacts in the same manner. The issue is coming from the fins : i've tried with other fin or winglet parts and the rocket has the same behavior. The problem disappear when I remove the fins. Maybe it could be an issue with FAR... Here is the list of my installed mods and the last part of my log : http://pastebin.com/ALYBxugb And here a link to my involved craft for them who want to test is : https://www.dropbox.com/s/oyxsljx7f420p66/Atalante%20I.craft?dl=0 Thanks for any help
-
You think that old mods (like Lionhead's one that appears as RIP) that was never updated since KSP 0.25 could work with current KSP and RO releases? KSP updates have changed so many things (heat management eg.) that I dont think these mods are still playable now. Else, the OP introduces a google spreadsheet that list supported mods WIP : https://docs.google.com/spreadsheets/d/1rSxyNjWSH7eWtUgRstVq_2jDGnAhTwtEiwyNIJhVALg/edit?pref=2&pli=1#gid=149381527 but it appears again that it has not been updated since a while. I really would like to contribute to RO and RP-0 in order to accelerate futur releases and add support for new mods, but I first need to access to documentation (to understand the syntax and semantics used in the config files) and to be guided for the first steps.
-
Hi, I've just seen that a new release of RO was available, so thank to all the great people who worked on it. A new repository called "GoForLaunch" has been created for a "collaborative RP-0 career". What does it means? Is that a fork of RP-0 or a new project of RO career concurrent to RP-0? Last, as you probably will update the thread's first post, can you update the current supported mods list as I've already requested? Thanks
-
Hi, I think you should look at the first post of this thread, there is the list of required, recommended and suggested mods. Else, as I think that this list has not been updated (its the same than last years, and some suggested mods hasn't been updated since KSP 0.23), I've asked the question some posts before and I had this answer from winged : But I think that @NathanKell or @Felger should update the official supported mod list for ckab at least. You can also look the following issue on github : https://github.com/KSP-RO/RealismOverhaul/issues/939. It lists supported mods that contains engines in order to merge their config files (as they add the same engines).
-
Thanks for your answer @winged, The best would be to update the RO's suggested mods list. SSTU is stable in RO, or it is still WIP and bugged (even stratochief brings a lot of work around it)? And Constellation's part freezes while loading, is that coming from PP? I haven't installed Stretchy SRB cause it is marked for KSP 0.23.5
-
Hi there, First, @NathanKell, thank you for all the work you're doing for this mod. I think, as I use to track the development on the github repository and with the answer you've given to @MajorLeaugeRocketScience, that there are now many more mods supported by RO (and maybe RP-0) than the ones which are listed in the thread's main page. Tell me if I'm wrong, but if it is right, could you update this list? Thanks
-
The Linux Thread!
hargn replied to sal_vager's topic in KSP1 Technical Support (PC, unmodded installs)
Thanks sal_vager, I've my answer. I saw that there was issues with joysticks. I tried to test my joystick, but as the thrust axis has an assigned range of −32768 to 32767, only half of my axis is taken into account (KSP set the thrust only from 0% to 50% or from 50% to 100%). So piloting aircrafts becomes a real challenges. I didn't wait for your answer : I did a full KSP reinstall -
[WIP][1.0.5]* RSS Visual Enhancements (RVE)
hargn replied to pingopete's topic in KSP1 Mod Development
Hi, I just want to tell that I'm an Ubuntu x64 user and I encouter the same problems that ubuntu and BevoLJ : - I got black sky and sometimes very strange lower clouds (flickering or moving at very fast speed ?) after installing RVE as described by the discussion with kuba1410 (look at page 152-153 in this thread) - In the tracking station, the Earth appears as named 'Kerbin', so that leads to break all my current carreer's contract (and leads to incompatibilty with RP-0 in all cases) I would also advertise that since yesterday, EVE Overhaul has been updated. With this new release you'll see a space starry night instead of the space center, that make the game unplayable. Starting a new carrer will show you a dialog telling you that your game is broken, and I should to tell that it's right. So I recommend to be very carreful before you to update EVE Overhaul to the new version : backup your file! To get older x86-Release.zip follow this link https://github.com/rbray89/EnvironmentalVisualEnhancements/blob/0d0f0b2a89353a9b3a323c7191639b3ff9bb62ac/x86-Release.zip and click on "View raw". @Pingopete : Which version of scatterer do you recommend? I use the last one (delivered via ckan : v0.01781), and the config file you have pushed on github seem to not match the same pattern than the version I have (by looking at there file name and content). And thanks for youre amazing mod! I could see what it looked on KSP v0.9.0! So I hope to see it working in my KSP v1.X.X. in the future