Jump to content

[1.12.4] OhScrap! (OHS) A ScrapYard (SYD) based Part Failure and Reliability Mod - 2.2.99.0-prerelease `<允许降落伞损坏>` edition [28 Dec 2022


zer0Kerbal
 Share

Recommended Posts

4 hours ago, Stephen Locksley said:

Could you make it so that it all BDArmory parts containing resources (ammunition) do not leak out ammunition?

Not to answer for @zer0Kerbal on whether this is possible, as I looked and there are a lot of resources defined in BDArmory for different ammunition types, I just wanted to call out that you can do this yourself for your game now. Just add the following code to the DontLeak.cfg file under GameData/OhScrap/Patches, one for each resource defined by BDArmory that you don't want to leak. Replace <BDArmoryAmmoResourceName> with the actual names from the BDArmory resource config files here.

OHSCRAP_RESOURCE_BLACKLIST
{
	name = <BDArmoryAmmoResourceName>
}

Or, better yet, add them to a new .cfg file and put it in a personal patch folder in GameData. That way, if OhScrap doesn't take this change, it will still work even after subsequent OS updates overwrite the DontLeak.cfg file. Hope this helps!

Link to comment
Share on other sites

39 minutes ago, Zelda said:

Not to answer for @zer0Kerbal on whether this is possible, as I looked and there are a lot of resources defined in BDArmory for different ammunition types, I just wanted to call out that you can do this yourself for your game now. Just add the following code to the DontLeak.cfg file under GameData/OhScrap/Patches, one for each resource defined by BDArmory that you don't want to leak. Replace <BDArmoryAmmoResourceName> with the actual names from the BDArmory resource config files here.

OHSCRAP_RESOURCE_BLACKLIST
{
	name = <BDArmoryAmmoResourceName>
}

Or, better yet, add them to a new .cfg file and put it in a personal patch folder in GameData. That way, if OhScrap doesn't take this change, it will still work even after subsequent OS updates overwrite the DontLeak.cfg file. Hope this helps!

That should work!

Link to comment
Share on other sites

  • 2 months later...

Are there any plans to integrate the repair system from this with the stock repair system? I ask because I cant fix any broken parts with a kerbal and would very much like to not have to reopen my game anytime I would like to repair something. As it takes upwards of 10 minutes to load my game. 
Thanks for keeping this mod updated. :)

Link to comment
Share on other sites

Is it possible to use Ohscrap without Scrapyard?
With enabled both mods, savegames take a very long time to save (KSP is installed on a M.2), making it a pain just to switch from VAB to launchpad.
With Ohscrap/Srapyard this takes 2 minutes, without 25 seconds.

Edited by MaikC
Link to comment
Share on other sites

Ok, I went back a bit in history here and saw that it is probably a known problem.
It's a shame, I like the mod, but unfortunately it's unusable in its current state.

  • Each switching between locations, save and load savegames takes many times longer than normal.
  • there is a bug with the varying DeltaV while using this mod
Edited by MaikC
Link to comment
Share on other sites

1 hour ago, MaikC said:

Ok, I went back a bit in history here and saw that it is probably a known problem.
It's a shame, I like the mod, but unfortunately it's unusable in its current state.

  • Each switching between locations, save and load savegames takes many times longer than normal.
  • the a bug with the varying DeltaV
  • The mod also causes memory problems, sometimes the mod just fills up the RAM with (garbage?) Data. I had a memory usage of 80% with 128GB RAM. Since I uninstalled the mod this hasn't happened again.

Even with the latest version (2.2.1.0-beta)?

If it helps, I have old versions of OhScrap! and Scrapyard running fine with KSP 1.12.3 (without the improvements introduced recently, of course!):

  • OhScrap! 2.1.1.1
  • ScrapYard 2.1.0.0
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

OhScrap (ABBV)
KSP version License
AVC .version files Pages

CODE

Version 2.2.99.0-prerelease - <允许降落伞损坏> edition

  • Released
    • 20 Dec 2022
    • for Kerbal Space Program 1.12.4
    • by zer0Kerbal

For best results - DO A CLEAN INSTALL; DELETE EXISTING INSTALLATION THEN RE-INSTALL

Download from CurseForge

Summary

Spoiler
  • Maintenance release
    • Recompile for 1.12.4
    • <OhScrap.dll> v2.2.1.79 --> v2.2.99.97
    • only major code changes are for localization
    • OhScrap! window now hides when F2 is pressed
  • Localization
    • English
    • Simplified Chinese (简体中文) courtesy of ZhaoFJx
  • Create hero logo/cover
  • FIX:
    • [Bug]: FAR Parachute Incompability Due to Wrong MM Config
    • thank you to T2Fat2Fl
    • [Bug]: Incorrect mod settings descriptions/labels
    • [BUG]: make it so when battery is repaired it will have 1 ec
  • Updated documentation
  • Experimental
    • <RealAntennasFailureModule.cfg.0> v1.0.0.0

Credit

  • Finally proper credit given to
    • @Zeldafor ideas and support. The legend is real!
    • @eightiesboifor ideas, support and testing!

