Escort Probs Again

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Escort Probs Again

Post by Eric Walch »

Killer Wolf wrote:
aye, cheers, i'll send you a link tonight.
Downloaded it. I see nothing wrong with it. Escorts work as they should. I do see that the test script you use for addition is always adding them near the station and that the mother has a route1TraderAI. That AI is supposed to release its escorts near the main station end send them to dock.

The lining up in rows is also normal. Ships waiting to dock are send to fixed positions along certain lines radiating from the station. With only a few docking ships you don't see the lines but with the amount of ships you are spawning along the station the lines of waiting ships become recognizable.

NB it is much easier to spawn ships at will using the console than using a script for it. And when using a script, it becomes easier to add a specific role to your ship (e.g. scorpius) and change the scriptlines:

Code: Select all

this.role = "sunskim-trader"; 
system.legacy_addSystemShips(this.role, this.count, 1.0); 
to

Code: Select all

this.role = "scorpius"; 
system.legacy_addSystemShips(this.role, this.count, 0.0); 
That way you explicitly add the ship you need for testing and near the entry point (where your ship is at that moment) and not near the station.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2279
Joined: Tue Jan 02, 2007 12:38 pm

Re: Escort Probs Again

Post by Killer Wolf »

Many thanks to you and Commander McLane - the stuff's working great now :-)
just been testing a chopped up version of route1Trader to make sure she doesn't dock or drop her escorts off. that new escort formation stuff looks fricking cool - the only thing you have to watch is not to cut down the formation spacing ~ i wanted a fairly tight group but it appeared to start bothering the mother and activating the collision-avoidance routines.
Post Reply