Page 1 of 2
(RC3) Korolov freighter will keep moving in circles
Posted: Wed Dec 23, 2009 4:55 pm
by VST
Hey there!
Got a weird bug to report, the Korolov freighter I was escorting decided to forget going towards its destination and move in circles endlessly, in the middle of nowhere, until it gets destroyed by a random pirate or it runs out of fuel.
Don't know what the problem might be, I've run some 15 escort missions and they all went fine, and neither the destination nor the Korolov station have been destroyed
Posted: Wed Dec 23, 2009 4:58 pm
by Arisaya
The freighters never run out of fuel.
However, this is most likely a bug with the enemy-station-avoidance programming, where it can't find a safe path to the desitnation.
Posted: Wed Dec 23, 2009 5:02 pm
by VST
Wow, that was fast...
"The freighters never run out of fuel."
Sorry, I wanted to write that *my* ship ran out of fuel...
"However, this is most likely a bug with the enemy-station-avoidance programming, where it can't find a safe path to the desitnation."
I'll try blasting every enemy nearby and see what happens.
Posted: Wed Dec 23, 2009 5:06 pm
by VST
No joy, it's still circlin' around.
Posted: Wed Dec 23, 2009 5:08 pm
by Arisaya
Yes, your ship can run out of fuel, but AI ships do not. They don't even need reactors or fuel *Some do only for realism and allowing the player to get fuel, one does it due to mission scripting*
Killing the stations doesn't always seem to help: it still detects the dead stations as unfriendlies. I think...
Posted: Wed Dec 23, 2009 6:16 pm
by Bobby
Is it going in tiny circles constantly spinning? If so it's probably "in orbit" around it's waypoint due to thrust/maneuverability matching up just so. Try giving it a nudge with a momentum doing weapon or tractor (or the debug console).
Code: Select all
(objIncVel (objGetTarget gPlayerShip) (sysVectorPolarOffset Nil 0 50))
makes the player's target move right
speaking of bugs, I have seen ships I spawned to attack me constantly turn back and forth and drift away endlessly. They want to turn around but seem to repeatedly give up and try the other way.
Posted: Wed Dec 23, 2009 6:57 pm
by VST
Bobby wrote:Is it going in tiny circles constantly spinning? If so it's probably "in orbit" around it's waypoint due to thrust/maneuverability matching up just so. Try giving it a nudge with a momentum doing weapon or tractor (or the debug console).
Code: Select all
(objIncVel (objGetTarget gPlayerShip) (sysVectorPolarOffset Nil 0 50))
makes the player's target move right
speaking of bugs, I have seen ships I spawned to attack me constantly turn back and forth and drift away endlessly. They want to turn around but seem to repeatedly give up and try the other way.
Well, the circles it makes aren't exactly small, but I guess that is because it's a pretty damn big ship.
How do I input that code?
Posted: Wed Dec 23, 2009 7:04 pm
by Arisaya
you need to run transcendence in debug mode (I forget how) and hit 'F9' to open the console.
Posted: Wed Dec 23, 2009 7:24 pm
by alterecco
Transcendence.exe /debug
Hit F9 in game to open console
Posted: Wed Dec 23, 2009 8:06 pm
by VST
That code didn't work...
(EDIT: yay! 7777th post!! 8) )
Posted: Wed Dec 23, 2009 10:05 pm
by Bobby
were you targeting the freighter?
if you don't have a targeting program rom installed try:
Code: Select all
(enum (sysFindObject gPlayerShip "sFN:25") ship
(objIncVel ship (sysVectorPolarOffset Nil 0 200))
)
makes every friendly ship within 25 light seconds of the player move right very fast, you may need to use it repeatedly.
Posted: Wed Dec 23, 2009 10:50 pm
by VST
That last one did the trick! Thanks man
Posted: Thu Dec 24, 2009 4:17 am
by schilcote
VST wrote:
(EDIT: yay! 7777th post!! 8) )
Why do strange coincidences like this happen so often on these forums?
Posted: Thu Dec 24, 2009 4:43 am
by Arisaya
Not a coincidence: post 7777 has got to have occured some time... XD
(like a stopped clock being right twice a day...)
Posted: Thu Dec 24, 2009 10:34 pm
by schilcote
Wolfy wrote:Not a coincidence: post 7777 has got to have occured some time... XD
(like a stopped clock being right twice a day...)
Wow, you are (ehmm...) [strikethrough]dense[/strikethrough] unobservant. Look at the post I made just before making that one.