Jump to content

[Answered] AverageAvailableContracts change not working


Recommended Posts

I changed the AverageAvailableContracts in the contract.cfg file from 10 to 30, nothing seems to change in the game. the file edited was in gamedata\squad. Did I do something wrong? My objective is to increase the number of available contracts. I used wordpad to edit and saved as a text only file. Thanks

Edited by AlanP
Link to comment
Share on other sites

Well, I have left it unchanged at 10, and the game has kept me at a constant 14 or 15 contracts from the beginning. So my guess is that it's a feature that hasn't actually been implemented yet. You don't need to edit the gamefile, though -- there is a slider in the menu when you set the difficulty level of the game.

Link to comment
Share on other sites

Bewing could be right about it not being implemented. I could not find any slider concerning contracts(other that penalty), so if you could be more specific I would appreciate it.

Fancy mouse I did restart the game. Mission Control is fully upgraded.

FullMetalMachinist I check it is still the the same file name exactly. I simply selected the file when I saved it so it would have the same name.

Thank you all for your suggestions. Hopeful there will be more suggestion or at least someone to confirm that it works or doesn't.

Link to comment
Share on other sites

Here is the solution I got to work. https://www.reddit.com/r/KerbalSpaceProgram/comments/2z5azg/is_there_any_mod_that_increases_the_number_of/

Here is a copy of the relevant info from the link from mwerle on reddit.

The only thing I don't understand is why this worked and just editing the origin contracts.cfg did not work.

 

I just traced into this because I've been meaning to do this myself, and it's pretty easy:

You can increase the number of contracts by increasing the AverageAvailableContracts parameter in Contracts.cfg in GameData/Squad/Contracts.

I haven't looked to see if it's possible to do it at runtime yet.

Here's a Module Manager patch (you must have Module Manager installed; save these lines in a file ending with .cfg and place it anywhere in your GameData):

# Copyright 2015 Michael "Micha" WERLE <micha@*obfuscated*.com>
#
# This Module Manager config file modifies the number of contracts
# offered by Mission Control.
#
# LICENSE
# Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
# http://creativecommons.org/licenses/by-nc-sa/4.0/
#
# This patch increases the number of contracts
@Contracts:Final
{
    # Default: 10
    @AverageAvailableContracts = 20
}
Edited by AlanP
Link to comment
Share on other sites

7 hours ago, Streetwind said:

I'm with @FullMetalMachinist on this one, WordPad must have screwed something up. But hey, it's better practice to leave source files alone and use MM patches anyway :wink:

I would agree with you, except for the fact that it is easier to edit a file and change a number than to write a script. Obviously the fact that the script worked and the edit didn't is a deciding factor in which to use. Thanks for the the comment.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...