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

[制作教程] Leader Only Armor (Weapons Optional)

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    4 天前
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    4616

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-7-7 12:59:05 | 显示全部楼层 |阅读模式
    While tinkering about with an accessory that could let you see invisible things, I thought that it would be fitting that only the party leader could equip that object. After all, they're the ones in front of the conga line, it would make sense for them to lead the charge with it equipped. So, after about 5 minutes of messing about, I made leader only equipment, as in, pieces of equipment that party member #1 could wear.









    How this was done is pretty simple. Much more simple than my idea/tutorial about making synchronized TP bars (which was complicated enough for me to have screwed up in a way that it worked anyways :/ ). First up was making a new armor type: Leader Only.



    This lets us make it so that only the leader can equip the armor (duh). If you wish so, you can also apply this to weapons, though I assume it would be more useful in armor.

    Now, if you have a fixed leader, this is gonna be the last step. Otherwise, if you want party swap with the leader, skip this step. Add an Equip Armor trait for your leader for the Leader Only armor type.




    If your leader is fixed, then voila! You're done! Otherwise, ignore this and keep reading.


    if your party doesn't have fixed positions, you're gonna have to do some extra steps.




    A state called Leader allows the party leader to equip the Leader Only equipment (what a sentence). To give your party leader the state, you're gonna have to do some common event magic:





    This Parallel CE, which should run all the time, gets the actor ID of every party member, assuming a standard four party setup. Afterward, it gives the ID of the party leader the State, while removing said State from our other members. The CE at the end is for said accessory I talked about at the beginning. Now, if everything was made correctly, then your item should be only equippable by the leader only.



    This is something I doubt hasn't been done yet, either by plugins, or vanilla. The only issue I can find is the fact that you have to swap leaders then close the menu in order to equip things on your new party leader, which, if you only have the one guy as the leader, no biggie. But anyway, for those who don't know how, or don't want to think about how to make it (or ask), here it is, I guess! Have fun with it, and maybe I'll talk about making the accessory that lets you see invisible things, though I assume its easy enough to figure out how to make it (ignoring the fact I made this post thinking about how simple it is). Have fun!


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-16 19:00 , Processed in 0.141133 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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