... | @@ -33,8 +33,6 @@ AI Goals, Targets, and Factions |
... | @@ -33,8 +33,6 @@ AI Goals, Targets, and Factions |
|
change the AI on these may even crash your server, so be wary and
|
|
change the AI on these may even crash your server, so be wary and
|
|
use test environments!**
|
|
use test environments!**
|
|
|
|
|
|
***
|
|
|
|
|
|
|
|
<!-- -->
|
|
<!-- -->
|
|
|
|
|
|
DecayingSkeleton:
|
|
DecayingSkeleton:
|
... | @@ -56,7 +54,7 @@ AI Goals, Targets, and Factions |
... | @@ -56,7 +54,7 @@ AI Goals, Targets, and Factions |
|
|
|
|
|
- This example shows how the Skeleton AI generally works for
|
|
- This example shows how the Skeleton AI generally works for
|
|
attacking. (minus all the fluff, such as randomly walking around).
|
|
attacking. (minus all the fluff, such as randomly walking around).
|
|
现在守卫将锁定其它阵营的任何实体为目标并会在受伤后锁定攻击者为目标 (这将包括攻击它的玩家),同时在走向目标时会打开面前的门.
|
|
|
|
<!-- -->
|
|
<!-- -->
|
|
|
|
|
|
* The **AIGoalSelectors** section tells the Skeleton Mob to use the **arrowattack** action when it is going about its day to day goals.
|
|
* The **AIGoalSelectors** section tells the Skeleton Mob to use the **arrowattack** action when it is going about its day to day goals.
|
... | @@ -64,8 +62,6 @@ AI Goals, Targets, and Factions |
... | @@ -64,8 +62,6 @@ AI Goals, Targets, and Factions |
|
* As you see **clear** is always first, which in this case wipes the mobs AI so you have a clean slate to work with. This is important otherwise your AI may not function the way you would expect.
|
|
* As you see **clear** is always first, which in this case wipes the mobs AI so you have a clean slate to work with. This is important otherwise your AI may not function the way you would expect.
|
|
* Now lets say we want the skeleton to attack other mobs instead and we want him to use a melee attack instead of a ranged attack. See below for how we accomplish this.
|
|
* Now lets say we want the skeleton to attack other mobs instead and we want him to use a melee attack instead of a ranged attack. See below for how we accomplish this.
|
|
|
|
|
|
***
|
|
|
|
|
|
|
|
DecayingSkeleton:
|
|
DecayingSkeleton:
|
|
Mobtype: skeleton
|
|
Mobtype: skeleton
|
|
Display: '&aa decaying skeleton'
|
|
Display: '&aa decaying skeleton'
|
... | @@ -104,8 +100,6 @@ AI Goals, Targets, and Factions |
... | @@ -104,8 +100,6 @@ AI Goals, Targets, and Factions |
|
configuration for two common scenarios you may wish to implement on
|
|
configuration for two common scenarios you may wish to implement on
|
|
your server.
|
|
your server.
|
|
|
|
|
|
***
|
|
|
|
|
|
|
|
Example 1: Guards attack nearby monsters
|
|
Example 1: Guards attack nearby monsters
|
|
----------------------------------------
|
|
----------------------------------------
|
|
|
|
|
... | | ... | |