论坛首页›真.武林群侠传›流星单机AI新突破 for 真武林

精华流星单机AI新突破 for 真武林

楼主:zmj_123发表于 2012-2-21 20:46回复 13查看 17,055最后回复 2017-9-9
共 14 楼
发表于 2012-2-21 20:461#
楼主
好消息,给流星AI的一个重大突破
真武林 31关后将全面使用此方面,将AI的游戏性和可玩性再度提升到一个新境界。

众所周知,流星里面有
sn_xxx.pst(给剧本AI用的,控制游戏剧情发展),
npcxxx.pst(给人物用的,控制人物动作)和
snxxx.pst(给地图用的,控制地图机关等)
三个脚本,每个脚本里都有程序,但是三个程序本身是独立运行的,相互之间的数据不能互通。
这使得我们制作复杂的互动AI比较麻烦,(当然,貌似有GameCallback可以互通,但是使用方法没有公开)
比如剧本是:
比如某个大侠说:芝麻开门,(这个时候需要大门立刻打开)
比如走到某个机关前,突然万剑齐发 (这个时候需要立刻发出杀人利器)
比如说坛子被打破了,大侠需要说,你看我吧坛子打破了,你快出来吧

比如我们希望流星剧本运行到某一个剧情时,npc说一句话导致地图上突然出现某个机关或者物品,当npc启动机关或者吃点物品时,
又触发地图上某些变化
真武林之前对这类要求的处理是,设置一个包,等到剧情运行到某处时,加入某个npc,吃点包,然后触发地图,地图中再触发地图变化。
(如果剧本要知道这个变化已经完成,还需要额外设置另外一个物品)
这样一个麻烦是如果剧本很复杂,需要设置很多包和额外的npc来做这个事情(笑:而且要保证npc不会你看见)

今天我突然想起一个思路:我的真武林是有独立客户端的,我在客户端里内置一个外挂,获取这三个程序的数据,比如剧本发出某个消息,通过
外挂把剧本数据传输到地图,地图就可以立即响应变化,然后外挂再获取地图数据到剧本,剧本中又可以立即响应这个情况。
其中剧本和npc都是有OnUpdate函数可以随时监测数据的,通过反汇编,我发现地图也有类似函数,也可以在里面加入随时监测函数。
经过试验,上述思路运行获得成功,现在做这种地图剧本互动程序就再也无需借助Npc吃包等其他动作了。




UID 12792
发表于 2012-2-22 10:032#
我最近也有这种思路,由于流星自带的代码有局限,想通过外挂方式来实现接受发送信息,但是技术有限,还有很多局限,你能详细说明下你的方法吗?
UID 78871
发表于 2012-2-23 03:353#
哇!……
强力顶:mbs12:
签名:流星蝴蝶剑比赛举办人、《宿仇系列》作者
UID 76465
发表于 2012-3-5 13:434#
用力顶,顶顶
UID 113922
发表于 2012-12-6 14:565#
必须顶。支持真武林!:D
签名:曾经的故事,在这里继续;曾经的回忆,在这里拾起;曾经相遇的,在这里重逢;流星蝴蝶剑,我们的传奇。
UID 34625
发表于 2012-12-13 11:086#
用力顶!!!!!!!!!!!!












---------------------------------------------------------------------------------------------
モンクレールダウンベストチブ モンクレールジャージ
UID 125923
发表于 2013-1-18 23:407#
顶啊......
UID 125623
发表于 2013-2-8 13:128#
回复 1楼zmj_123的帖子

这里新人,小风。希望楼主的帖子越来越火!
UID 127107
发表于 2014-4-10 14:109#
  耶!!!!!!!!!!!!!!!!

依黛天娇


  求金牌、求收藏、求推荐、求点击、求评论、求红包、求礼物,各种求,有什么求什么,都砸过来吧!爱你们!
  哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
  可以告诉她们真相了!!!!!!!!
  第一部终于打完了,
  太 好 了!!!!!!!!!!
  “那她们。。。。。。合格了吗?”雪泪。
  额。。。。。。。。。。。。。。。。
  读者们, 超级演说家乐嘉下跪 知道, 超级演说家乐嘉下跪 写得不好,也写得少,但是,武汉依黛天娇服饰有限公司, 超级演说家乐嘉下跪 还是希望,你们能喜欢。
湖北台主持直播中被换 斥奢靡官员"有多远滚多远"
守护甜心之皇家之恋_第二十五章 哈哈!合格!免费阅读_小心脏出血漏洞 阅读网

  “废话,当然合格了!”母亲大人。
  边里唯世,珍依佳服饰,结木弥耶,真诚璃茉,三条海里,珍依佳,星那歌呗!!!
  和他们在一起啦!!!!!!!!!!
UID 131424
发表于 2014-4-21 13:4910#
只有30关么?
UID 131518
发表于 2014-5-23 15:3911#
With the development of technology, in order to meet people of different height office so that they can be more comfortable office , lifting office desk appeared. Lift office desk , lift tables is a kind of modern office space in the promotion and application of a wide range of office equipment ; its principles borrowed lifting column , lifting the form mainly through desktop height adjustment , in order to achieve the application of different height groups needs.

Feature
1 , lifting of freedom, can stand to sit alternately office , alternating between standing, sitting, without prejudice to the transaction at hand busy .
2 , easy to operate, just gently press the button can be achieved Station take alternate purposes.
3 , memory storage: namely, the user can according to their appropriate function keys will be adjusted to the height of a fixed location , convenient to use.
4 , the appearance of simple, generous , in line with the international trend of office , the difference between the traditional style is not easy to move a desk boring .
5 , helpful office family 's health , increase efficiency, make the workplace environment more active.

