Eric Walch wrote:
I think it is a feature, but I never saw these problems. But after performAttack, the ship can have about 5 different behaviors. With the 1.69.1 debugging key you can see the current behavior of the ship. Maybe this gives a clue to the problem. Maybe it could come from the physics of the ship itself. Has an other ship the same problem?
Thanks Eric. But that's why I'm wondering. It doesn't matter what kind of ship it is. But it only happens if there are more than one of them on the run (pirate ambush for example). I tried it without installed OXPs, with some of them and with my own one. With Version 1.65 and 1.69.1-test. Always the same. Some of them didn't get the right direction.
Intel Core 2 Duo, WIN XP SP2, 2 Gig Ram, Nvidia GeForce 7950 Go (512MB) latest driver
Here a dump of a ingame-ship:
[dumpState.entity]: Universal ID: 173
[dumpState.entity]: Scan class: CLASS_NEUTRAL
[dumpState.entity]: Status: STATUS_IN_FLIGHT
[dumpState.entity]: Position: (14890.8, -13585.2, 127596)
[dumpState.entity]: Orientation: (-0.509435 - 0.202024i - 0.831233j + 0.093355k)
[dumpState.entity]: Distance travelled: 75490.8
[dumpState.entity]: Energy: 211.998 of 250
[dumpState.entity]: Mass: 22592.2
[dumpState.entity]: Flags: isShip, hasMoved, isSunlit, collisionTestFilter
[dumpState.shipEntity]: Name: Gecko
[dumpState.shipEntity]: Roles: pirate
[dumpState.shipEntity]: Subentity count: 1
[dumpState.shipEntity]: Time since shot: 100281
[dumpState.shipEntity]: Behaviour: BEHAVIOUR_ATTACK_FLY_TO_TARGET_TWELVE
[dumpState.shipEntity]: Target: <PlayerEntity Cobra Mark III 100>
[dumpState.shipEntity]: Destination: (13247.6, -13487.2, 126728)
[dumpState.shipEntity]: Other destination: (0, 0, 0)
[dumpState.shipEntity]: Waypoint count: 0
[dumpState.shipEntity]: Desired speed: 75
[dumpState.shipEntity]: Fuel: 0
[dumpState.shipEntity]: Fuel accumulator: 1
[dumpState.shipEntity]: Missile count: 1
[dumpState.shipEntity.ai]: AI:
[dumpState.ai]: State machine name: pirateAI.plist
[dumpState.ai]: Current state: ATTACK_SHIP
[dumpState.ai]: Next think time: 284.078
[dumpState.ai]: Next think interval: 284.078
[dumpState.shipEntity]: Frustration: 0
[dumpState.shipEntity]: Success factor: 14549
[dumpState.shipEntity]: Shots fired: 0
[dumpState.shipEntity]: Hull temperature: 60
[dumpState.shipEntity]: Heat insulation: 1
[dumpState.shipEntity]: Flags: has_scoop, escortsAreSetUp, isFrangible
And even when they come under fire, the direction is not corrected until ENERGY_LOW is received. Strange. It seems that they don't make the move till the end. They are flying nearly to the attacker but not totally.