Page 1 of 5

[Split] Convoys OXP

Posted: Mon Jul 24, 2017 11:53 am
by Norby
Split from the Larger Convoys topic in Suggestion Box

Ok, Convoys OXP is available in the manager under the Mechanics category. Now more freighters can fly in the same group to create large convoys occasionally. Small ships also make large formations sometimes to defend themselves, as well as pirates, hunters and police, especially in bad governments. Even miners and shuttles can be seen in formation. :)

The central ship in a convoy is the leader, named like "Boa Leader". This ship is stronger than others because often hold aft laser and better shields. Defeating fugitive leaders pay high bounties.

Moreover Convoys OXP contain a patch for Escort Formations which was written before Oolite 1.79 therefore missed many new ship roles.

Please test it (so find convoys with leaders) and report your feelings.

Re: Larger convoys

Posted: Mon Jul 24, 2017 12:08 pm
by cbr
Nice idea!

I would think larger convoys would be seen more in less safe area's, safety in numbers?

8)

Re: Larger convoys

Posted: Mon Jul 24, 2017 12:26 pm
by Norby
cbr wrote: Mon Jul 24, 2017 12:08 pm
I would think larger convoys would be seen more in less safe area's, safety in numbers?
Exactly. The wiki say that the number of ships will be between "min" and "max", with "max" more likely in Anarchy systems and "min" more likely in Corporate States.

Re: Larger convoys

Posted: Mon Jul 24, 2017 12:57 pm
by gizmo
Nice idea ... but I'm not sure if it works as intended.

I just stumbled (in a dictatorship) across a convoy consisting of 5 Boas and 2 Asps - strange combination.

Re: Larger convoys

Posted: Mon Jul 24, 2017 1:38 pm
by Cody
Question: does hub count have any bearing on the amount of traffic in a system?

Re: Larger convoys

Posted: Mon Jul 24, 2017 2:42 pm
by Norby
Cody wrote: Mon Jul 24, 2017 1:38 pm
Question: does hub count have any bearing on the amount of traffic in a system?
The populator is not changed so the amount of fleets is the same, just a few groups contain more ships.

Re: Larger convoys

Posted: Mon Jul 24, 2017 3:21 pm
by Norby
Freighter Convoys OXP is also available in the manager. This add more ships into a group but without gameplay changes to fit into the Ambience category. You can install it next to Convoys OXP which create only small convoys in safe systems. If you use these together then you will have larger freighter convoys in the best systems too. But if you want to use only cosmetic packages then install Freighter Convoys alone.

Re: Larger convoys

Posted: Mon Jul 24, 2017 3:54 pm
by Norby
gizmo wrote: Mon Jul 24, 2017 12:57 pm
I just stumbled (in a dictatorship) across a convoy consisting of 5 Boas and 2 Asps - strange combination.
Yes, the corresponding lines allow this strangeness, although not so often:

Code: Select all

	{ "role" = "[boa]"; min = 1; max = 5; },
	{ "role" = "escort-medium"; min = -2; max = 6; },
	{ "role" = "escort-heavy"; min = -3; max = 4; },
Usually in the average governments somewhat less boa and more escorts are predicted but rarely possible to see Boas even without escorts.

Of course we can fix this by increasing the "min" values of escorts but I think better if we leave this as is, because the original goal is to make some new fleets which was not seen before.

Re: Larger convoys

Posted: Mon Jul 24, 2017 4:05 pm
by gizmo
Of course we can fix this by increasing the "min" values of escorts but I think better if we leave this as is, because the original goal is to make some new fleets which was not seen before.
If it is expected, although seldom, it's fine by me.

Re: Larger convoys

Posted: Mon Jul 24, 2017 5:00 pm
by Astrobe
This reminds me that once I looked for a way to get a random number in a normal ("bell curve") distribution (PRNGs provide a uniform distribution). It seems to me that a number of OXPs try to approximate it using methods more or less... empirical.

BTW thanks Norby for the tip.

Re: Larger convoys

Posted: Mon Jul 24, 2017 11:07 pm
by phkb
Norby, I don't know if this is expected, but I get these messages in my log file:

Code: Select all

09:01:40.902 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xd399f5a0>{"Anaconda Leader" position: (19268.7, 22635.7, 145432) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
09:01:41.521 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xe5b4bf60>{"Python Leader" position: (20052.1, 23534.9, 145022) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
09:01:42.013 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xe5b4ccf0>{"Boa Class Cruiser Leader" position: (20227.7, 24568.7, 144484) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
09:02:23.716 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0x55c08010>{"Shuttle Team Leader" position: (-40640.4, -9979.31, 507908) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
09:02:23.730 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0x55c03c40>{"Worm Team Leader" position: (-40490.6, -10197.6, 508167) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
09:02:23.831 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0x55c107b0>{"Transporter Leader" position: (-40234.7, -9554.16, 507618) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.

Re: Larger convoys

Posted: Tue Jul 25, 2017 12:36 pm
by Norby
Thank you, fixed by v1.1 both in Convoys and Freighter Convoys. Moreover:
-Pirate leaders show the assigned bounties in their names.
-More variations for many convoys.
-New red lookout for Thargoid Queen, the leader of the largest alien convoy.

A nice formation:
Image

Re: Larger convoys

Posted: Tue Jul 25, 2017 9:07 pm
by gsagostinho
Looking really great, Norby!! :shock:

Re: Larger convoys

Posted: Tue Jul 25, 2017 10:10 pm
by phkb
Indeed, looking very good!

Although I'm not sure about putting the bounty amount into the ship name. It's a bit of an immersion breaker in my view, as by default no other offender or fugitive has their bounty displayed that way. Plus, there's also the [EliteWiki] Bounty Informer and the [EliteWiki] Bounty Scanner which do the same job for all ships, but would end up duplicating the same information (I suspect - I'm not sure because I don't use them in my Oolite universe!).

Re: Larger convoys

Posted: Wed Jul 26, 2017 12:39 am
by phkb
And this is still happening:

Code: Select all

10:14:35.185 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xcf7a4a70>{"Anaconda" position: (31812.7, 22161.6, -24249.6) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
10:57:01.441 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xd31e71f0>{"Boa" position: (-34087, -9243.02, 227707) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
10:51:45.363 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xec57e9a0>{"Python" position: (-5246.58, 453.492, 117514) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.
10:51:45.260 [ship.setUp.escortShipCircularReference]: ----- WARNING: Ship <ShipEntity 0xd429e220>{"Boa Class Cruiser" position: (-6125.07, 1729.67, 117600) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT} 
requested escorts, when it is an escort ship itself. Avoiding possible circular reference overflow by ignoring escort setup.