【漢化】YEP.16 – Battle A.I. Core

YEP.16 – Battle A.I. Core

Tired of dumb enemies that turn your otherwise challenging game into an easy-peasy walk in the park? The Battle A.I. Core plugin allows you to manually adjust the settings and patterns of your enemies so that they can deliver MANLY poundings onto your players.

是否厭倦了在地圖上輕松的走動,隨意的虐怪。這個插件可以讓你調整敵方設置


Introduction


RPG Maker MV’s default enemy AI is a bit lackluster even if you managed to have it based completely on the rates and switches. There is no way to control the way the enemy chooses targets by default, nor are the conditions imposed by the default editor enough to satisfy the majority of checks. This plugin enables you to set a priority list of conditions, actions, and the targets selected for the enemy to go through before making a decision on how to participate in battle.

MV默認的敵方智能有些枯燥井辜,即便你想利用概率和開關來改變他們。這里沒法控制敵方攻擊目標千埃。這個插件可以讓你設置一個條件優(yōu)先列表。

These conditions contain all of the default editor’s conditions plus more, such as determining the parameter values of a target, whether or not a state exists on a target, the target’s elemental weakness (or resistances), and more before deciding an action. Furthermore, you can set an AI level for the enemies to make them more consistent in the way they go about fighting your players or more random in the way the enemies treat the priority list, too.

這些條件包括默認條件,就像目標的狀態(tài)參數(shù)钮糖,或者元素等等雀瓢。你甚至可以設置敵方智能等級枢析,讓其戰(zhàn)斗更加隨機有趣


Parameters


Dynamic Actions
By default, the enemy’s actions are determined at the start of the turn. While this works in its own right, enabling Dynamic Actions allow enemies to make a decision when the enemy’s turn comes up instead. This prompts enemies to be more flexible and to appear more intelligent in battle, thus, giving your players a bit more of a challenge.

傷害行動:開啟時,敵方將會更加靈活

Element Testing
If this is disabled, enemies will automatically know the elemental weakness, resistance, etc. about all actors. If enabled, enemies will need to test out the skills on various actors first before making a decision. Until the enemy learns about the actor’s elemental rates, the enemy is always willing to try using the skill on the target actor. However, if the skill itself does not possess an element, then no information will be registered. All elemental data is reset at the start of each battle for all enemy parties.

元素測試:關閉時刃麸,敵方會自動了解我方元素抵抗情況醒叁。如果開啟,則需要利用技能測試泊业。如果敵方掌握了玩家的元素信息把沼,將會用技能作用玩家。

Default AI Level
Not all enemies are intelligent. In fact, some of them are dumb or random. Setting the AI Level of a foe at a low number means the foe is more random while a higher AI Level foe is more consistent. How the AI Level works is, a random number will be checked from 0 to 99. If that enemy’s AI Level is higher than that number, that action is checked to see if the condition is fulfilled or not. If the AI Level is lower than that number, the condition is automatically deemed false and continues on to the next action. The check is ran each time a new action is checked upon. This random factor is only applied to <AI Priority> lists and do not apply to default actions.

默認智能等級:不是所有敵方都是智能的脱吱。如果等級較低智政,就意味著敵方行為更加隨機,而相反則更加固定箱蝠。如果如果敵方智能等級高于默認值续捂,則行動會檢查條件狀態(tài),如果沒有則不會宦搬。


Enemy AI Level


Enemy AI levels do not determine how difficult they are. Instead, they determine how strictly they will follow the <AI Priority> lists. An AI Level of 80 means it has an 80% chance of following the prioritized action on the AI Priority list before moving onto the next one where there will be another 80% chance and so on. If the AI level is lower, the chance is lower, making the AI to be more random.

敵方智能等級:這決定這敵方困難程度牙瓢。80級的智能意味著將會80%的幾率執(zhí)行智能行動。

Enemy Notetag:

<AI Level: x>

Sets the enemy’s AI level to x. The lower x, the more random the enemy. The higher for x, the more strict the enemy is about following the AI Priority list found in its notebox, too.

設置敵方智能等級


Enemy AI Priority


If an enemy has an AI Priority list, the enemy will go down that list from top to bottom (giving the actions at the top more priority than the ones at the bottom) looking for any actions whose conditions are fulfilled. If that condition is fulfilled, then that action will be the action the enemy will partake in.

如果設置了敵方智能優(yōu)先執(zhí)行列表间校,將會從上到下檢索矾克。

To set up a Priority List for the enemy, you must place inside the enemy’s notebox notetags that match the following format:

你需要用下面標簽來設置優(yōu)先列表

<AI Priority>
condition: SKILL x, target
condition: SKILL x, target
</AI Priority>

<AI Priority>
condition: skill name, target
condition: skill name, target
</AI Priority>

Any number of conditions and skills can be placed in between the two <AI Priority> tags. You can choose to use skill ID’s or the skill names. However, if you use the skill names, keep in mind that it is not case sensitive and if any skills in your database have matching names, the skill with the larger skill ID will be the action used.

你可以在里面放置多個條件。


Conditions


The following is a list of ways you can format your conditions for the enemy to choose the right skill. In addition to deciding whether or not the skill will be used, the condition also selects the enemy target. The following list will tell you how the conditions are met and what targets will be selected for battle.

