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

[转载发布] Universal Remote Control: Search, Retrieve, Control *Assassin's Creed G

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

    连续签到: 2 天

    [LV.7]常住居民III

    8279

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 6 天前 | 显示全部楼层 |阅读模式
    Universal Remote Control
    by Dahlys

    Search Engine, Mass Data Retrieval, Mass Self Switch/Variable Setting


    https://www.youtube.com/embed/GCwbdCdyMs0

    a.k.a Remote Event Counting and Control by Name v2.0, but literally already a completely different beast​



    Introduction and Features
                            "Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk, agh burzum-ishi krimpatul" - J.R.R Tolkien               
    Click to expand...


    Live Search Engine: Search In-game for Groups of Event IDs by setting conditions, using their names, notes and even self-switches! Do searches even in conditional branches!

    Mass Data Retrieval: Get custom self switch values quickly and use them in conditional branches. Get the values of multiple self switches/variables and store them in a variable. Quickly obtain a namelist/notelist of all events on the map, or a subset defined by a source array.

    Remote Control: Remotely change the values of self switches/variables en masse and set conditions for the change. No more need for eventIds, use their Names and Notes.

    Search, Get and Manipulate: Yanfly's self switches and self variables en masse. Hime's self variables en masse.

    How to Use

    Download the .js file at Github

    Put it in your plugin folder and activate it in your game. There is no help file in the plugin, because it would be an insurmountable wall of text with 40+ different functions, each with script calls, plugin commands, and different parameters.

    Use the following page instead for a plugin guide: https://dahlys.000webhostapp.com/dahlysRemoteControl.html

    The guide is currently a massive wall of text but I will add pictures gradually. There are too many things in there to do it all at once.

    Demo - Assassin's Creed Style Guard AI Detection using URC

    Download Demo Here

    3 Switches, 5 Variables, and 6 Common Events. That's all it takes to pull off Assassin's Creed style Guard AI Detection. Guards get suspicious when you loiter around them, culminating in an all-out chase unless you go away. Murder someone in public? The witnesses running away/chasing you will report you to the guards. Trying to walk into a bank? Get accosted at the door. Need to escape? Go to a hiding place for 10 seconds. A warning though, you will be found if guards are near your hiding place. No one saw you murdering somebody? Muhahahaha yaaaaay.

    Spoiler: Example Main Assassin's Creed Guard AI Parallel Common Event Setup
    ◆Comment:Mysteriously fails without Wait
    ◆Wait:10 frames
    ◆Comment:Group Events by their Identity
    ◆Control Variables:#0001 All Living NPC = this.SearchNotes('NPC', 0, 0, '!this.get(\"Dead\", eventId)');
    ◆Control Variables:#0002 All Guards = this.SearchNotes('Guard', 0, 0, 'S1')
    ◆Control Variables:#0003 Normal Guards = this.SearchNotes('Normal Guard', 0, 0, 'S2')
    ◆Control Variables:#0004 Bank Guards = this.SearchNotes('Bank Guard', 0, 0, 'S2')
    ◆Comment:Check if Hostile Guards Mode
    ◆If:Guards Guards! is ON
      ◆If:Hiding is ON
        ◆Comment:Player is hiding, low detection range
        ◆Comment:Guards, not chasing, show balloon before they start
        ◆Control Variables:#0005 Temporary = this.SearchCondition('!this.get(\"Chase\", eventId) && Galv.DETECT.event(eventId,3,false)', 0, 0, 'S2')
        ◆Script:var angrybirds = $gameVariables.value(5);
        :      :if ( angrybirds.length > 0 ) {
        :      :    for ( i = 0; i < angrybirds.length; i++ ) {
        :      :        $gameMap.event(angrybirds).requestBalloon(5);
        :      :    }
        :      :}
        ◆Comment:If not chasing, start chasing player when player gets close
        ◆Script:this.SetSSw('Alert', false, 'S2', 'thisM', 'this.get(\'Alert\',eventId) && Galv.DETECT.event(eventId,3,false)')
        :      :this.SetSSw('Chase', true, 'S2', 'thisM', '!this.get(\'Chase\',eventId) && Galv.DETECT.event(eventId,3,false)')
        ◆
      :Else
        ◆Comment:Player in full sight, high detection range
        ◆Comment:Guards, not chasing, show balloon before they start
        ◆Control Variables:#0005 Temporary = this.SearchCondition('!this.get(\"Chase\", eventId) && Galv.DETECT.event(eventId,5,false)', 0, 0, 'S2')
        ◆Script:var angrybirds = $gameVariables.value(5);
        :      :if ( angrybirds.length > 0 ) {
        :      :    for ( i = 0; i < angrybirds.length; i++ ) {
        :      :        $gameMap.event(angrybirds).requestBalloon(5);
        :      :    }
        :      :}
        ◆Comment:If not chasing, start chasing player when player gets close
        ◆Script:this.SetSSw('Alert', false, 'S2', 'thisM', 'this.get(\'Alert\',eventId) && Galv.DETECT.event(eventId,5,false)')
        :      :this.SetSSw('Chase', true, 'S2', 'thisM', '!this.get(\'Chase\',eventId) && Galv.DETECT.event(eventId,5,false)')
        ◆
      :End
      ◆
    :Else
      ◆Comment:Normal Guards AI
      ◆Comment:Get suspicious when player is too close
      ◆Script:this.SetSSw('Alert', true, 'S3', 'thisM', '!this.get(\'Alert\',eventId) && Galv.DETECT.event(eventId,3,false)')
      ◆Comment:Stop being suspicious if player goes away
      ◆Script:this.SetSSw('Alert', false, 'S3', 'thisM', 'this.get(\'Alert\',eventId) && !Galv.DETECT.event(eventId,4,false)')
      ◆Comment:All Guards AI
      ◆Comment:Attack when player next to guard
      ◆Script:this.SetSSw('Chase', true, 'S2', 'thisM', '!this.get(\'Chase\',eventId) && Galv.DETECT.event(eventId,1,false)')
      ◆
    :End
    This isn't a plugin that works great on its own. The demo comes with:

    • Galv's event detector, move route extras, timed message popup
    • Yanfly's event encounter aid, force advantage, event mini label, and gab window
    • Hime's custom page conditions, self variables
    Thanks to them all too! Please contact me if you're interested in using the demo's mechanics. Hopefully this demo will show you the potential of URC.

    FAQ

    Constant bug-fixing is happening on Github. Go download the latest er... beta.

    Terms of Use

    Credit Dahlys for the plugin. It is free to use for commercial and non-commercial games. I'd like you to send me your games but that is entirely optional. I thank Yanfly and Hime for their useful self variable plugins that made this degree of control over rmmv possible. I also thank Soulpour777 for his plugin writing tutorials. Last but not least, Enterbrain for RMMV.
                            Knowledge is power and it can command obedience. A man of knowledge during his lifetime can make people obey and follow him and he is praised and venerated after his death. Remember that knowledge is a ruler and wealth is its subject.
    — Imam Ali               
    Click to expand...


    Important

    I need someone with some coding knowledge to help me write a more readable help file.

    p.s. no copyright infringement from random references intended. video music was recorded from my piano


    本贴来自国际rpgmaker官方论坛作者:dahlys处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/universal-remote-control-search-retrieve-control-assassins-creed-guard-ai-demo-added-09-25.84792/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-1 19:42 , Processed in 0.124064 second(s), 54 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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