Station allegiance somtimes null on old stations
Moderators: winston, another_commander, Getafix
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4891
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Station allegiance somtimes null on old stations
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.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Station allegiance somtimes null on old stations
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.
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.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4891
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Station allegiance somtimes null on old stations
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.
Re: Station allegiance somtimes null on old stations
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.
Re: Station allegiance somtimes null on old stations
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.
"neutral" is in practice roughly how old AIs treated old stations, though either "chaotic" or "private" might also make reasonable defaults.