Alternative Contracts Interface

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2457
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Alternative Contracts Interface

Post by Wildeblood »

Tricky wrote:
I fear Godwin's law is around the corner.

"Press Space Commander" does not need to be commified (made up word), and even if it did, the original and seminal work that Oolite is based upon did not have the comma.
Who is this Godwin, and how is he relevant? "Press space commander" is simply wrong, and most definitely does need to have a comma.
User avatar
Gimbal Locke
---- E L I T E ----
---- E L I T E ----
Posts: 293
Joined: Sun Jan 08, 2012 11:32 pm
Location: Brussels
Contact:

Re: Alternative Contracts Interface

Post by Gimbal Locke »

Wildeblood wrote:
Who is this Godwin, and how is he relevant? "Press space commander" is simply wrong, and most definitely does need to have a comma.
I guess Tricky is referring to "grammar nazi" and ...

:shock: Oh noes, I think I did it!
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

Please refer to the second paragraph of my comment...
Tricky wrote:
"Press Space Commander" does not need to be commified (made up word), and even if it did, the original and seminal work that Oolite is based upon did not have the comma.
Oolite is based upon Elite. Elite did not have a comma.

Despite that, it still does NOT need a comma.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Alternative Contracts Interface

Post by Cody »

<chortles>
Tricky wrote:
Oolite is based upon Elite. Elite did not have a comma.
I don't remember BBC Elite (all upper case letters, I think) having a comma in Right on, Commander... but Oolite does (and rightly so).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

:sighs

"Right on, Commander" is just so wrong. 3 words; why the break in the sentance? Same argument for "Press Space, Commander". In fact, it isn't even a sentance, it's a statement of fact.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2457
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Alternative Contracts Interface

Post by Wildeblood »

Tricky wrote:
"Right on, Commander" is just so wrong. 3 words; why the break in the sentance? Same argument for "Press Space, Commander".
I already explained why on the previous page.
Tricky wrote:
In fact, it isn't even a sentance...
Tricky, you are correct that "Press space commander" is not even a sentence - because it is ungrammatical. "Press space, commander," however, is a sentence.
Tricky wrote:
...it's a statement of fact.
It most certainly is not. It is a sentence in the imperative mood. That is easily recognised by the verb (to press) being the first word of the sentence.
Last edited by Wildeblood on Sat Nov 24, 2012 2:11 am, edited 1 time in total.
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

Wildeblood wrote:
Tricky, you are correct that "Press space commander" is not even a sentence - because it is ungrammatical. "Press space, commander," however, is a sentence.
You miss the point. It is a statement not a sentance. Or maybe I miss your point and we are arguing different points.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2457
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Alternative Contracts Interface

Post by Wildeblood »

Tricky wrote:
Wildeblood wrote:
Tricky, you are correct that "Press space commander" is not even a sentence - because it is ungrammatical. "Press space, commander," however, is a sentence.
You miss the point. It is a statement not a sentance. Or maybe I miss your point and we are arguing different points.
Hmm, you enthusiastically replied while I was still editing my post.

I'm not missing your point at all, I'm simply telling you that you're wrong. Your error stems from the notion that there is such a thing as a statement which is not a sentence. Sentences come in several moods, among them declarative and imperative. The sentiment you are trying to express is that "Press space, commander," is an imperative, not a (more common in English) declarative, sentence - it is giving you an instruction.

Because it is an imperative sentence it's easy to see that it requires the comma after "space". It can be written simply as "Press space" and have the identical meaning. The word "commander" is an unnecessary appositive, which does not modify the meaning, and is therefore set off by a comma.

(A declarative sentence simply declares information, but does not give instruction. An example would be: "There is a space bar you could press, if you wanted to, commander." (Again in that example addressing the addressee as "commander" contributes nothing to the meaning.))
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

I'm going to stop here as I in no way intended to start a flame war. My initial post was only just to point out my thoughts on this matter. :roll:

Appologies to the original thread starter and all others that were keeping to topic.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Alternative Contracts Interface

Post by Diziet Sma »

cim wrote:
Hmm... that suggests that it isn't clearing your HUD successfully, or at least quickly enough. Does it still happen with no OXPs installed?
Nope.. found the culprit, by a process of elimination.

It's the Hud Vanisher OXP, which auto-hides the hud when exterior views are selected. Dunno why it would have that effect when docked, but in vanilla trunk, even when it's the only OXP installed, the text appears on that screen.

I've posted a report in the relevant thread.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Alternative Contracts Interface

Post by Eric Walch »

I am not an expert in English grammar, but you can interpret the sentence "press space commander" in two ways:

You have to "press" on the "space commander".
or
it is an instruction for the "commander" to "press space".

Only the use of a comma can make clear which of the two options was mend (or use common sense :lol: ).
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Alternative Contracts Interface

Post by cim »

Diziet Sma wrote:
It's the Hud Vanisher OXP, which auto-hides the hud when exterior views are selected. Dunno why it would have that effect when docked, but in vanilla trunk, even when it's the only OXP installed, the text appears on that screen.
Ah - and probably auto shows the HUD on any other screen change, which interferes with the contracts interface trying to manage this.

Thanks for checking.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Alternative Contracts Interface

Post by Diziet Sma »

cim wrote:
Ah - and probably auto shows the HUD on any other screen change, which interferes with the contracts interface trying to manage this.
I'm not sure about that.. because it doesn't affect any other screens when they change.. just that one.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2457
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Alternative Contracts Interface

Post by Wildeblood »

cim wrote:
Diziet Sma wrote:
It's the Hud Vanisher OXP, which auto-hides the hud when exterior views are selected. Dunno why it would have that effect when docked, but in vanilla trunk, even when it's the only OXP installed, the text appears on that screen.
Ah - and probably auto shows the HUD on any other screen change, which interferes with the contracts interface trying to manage this.

Code: Select all

this.name        = "HUD Vanisher";
this.version     = "1.0";

this.viewDirectionChanged = function(to,from)
	{
	if (from === "VIEW_CUSTOM" && to !== "VIEW_CUSTOM")
		{
		player.ship.hudHidden = false;
		return;
		}
	if (to === "VIEW_CUSTOM" && from !== "VIEW_CUSTOM")
		{
		player.ship.hudHidden = true;
		return;
		}
	}

this.guiScreenChanged = function()
	{
	if(guiScreen !== "GUI_SCREEN_MAIN") // <-------- Change here.
		{
		player.ship.hudHidden = false;
		return;
		}
	}
Before I added the guiScreenChanged() function, I could press v, F5, F1 and get back to the cockpit view with the HUD staying off. Just adding a not docked check should fix it:-

if (guiScreen !== "GUI_SCREEN_MAIN" && !player.ship.isDocked)
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Alternative Contracts Interface

Post by Eric Walch »

In 1.76 does guiScreenChanged() not trigger for missionscreens, because there was no reason for an oxp to react. In trunk guiScreenChanged() now fires also for missionscreens, so it becomes more important for an oxp to check which page is on display.
Post Reply