Oolite Bulletins

For information and discussion about Oolite.
It is currently Wed Feb 20, 2019 4:50 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Dec 15, 2018 4:55 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1996
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.


Top
   
PostPosted: Sat Dec 15, 2018 6:46 pm 
Offline
Dangerous
Dangerous
User avatar

Joined: Sat Jan 20, 2018 4:08 pm
Posts: 88
Location: In The Dark
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


Top
   
PostPosted: Sun Dec 16, 2018 4:04 am 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1996
Thanks, at least my guess was mostly on target.


Top
   
PostPosted: Sun Jan 06, 2019 2:21 am 
Offline
Deadly
Deadly
User avatar

Joined: Mon May 30, 2016 3:54 am
Posts: 226
I only did some basic tests but
Code:
"escort_roles" = 0;
should actually work as well.

_________________
Trying to survive behind the controls of a Caduceus Psi XT in Alpha test :lol:


Top
   
PostPosted: Tue Jan 08, 2019 10:48 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1996
OK, I'll test "escort_roles" = 0;
...and will probably be editing this post in a couple days with results.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited