Maliki's Dual Wield VZ ver 1.8

● ARCHIVED · READ-ONLY
Started by Maliki79 234 posts Page 7 of 12 View original ↗
  1. What exact script call did you use?
    And where did you use it?
  2. Maliki79 said:
    What exact script call did you use?
    And where did you use it?

    That one
    $gameActors.isWeaponEquipped(type)
    Because it's only one provided in the description of the plugin. I used it via conditional branch, latter with script and plugin command (everything I had i mind), tired to change it a bit too. But anyway, I started to "google-ing" around and came up with:
    This
    "$gameActors.actor(actor_id).equips()[slot_id] != null"]
    And, to be honest, it actually worked. So... thanks for the quick respond and, of course, the great plugin. And sorry for taking your precious time.
  3. Glad you got it working.
    Still, it was technically a bug.
    I'll look into fixing that call as time allows.
  4. Hi there!

    First up, thanks for this neat plugin! I have characters in my game that can utilize 2-handed weapons and dual wield so this helps me out.

    Second, and I acknowledge that this is a "me" thing so you can say if you don't want to work on this, but would it be possible to add a weapon tag that disables the offhand slot? As it is, you still can't wear anything in the off-hand slot while wearing a weapon has the <twohand> tag. However I can still select the off-hand section and it'll just show a blank page. I just don't want to give that option to players when they equip a 2H weapon to certain classes.
  5. Hmmm... It's worth looking into.

    Edit: And Done.
    Re-DL the plugin.
    A new param was added to it called 2H_DisableOtherSlot which will disable the expected slot if the other one is equipped with a 2Handed weapon.
  6. Works like a charm! tysm!
  7. For some reason when i put the twohand sword in the offhand and then press on the main hand it gives me TypeError :Cannot read property 'clamp' of null.
    I just started a new game for testing so no other scripts
  8. Can you give a ss of the error from the console?
  9. TypeError: Cannot read property 'clamp' of null
    at Game_Actor.Game_BattlerBase.refresh (rpg_objects.js:2614)
    at Game_Actor.Game_Battler.refresh (rpg_objects.js:3000)
    at Game_Actor.refresh (rpg_objects.js:3756)
    at Game_Actor.forceChangeEquip (Maliki's Dual Wield.js:294)
    at Window_EquipItem.updateHelp (rpg_windows.js:2505)
    at Window_EquipItem.Window_Selectable.callUpdateHelp (rpg_windows.js:1233)
    at Window_EquipItem.Window_Selectable.select (rpg_windows.js:797)
    at Window_EquipItem.Window_Selectable.reselect (rpg_windows.js:805)
    at Window_EquipItem.Window_Selectable.activate (rpg_windows.js:784)
    at Scene_Equip.onSlotOk (rpg_scenes.js:1502)
  10. I took a look, but could not recreate the issue.

    What I did was make a new project, in it, took a weapon, tagged it Twohand, then gave it to an actor that had the dual wield trait. (I put it in the off hand slot.
    (As you said, there were no other custom plugins active at the time.)

    Then I tried to equip a weapon in the main hand and had no problem.

    If that is not what you did, please let me know how your weapons were set up.
  11. I made at mistake.
    It's not when i try to put Twohand, it has nothing to do with it.
    its when i put weapon(any weapon) in my off-hand and then press on my main hand i get that message.
    (its working fine when i turn off the script and use the regular dual wield)
  12. Did you happen to change the filename of this plugin?
  13. I used the name that appeared in the download raw button but the name wasn't right. (saved it as js file)
    but after u said that i tried to download it from the "see original" button and it worked with that name.
    Thank you. and sorry if i caused headache.
  14. Snuper1234 said:
    I used the name that appeared in the download raw button but the name wasn't right. (saved it as js file)
    but after u said that i tried to download it from the "see original" button and it worked with that name.
    Thank you. and sorry if i caused headache.
    No worries.

    Glad we fixed the issues.

    Thanks for using my plugin.
  15. Hello, I've been searching for something a bit precise surrounding dual wielding for my project, and wondered if you could know if this is possible easily while using your plugin :

    I'll make en example to better explain.
    There are two weapon types : Swords, Daggers. Both are one-handed.
    What I am searching for is at level 10, the actor learns to dual wield but for Daggers only.
    Then at level 20, he learns dual wielding for Swords.

    I was looking for some kind of plugin about dual wielding that could do that, but I didn't find anything.
    As I don't know anything about coding, maybe it's too complicated to create ?
    Anyway, good luck with your next work ! ^^
  16. @Deagron , it is doable but would require updating this plugin.
    That said, I'm planning on updating this plugin for the upcoming MZ release (which I do recommend) and will likely not provide further updates for my MV versions.

    If the solution turns out to be easily applied to both, then I will update them together.
  17. Thank you for your answer ! ^^
    Unfortunately I recently bought MV, and cannot afford another buy for the moment, so I'll have to wait later ^^
    Anyway, thanks again and good luck with your next work :)
  18. Hello @Maliki79 , I wondered if I could use the <shld> notetag to also have arrows with my bow.
    Would it conflict with the shields even if I give them another weapon type ?
  19. It should work ok. Give it a try and let me know if you have issues.
  20. Ok it works, but I can choose both shields and arrows which would seems strange
    Also, would the arrow with the <shld> notetag influence the bow's attack ?
    What I intend to do with arrows is to have them add elemental damage or status effects to the bow's attack. I suppose that the <shld> notetag disable attacking with both weapons, doesn't it ?