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

[制作教程] Stealth Eventing! (A Tutorial)

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

    连续签到: 2 天

    [LV.7]常住居民III

    4550

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Good day everyone! So, first off, I am basing this tutorial off of the only Stealth tutorial I have EVER found anywhere. I only recently learned to do this, so any ideas on improving efficiency and such is greatly appreciated. Also, any mistakes are the fault of the reader, because I have grasping a perfect of language english and Stealth events.  
     I hope this is clear and concise, if you have any questions that I may be able to answer, PM me, and we can find out!

    ONWARD!

    Step 1: Making your map.

    Spoiler





    You better have this part done. Skip to 1a....

    Step 1a: Changing the Guard 

    As in the map above, I have created an event with JUST THE GRAPHIC of a guard. There are no fancy inner workings driving this uncomplex character.

    Step 2: Modus Operandi

    Spoiler





    Create a new event, doesn't matter what you name it, but for ease of operation, we shall call this GUARD_MOVE. In this event, we shall create a new variable (or switch) that is turned ON when the guard is looking down, and off when he turns up. Set this event to Parallel Process, otherwise it won't run as one would hope it would. In this case, when the guard turns down, the "Look Down" variable is set to 1. So when that is done, we can probably move on to ...

    Step 3: Let there be SIGHT!

    Spoiler





    This event is another parallel process. But this one is not straight-forward like the other one, this one is a freaking ONION of "If x, then y" where y is usually another "If this..."

    To begin, you will create (if you haven't already) 2 variables. 1 is 'Player X' and the other is 'Player Y'. When you create the variables, it is VERY important that you set the "Operand" values to "Game Data, character, player map x,y"

    Spoiler





    Then build up the onion with conditional branches. Conditional branch 1, variable (or switch) is active. in this case "Look down" variable is at 1. 

    Conditional branch 2, when variable "Player X" is greater than or equal to the area you want set. You can determine the X, Y coordinates in the map editor by looking to the bottom right of the screen. 

    Spoiler






    The number on the left is the X, and on the right is Y. If you ever are in doubt about which direction goes where, remember, "Y to the Sky." In the editor, the higher number Y goes down the screen though. And they start at block 0, not 1. So the VERY top left corner is 0,0. You can click anywhere on any of the cells and it will display the coordinates at the bottom left.

    So you will set first player x to greater than or equal to the LOWEST number cell  you want to be detectable. The do Player X Less than or equal to HIGHEST number cell that you want to be detectable. Do this again for the Player Y coordinates. 

    Make sure all of these events are nested within the original conditional branch of  variable "Look Down=1". Then after all 5 conditions are set, you can do whatever you want to run after the guard spots you. In this case it is an exclamation above the guards' head, and the character declaring "Busted!" 

    Before

    Spoiler






    After

    Spoiler








    This concludes the tutorial. This should be everything you need to know to complete your most BASIC of stealth events. Below you will find a short demo showing how you too can set up fancy stealth events with just a little bit of effort. Beyond this, I am just as lost as you.  


    You can thank Deathswallow for requesting this. It didn't occur to me to do a tutorial, so (s)he was the impetus.  

    Like, thumbs up and subscribe! 



    Original source




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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-15 19:02 , Processed in 0.151359 second(s), 61 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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