There seems to be something odd with the police behaviour, i'm using a script to spawn pirates outside the main station when i launch, after the pirates have attacked me a few police launch from the station to help fight off the bandits, I'm noticing that after the police have destroyed their target pirate they seem to want to fly back to the station and dock.
They fly fairly close to the station then stop moving forward but continue to pitch & rotate as if they are trying to follow a flight plan.
i've targeted 2 faulty viper and pressed shift and h to write data about them into the log
Here's the first viper's log info
Code: Select all
[dumpState]: State for <ShipEntity 0x72fdf80>{"GalCop Viper" ID: 228 position: (62417.8, -9358.06, 348212) scanClass: CLASS_POLICE status: STATUS_IN_FLIGHT}:
[dumpState.entity]: Universal ID: 228
[dumpState.entity]: Scan class: CLASS_POLICE
[dumpState.entity]: Status: STATUS_IN_FLIGHT
[dumpState.entity]: Position: (62417.8, -9358.06, 348212)
[dumpState.entity]: Orientation: (0.494344 - 0.688954i - 0.512759j - 0.134334k)
[dumpState.entity]: Distance travelled: 9961.06
[dumpState.entity]: Energy: 180 of 180
[dumpState.entity]: Mass: 33764.4
[dumpState.entity]: Owner: <StationEntity 0x13c3f90>{"Icosahedron Station" "Icosahedron Station" ID: 139 position: (63412.4, -15151.1, 345475) scanClass: CLASS_STATION status: STATUS_ACTIVE}
[dumpState.entity]: Flags: isShip, hasRotated, isSunlit, collisionTestFilter
[dumpState.shipEntity]: Name: GalCop Viper
[dumpState.shipEntity]: Display Name: GalCop Viper
[dumpState.shipEntity]: Roles: <OORoleSet 0x414ed88>{defense_ship oolite-viper police}
[dumpState.shipEntity]: Primary role: defense_ship
[dumpState.shipEntity]: Script: <OOJSScript 0x13ed7d8>{"griff_explosion" version 1.0}
[dumpState.shipEntity]: Subentity count: 3
[dumpState.shipEntity]: Behaviour: BEHAVIOUR_FACE_DESTINATION
[dumpState.shipEntity]: Target: <StationEntity 0x13c3f90>{"Icosahedron Station" "Icosahedron Station" ID: 139 position: (63412.4, -15151.1, 345475) scanClass: CLASS_STATION status: STATUS_ACTIVE}
[dumpState.shipEntity]: Destination: (63647.9, -13013.1, 340781)
[dumpState.shipEntity]: Other destination: (0, 0, 0)
[dumpState.shipEntity]: Waypoint count: 0
[dumpState.shipEntity]: Desired speed: 0
[dumpState.shipEntity]: Fuel: 0
[dumpState.shipEntity]: Fuel accumulator: 1
[dumpState.shipEntity]: Missile count: 1
[dumpState.shipEntity.ai]: AI:
[dumpState.ai]: State machine name: dockingAI.plist
[dumpState.ai]: Current state: GO_TO_COORDS
[dumpState.ai]: Next think time: 107.093
[dumpState.ai]: Next think interval: 0.125
[dumpState.shipEntity]: Frustration: 0
[dumpState.shipEntity]: Success factor: 0
[dumpState.shipEntity]: Shots fired: 0
[dumpState.shipEntity]: Time since shot: 100071
[dumpState.shipEntity]: Spawn time: 29.265 (77.843 seconds ago)
[dumpState.shipEntity]: Hull temperature: 60
[dumpState.shipEntity]: Heat insulation: 1
[dumpState.shipEntity]: Flags: pitching_over, canFragment
[gameController.exitApp]: .GNUstepDefaults synchronized.
Closing log at 2009-04-26 15:45:18 +0100.
Code: Select all
[dumpState]: State for <ShipEntity 0x48c78b0>{"GalCop Viper Interceptor" ID: 214 position: (63601.6, -12977.4, 347746) scanClass: CLASS_POLICE status: STATUS_IN_FLIGHT}:
[dumpState.entity]: Universal ID: 214
[dumpState.entity]: Scan class: CLASS_POLICE
[dumpState.entity]: Status: STATUS_IN_FLIGHT
[dumpState.entity]: Position: (63601.6, -12977.4, 347746)
[dumpState.entity]: Orientation: (-0.265085 + 0.933411i + 0.0878784j + 0.225278k)
[dumpState.entity]: Distance travelled: 18436.9
[dumpState.entity]: Energy: 280 of 280
[dumpState.entity]: Mass: 43245.4
[dumpState.entity]: Owner: <StationEntity 0x13a6d28>{"Icosahedron Station" "Icosahedron Station" ID: 137 position: (63412.4, -15151.1, 345475) scanClass: CLASS_STATION status: STATUS_ACTIVE}
[dumpState.entity]: Flags: isShip, hasRotated, isSunlit, collisionTestFilter
[dumpState.shipEntity]: Name: GalCop Viper Interceptor
[dumpState.shipEntity]: Display Name: GalCop Viper Interceptor
[dumpState.shipEntity]: Roles: <OORoleSet 0x60f3190>{defense_ship interceptor oolite-viper-interceptor wingman}
[dumpState.shipEntity]: Primary role: defense_ship
[dumpState.shipEntity]: Script: <OOJSScript 0x6745fc8>{"oolite-default-ship-script" version 1.73}
[dumpState.shipEntity]: Subentity count: 15
[dumpState.shipEntity]: Behaviour: BEHAVIOUR_FACE_DESTINATION
[dumpState.shipEntity]: Target: <StationEntity 0x13a6d28>{"Icosahedron Station" "Icosahedron Station" ID: 137 position: (63412.4, -15151.1, 345475) scanClass: CLASS_STATION status: STATUS_ACTIVE}
[dumpState.shipEntity]: Destination: (65182.2, -11323.7, 342495)
[dumpState.shipEntity]: Other destination: (0, 0, 0)
[dumpState.shipEntity]: Waypoint count: 0
[dumpState.shipEntity]: Desired speed: 0
[dumpState.shipEntity]: Fuel: 160
[dumpState.shipEntity]: Fuel accumulator: 1
[dumpState.shipEntity]: Missile count: 3
[dumpState.shipEntity.ai]: AI:
[dumpState.ai]: State machine name: dockingAI.plist
[dumpState.ai]: Current state: GO_TO_COORDS
[dumpState.ai]: Next think time: 196.313
[dumpState.ai]: Next think interval: 0.125
[dumpState.shipEntity]: Frustration: 0
[dumpState.shipEntity]: Success factor: 0.99999
[dumpState.shipEntity]: Shots fired: 0
[dumpState.shipEntity]: Time since shot: 119.328
[dumpState.shipEntity]: Spawn time: 33.954 (162.328 seconds ago)
[dumpState.shipEntity]: Hull temperature: 60
[dumpState.shipEntity]: Heat insulation: 1
[dumpState.shipEntity]: Flags: isFrangible, canFragment
[gameController.exitApp]: .GNUstepDefaults synchronized.