kcs123 Posted November 7, 2021 Share Posted November 7, 2021 31 minutes ago, KawaiiLucy said: Is it possible though to make this 'automatic'? I've been playing on 2.5x rescale, and noticed it wasn't possible to complete the barnstorming contracts, since the maximum allowed altituted was then below the ground. Adding a few meters manually in the config made it possible though, but it's kinda tedious. Probably. By using custom MM patch that would multiply altitude values by rescale factor. Can't say if that should be within scope of this mod or not. Although, it probably not wise idea to multiply required altitude for each contract, only for those that are near or on ground levels. Or to write exact altitude for each contract and for each rescaled world. Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 26, 2022 Share Posted January 26, 2022 (edited) I'm getting a bug I can't debug. It shouldn't be happening. Wright group contracts aren't loading because CC can't find modules from FerramAerospaceResearchand AJE. But the config files have proper requirements so these errors shouldn't be showing up. Spoiler REQUIREMENT:NEEDS[FerramAerospaceResearch] { name = PartModuleUnlocked type = PartModuleUnlocked title = Aileron or Elevon partModule = FARControllableSurface } Edited January 26, 2022 by Krzeszny Quote Link to comment Share on other sites More sharing options...
etmoonshade Posted January 27, 2022 Share Posted January 27, 2022 13 hours ago, Krzeszny said: I'm getting a bug I can't debug. It shouldn't be happening. Wright group contracts aren't loading because CC can't find modules from FerramAerospaceResearchand AJE. But the config files have proper requirements so these errors shouldn't be showing up. Hide contents REQUIREMENT:NEEDS[FerramAerospaceResearch] { name = PartModuleUnlocked type = PartModuleUnlocked title = Aileron or Elevon partModule = FARControllableSurface } Based on that error, it looks like FARControllableSurface doesn't exist in your game anywhere. It may be that FAR has changed and no longer uses that. It might be worth downloading an old version of FAR, seeing what part(s) this was attached to, and then comparing it to the new one and replacing. And then report back here so we know Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 27, 2022 Share Posted January 27, 2022 (edited) 27 minutes ago, etmoonshade said: Based on that error, it looks like FARControllableSurface doesn't exist in your game anywhere. It may be that FAR has changed and no longer uses that. It might be worth downloading an old version of FAR, seeing what part(s) this was attached to, and then comparing it to the new one and replacing. And then report back here so we know You don't understand and I didn't explain it well. FAR isn't installed. AJE isn't installed either. Those folders don't exist in GameData. That's why the requirements that cause the errors shouldn't be trying to load at all. In other words, NEEDS[FerramAerospaceResearch] is not functioning properly (same with the one that needs AJE). Edited January 27, 2022 by Krzeszny Quote Link to comment Share on other sites More sharing options...
etmoonshade Posted January 27, 2022 Share Posted January 27, 2022 (edited) 29 minutes ago, Krzeszny said: You don't understand and I didn't explain it well. FAR isn't installed. AJE isn't installed either. Those folders don't exist in GameData. That's why those requirements shouldn't be trying to load. They should be skipped, so no errors are to be expected. ah. Search under <KSP directory>\Logs\ModuleManager\ModuleManager.log for "FOR[FerramAerospaceResearch] maybe? See if something's mistakenly providing it? Double edit: First, you can also search that file for "FerramAerospaceResearch" as well and see what's referencing it. Second, I realize this is based on Contract Configurator, but my suspicion is that you've got something that thinks it's providing the entirety of FAR. Third edit: First, it's FOR and not HAS. Second, no colon between HAS and the first bracket. Edited January 27, 2022 by etmoonshade Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 27, 2022 Share Posted January 27, 2022 (edited) 31 minutes ago, etmoonshade said: ah. Search under <KSP directory>\Logs\ModuleManager\ModuleManager.log for "HAS:[FerramAerospaceResearch]" maybe? See if something's mistakenly providing it? btw it's :HAS, not HAS: (to be clear, the same error is caused by missing FerramAerospaceResearch and AJE) I checked the last ModuleManager.log without launching the game and there's no :HAS[Ferram or [AJE The only [AJE] mentions are these [LOG 00:08:12.064] :BEFORE[AJE] pass [LOG 00:08:12.064] :FOR[AJE] pass [LOG 00:08:12.066] :AFTER[AJE] pass Edited January 27, 2022 by Krzeszny Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 27, 2022 Share Posted January 27, 2022 (edited) This looks interesting, but I don't know what it means: Non-DLL mods added (:FOR[xxx]): FerramAerospaceResearch (other mods listed here) AJE Edited January 27, 2022 by Krzeszny Quote Link to comment Share on other sites More sharing options...
etmoonshade Posted January 27, 2022 Share Posted January 27, 2022 (edited) 1 hour ago, Krzeszny said: This looks interesting, but I don't know what it means: Non-DLL mods added (:FOR[xxx]): FerramAerospaceResearch (...) AJE I haven't had enough caffeine or I'd have pointed that out earlier. Check my edit that your post didn't catch. Mentioning HAS was a mistake on my part, my bad. Edit: To be clear about it: Those "FOR" statements from MM basically say that whatever has the FOR provides the full functionality of the mod specified. So if you have a "FOR[FerramAerospaceResearch]" statement, MM thinks that you have FAR fully installed. Essentially, you've found the problem - you just need to find (again, MM logs) whatever has those FOR statements. Edited January 27, 2022 by etmoonshade Quote Link to comment Share on other sites More sharing options...
Krzeszny Posted January 27, 2022 Share Posted January 27, 2022 (edited) 2 hours ago, etmoonshade said: I haven't had enough caffeine or I'd have pointed that out earlier. Check my edit that your post didn't catch. Mentioning HAS was a mistake on my part, my bad. I can't read either. Ok, so it's FOR. I looked for :FOR[Ferram and [AJE in GameData and found something. First, there's a file called Custom_FARAeroData.cfg in GameData root directory and it contains the line "@FARAeroData:FOR[FerramAerospaceResearch]" Second, there's AJE.cfg in DaMichel/Fuselage/Patches and it contains "@PART[DM-fuselage-intake]:NEEDS[AJE]:FOR[AJE]" The first file obviously shouldn't be in GameData but is the second one also coded wrong? It would seem like MM loads FOR despite the NEEDS part not being correct. Anyway, I'm removing both and seeing if KSP works now. EDIT: It works! So this is what was causing the bug that prevents the Wright group contracts from appearing. Edited January 27, 2022 by Krzeszny Tested Quote Link to comment Share on other sites More sharing options...
etmoonshade Posted January 27, 2022 Share Posted January 27, 2022 25 minutes ago, Krzeszny said: I can't read either. Ok, so it's FOR. I looked for :FOR[Ferram and [AJE in GameData and found something. First, there's a file called Custom_FARAeroData.cfg in GameData root directory and it contains the line "@FARAeroData:FOR[FerramAerospaceResearch]" Second, there's AJE.cfg in DaMichel/Fuselage/Patches and it contains "@PART[DM-fuselage-intake]:NEEDS[AJE]:FOR[AJE]" The first file obviously shouldn't be in GameData but is the second one also coded wrong? It would seem like MM loads FOR despite the NEEDS part not being correct. Anyway, I'm removing both and seeing if KSP works now. Assuming both of them reference only FAR/AJE exclusive stuff, you should be able to blow both of them away with no ill effects. Also, I'd suggest mentioning this on the thread for whatever the second mod is. FOR vs. NEEDS is... if not a common error, a common enough one that it's immediately what I thought of (even if I couldn't remember the actual keyword :V) - the mod author might appreciate the heads up. Quote Link to comment Share on other sites More sharing options...
Hydragal Posted March 17, 2023 Share Posted March 17, 2023 Hey, absolutely loving this contract pack so far. I love tinkering with planes in ksp, and this makes that useful. I see it's been asked about before a few pages(years) ago, but I was wondering if there's any plans for making more advanced Coast Guard type missions? If it's a matter of inputting some values in some code, I would be more than happy to fly around and find some neat places for contracts to take place and get the necessary information about the location, I'm guessing it would at least be height, lat and long. Although, some of the places I have in mind might take most craft capable of VTOL more than a day to reach, but I guess the timing is modifiable too. Quote Link to comment Share on other sites More sharing options...
leroidangleterre Posted April 27, 2023 Share Posted April 27, 2023 Hi, I've used the contract pack GAP (Giving Aircraft a Purpose) to generate cargo contracts with different payloads to the Abandoned Island and a few other locations. I would like for a contract to request a random amount of cargo to be carried by the aircraft, but instead of a random value in a given interval (that can be given by numPassengers = Random(1, 10) ), I would like something like this: waterAmount = chooseRandom(1, 3, 10, 30, 100, 300, 1000) Is there such a function ? Where can I find info about that ? Quote Link to comment Share on other sites More sharing options...
James Kerman Posted May 6, 2023 Share Posted May 6, 2023 Hi @leroidangleterre, your question has been moved from KSP 1 mod releases to this dedicated thread for GAP. Quote Link to comment Share on other sites More sharing options...
inigma Posted Thursday at 12:08 AM Author Share Posted Thursday at 12:08 AM I am back and interested in getting this mod fully up to date as I run a KSP server now through my org, and are desperate for money making airplane contracts. I will need to check in with Contract Configurator to make sure things are functional. Quote Link to comment Share on other sites More sharing options...
inigma Posted Friday at 01:03 AM Author Share Posted Friday at 01:03 AM (edited) I have tested GAP in KSP 1.12.5 and so far all the contracts work as expected. No modifications to the code necessary as far as I can tell. Only slight incompatibility is with Luna Multiplayer Server in that if you are not the oldest session on the server, you may have to ask all players to disconnect including yourself and then you rejoin alone to generate the next contract. I'll update this thread if I run into further issues as so far I've only tested the flight science contracts and the passenger plane contracts (not yet the stunts or Coast Guard). edit: I am using Contract Configurator 2.11 maintained by KSP-RO: https://github.com/KSP-RO/ContractConfigurator/releases/tag/v2.11.0.0 edit: and Module Manger 4.2.3: https://ksp.sarbian.com/jenkins/job/ModuleManager/ Edited Friday at 01:14 AM by inigma Quote Link to comment Share on other sites More sharing options...
Manul Posted Friday at 08:19 AM Share Posted Friday at 08:19 AM The K2 rescue mission works just fine with Parallax and terrain detail high. Other missions that spawn Kerbals and vehicles work fine too. Didn't test Operation Manley Freedom yet. Quote Link to comment Share on other sites More sharing options...
inigma Posted yesterday at 05:17 AM Author Share Posted yesterday at 05:17 AM GAP 2.11 released. Enjoy. basically updated versioning scripts to give everyone a warm fuzzy. now accepting pull requests for any additional contracts people want to add. https://github.com/inigmatus/GAP/releases/tag/2.11 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.