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

[转载发布] $D13x - Badges (achievements)

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

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-8-2 08:28:04 | 显示全部楼层 |阅读模式
    $D13x - Badges (achievements)
    Dekita


    Introduction

    Replicates the 'badges' system from pokemon games.

    for a full description open the spoiler...

    SpoilerThis script was inspired by Pokemons 'Badges' system. Cause I could, I made a script to recreate it (this script) and when I had done that, I made it a MUCH more powerful feature...

    Obviously, the standard pokemon badge system is a widely known feature; however, for those that do not know this system - a badge is basically an achievement that is gained throughout the course of gameplay.

    Badges are not only for showing off, they can also be used to control various aspects of your game... Dramatically...

    In pokemon, you would not be able to use certain HM's (items) if you did not have [x] badge. Therefore, I have included the ability to restrict item usage when certain badges have not yet been obtained.

    You can also restrict skills being used and weapons/armor from being equipped. This restriction is automatic and you must gain the badge before it is lifted.

    Obviously, being able to use an item/skill/weapon or armor after gaining a badge is great, but what if you want a badge to toggle a switch, modify a variable, give gold / items / weapons / armor or maybe even run a custom script call... Well... It can!

    Another feature within the pokemon badge system, in earlier generations, was that your pokemons stats would increase if you owned [x] badge.
    This could be done by doing a simple script call to increase each party members stats; maybe something along the lines of;
    "$game_party.members.each {|m| m.add_param(id) }"
    - Alternatively, you can have stats increase and learn skills for all members.
    eg. badge 1 gives 50mhp, when badge one has been earned, all party members will always gain 50mhp. Regardless of when they joined the party.

    Use simple script calls to gain badges and unlock the rewards.
    But wait, what if you dont want to use script calls to gain badges? Well... You dont have to...

    Depending on the badge's settings, you can enable it to track a certain object (such as a variable/switch/your own code) and once the 'gain badge' condition has  been met the achievment will automatically unlock.

    Couple this with some of my other scripts - such as Actor Effect Blocks/ Gold Tracker/ Items Tracker and you can enable badges to unlock when the player has performed certain actions throught gameplay, such as; winning fights, fleeing battle, dying, leveling, after party has earned / spent [x] amount of gold or even when party has used [x] amount of [x] item.



    Features
    - See spoiler above.

    Screenshots





    How to Use

    Place under materials and above main.

    Full instruction within the script.

    Demo

    Master Demo link on my blog will be updated shortly to include this script

    Script

    SCRIPT LINK

    CORE SCRIPT <- Required!!

    FAQ

    NONE

    Credit and Thanks
    - Dekita / Dekita-RPG

    - Nintendo / Pokemon too i guess for giving me the idea...

    Author's Notes
    Ok, you can stop drueling now...


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 12:40 , Processed in 0.145535 second(s), 57 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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