- Joined
- Dec 30, 2007
- Messages
- 60
There's been some pretty solid documentation on what custom spells a default AI will use under certain conditions, though the existing discussion leaves myriad questions unanswered regardless of how recent it might be.
Namely, I've been having trouble getting a Computer to follow through with a full cast of Tranquility, and was wondering if anyone might be able to weigh in with a similar experience. The unit in question casts Tranquility when ordered, and appears to manually cancel the spell several seconds later regardless of its own remaining HP or that of units around it. In addition, it apparently does so without receiving any other order (displaying all of the unit's order strings suggests nothing that would cancel the spell cast).
Modifying Acquisition Range, Call for Help range, and adding the Worker classification to the unit in question on cast (to prevent it from acquiring further targets) had no apparent effect, which suggests this behavior will continue even in the absence of enemy units. Interestingly, pausing and unpausing a unit that's channeling Tranquility seems to create a "disjointed" effect, in which the casting unit is able to move and act normally while leaving the effect of Tranquility ongoing for its full duration at the original casting location. Things I have not tried and plan to try tomorrow are: disabling attack and movement, and removing other abilities that might be interpreted with a higher "priority" by the AI than continuing to channel Tranquility.
Regardless, if anyone has any experience with, suggestions toward, or potential fixes for this matter, I'd greatly appreciate them.
Namely, I've been having trouble getting a Computer to follow through with a full cast of Tranquility, and was wondering if anyone might be able to weigh in with a similar experience. The unit in question casts Tranquility when ordered, and appears to manually cancel the spell several seconds later regardless of its own remaining HP or that of units around it. In addition, it apparently does so without receiving any other order (displaying all of the unit's order strings suggests nothing that would cancel the spell cast).
Modifying Acquisition Range, Call for Help range, and adding the Worker classification to the unit in question on cast (to prevent it from acquiring further targets) had no apparent effect, which suggests this behavior will continue even in the absence of enemy units. Interestingly, pausing and unpausing a unit that's channeling Tranquility seems to create a "disjointed" effect, in which the casting unit is able to move and act normally while leaving the effect of Tranquility ongoing for its full duration at the original casting location. Things I have not tried and plan to try tomorrow are: disabling attack and movement, and removing other abilities that might be interpreted with a higher "priority" by the AI than continuing to channel Tranquility.
Regardless, if anyone has any experience with, suggestions toward, or potential fixes for this matter, I'd greatly appreciate them.