设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 77|回复: 0

[转载发布] Ramza's True Dual Wield -=Deprecated August 24 2017=-

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    5778

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    25563
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    32235

    灌水之王

    发表于 昨天 19:49 | 显示全部楼层 |阅读模式
    This plugin has been updated to a much newer, easier to use version. I completely advise against continuing to use the deprecated version contained in this topic. Please visit the topic for the new version here.

    The newest version fixes many bugs that this version had, but is no longer compatible with the functions from this plugin.

    • It correctly handles barehanded offhand or mainhand weapons
    • It supports two-handed weapons, which can't be equipped into the offhand, and cannot be wielded with a weapon in the offhand
    • It also supports offhand and mainhand only weapons, which can only be equipped on their respective slots
    • Also supports light shields that can be equipped alongside a two-handed weapon (like a buckler)
    • It allows the player to equip a shield into the offhand weapon slot of a dual wield actor
    • The basic setup for this new version is plug and play - there is virtually no setup required to get it working out of the box.
    • Has fewer plugin requirements, only needed YEP_BattleEngineCore
    • Supports special weapon animations from YEP_WeaponAnimations
    • Has a powerful menu extension plugin that shows separate attack values for the main and offhand weapons, and interfaces with my shield block plugin as well to show that if desired.
    Once again, this topic contains the old version of this plugin, which is inferior to the new version in every way. Please update to the new version rather than use this one.

    Check inside the spoiler for the original content of this post.
    Spoiler: Old Post
    By default, dual wielding is pretty terrible in RM MV. For one thing, it's difficult to balance dual wielding at all, and you often need to use plugins to get around a lot of logic problems concerning it. But WORST OF ALL (probably not really), the battle setup for it is GROSS.


        I dunno about you guys, but my vision for dual wielding involves actually attacking twice, and by default, that isn't how dual wielding works. If you add an extra weapon attack to a dual wielding state, you fix that problem, but then you have a glaring animation issue, namely that stupid cross shaped... thing. When dual wielding was one hit, this was alright, but now that you're hitting twice, it looks like you're actually hitting four times. Well I set out to fix it... and was mostly successful.


    Ramza's True Dual Wield Plugin for RMMV: version 1.0.5





    What does it do?


    • New in v1.0.5:
    • Bug fixes regarding missed hits
    • New in v1.0.1:
    • Actors do damage per swing based on the attack of their equipped weapon in their main/offhand
    • V1.0.0:
    • Changes the default behavior of the attack animation of dual wielding actors
    • The default battle animation was originally two battle animations played on top of each other, the one from the offhand mirrored.
    • Using this plugin, an actor who is dual wielding will alternate between his mainhand weapons animation and his offhands
    • also alternates the weapon sprite graphic between both weapons
    • supports odd numbers of hits (skills that do 3 hits) without losing weapon metadata



    Why?


        The original dual wielding animation was gross if you were using it with a state that made dual wielding hit multiple times. After I mucked with the animation thing, making the weaponsprite show up correct was also a priority.


    Usage:


    • In v1.0.1b and above RamzaDWMissCorrection(user) can be called from an action sequence if a miss is detected, to force the attack immediately following the missed attack to deal the proper amount of damage and use the correct animation. The weaponsprite currently still displays as the one that just missed, however. Fixed in v1.0.5.
    • In v1.0.1 and above, if you are using an action sequence that calls the 'action effect' before you call the 'attack animation', there is a new parameter in the plugin that needs to be set to true, and a function call to RamzaDMGsetup(user); must be made in your setup sequence.
    • This plugin overwrites the function Window_BattleLog.prototype.showActorAttackAnimation from rpg_windows.js As such it will be incompatible with any other plugins that change that function
    • YEP_WeaponAnimation is required for this plugin to function. All weapons should have a <Weapon Image: x> note tag on them to prevent weird behavior
    • This plugin needs a new save to be tested correctly, unless the weapon animation plugin was already installed and set up when the original save was made
    • I have not tested it without the use of action sequences. I specifically use the Finish Action to call a cleanup function to ensure that weapon metadata isn't lost in certain circumstances
    • For it to properly work, you need dual wielding to be set up as a state that increases attack by (at least) 1. See image:

    [/url]


    • An action sequence that calls an 'attack animation:' event will trigger this plugin automatically
    • In the finish action, a script must be called to do cleanup to make sure that weapon metadata isn't lost

    RamzaDWCleanup()


    • This can be added right into the finish action sequence, or from a common event that is called from it. Do not call it from inside the whole or target actions or data may be lost



    How does it look?


        before:

    Spoiler[url=https://forums.rpgmakerweb.com/attachments/2016-03-07-0020-26-webm.33142/]View attachment 2016-03-07-0020-26.webm







        after:

    SpoilerView attachment 2016-03-07-0027-28.webm









        Individual Damages:

    Spoiler






    Terms of Use:


        Free for all types of use. You don't even have to credit me for it (although it's be neato if you did).


        Also remember that you need a couple of Yanfly's plugins for this to completely work so... abide by his terms of use too.


    Known Issues:


    • If an actor is dual wield type, but has no weapon in his main handeither of his hands, all attacks will be animated with the metadata of his offhandequipped hand(animation weaponsprite swingtype) the weapon damage of both hands remains as it should. This seems to be rmmv preventing a scenario where someone who is actually using a weapon at all would show a barehanded animation. I will attempt to fix this behavior for the next release.
    • If your attack action sequence has a conditional hit system built into it (not showing the attack animation unless a hit is detected) if a dual wield character misses on the mainhand attack, the offhand attack will use the metadata from the mainhand. The cleanup script detects this as an odd numbered attack (because you only called the animation once) it turns out this happens whether or not your action sequence is setup to detect  hit before showing any animation or notFixed in v1.0.5.
    • v1.0.1b: if the new RamzaDWMissCorrection(user) function is used when a miss is detected during an action sequence the above problem will only show the weaponsprite of the primary weapon, while showing the battle animation of the offhand, and dealing damage as if it were the offhand weapon



        Happy RPGMaking everyone. If you have any bugs or suggestions, feel free to post them. I'm pretty new at this so it might not be in my wheelhouse to fix, but I'll give it a try,


    Link is updated to v1.0.5


    RamzaDualWield.js v1.0.5






    本贴来自国际rpgmaker官方论坛作者:ramza处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/ramzas-true-dual-wield-deprecated-august-24-2017.58194/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-26 02:49 , Processed in 0.142126 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表