Oblivion CS:Combat

Материал из Tiarum
Перейти к: навигация, поиск
TES4: Oblivion. Category:Combat
45px-Scroll.png

автор: Smeister
перевод: Rumor Wiki team
редактирование: Garin (OSFM team)
ccылка на оригинал: Category:Combat
ссылка на сайт: The Elder Scrolls Construction Set Wiki

40px-InformPic.png Это статья-заготовка.
Вы поможете проекту, доработав и дополнив её. Не забывайте предварительно добавлять шаблон {{Edit}} в материалы над которыми работаете, чтобы не создавать конфликта правок.
Переводить Этот материал нуждается в переводе или допереводе..
Вы можете помочь перевести его. Не забывайте предварительно добавлять строку {{Edit|--~~~~}} в материалы над которыми работаете, чтобы не создавать конфликта правок.
Пожалуйста, снимите шаблон этого сообщения, когда материал будет вычитан.


Содержание

Бой

Combat and Combat AI are complicated processes. Most of what goes on in combat is not relevant to the editor. However, an understanding of combat AI is useful when creating encounters or combat styles. There are several stages an actor must go through to enter combat.

  • Detection: The actor must detect his opponent in order to be in combat.
  • Aggression: The actor compares his agression rating to his disposition toward the actor. If the disposition is less than the aggression, he enters combat.
  • Confidence: Once he is in combat, he uses the confidence rating to decide whether or not to flee. A high confidence rating means he will attack.

For example: Deer have an aggression of 100, and a confidence of zero. As soon as they detect an actor they go into combat. Once in combat, they always flee.


Melee Combat

Melee Combat is defined as close-range combat, with a weapon, hands, claws, teeth, etc. An actor in melee combat's first goal is to move within their weapon's reach of their opponent. An actor in range of their opponent is in a state called "ENGAGED" with their opponent. If an actor moves out of weapon range, the actor will move forward, either CLOSING in or ADVANCING. The difference between the two has to do with how far away the enemy is, and whether path finding is needed. ADVANCING uses path finding, CLOSING does not. In general, actors that are ADVANCING run, while actors that are CLOSING walk. But the primary goal is for the actor to move within range, and remain ENGAGED in combat with their opponent.

Once an actor is ENGAGED, there are two independent decisions that are made, which are mostly independent of one another: the MANEUVER decision and the MELEE decision.


The Maneuver Decision

The MANEUVER decision governs how the actor moves while ENGAGED. This movement is called DODGING. An actor can, if they have the animations for it, DODGE left, right, backward & forward. The decision to DODGE forward or backward is made primarily based on whether the actor is being attacked or not, although there is a random element to it as well. Once DODGING starts in a given direction, it continues for a random period of time, between specified minimum and maximum values.

The MANEUVER decision may also result in the actor deciding not to move. This state is called IDLE. An actor in an IDLE state will remain still (but may attack) for a random period of time between specified minimum and maximum values.

While an actor is either DODGING or IDLE, certain factors may interrupt the timers that keep them in that state. For example, if the actor is hit, or their target moves out of weapon range, the MANEUVER decision will be re-evaluated and the actor may decide to do something else.

Otherwise, once the DODGE or IDLE timer has expired, another MANEUVER decision is made.


The Melee Decision

The MELEE decision is used to decide if the actor will attack, block, or do neither. Doing neither is called HOLDING. An actor will HOLD for a random period of time between specified minimum and maximum values.

If an actor has a shield, it may decide to BLOCK. This decision is made based on a specified percent chance, and whether or not the opponent is currently attacking. An actor will block until the opportunity to stop blocking presents itself, or until the actor decides to attack or leaves combat.

An actor will decide to ATTACK based on a percent chance, and the current status of the opponent (for example, whether the opponent is recoiling, staggering, knocked down, etc.) If an actor is capable of doing left and right attacks blended with movement, the actor can perform a second attack after the switch animation note of the first attack is reached. In this way, actors can do things like quick left-right-left attack combinations.

If the actor decides to ATTACK, it will also decide whether or not to do a POWER ATTACK. Power attacks are full-body attacks that do not blend with other animations. The decision to do a power attack is based on a percent chance and the current status of the opponent.

Личные инструменты
Пространства имён
Варианты
Действия
Навигация
Разделы TES
Разделы Fallout
Модмейкерам
Инструменты