
|
With regard to unit clarification, 1 JKU is the equivalent of 1 meter, a time value of 3000.0 msec is the equivalent of 3 seconds and boolean values within are assigned by either a 0 (false) or 1 (true) value. Interestingly, both integer and floating-point numbers seem to be legal values for boolean arguments (but must be of the form 0.0 or 1.0).
Each instinct has a set number of arguments which must be set, in order for the AI character to use that instinct. The following details show examples, as well as listing each argument effect and type.
SaberFighting 0.40, 0.225, 45.0, 900.0, 0.25, 25.0, 1100.0
Argument 1: Frequency of lightsaber attacking (%: ranges from 0=never to 1=continuously)
Argument 2: Attack 1 range (blade length of FIRE slot of the PUP file)
Argument 3: Attack 1 damage (if hits)
Argument 4: Attack 1 duration: how long a delay after FIRE to do another strike or block (msec)
Argument 5: Attack 2 range (blade length of FIRE2 slot of the PUP file)
Argument 6: Attack 2 damage (if hits)
Argument 7: Attack 2 duration: how long a delay after FIRE to do another strike or block (msec)
Argument 8: << documented but not implemented >> Attack 3 range
Argument 9: << documented but not implemented >> Attack 3 damage (if hits)
Argument 10: << documented but not implemented >> Attack 3 duration: how long a delay after FIRE to do another strike or block (msec)
Argument 11: << documented but not implemented >> Attack 4 range
Argument 12: << documented but not implemented >> Attack 4 damage (if hits)
Argument 13: << documented but not implemented >> Attack 4 duration
This instinct, which belongs solely to Jedi/Dark Jedi, instructs the AI how to handle a lightsaber. What is bizarre about this instinct is that LEC have as many as 13 arguments documented, but all the Jedi AI files that use this instinct only take 7! As such, until tested further, editors are recommended to adhere to LEC's 7-arguments-only rule.
This section details how the instinct is initiated. In some cases, a charactor's AI are dependent upon certain actions/events occurring before the instinct is triggered.
Without this instinct, you can specify a jedi "thing" (for use in a jedi actor cog) but the jedi will not respond to any events triggered by the player or otherwise, eg: damage the AI actor and they'll just play a damaged keyframe and reduce health; no direct response from the AI is triggered (such as attacking/defending itself).
Warning: Assigning this instinct to a non-lightsaber enemy (including saber-flags via COG) results in the game engine crashing.
Status:
Questionable Implementation Usage