Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

what is name of combat scripts?

Page: 1 of 1
 shangoman
08-06-2004, 2:15 AM
#1
what is name of combat scripts?

Thx in advance for any help.
 Achilles
08-06-2004, 2:26 AM
#2
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, 9:31 AM
#3
Thx.
 beancounter
08-06-2004, 9:52 AM
#4
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.
Page: 1 of 1