[WIP] Captain AI overhaul. Updated 09.12.2014
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Hehe - yup, could get quite interesting, and on arrival "everybody runaway!!!" when one of them wasps gets below 50% hull, almost worth a try
That stop/ignore them totally was not good that slipped through the cracks - got a bit tunnel vision playing groundhog day with my test saves I guess
Highly recommend MadJoker's UFO test mod when doing these kinds of scripts, both as a time and sanity saver/for variety - if you are not using it already. I discovered it a bit late. Spawning bunch of caps near the fleet and seeing the code respond in different ways is quite fascinating.
That stop/ignore them totally was not good that slipped through the cracks - got a bit tunnel vision playing groundhog day with my test saves I guess
Highly recommend MadJoker's UFO test mod when doing these kinds of scripts, both as a time and sanity saver/for variety - if you are not using it already. I discovered it a bit late. Spawning bunch of caps near the fleet and seeing the code respond in different ways is quite fascinating.
Don't use AJD mod?
Cicero, you mentioned in your Captain AI mod description at the start of this thread that the AJD mod conflicts a bit with yours. Sorry if this is a stupid question, but what is the AJD mod?
@Eightbal1, Nice to see you here! "AJD" maybe means bm01's Automated Emergency Jump. I vaguely remember there being a report of conflicts between that and Captain AI Overhaul. Can't remember for sure, though.
If it is really the Automated Emergency Jump, any way to make them compatible as they both adds good things to combat aspects of the game?w.evans wrote:@Eightbal1, Nice to see you here! "AJD" maybe means bm01's Automated Emergency Jump. I vaguely remember there being a report of conflicts between that and Captain AI Overhaul. Can't remember for sure, though.
Hi Walker yeah. I came here and noticed you've been busy! I was wondering if you were right. It occurred to me after looking at the list of mods that you linked to me earlier that it might be Awesome JumpDrive FX. If so that's a mild bummer but if it is AEJ as you suggest, that's a big problem! I hope it all works out in the end. Surely both mods are good enough ideas to be canonized by Egosoft.w.evans wrote:@Eightbal1, Nice to see you here! "AJD" maybe means bm01's Automated Emergency Jump. I vaguely remember there being a report of conflicts between that and Captain AI Overhaul. Can't remember for sure, though.
Hi cicero111,
Just on the off-chance that you look in here sometime in the near future, I was wondering if you were planning on looking into whether or not this needs an update for X:R 3.20?
Been getting a lot of errors like this:
Also did an aicompat check via the command line, and got these:
aicompat.xml, the move.escort scripts, and some of the fight.attack.object scripts were altered in X:R 3.20. Collected a log of the changes here, in case it might be of some help.
Just on the off-chance that you look in here sometime in the near future, I was wondering if you were planning on looking into whether or not this needs an update for X:R 3.20?
Been getting a lot of errors like this:
which I think might be indicative of escorts losing the ship that they escorted and being stuck? I tried to look for problems in your code myself, but couldn't find anything.debuglog wrote:[=ERROR=] Error in AI script move.escort.capital on entity 0x5c71: Evaluated component 0x0 does not exist any more
* Expression: $target
[=ERROR=] Error in AI script move.escort on entity 0x36b0: Property lookup failed: $target.pilot.$escortgroup
* $target.pilot == null
* Expression: $target.pilot.$escortgroup
[=ERROR=] Error in AI script move.escort on entity 0x36b0: Evaluated value 'null' is not of type group
* Expression: $target.pilot.$escortgroup
Also did an aicompat check via the command line, and got these:
and the lines cited do appear to coincide with lines with those commands in your code.debuglog wrote:[=ERROR=] Compatibility warning in script 'command.move.wait', attention 'unknown', line 42: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 114. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'command.move.wait', attention 'unknown', line 56: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 114. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 212: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 222: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 259: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 299: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 309: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 339: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 357: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 374: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 471: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 485: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 523: Blocking action 'move_to' has invalid version, expected 'wait' instead, previously in line 116. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 576: New blocking action 'move_to' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 622: New blocking action 'move_to' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 657: New blocking action 'move_to' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 686: New blocking action 'move_to' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 740: New blocking action 'move_to' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 764: New blocking action 'move_to' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.attack.object.capital', attention 'unknown', line 116: New blocking action 'wait' has invalid version. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.escort.capital', attention 'visible', line 21: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 104. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.escort.capital', attention 'visible', line 39: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 104. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.escort.capital', attention 'visible', line 137: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 245. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.escort.capital', attention 'visible', line 151: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 245. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.escort.capital', attention 'visible', line 191: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 245. Missing sinceversion attribute?
[=ERROR=] Compatibility warning in script 'move.escort.capital', attention 'visible', line 207: Blocking action 'move_to' has invalid version, expected 'run_script' instead, previously in line 245. Missing sinceversion attribute?
aicompat.xml, the move.escort scripts, and some of the fight.attack.object scripts were altered in X:R 3.20. Collected a log of the changes here, in case it might be of some help.
Hello,
Since i patched my game from 3.20 to 3.53 the mod doesn't seem to work anymore.
I tested with the Balor by issuing an attack object command on an enemy capital. The balor started shooting missiles while slowly approaching the target in a strange way (boosting, stopping, then boosting again...) until it bumped into it...
The sulecus doesnt fire at all.
Is there anyone else who has th same problem?
Since i patched my game from 3.20 to 3.53 the mod doesn't seem to work anymore.
I tested with the Balor by issuing an attack object command on an enemy capital. The balor started shooting missiles while slowly approaching the target in a strange way (boosting, stopping, then boosting again...) until it bumped into it...
The sulecus doesnt fire at all.
Is there anyone else who has th same problem?
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
You can use w.evans' MICT instead: http://forum.egosoft.com/viewtopic.php?t=377825HyperCube wrote:Hello,
Since i patched my game from 3.20 to 3.53 the mod doesn't seem to work anymore.
I tested with the Balor by issuing an attack object command on an enemy capital. The balor started shooting missiles while slowly approaching the target in a strange way (boosting, stopping, then boosting again...) until it bumped into it...
The sulecus doesnt fire at all.
Is there anyone else who has th same problem?
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
I suggest you get these modsHyperCube wrote:I would love to use it but the problem is that it obly works with crews 4/4/4< and within my 70+ hours of gameplay I found only two guys with all their main skills above 3.
I wish there was an exception for sulecus and balor because without an ai patch they are literally useless.
NPC crew gain skills every hour
http://steamcommunity.com/sharedfiles/f ... =403905657
Gain Virtual Seminars during missions
http://forum.egosoft.com/viewtopic.php?t=378581
Mission Computer so you don't have to fly so close to those mission icons to pick up missions
http://steamcommunity.com/sharedfiles/f ... =304956421