Jump to content

[WIP][0.24] Part cost scaler


Crush

Recommended Posts

I found career mode with cost too easy for me as a KSP veteran. Even when I played iron-man (no loading, no reverting flights) I never even got close to not having enough cash. So I decided to make it a bit more challenging by writing a little program which edits all the part.cfg files and increases (or decreases) all part costs by a given factor. It comments out the old value and uses that value when run again, so the change is reversible.

The program works great for me, but in its current state it isn't usable for anyone else. The program is command-line based, the path to the KSP directory is hardcoded to my install directory and the cost factor is also hardcoded. To make it usable for someone else I would have to build a proper GUI for it, which would be much more work than writing the functionality itself.

  • Does such a tool already exist?
  • Is there interest in such a tool?
  • Is there anyone else who is currently making one?

When the answers are no, yes and no, I might make it end-user ready and offer it for download.

Edited by Crush
Link to comment
Share on other sites

With a newer version of ModuleManager a simple config should allow you to do this.


@PART[*]:FINAL
{
@cost *= 1.5
}

This would increase the cost of all parts with a cost value by %50.

Edit: Was curious if it would work and can confirm that it works.

Edited by sirklick
Minor code change.
Link to comment
Share on other sites

With a newer version of ModuleManager a simple config should allow you to do this.


@PART[*]:FINAL
{
@cost *= 1.5
}

This would increase the cost of all parts with a cost value by %50.

Edit: Was curious if it would work and can confirm that it works.

This was basically the first thing I did with .24, works great.

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...