Difference between revisions of "Creature Aggression (Game Mechanics)"

From SWGANH Wiki
Jump to: navigation, search
(Awareness Checks)
(Awareness Checks)
Line 100: Line 100:
 
'''Being in Combat -'''
 
'''Being in Combat -'''
  
If the target has initiated an attack on the creature then this will automatically trigger awareness of the target, however aggression will not be triggered until the creature has detected the target.
+
If the target has initiated an attack on the creature then this will automatically trigger awareness of the target, however aggression will not be triggered until the creature has detected the target. Creatures in combat will initiate patrolling behavior and roam around trying to detect their attacker.
  
 
== Approach Trigger Events ==
 
== Approach Trigger Events ==

Revision as of 13:41, 20 July 2009




Game Mechanics - Mechanics Category

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.


Navigation

Description

Template (Game Messages)

Related Tags

0% This document has not been started.

Mechanics This document is about game mechanics.

Game Mechanics

Creatures in SWG use a complex system to detect the presence of potential enemies. Once a target is detected, a number of processes execute to determine if the creature should attack the target or not. The process of target detection and creature response are explained under the following categories:

  • Awareness Checks
  • Approach Trigger Events
  • Aggression Checks

Awareness Checks

The ability for a creature to detect another target depends on a number of factors:

  • The Target's distance from the creature
  • The detecting creature being a stalker
  • The target's posture
  • The target's movement speed
  • The usage of mask scent or camouflage
  • Being in combat with the target

Note: There are no known formulas for detection chances.


The distance of a target from the creature is the initial trigger for creature behaviors. At 128 meters, creatures with stalking behavior will have a chance to chase after potential targets. Target's with mask scent or camouflage counter this behavior and stalking behavior cannot be initiated by creatures against targets with these effects up. Stalking behavior is not necessarily actual detection but resembles real-world hunter-prey where the hunting animal is following the scent of the potential prey, although not necessarily having spotted the prey item yet. Non stalking and stalking creatures begin actual target detection checks at 64 meters. Whenever a target enters the detection range of creatures, the system begins an awareness check cycle where at every cycle, the target's current posture, movement speed and distance are calculated into an detection response chance by the creature. Target's with mask scent or camouflage utilize their own roll check at this stage. Successful passing of the mask scent or camouflage will override any awareness checks against the target. If the creature passes the detection chance then the target's presence is made aware to the creature and awareness triggers begin.


Distance affects on awareness -

The closer a target is to the creature, the greater the chances that the creature will be made aware of the target. A creature's awareness increases significantly against targets that are at 40 meters or closer to them.

Posture affects on awareness -

The three types of posture of a target will have great effects on the detection chances of the creature. Standing posture provides the least chance to the target in its check against a creature's awareness; Kneeling provides a lesser chance to the target and Prone posture provides the best chances to the target.


Movement speed affects on awareness -


The movement speed of the target offers a penalty against its check with a creature's awareness. The slower that the target is moving, the higher its chances of remaining undetected. Stationary targets have the best chance of remaining hidden while targets that are walking, running, mounted or using vehicles have higher chances.


Being in Combat -

If the target has initiated an attack on the creature then this will automatically trigger awareness of the target, however aggression will not be triggered until the creature has detected the target. Creatures in combat will initiate patrolling behavior and roam around trying to detect their attacker.

Approach Trigger Events

Whenever an npc, creature or player enters within a 64 meter range of a creature and the creature passes an initial awareness check, several events may be triggered depending on the creature:

  •  ? - awareness
  •  ! - Detection
  • \|/ - Fight or Flight Response

Source References

Source Source in Context