0 of 0

File information

Last updated

Original upload

Created by

olegbl

Uploaded by

olegbl

Virus scan

Safe to use

Tags for this mod

87 comments

  1. 531840629
    531840629
    • member
    • 0 kudos
    Thanks for the mod big man, would it be possible to make it instead of doing an area splash, we get something like a chain lightning? 
    1. olegbl
      olegbl
      • premium
      • 165 kudos
      Not sure. If you can make a projectile behave that way, then sure. (The way this mod works is that it basically casts a spell on hit, and the current spell is a nova like spell.) It's not something I'm going to look into adding, but contributions are welcome on the GitHub repo.
  2. Zuak66
    Zuak66
    • member
    • 0 kudos
    Hey, gread idea.

    Here an idea for new mods:

    Jewels suffix or Affix : Melee Splash
    Small/large or Grand Charms rolls : +Ice/fire/frost/magic/posion dmg
  3. CBjonathan
    CBjonathan
    • member
    • 0 kudos
    mod not working...crashes the game...
  4. saiko152
    saiko152
    • premium
    • 0 kudos
    It seems the poison damage granted from necro's poison dagger skill doesn't get added to the "area damage".
  5. nickraven
    nickraven
    • member
    • 8 kudos
    Is it posssible to make the visual effect invisible and to make a wave to be instant so there will be a feeleng of a massive weapon strike?
    1. olegbl
      olegbl
      • premium
      • 165 kudos
      You can play around with these values for controlling how "fast" it travels: https://github.com/olegbl/d2rmm.mods/blob/main/MeleeAreaDamage/mod.js#L233-L236

      You can remove this entire section to disable the VFX: https://github.com/olegbl/d2rmm.mods/blob/main/MeleeAreaDamage/mod.js#L271-L332
    2. Azwraiths
      Azwraiths
      • member
      • 4 kudos
      For the travel speed, is it: higher the number, faster it will travel?
    3. nlpx2200
      nlpx2200
      • member
      • 0 kudos
      Love your mods so far. I haven't touched coding at all, but I tried to delete your paragraph - without luck. Any chance u can help me how to remove the visual?
    4. olegbl
      olegbl
      • premium
      • 165 kudos
      Did you hit "Install Mods" after to install the updated version of the mod?
    5. nlpx2200
      nlpx2200
      • member
      • 0 kudos
      So I tried to open the file in Github - delete said paragraph. Save as .json file again and then reinstall mods. Still had the visual.

      Also, I noticed you can't buff the weapon dmg beyond 100 (which area dmg scales from) - is there are way to workaround that?
    6. olegbl
      olegbl
      • premium
      • 165 kudos
      What does GitHub have to do with this? I was just showing which portion of the mod to delete. You need to open the mod's file (mod.js) on your computer, delete the piece of code I indicated, and then hit "Install Mods".

      If you're using "-direct" mode, you'd also need to run "Dry Run" first to clean up prior changes.

      I noticed you can't buff the weapon dmg beyond 100
      Sure, you can modify all the max values in the config file (mod.json):
      https://github.com/olegbl/d2rmm.mods/blob/main/MeleeAreaDamage/mod.json#L15
    7. bbuu
      bbuu
      • member
      • 1 kudos
      I tried tweaking the speed, acceleration and frames the effect stays but i cant get it to look like a proper wave like warcries. Is there a way to change the VFX from the molten boulders to something more ethereal or directly to effects like battle orders or nova?

      EDIT: NVM, I found out a way to jerryring corpse explosion VFX which makes kinda some sense.

      Besides that the mod works great.

      Thanks
    8. ForTheHonor
      ForTheHonor
      • premium
      • 1 kudos
      Hey to Anyone looking to do this you need to edit the file "mod.js"
      in your "MeleeAreaDamage" folder.
      I used notepad++
      you want to find the following values:
        Vel: 6, // pixels / frame
        MaxVel: 6, // pixels / frame
        Accel: 0, // pixels / frame / frame
        Range: 4 * Math.max(1, Math.round(config.radius)), // number of frames
      and change them to This:
        Vel: 60, // pixels / frame
        MaxVel: 1, // pixels / frame
        Accel: 1, // pixels / frame / frame
        Range: 1 * Math.max(1, Math.round(config.radius)), // number of frames

      After you've changed the values save, then go back to D2RMM make sure your "Radius"
      mod settings are set at the default value of 2. then click "INSTALL MODS" and your done.
      to increase the range of splash don't use the mod setting, Change the "Vel" setting up in the mod file:
      Vel: 60, // pixels / frame
      increase it to increase range and reduce it to reduce range.
      The end result is splash damage thats instant and no nova effect.

      ill come back when ive worked out how to remove just the vfx.

    9. ForTheHonor
      ForTheHonor
      • premium
      • 1 kudos
      Hey to anyone who wants to remove the "nova" effect that happens when you hit something
      you need to edit a file called "mod.js" in your ""MeleeAreaDamage" folder.
      I used Notepad++
      navigate your "mod.js" file and find a wall of text that looks like this:

      const hdmissilesFilename = 'hd\\missiles\\missiles.json';
      const hdmissiles = D2RMM.readJson(hdmissilesFilename);
      hdmissiles.meleeareadamage = 'melee_area_damage';
      D2RMM.writeJson(hdmissilesFilename, hdmissiles);

      D2RMM.writeJson('hd\\missiles\\melee_area_damage.json', {
        dependencies: {
          particles: [
            {
              path: 'data/hd/vfx/particles/missiles/explosion_spark_small/vfx_explosion_spark_small.particles',
            },
          ],
          models: [],
          skeletons: [],
          animations: [],
          textures: [],
          physics: [],
          json: [],
          variantdata: [],
          objecteffects: [],
          other: [],
        },
        type: 'UnitDefinition',
        name: 'melee_area_damage',
        entities: [
          {
            type: 'Entity',
            name: 'entity_root',
            id: 2527807554 + 1, // TODO: how to get a unique ID here?
            components: [
              {
                type: 'UnitRootComponent',
                name: 'component_root',
                state_machine_filename: '',
                doNotInheritRotation: false,
                rotationOverride: { x: 0, y: 0.3826834, z: 0, w: 0.9238795 },
                doNotUseHDHeight: false,
                hideAllMeshWhenInOpenedMode: false,
                onCreateEventName: '',
                animations: [],
              },
            ],
          },
          {
            type: 'Entity',
            name: 'entity_vfx1',
            id: 3060251343 + 1, // TODO: how to get a unique ID here?
            components: [
              {
                type: 'TransformDefinitionComponent',
                name: 'component_transform1',
                position: { x: 0, y: 2, z: 0 },
                orientation: { x: 0, y: 0, z: 0, w: 1 },
                scale: { x: 1, y: 1, z: 1 },
                inheritOnlyPosition: false,
              },
              {
                type: 'VfxDefinitionComponent',
                name: 'entity_vfx1_VfxDefinition',
                filename:
                  'data/hd/vfx/particles/missiles/explosion_spark_small/vfx_explosion_spark_small.particles',
                hardKillOnDestroy: false,
              },
            ],
          },
        ],
      });

      const itemNameAffixesFilename = 'local\\lng\\strings\\item-nameaffixes.json';
      const itemNameAffixes = D2RMM.readJson(itemNameAffixesFilename);

      Now you want to delete the wall of text so that it looks like this afterwards:

      const hdmissilesFilename = 'hd\\missiles\\missiles.json';
      const hdmissiles = D2RMM.readJson(hdmissilesFilename);
      hdmissiles.meleeareadamage = 'melee_area_damage';
      D2RMM.writeJson(hdmissilesFilename, hdmissiles);

      const itemNameAffixesFilename = 'local\\lng\\strings\\item-nameaffixes.json';
      const itemNameAffixes = D2RMM.readJson(itemNameAffixesFilename);

      Basically you want to delete the middle part that has blank lines in between and leave 1 blank line inbetween whats left, after this save, then go to your D2RMM and click "INSTALL MODS" and your done!
      this just removes the vfx of the splash attack to make it instant see my above reply.
    10. Grisha97
      Grisha97
      • member
      • 0 kudos
      quick question, if i were to want it to hit targets behind me as well, how would i change it to do that? because the more i increase velocity it just hits stuff in front of me
    11. olegbl
      olegbl
      • premium
      • 165 kudos
      IIRC, the way this cast spell on hit works is that it's origin is at the location of the hit. So you can increase the radius of the circle by changing velocity / time, but you can't change *where* the circle happens. (Well, you can change the visuals, but not the actual projectiles that do damage.)
  6. kts907593
    kts907593
    • member
    • 0 kudos
    I use it well. Thank you. Could it be made to be applied to ranged weapons?. It would be really interesting if it was applied to throwing barbarians !
    1. olegbl
      olegbl
      • premium
      • 165 kudos
      I'm not sure off the top of my head.
      Might be possible by modifying https://github.com/olegbl/d2rmm.mods/blob/main/MeleeAreaDamage/mod.js#L99 - just not sure if D2 has opcodes that work to cast skills on hit for ranged weapons or not.
  7. ForTheHonor
    ForTheHonor
    • premium
    • 1 kudos
    edit: Removed.
  8. crackmatrix
    crackmatrix
    • member
    • 1 kudos
    I am using the one from Gheed's shop and 100/100/2 in setting. The area damage works fine, but life steal and mana steal don't work while having this charm in inventory.
    1. olegbl
      olegbl
      • premium
      • 165 kudos
      I don't think mana/life steal will work on the area damage itself because it's a spell that's being cast by an item (same way as Poison Nova cast by Andariel's Visage will also not be affected by mana/life steal.)

      The settings of 100/100 mean that 100% of your normal damage will be done as area damage, and your overall damage output is 100%. That means your non-area damage output is 0%. So, it makes sense that you wouldn't get life/mana steal.
    2. crackmatrix
      crackmatrix
      • member
      • 1 kudos
      Thanks for help. Changed my settings, and life/mana steal work fine now.
  9. volundarkvida
    volundarkvida
    • supporter
    • 1 kudos
    Hi olegbl,

    Why this charm only have 1% chance?
    Spoiler:  
    Show

    


    this is my mod setting
    Spoiler:  
    Show




    I tried many times reinstall mod in D2RMM
    need help, thank you
    1. olegbl
      olegbl
      • premium
      • 165 kudos
      Not sure what's going on there.

      I cannot reproduce the issue locally, and I don't see how it can happen since the code for the unique small charm is hard coded to 100% chance: https://github.com/olegbl/d2rmm.mods/blob/main/MeleeAreaDamage/mod.js#L447

      Do the non-unique charms also end up with 1% chance?
    2. volundarkvida
      volundarkvida
      • supporter
      • 1 kudos
      i found the culprit, confirm it with 1 by 1 mod I installed,
      can you check with this mod? https://www.nexusmods.com/diablo2resurrected/mods/487

      thank you
    3. olegbl
      olegbl
      • premium
      • 165 kudos
      Yup, that would do it.

      That mod has an option "Set all bonuses to their maximum values" that will take all the min1/max1/min2/max2/etc... columns and set min to max. For affixes like "% chance to cast level X spell on hit", min and max represent two completely different concepts (% chance to hit, and level of the spell cast). So, instead of getting 100% chance to cast level 1 spell, you get 1% chance to cast level 1 spell.

      I recommend keeping that option off and using Perfect Drops for D2RMM, which does the same thing but much more comprehensively and doesn't mess up affixes where min/max don't refer to the same value.
  10. HairyBalds
    HairyBalds
    • supporter
    • 0 kudos
    THIS IS AWESOME!
    How do I get the  .txt files for this mod to import into my "\data\global\excel" folder for my own personal game?  I have done a lot of D2RMM in the past, but right now I'm playing another mod i like (BTDiablo) that doesn't operate on D2RMM... Just wanted to add this melee area damage charm (with 33% reduction & 100% chance) to my game :)  Thank you so much for all of your hard work on these D2R Mods !!
    1. olegbl
      olegbl
      • premium
      • 165 kudos
      1. Install it with D2RMM.
      2. Check the /mods/D2RMM/ folder in D2R directory to see the generated .txt files.
      3. Merge the changes manually.
    2. HairyBalds
      HairyBalds
      • supporter
      • 0 kudos
      Works, thank you!!
    3. olegbl
      olegbl
      • premium
      • 165 kudos
      BTW, latest version of D2RMM (1.6.1 as of time of writing) now supports "data mods", which is basically non-D2RMM mods. It won't magically resolve any merge conflicts, but as long as there's no conflicts, you can add those in addition to D2RMM mods.
    4. sovsefar
      sovsefar
      • premium
      • 2 kudos
      Awesome mod, this breathes new life into melee classes such as zealer and Rabies since i'm also using class balances.