PDA

View Full Version : what is name of combat scripts?


shangoman
08-06-2004, 03:15 AM
what is name of combat scripts?

Thx in advance for any help.

Achilles
08-06-2004, 03:26 AM
Originally posted by shangoman
what is name of combat scripts?

Thx in advance for any help.

Pretty sure that all the AI is run by k_ai_master.nss

shangoman
08-06-2004, 10:31 AM
Thx.

beancounter
08-06-2004, 10:52 AM
Hey - I have spent a lot of time with those scripts and here are a few pointers that might help speed you along. The majority of the combat scripts are fired from "On Perception" or "Combat Round End" Events. The actual combat selection is handled by the function GN_DetermineCombatRound, this function is in the k_inc_generic. Depending on the NPC AI style and class it will fire off sub functions that actually determines whether the character needs to apply a shield, buff, heal or attack. All of the attacks are done with three round combo moves that the scripts pick based on the NPC AI style. If you are trying to make any major changes I would recommend that you print off the k_inc_generic & k_inc_gensupport because they are both very big scripts.

What are you actually trying to change within the scripts? If you want I would be willing to help you out.