In making a modified Galactic Navy OXP, I added Navy Boa 2 Light Cruisers to the ships used by the Galactic Navy.
"navy-boa2" has escorts = 4; and escort_ship = "navy-asp";
So it has 4 jump-capable Asps tagging along with it, since it's made to travel to other systems and interstellar space.
It refers back to "oolite_template_boa-mk2" via like_ship = "boa-mk2";
"patrol-boa2" uses like_ship = "navy-boa2"; and also has escorts = 4; but unlike "navy-boa2" escort_ship = "navy-viper"; instead of "navy-asp"
"patrol-boa2" is supposed to patrol in a system, so it doesn't need jump-capable Asps as escorts...but still needs escorts, so it has "navy-viper" instead.
"picket-boa2" also uses like_ship = "navy-boa2"; and has escorts = 0;
It's supposed to be used when the Boa 2 is waiting at a location (guarding it) and its escorts are either elsewhere or handled separately.
So I would expect it to have 0 escorts. Or barring that, to somehow "inherit" escort_ship = "navy-asp" from "navy-boa2" which it copies.
Nope, it has random escorts -- sometimes 1, sometimes 2, sometimes 4?!
So it would seem to be picking up escort_roles from "oolite_template_boa-mk2" and escorts = 0; is not overriding that.
escorts = 0; no longer works?!
Moderators: winston, another_commander, Getafix
Re: escorts = 0; no longer works?!
ESCORT_ROLES overrides everything else relating to escorts according to that wiki entry. Since the oolite_template_boa-mk2 is using escort_roles they are most likely overriding the escorts = 0 you are entering for the picket-boa2. Guessing that if you gave the picket-boa2 its own dictionary of escort_roles with min = 0 max = 0 (or even possibly negative numbers) it would solve the problem. Only ran across this as the result of research done to rid myself of some weird escort errors popping up in Mr. Latest Log.
Humor is the second most subjective thing on the planet
Brevity is the soul of wit and vulgarity is wit's downfall
Good Night and Good Luck - Read You Soon
Brevity is the soul of wit and vulgarity is wit's downfall
Good Night and Good Luck - Read You Soon
Re: escorts = 0; no longer works?!
Thanks, at least my guess was mostly on target.
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: escorts = 0; no longer works?!
I only did some basic tests but
should actually work as well.
Code: Select all
"escort_roles" = 0;
Scars remind us where we've been. They don't have to dictate where we're going.
Re: escorts = 0; no longer works?!
OK, I'll test "escort_roles" = 0;
...and will probably be editing this post in a couple days with results.
...and will probably be editing this post in a couple days with results.