Aller au contenu

Photo

Activate tactics for selected character ?


1 réponse à ce sujet

#1
pierrejaquet

pierrejaquet
  • Members
  • 5 messages
Is it possible to modify the scripts so that the tactics are activated for the selected character ? Because its just so ****** boring to do always the same repetitive clicks. I'm sure its easy to do, I've just got no idea how to do it.:(

#2
Yaron Jakobs

Yaron Jakobs
  • BioWare Employees
  • 6 messages
Okay... I'm not sure how well it'd would work and it might require some extra tweaking, but check the script ai_main_h_2.

Inside it you'd find many calls to IsControlled() - this is where most of the differences happen.



One such check has the AI_DetermineCombatRound_Partial() function called after it. This function is the very minimal AI routine for controlled party members (continue attacking for example). Simply change the _Partial function call to the full AI call - AI_DetermineCombatRound() - this *might* do the trick.

If it doesn't then you may need to change a few more places that check for IsControlled().



IMPORTANT: you'd need to compile rules_core to see your changes to this include file.