Code 2.2.99.0

  • Recompile
    • KSP 1.12.4
    • .NET 4.7.2
    • C# 8.0
  • <OhScrap.dll> v2.2.1.79 --> v2.2.99.100
  • onGUI
    • GUI Hide on <F2>
  • start of localization
    • us-en.cfg
  • Experimental
    • <RealAntennasFailureModule.cfg.0> v1.0.0.0
      • thank you. requested by @Gordon Dry Gordon Dry
      • currently disabled
      • temporarily removed (on hold)
        • Failure Sounds
        • Light Failure
        • Decoupler Failures
        • New settings
        • part failure sounds and settings
          • settings:
          • five soundfx selections
          • soundOn or Off on part failure
          • set to 0 for random sound
      • new GameData/OhScrap/Sounds
        • includes License.md (one file for all sound assets)
      • nine new sound clips
  • closes #21 - OhScrap window doesn't get hidden when F2 is pressed
  • closes #44 - 2.2.1.0 beta: radially attach in VAB - annoying sound mix of FirePager and PhoneVibrator
  • closes #74 - [Bug]: Incorrect mod settings descriptions/labels
  • closes #76 - [Bug]: FAR Parachute Incapability Due to Wrong MM Config
  • closes #81 - [Bug]: when battery is repaired it has 0 ec
  • updates #19 - audible alarm on failure
  • updates #78 - [Request]: RealAntennaFailureModule

Localization

  • Initial code localization
  • Create
    • Localization/
      • English
        • <en-us.cfg> v1.1.0.0
      • Simplified Chinese (简体中文)
        • <zh-cn.cfg> v1.1.0.0
        • thank you to ZhaoFJx
        • added strings after submitted
      • [readme.md] v2.1.1.0
      • [quickstart.md] v1.0.1.0
  • updates #54 - Localization - Master
  • closes #55 - English <en-us.cfg>
  • closes #63 - Simplified Chinese (简体中文) <zh-cn.cfg>
  • closes #82 - [MISSING] #OHS-UPFME-BeyondRepair
  • closes #80 - [BUG] debug PAW menu doesn't list what

Documentation

  • Add
    • [ManualInstallation.md] v1.1.7.0
    • [Attribution.md] v1.0.6.0
    • [404.md] v1.0.3.1
    • [Disclaimer.md] v1.0.0.0
    • [LegalMumboJumbo.md] v1.0.5.0
    • [Localizations.md] v1.1.3.1
    • [Marketing.md] v1.0.0.0
    • [Notices.md] v1.0.0.0
    • [PartInvoice.md] v1.1.3.1
    • [Why.md] v1.1.0.0
    • [_config.yml]
  • closes #23 - Wiki
  • closes #75 - Check Links in documentation

Update License

  • Updated License: GPL-2.0 + CC NC-BY-SA 4.0
    • was: Expat-MIT + CC NC-BY-SA 4.0

Status

  • Issues
    • closes #50 - OhScrap! (OHS) 2.2.99.0-prerelease <允许降落伞损坏>
    • closes #51 - 2.2.99.0 Verify Legal Mumbo Jumbo
    • closes #52 - 2.2.99.0 Update Documentation
    • closes #53 - 2.2.99.0 Update Social Media
    • closes #20 - Localization - duplicated
    • closes #22 - Dependancy check - duplicated
    • closes #25 - Localization - duplicated
    • closes #26 - Localization - duplicated
    • closes #27 - Localization - duplicated
    • updates #36 - update the ModWrappers

See More

Spoiler

Localization

  • English English
  • your translation here

HELP WANTED - See the README in the Localization folder or the Quickstart Guide for instructions for adding or improving translations. GitHub push is the best way to contribute. Additions and corrections welcome!

red box below is a link to forum post on how to get support

How to get support

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date


How to support this and other great mods by zer0Kerbal

Support Patreon Github Sponsor Buy zer0Kerbal a snack

compiled with: KSP 1.12.4 — Unity 2019.2.2f1 — .net 4.7.2 — C# 8.0

Release Schedule

Spoiler
  1. GitHub, reaching first manual installers and users of KSP-AVC. Right now.
  2. CurseForge. Right now.
  3. SpaceDock (and CKAN users). Soon™
Edited by zer0Kerbal
update links and lasso the birds
Link to comment
Share on other sites

  • 2 weeks later...

I wish to learn more how this mods works. 

What is the unit of expectedLifetime? Does it mean this part could be reused 5 times?

@PART[*]:HAS[@MODULE[ModuleEngines*]:HAS[@PROPELLANT[SolidFuel]]]:NEEDS[OhScrap,ScrapYard]:FOR[OhScrap]
{
	MODULE
	{
		name = SRBFailureModule
		baseChanceOfFailure = 0.5
		expectedLifetime = 5
	}
}

 

@PART[*]:HAS[@MODULE[ModuleEngines*]:HAS[!PROPELLANT[SolidFuel]]]:NEEDS[OhScrap,ScrapYard]:FOR[OhScrap]
{
	MODULE
	{
		name = EngineFailureModule
		baseChanceOfFailure = 0.11
		expectedLifetime = 6
		spaceEngineBaseChanceOfFailure = 0.1
		spaceEngineExpectedLifetime = 3
	}
}

Is it possible to treat certain parts differently? I am thinking about distinguising vacuum engines from first stage ones.

Has anyone of you experience playing with Real Fuels Stock configs?

Link to comment
Share on other sites

  • 3 weeks later...

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.

 Share

×
×
  • Create New...