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

[转载发布] ts50's Script Corner

[复制链接]
累计送礼:
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 19:34:06 | 显示全部楼层 |阅读模式



    Feel free to use how you wish in either commercial or non-commercial games. No credit necessary, but if you want you can credit me as
    1. ts50
    复制代码
    .

    Add all scripts just above Main. Compatibility issues should be minimal.


    SKIP TITLE SCREEN
    Removes the title screen at the beginning and automatically starts a new game. Good for very short games or for games with custom, evented title screens. Obviously not compatible with title screen scripts; however, it should not create an error message but rather just ignore the title screen scripts.
                    Ruby:       
    1. =begin
    2. SKIP TITLE SCREEN
    3. by ts50
    4. This script skips the title screen and continues directly to the
    5. starting map as specified in the database ($game_map.autoplay).
    6. No script settings.
    7. =end
    8. class Scene_Title < Scene_Base
    9.   def start
    10.     DataManager.setup_new_game
    11.     $game_map.autoplay
    12.     SceneManager.goto(Scene_Map)
    13.   end
    14.   def terminate
    15.     Graphics.fadeout(Graphics.frame_rate)
    16.   end
    17. end
    复制代码


    PAUSE WHILE TALKING
    While a message window is activated, all other movement pauses. Originally written for a zombie survival game in which zombies would approach the player; while talking to an NPC, zombies would cluster around the player. This script pauses that. Tested with Yanfly Message System.
                    Ruby:       
    1. =begin
    2. PAUSE WHILE TALKING
    3. by ts50
    4. This script pauses all event autonomous movement during a
    5. message window. Tested with Yanfly Message System.
    6. No script settings.
    7. =end
    8. class Game_Event < Game_Character
    9.   alias update_self_movement_ts50 update_self_movement
    10.   def update_self_movement
    11.     return if $game_message.busy?
    12.     update_self_movement_ts50
    13.   end
    14. end
    复制代码


    DISABLE DASH
    Maybe the shortest script in existence, it simply disables dash for the whole game. Not much else to say. The second version allows for this to be disabled via switch. Change "1" to whatever switch ID you want. The switch should be ON to disable dash.
                    Ruby:       
    1. =begin
    2. DISABLE DASH
    3. by ts50
    4. This script disables all dash for the game.
    5. No script settings.
    6. =end
    7. class Game_Player
    8.   def dash?
    9.     false
    10.   end
    11. end
    复制代码

                    Ruby:       
    1. =begin
    2. DISABLE DASH
    3. SWITCH EDITION
    4. by ts50
    5. This script disables all dash for the game.
    6. Change the number in $game_switches[x] to whatever switch
    7. ID determines dash. If switch is ON, dash is disabled. Change
    8. true to false to reverse this (if switch is OFF, dash is disabled).
    9. =end
    10. if $game_switches[1] == true
    11.   class Game_Player
    12.     def dash?
    13.       false
    14.     end
    15.   end
    16. end
    复制代码




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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 09:26 , Processed in 0.116230 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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