Lifting achieve a more liberalized office office desk , in line with the trend of the times ; using lift tables can be effective in preventing the spine, cervical lesions, and control obesity and diabetes ; especially for who want to maintain a good figure , this is a non- or lack of essential equipment.
www.digood.com
相关的主题文章:


The advantage of lifting office desk

The advantage of lifting office desk

The advantage of lifting office desk
UID 131742
发表于 2014-10-30 17:2712#
Ways to Succeed The girl's Like -- five Guidelines to Generate The girl's Autumn Travel Through Pumps motivated by You actually
Endeavoring to succeed a like on the women gives a working man brilliant illustrations or photos around her imagination Christian Louboutin outlet to be a royal prince this sweeps the girl's at a distance. Perfectly, oftentimes this pipe dream would not become exactly how that must be. If that takes place, it's important to how to generate quite a few changes to the recreation, as we say. To be able to generate a women autumn around like, in that case it's important to have clued around on the amount would make ladies autumn for your dude, plus you'll OFTEN BE this dude! Relevant Reports Tactics to have a Women Adore YOU ACTUALLY -- 3 Shockingly Quick and easy Approaches for Males Simple methods to Generate a Women Autumn around Like -- five Car keys so that you can Building The girl's Like YOU ACTUALLY Find out how to Generate a Dude Adore You actually? Unusual Recommendations To consider! The eventual Direct so that you can Steps christian louboutins on sale to create ladies Adore You actually Let us discuss five recommendations to have a women adore YOU ACTUALLY: 1. To be able to generate a women currently have formidable reactions with like for yourself, in that case this lady has youngster should be often be MICRO all over you actually. Certainly, a adult dating recreation might blaster for your women all the while it does indeed for your dude, just in case the woman believes this the woman ought to be "fake" in that case in due course, this sense will almost certainly mean the completed with what you currently have by using the girl's. To have a women feel, you've got to be qualified to generate the girl's feel like the woman is often micro without the need of a great deal some worries. At this moment, there are actually confines to that, books really don't prefer to generate the girl's come to feel quite a few very similar to the woman is often micro for you to set out to find that somebody and also more intense, for instance relatives so that you can the girl's. couple of. Make perfectly sure that the woman ENCOUNTERS YOU ACTUALLY because the leader males. At this moment, the following would not signify that you have to get out plus resemble this will be significant, and also that you have to often be quite a few major male this aims so that you can through declare ourselves along at the improper moments. You may not make the girl's bring to mind you actually as a pushover and also you conduct anything this the woman suggests recycling online, just simply to succeed the girl's like. To have a women seriously find you actually for an leader males, it's important to express the ideal leader males properties. 3. You've got to be qualified to generate the girl's find that the woman APPEARS TO BE LIKE send so that you can witnessing YOU ACTUALLY. That's why its hence vital you don't morph into a kind of males this just simply is required to hold off the girl's regularly. Have you ever witnessed a working man resemble the following all over ladies, you may often find by glance on her behalf facial area not wearing running shoes may get infuriating immediately. It is a Final thing this for you to do. The woman ought to COME TO FEEL just what exactly its wish to look ahead to while you can come all over, hence present the girl's quite a few space or room plus make the girl's PREDICT YOU ACTUALLY. five. If perhaps there are actually virtually no "sparks", you'll encounter virtually no serious LIKE. Not surprisingly, there will be quite a few platonic like, nonetheless it does not necessarily bring on many of the Nutrients. To be able to generate a women look all those initiates,christian louboutin sale outlet, in that case you must fully grasp just what exactly the woman seriously ought to come to feel is definitely LOVE-MAKING ATTRACTIVE FORCE. This alternative types of attractive force receives you actually as long as an effective flirty dialog, nonetheless be squandered anytime soon proceed to the upcoming place if you can't find something to help in making the girl's come to feel love-making attractive force for yourself. Learn just what it normally requires in making the girl's autumn around like and then determine YOU ACTUALLY when upon dude this the woman "longs" that they are by using? Please click here to receive A person's ABSOLUTELY FREE Review for How to get, Solution, plus Seduce EVERY Women You seek... Copyright laws? cheap christian louboutin heels 2010 Chad Tyler All of Liberties Scheduled.
UID 132686
发表于 2015-2-24 11:1413#
回复 10楼hlh951206的帖子

过路后,觉得可以顶!
UID 133283
发表于 2017-9-9 15:4092#
对啊 说半天30以后的关卡呢
UID 624064
共 14 楼

关于这个存档

本页内容为历史存档,已关闭一切写操作。附件仅展示文件信息,不提供下载。内容如涉侵权或不当,请联系 server@yfzz.net 下架。

可以做的事:浏览版块、阅读主题与楼层、查看图片附件、按标题或作者搜索、打开用户资料页。
不能做的事:注册、登录、发帖、回复、引用、评分、私信、收藏;压缩包等附件不提供下载——存档版只展示文件信息。

数据截至 2021-02-05;附件约有 30–40% 的原文件未能保存,页面上以「已丢失」标注。2009 年前的不少图片是外链图床,原图床已关闭,页面会显示失效占位。
隐龙轩QQ群:点此查看

26,823 主题 / 280,734 帖 / 17,145 位发过言的会员 · 数据最后更新 2021-02-05

粤ICP备2024318274号-1