设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 3936|回复: 2
打印 上一主题 下一主题

[已经过期] 如何为随机移动的实体野怪设置移动范围或制作路障?

[复制链接]

Lv1.梦旅人

梦石
0
星屑
149
在线时间
32 小时
注册时间
2015-12-30
帖子
25
跳转到指定楼层
1
发表于 2017-2-12 17:44:01 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
目前倚赖YEP的EVENTCHASEPLAYER PLUGIN总算是成功做出具一定互动能力的野怪
可是由於随机移动的野怪(剧情)无法控制他的活动范围
想请教一下该怎样制作随机活动范围或只挡野怪(剧情)的路障,避免野怪闯入剧情触发区?



左边4格之後就是剧情触发区域,真的不想让野怪溜进去
除了另外开一个新地图外,有别的办法吗?

Lv3.寻梦者

梦石
0
星屑
3755
在线时间
1178 小时
注册时间
2016-8-9
帖子
2395

开拓者

2
发表于 2017-2-12 20:40:39 | 只看该作者
yep Region Restrictions 限制进出区域

http://www.jianshu.com/p/59ad101a9b8b
来自沧笙大神的简书

YEP.18 – Region Restrictions

本插件可以使用Region图层阻挡事件或者玩家进入某些区域
注意:插件配置中定义的Region为全局生效,即在插件本身定义的region功能会适用于所有地图图层,如果你想在不同的地图定义不同的region阻挡功能,请参照下文的注释命令于各地图配置页面单独设置。
Don’t like having NPC’s wandering into places they don’t belong? Feel like the player shouldn’t have access to certain parts of the map? The Region Restrictions plugin lets you do just that by simply planting regions onto the map to prevent those nosy events from going to places they shouldn’t.

不喜欢NPC进入他们不属于的区域?

Introduction and Instructions

Not everybody wants NPC’s to travel all over the place. With this plugin, you can set NPC’s to be unable to move pass tiles marked by a specified Region ID. Simply draw out the area you want to enclose NPC’s in on and they’ll be unable to move past it unless they have Through on. Likewise, there are regions that you can prevent the player from moving onto, too!

不是所有人都想让NPC能够随便溜达的!本插件可以让你你的NPC无法穿越某Region图层覆盖的区域。同样的,你也可以使用region图层设置总是允许玩家、NPC穿越的区域,从而忽略地形限制,如此就不必担心过多的具有跟随功能的NPC把你逼近死胡同、堵在大门口,而且能够使一些隐蔽通道、隐藏地区的设计更简单。

Notetags

You can use this notetag inside of your maps.
以下注释命令用于地图属性界面

Map Notetags:

<Player Restrict Region: x>
<Player Restrict Region: x, x, x>
<Player Restrict Region: x to y>
Restricts region x for the player on this particular map. Use multiple x to mark more regions. From x to y, you can mark a multitude of regions.
阻止玩家 通过ID为x的region图层,可以单独定义1个ID,也可以定义复数个,还可以定义区间。以下同理

<Event Restrict Region: x>
<Event Restrict Region: x, x, x>
<Event Restrict Region: x to y>
Restricts region x for all events on this particular map. Use multiple x to mark more regions. From x to y, you can mark a multitude of regions.

阻止事件 通过ID为x的region图层

<All Restrict Region: x>
<All Restrict Region: x, x, x>
<All Restrict Region: x to y>
Restricts region x for the player and all events on this particular map.Use multiple x to mark more regions. From x to y, you can mark a multitude of regions.

阻止事件和玩家 通过ID为x的region图层

<Player Allow Region: x>
<Player Allow Region: x, x, x>
<Player Allow Region: x to y>
Allows region x for the player on this particular map. Use multiple x to mark more regions. From x to y, you can mark a multitude of regions.

强制允许玩家 通过ID为x的region图层

<Event Allow Region: x>
<Event Allow Region: x, x, x>
<Event Allow Region: x to y>
Allows region x for all events on this particular map. Use multiple x to mark more regions. From x to y, you can mark a multitude of regions.

强制允许事件 通过ID为x的region图层

<All Allow Region: x>
<All Allow Region: x, x, x>
<All Allow Region: x to y>
Allows region x for the player and all events on this particular map.Use multiple x to mark more regions. From x to y, you can mark a multitude of regions.

强制允许玩家和事件 通过ID为x的region图层

点评

非常感谢!完美解决了!  发表于 2017-2-12 23:18
酸酸甜甜就④哇噢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-12-5 02:11

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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