Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu May 25, 2017 12:23 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jan 04, 2016 10:26 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1476
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
According to the docs, if a station doesn't have an allegiance set specifically in its definition, then the game will take a guess based on other station properties. Unfortunately, it appears that sometimes its guess is "null", rather than one of the approved allegiance values. I've seen this in particular with the "Free Trade Zone" oxp, where sometimes the guess is "neutral", but at other times it gets a null value.

_________________
My OXP's


Top
   
PostPosted: Mon Jan 04, 2016 11:10 am 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8243
Location: Disunited Kingdom
I can see that some OXP stations may not (and indeed should not) have any 'allegiance'. It might be best if the game does not try to give allegiance at all where this is not specified, although I'm not sure whether 'null' does this anyway. TBH I'm not sure what 'null' even does.
Looking to the future, perhaps a 'None' allegiance should be available to OXP authors, and old OXPs which have not been updated should be considered and perhaps those where allegiance is not specified are automatically given a 'none' allegiance as this is probably better than having an in-appropriate allegiance given.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
PostPosted: Mon Jan 04, 2016 10:10 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1476
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
To my mind an allegiance of "neutral" would be the same as "none", but my understanding of politics is limited! However, as a default, and based on what the current options are, maybe "chaotic" should be selected (allowing everyone to dock) when no specific allegiance is given.

_________________
My OXP's


Top
   
PostPosted: Tue Jan 05, 2016 1:49 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2398
Location: Finland
I would also say that from the game perspective, every station needs an allegiance setting. And null should be interpreted as Chaotic. It just means everyone is allowed to dock.


Top
   
PostPosted: Tue Jan 05, 2016 5:03 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4005
Every station should get an allegiance setting (and the default in the event of no particular clues on an old station is "neutral" at the moment) - but the way it sets it for old stations is that it won't set the allegiance of an old station until the first time an AI needs to know what that allegiance is, so it's possible depending on when you check the allegiance from a non-AI script, that nothing has yet set it.

"neutral" is in practice roughly how old AIs treated old stations, though either "chaotic" or "private" might also make reasonable defaults.

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


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 1 guest


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:
cron
Powered by phpBB® Forum Software © phpBB Limited