Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Melon Face

Uploaded by

Melonface

Virus scan

Safe to use

Tags for this mod

44 comments

  1. v1ld
    v1ld
    • premium
    • 49 kudos
    Locked
    Sticky
    Here's a fixed version of the Level 2 file that works with patch 1.5 and redscript 0.5+.  Melonface, please feel free to upload to your files if you like.  Thanks for the original idea and mod.

    https://drive.google.com/file/d/1CjIkcGM2xub5V6IGq7GUXzcYVI_nS-aM/view?usp=sharing
    1. Melonface
      Melonface
      • premium
      • 2 kudos
      Good initiative. Thanks.

      I took your edits and made the LVL4 and LVL8 files as well. They're all uploaded now and I've credited you for the update. :)
  2. sudev29
    sudev29
    • member
    • 0 kudos
    Works with 2.0!
    1. LuridJester
      LuridJester
      • member
      • 1 kudos
      Can confirm.  All three versions work with 2.02.
  3. KrissyKat13
    KrissyKat13
    • member
    • 0 kudos
    This doesn't seem to work anymore?  Or perhaps I've installed it incorrectly?
  4. Frugged
    Frugged
    • member
    • 0 kudos
    Works for 1.6!

    Did NOT have to change anything
    1. CardoonEN
      CardoonEN
      • member
      • 0 kudos
      thx
  5. GhostyJnR
    GhostyJnR
    • member
    • 0 kudos
    Just downloaded it and I gota say, this is just one of those mods you wonder "WHY IS THIS NOT IN THE BASE GAME?!?" Especially when if you get a legendary early and want to keep using it, you have to give an arm and a leg late game to keep upgrading it.

    An idea for an offshoot mod or something though. Remove the level requirements for upgrading (allowing you to max out an items upgrades at any point) but make it so that the higher away the upgrade from your actual level, the more expensive it is. Just an idea to help you get a slight edge on higher difficulties if you have the resources to burn.
  6. allthenamesaret4ken
    allthenamesaret4ken
    • member
    • 0 kudos
    where do i put the file? i've never used redscript before.

    nevermidn i figured it out
    1. Melonface
      Melonface
      • premium
      • 2 kudos
      Sweet!
    2. ShadyDesperado
      ShadyDesperado
      • premium
      • 0 kudos
      Where did you put it? The mod has no instructions
  7. zeagle772
    zeagle772
    • supporter
    • 0 kudos
    Seems to work fine in 1.6
    1. rocky210420
      rocky210420
      • supporter
      • 0 kudos
      Any issues so far?
  8. Mority90
    Mority90
    • supporter
    • 0 kudos
    Does this work with the latest update?
  9. elspath
    elspath
    • supporter
    • 0 kudos
    This mod is no longer working for sense the update.  For me atleast.
  10. tesnitrojack
    tesnitrojack
    • member
    • 20 kudos
    Great idea!
    I actually modified your changes a little so it basically caps the value of upgradeNumber to a hard upper limit, rather than using a static value. That way you see an initial increase in cost before it levels out completely.
    1. Melonface
      Melonface
      • premium
      • 2 kudos
      That's a good call. Nicely done!
    2. Entreped
      Entreped
      • supporter
      • 2 kudos
      Any chance you could explain / share how you did that tesnitrojack?  I have been looking for something like that for quite some time and I don't know how to code for shite.  Definitely would rather have an upper limit as the static value feels a little too cheaty on  2.  And on the other end of the spectrum a static 4/8 is a little too hardcore.  I'd like an upper limit of say 4 so that I at least have to craft 1,2, and 3 before it caps out.  Any help would be appreciated thanks!  And thanks for the great mod.  The concept is solid.
    3. tesnitrojack
      tesnitrojack
      • member
      • 20 kudos
      Sure it's pretty simple.

      First you need to add these lines of code underneath the existing line as shown here (I'm using a max of 8 upgrades but you can use whatever positive value).

          upgradeNumber += 1.00;
          if (upgradeNumber > 8) {
            upgradeNumber = 8;
          };

      Then just revert the change made by this mod (the part with all the comments and such) so that upgradeNumber is used again.
    4. ceano
      ceano
      • premium
      • 134 kudos
      @ tesnitrojack

      I get a Red Script Compilation error, reverted the changes from this mod and added your lines but to lvl 4...

      @replaceMethod(CraftingSystem)
      public final const func GetItemFinalUpgradeCost(itemData: wref<gameItemData>) -> array<IngredientData> {
          let i: Int32;
          let ingredients: array<IngredientData>;
          let tempStat: Float;
          let statsSystem: ref<StatsSystem> = GameInstance.GetStatsSystem(this.GetGameInstance());
          let upgradeNumber: Float = itemData.GetStatValueByType(gamedataStatType.WasItemUpgraded);
          upgradeNumber += 1.00;
          if (upgradeNumber > 4) {
          upgradeNumber = 4;
          };
          ingredients = this.GetItemBaseUpgradeCost(itemData.GetItemType(), RPGManager.GetItemQuality(itemData));
          i = 0;
          while i < ArraySize(ingredients) {
            ingredients[i].quantity = ingredients[i].quantity * Cast<Int32>(upgradeNumber);
            ingredients[i].baseQuantity = ingredients[i].quantity;
            i += 1;
          };
          tempStat = statsSystem.GetStatValue(Cast<StatsObjectID>(this.m_playerCraftBook.GetOwner().GetEntityID()), gamedataStatType.UpgradingCostReduction);
          if tempStat > 0.00 {
            i = 0;
            while i < ArraySize(ingredients) {
              ingredients[i].quantity = Cast<Int32>(Cast<Float>(ingredients[i].quantity) * (1.00 - tempStat));
              i += 1;
            };
          };
          return ingredients;
        }
    5. tesnitrojack
      tesnitrojack
      • member
      • 20 kudos
      Hi ceano,

      Yeah my original change won't work with new versions of CES. It's a simple fix though. You just need to make the type float explicit. Modify your code to use this and it should compile fine. (Basically just add the decimal to ensure type float).

          if upgradeNumber > 4.0 {
            upgradeNumber = 4.0;
          }
    6. ceano
      ceano
      • premium
      • 134 kudos
      Thanks
  11. Melonface
    Melonface
    • premium
    • 2 kudos
    Uploading with v1ld's fixed version for 1.5.

    Thanks for fixing this. :)