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

[制作教程] How to make a character punch with both hands.

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    慵懒
    3 天前
  • 签到天数: 207 天

    连续签到: 1 天

    [LV.7]常住居民III

    3646

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 前天 19:31 | 显示全部楼层 |阅读模式
    Got tired of my "monk" type characters punching twice with their right hand, because that's an idiotic way to fight. Seriously, if you don't use a jab, you're liable to get knocked out. Unfortunately, the RPG Maker MV character generator doesn't take this into account.

    Which is why I came up with an easy solution! Unless someone else did it first. But if they did, it's news to me.

    Before you continue, know that currently this won't work properly with any form of animated weapon graphics or dual wield state. You will have to think of your gloves/claws as a "set of two", rather than separate weapons that can be mixed and matched.

    The animation will not display properly if you have any sort of weapon equipped, so your character will have to remain barehanded. I have come up with a workaround, which I will explain at the end of this post, following the video.


    In order for this to work, you'll have to sacrifice one of your battle motions, either slash or missile - but there's always other ways to switch out SV_Battlers if you reaaaally need all the battle motions. Yanfly Class Core is one of them, if that method fits what you're doing.

    You'll need a few things. Obviously, you'll need a SV_Battler image, and you'll also need an image editing program. I recommend GIMP for this, because of the grids/snap to grid function, which makes this simple process even simpler. Setup the grid to be 64x64, visible, and have "snap to grid" turned on. You'll also need the ability to use action sequences, and probably Yanfly's Weapon Unleash plugin to make this work properly.

    1: Open up the battler image, and cut out the first frame of the "missile" motion. This is the fourth sprite in the third row. Should look like your character giving a thumbs up, with their mouth closed.

    2: Once you've erased that frame, select and copy the fourth 64x64 cell in the top row. Should look like your character flexing their arm, or doing a bit of a fist up. Paste this frame into the 64x64 cell you previously deleted. Make sure it's aligned properly. Should be easy if you're using "snap to grid", etc.

    Referring to the image below, you're replacing the red circled image with the green circled image.

    [/url]

    Once done, the only difference in your sv_actor image should be the one circled in green below:

    [url=https://forums.rpgmakerweb.com/attachments/punch2-png.91650/]


    3: Save the file. I suggest saving it as something else other than the original file, so you have a backup. Don't forget to assign the new image to your character under the Actor tab in your database.

    4: Create a skill for "punching with both hands". You can use this notetag with Yanfly's Weapon Unleash program to ensure your character attacks with it.                                       Code:        
    <Replace Attack: x>

    ...instead of "x", put the skill's ID number.

    You can use this notetag on either the character (only if they're going to be strictly a puncher), a job class (again, if it only attacks with punches), weapons, or states.

    5: Give the skill an action sequence. Here's a simple one to get you started:

                    Code:        
    <setup action> display action immortal: targets, true </setup action>  <target action> move user: targets, front, 20 wait for movement motion missile: user wait: 10 attack animation: target wait for animation action effect motion attack: user wait: 10 attack animation: target wait for animation action effect </target action>


    And it should work!

    Here's a video of it in action.



    "But... this doesn't work right if I equip a weapon! This puts monk classes at a huge disadvantage!"

    Yeah, yeah. Chill. I told you there was a way around this. You'll need Yanfly's Equip Core for this part. You'll probably also want Yanfly's Auto Passive States for this. Not required, but it'll greatly increase functionality.

    1: Under the types section of your database, create a new type of armor. Let's call it "Fists".

    2: Under your job class, put the following into the notebox, making sure to adjust the entries based on your game/armor types:
                    Code:        
    <Equip Slot> Fists Head Body Accessory </Equip Slot>


    This job class will no longer have the option to equip normal weapons, or shields. The armor slot "Fists" will serve as your character's weapons for this job class.

    3: Go ahead and create as many "fist" type armors as you want. Be sure to give them all a "Replace Attack" notetag to use a skill that punches twice, as shown above.

    Conversely, you're going to want to give your other job classes their own Equip Core notetags, to ensure they can't equip monk fists, in addition to their normal weapons.

                    Code:        
    <Equip Slot> Weapon Shield Head Body Accessory </Equip Slot>


    Hopefully I covered anything. I'll try my best to answer any questions and will update this post if the need arises.​




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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-10 02:09 , Processed in 0.065458 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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