BattleTech

File information

Last updated

Original upload

Created by

raokster

Uploaded by

jaajoo

Virus scan

Safe to use

Tags for this mod

16 comments

  1. bhechinger
    bhechinger
    • supporter
    • 0 kudos
    I would like to ask that you change mods to Mods in this path: mods/StabilePiloting/Log.txt

    See this PR for reference: https://github.com/citizenSnippy/ArmorRepair/pull/2

    Thank you for an awesome mod!!
  2. worcottle
    worcottle
    • member
    • 7 kudos
    Good mod, but the typos make my eye twitch every time I see them.

    When you get a chance, jaajoo, you should fix those. Take pride in your work! ;p
  3. PlayerTw0
    PlayerTw0
    • premium
    • 75 kudos
    Thanks man using this in my mod pack
    https://www.nexusmods.com/battletech/mods/198
  4. Madcat221
    Madcat221
    • premium
    • 825 kudos
    "Now yet supporting latest version of ModTek"? Meaning... Now supporting it, or Not Yet Supporting?
    1. troch22
      troch22
      • supporter
      • 0 kudos
      I asked the same thing..I think he means.. Now supporting it!
    2. jaajoo
      jaajoo
      • member
      • 1 kudos
      typo

      Most mods that are in are working directly with Mod Loader. Will see, maybe at some point have time to convert all for ModTek. In the end ModTek makes it look a bit better in your folder but not much other benefits.
  5. troch22
    troch22
    • supporter
    • 0 kudos
    Trying this out.. . Where are i installing these files exactly? I unziped file and put the exact way it unpacked into the mods folder...
    So folder "StabilePiloting" and "StabilePiloting.dll" into BATTLETECH/Mods

    I got these errors

    Found DLL: StabilePiloting.dll
    7:35:54 PM - StabilePiloting.dll: Found and called entry point with void param: StabilePiloting.Init
    7:35:54 PM - StabilePiloting.dll: While loading a dll, an exception occured:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "D:\Steam SSD Library\steamapps\common\BATTLETECH\mods\StabilePiloting\Log.txt".
    at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
    at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
    at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
    at StabilePiloting.Logger.LogError (System.Exception ex) [0x00000] in <filename unknown>:0
    at StabilePiloting.Settings.Load () [0x00000] in <filename unknown>:0
    at StabilePiloting.StabilePiloting.Init () [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    --- End of inner exception stack trace ---
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at BattleTechModLoader.BTModLoader.LoadDLL (System.String path, System.String methodName, System.String typeName, System.Object[] prms, BindingFlags bFlags) [0x00000] in <filename unknown>:0

    does it matter where the .dll sits? should it be in the "StabilePiolting" folder with the .JSON file?
    1. taintedloki
      taintedloki
      • premium
      • 3 kudos
      Yes, it should be in the StabilePiloting with the json, it wont work otherwise. This is for some mods, ignore this.
    2. jaajoo
      jaajoo
      • member
      • 1 kudos
      Should not be in the same folder with the json. New ModTek is done so that all are in the same folder, I am still supporting directly Mod Loader so files are under Mods folder. Will make all to support ModTek at some point.

      @taintedloki, or you tested and it works from the subfolder as well? Maybe ModTek automatically checks from there as well then.

      It says there...
      "Could not find a part of the path "D:\Steam SSD Library\steamapps\common\BATTLETECH\mods\StabilePiloting\Log.txt"."

      Any idea how that is possible?
    3. taintedloki
      taintedloki
      • premium
      • 3 kudos
      ive tested it a bit more now, the dll for this mod needs to be in the mods folder while the json goes into the stabilepiloting folder. Ive its all where its supposed to be, the way jaajoo has it in the mod download, this is what you should see in BTModLoader.log

      StabilePiloting.dll: Found and called entry point with void param: StabilePiloting.Init
      Found DLL: StopScrolling.dll
      If this is what you see the mod is loaded and working.
    4. troch22
      troch22
      • supporter
      • 0 kudos
      Got it working now.. Thx fellas
  6. willssi
    willssi
    • member
    • 18 kudos
    Interesting idea, how does your mod account for health added by the Cockpit Mod? There shouldn't be a stability malus until the pilot's actual health is decreased.

    edit: also, you misspelled "stable" :) you should change it if you can, it will help others find your mod if they're searching.
    1. jaajoo
      jaajoo
      • member
      • 1 kudos
      To be honest I did not verify-verify. I hope there is not a bug..

      It reads injuries from the pilots data, so I would assume that to be just the injuries. Would need to double check.
  7. DonovanQ
    DonovanQ
    • premium
    • 0 kudos
    1. I like how Stable Piloting is under "Balance" category. :)
    2. Can this be adapted to include a reduction in stability damage per Reserve? (Based on Piloting skill, not perk.)
  8. troch22
    troch22
    • supporter
    • 0 kudos
    This definitely looks interesting. Will try it out when i get home..

    1 quest.. In your discrption. "Now yet supports modtek" it does or doesn't?
  9. Mopar63
    Mopar63
    • supporter
    • 0 kudos
    This is awesome, I love how the modding community are providing the game a hard core play mode. AWESOME