下面這個列表你可以用來參考作為你的條件憔足。

ALWAYS

This condition will always be fulfilled. The valid target group is all targets within scope.

條件總是滿足

Example:

Always: Skill 10, Lowest HP%

ELEMENT X case

This allows you to match the element rate of element X (use either a number or the name of the element in place of ‘X’) to see whether or not the conditions for the action are fulfilled. Replace ‘case’ with ‘Neutral’ for normal element rate, ‘Weakness’ for anything above 100% element rate, ‘Resistant’ for below 100% element rate, ‘Null’ for 0% element rate, and ‘Absorb’ for below 0% element rate. Valid targets will be those with the matching element rates.

允許你設置元素情況胁附,例如中立酒繁,虛弱,抵抗控妻,無等

Example:

Element Fire Weakness: Fireball, Lowest HP%
Element Water Resistant: Water Cancel, Highest MAT
Element 4 Null: Earthquake, Lowest MDF

EVAL eval

This allows you to use any kind of code to check and fulfill a condition. This condition uses all alive members of the skill’s scope as valid targets.

你可以使用代碼來設置條件


Targeting


Targeting is optional but can be done via a small change to the condition. All you have to do is add a ‘,’ after the skill to indicate which target in the valid target group you would like to target. For example:

目標是可選的州袒,你可以用逗號來添加多個目標

Random 50%: Fire, Highest HP%

The condition to be met is the 50% random chance, but if it is fulfilled, the target selected will be the member on the targeting scope’s team with the highest HP percentage. When that happens, the ‘Fire’ skill will be used upon that target.

50%的概率,用火攻擊生命百分比最高的

If no target is specified, a random target will be selected amongst the group of valid targets. Otherwise, refer to the following list:

如果目標沒有特殊情況弓候,將會隨機選擇郎哭,其他可參考列表


Happy RPG Making!

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市菇存,隨后出現(xiàn)的幾起案子夸研,更是在濱河造成了極大的恐慌,老刑警劉巖依鸥,帶你破解...
    沈念sama閱讀 212,294評論 6 493
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件亥至,死亡現(xiàn)場離奇詭異,居然都是意外死亡贱迟,警方通過查閱死者的電腦和手機抬闯,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,493評論 3 385
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來关筒,“玉大人,你說我怎么就攤上這事杯缺≌舨ィ” “怎么了?”我有些...
    開封第一講書人閱讀 157,790評論 0 348
  • 文/不壞的土叔 我叫張陵萍肆,是天一觀的道長袍榆。 經(jīng)常有香客問我,道長塘揣,這世上最難降的妖魔是什么包雀? 我笑而不...
    開封第一講書人閱讀 56,595評論 1 284
  • 正文 為了忘掉前任,我火速辦了婚禮亲铡,結果婚禮上才写,老公的妹妹穿的比我還像新娘。我一直安慰自己奖蔓,他們只是感情好赞草,可當我...
    茶點故事閱讀 65,718評論 6 386
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著吆鹤,像睡著了一般厨疙。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上疑务,一...
    開封第一講書人閱讀 49,906評論 1 290
  • 那天沾凄,我揣著相機與錄音梗醇,去河邊找鬼。 笑死撒蟀,一個胖子當著我的面吹牛叙谨,可吹牛的內容都是我干的。 我是一名探鬼主播牙肝,決...
    沈念sama閱讀 39,053評論 3 410
  • 文/蒼蘭香墨 我猛地睜開眼唉俗,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了配椭?” 一聲冷哼從身側響起虫溜,我...
    開封第一講書人閱讀 37,797評論 0 268
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎股缸,沒想到半個月后衡楞,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 44,250評論 1 303
  • 正文 獨居荒郊野嶺守林人離奇死亡敦姻,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 36,570評論 2 327
  • 正文 我和宋清朗相戀三年瘾境,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片镰惦。...
    茶點故事閱讀 38,711評論 1 341
  • 序言:一個原本活蹦亂跳的男人離奇死亡迷守,死狀恐怖,靈堂內的尸體忽然破棺而出旺入,到底是詐尸還是另有隱情兑凿,我是刑警寧澤,帶...
    沈念sama閱讀 34,388評論 4 332
  • 正文 年R本政府宣布茵瘾,位于F島的核電站礼华,受9級特大地震影響,放射性物質發(fā)生泄漏拗秘。R本人自食惡果不足惜圣絮,卻給世界環(huán)境...
    茶點故事閱讀 40,018評論 3 316
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望雕旨。 院中可真熱鬧扮匠,春花似錦、人聲如沸凡涩。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,796評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽突照。三九已至帮非,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背末盔。 一陣腳步聲響...
    開封第一講書人閱讀 32,023評論 1 266
  • 我被黑心中介騙來泰國打工筑舅, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人陨舱。 一個月前我還...
    沈念sama閱讀 46,461評論 2 360
  • 正文 我出身青樓翠拣,卻偏偏與公主長得像,于是被迫代替她去往敵國和親游盲。 傳聞我的和親對象是個殘疾皇子误墓,可洞房花燭夜當晚...
    茶點故事閱讀 43,595評論 2 350

推薦閱讀更多精彩內容