Progress

General discussion for players of Oolite.

Moderators: another_commander, winston

User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Progress

Post by cim »

Norby wrote:
I asked for a text entry in HudRequests OXP to make a Logbook OXP, now I missing the documentation only. ;)
If you describe then I put into the wiki and make some OXP.
There's a new boolean parameter for the mission screen config object called 'textEntry'. If it's true, then you get the text prompt and 'choices' and 'choicesKey' are ignored. Whatever's typed there gets passed as the parameter to the callback function.

The ship registry code has a simple example.
Norby wrote:
Antialias is a must-have in any visual game imho, it is worth to backport into the 1.77.1 to get it without compiling. Please port it if it is possible.
It would be technically easy to backport it as it is, but at the moment our priority for 1.77.1 is to get the bugs out so it can be released. Introducing an incomplete and untested feature doesn't really seem to fit with that.
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Progress

Post by Norby »

cim wrote:
Introducing an incomplete and untested feature doesn't really seem to fit with that.
I think to test a feature widely need to placed into a compiled test version. Before this a few people can test it only, which can be happen in short time, so others with compiler: please test anti-aliasing in GNUStepDefaults.

I can think under incompleteness to one thing only: a switch in the options screen, which can be tested easily after implemented. But regardless of this if the default setting remain off then the introducion can not cause big problems: if a player can turn it on and see a problem then can turn it off also.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Progress

Post by JazHaz »

Norby wrote:
cim wrote:
Introducing an incomplete and untested feature doesn't really seem to fit with that.
I think to test a feature widely need to placed into a compiled test version.
That's what Trunk versions are for Norby. Testing of new features, before they are released to the general public.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16060
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Progress

Post by Cody »

Any chance this will make it into a trunk nightly build?
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
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Progress

Post by Norby »

JazHaz wrote:
Norby wrote:
I think to test a feature widely need to placed into a compiled test version.
That's what Trunk versions are for Norby. Testing of new features, before they are released to the general public.
Yes, I tried to say the same, but cim said that it is currently in the stabilizing phase where we can test the not so new features only. But I will be happy if at least the anti-aliasing can fit into due to it is a low-level feature which theoretically can not make bugs, especially if turned off by default.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Progress

Post by JensAyton »

Cody wrote:
Any chance this will make it into a trunk nightly build?
There’s no such thing at the moment. (Or in future; at some point there will be “master” nightly builds.)
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16060
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Progress

Post by Cody »

JensAyton wrote:
... at some point there will be “master” nightly builds.
Ooh... 'master' nightlies, eh?
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
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: Progress

Post by JazHaz »

Sounds kinky!
User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Progress

Post by Norby »

JazHaz wrote:
Sounds kinky!
"Master" is the name of the main branch in GitHub which host the newest sources, I think this will be the v1.79 after the other branches are merged into.
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: Progress

Post by Gimi »

Are there also plans to update the "Building trunk the easy way" package to "Building Master the Easy Way"?
I can build by using using the github tool for windows to pull the source and then pointing the current "Building trunk the easy way" compiler to the downloaded source folder. However, the result was quite messy with the github tool reporting a lot of files waiting to be committed to the project.

So anyone know a way of redirecting the build to a different directory?
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Progress

Post by cim »

Gimi wrote:
"Building trunk the easy way" compiler to the downloaded source folder. However, the result was quite messy with the github tool reporting a lot of files waiting to be committed to the project.

So anyone know a way of redirecting the build to a different directory?
That shouldn't be necessary. Ah - looks like the .gitignore file in the maintenance branch is out of date. I've pushed a corrected version now.
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: Progress

Post by Gimi »

cim wrote:
Gimi wrote:
"Building trunk the easy way" compiler to the downloaded source folder. However, the result was quite messy with the github tool reporting a lot of files waiting to be committed to the project.

So anyone know a way of redirecting the build to a different directory?
That shouldn't be necessary. Ah - looks like the .gitignore file in the maintenance branch is out of date. I've pushed a corrected version now.
Thank you cim. (You shouldn't do that while I'm at work you know :D ).
Now I have to test to see how it works.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Progress

Post by Commander McLane »

cim wrote:
So ... new mission screen feature: arbitrary text entry.
This is so awesome! (And one million bonus points for the casual manner of delivery of this massive feature as a mere vehicle for the implementation of a totally different feature. That's really cool! :shock: )

I've been dreaming about this for a long, long time. Just imagine the opportunities for interactive mission design that comes with this feature. <nearly faints>

<nerdgasm>Now Svengali only needs to write a word parser for CCL, and we can script full-blown text adventures in Oolite. :mrgreen: </nerdgasm> :oops:

(And yes, I am fully aware that there already exists a text adventure in Assassins OXP, but its mission choice-based, and therefore very simplistic compared to what's possible with text parsing.) (I am also aware that CCL has contained a keyboard for a long time, but direct text entry is so much more simple and elegant.)
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Progress

Post by Svengali »

Commander McLane wrote:
cim wrote:
So ... new mission screen feature: arbitrary text entry.
This is so awesome!
Yes, it is a step forward to more dynamic and interactive screens and I absolutely agree.
Commander McLane wrote:
Now Svengali only needs to write a word parser for CCL, and we can script full-blown text adventures in Oolite.

I am also aware that CCL has contained a keyboard for a long time, but direct text entry is so much more simple and elegant.
When CCL_PhraseGen is done I'm aiming for a dialogue tree system (future music). The CCL_Keyboard may be removed in Oolite v1.80, but it depends on the features for text input, e.g if it's possible to define allowed input characters for the current instance or which chars are allowed at all (wink wink suggest suggest).
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Progress

Post by cim »

Svengali wrote:
e.g if it's possible to define allowed input characters for the current instance or which chars are allowed at all (wink wink suggest suggest).
Maybe. Because of the way the text input works at a low level (I just borrowed the function used for save game and system search), there'd only be a very limited number of alternative definitions - it might be more practical to handle it in the processing script by either rejecting invalid input and redisplaying, or stripping those characters out of the data, as appropriate.


Continuing, in addition to steadily going along with the AI enhancements and related features, one of the bits that came up was a need to flexibly specify certain ship roles as being equivalent to each other for a particular purpose. We already do this in 1.77 for pirate victims with pirate-victim-roles.plist, but there are now other roles needing similar treatment. So, there's now a role-categories.plist, which obsoletes pirate-victim-roles.plist (no need to rewrite OXPs - existing files will of course get processed compatibly)

Here's a couple of entries from it:

Code: Select all

	/* Roles used by bounty hunters */
	"oolite-bounty-hunter" = (
		"hunter",
		"hunter-medium",
		"hunter-heavy"
	);

	/* Roles that often attack pirates */
	"oolite-pirate-enemy" = (
		"hunter",
		"hunter-medium",
		"hunter-heavy",
		"interceptor",
		"police",
		"police-station-patrol",
		"police-witchpoint-patrol"
	);
So, if you wanted to add another sort of pirate hunter, you could put your own in, with

Code: Select all

	"oolite-pirate-enemy" = (
		"myoxp-mercenary-protection"
	);
and pirates would react to it in the same way as they do to bounty hunters and police. You can make your own role categories, too.

For those paying very close attention to detail: yes, this file merges in slightly differently to a standard plist dictionary, so the OXP code there does something useful rather than overwriting the standard definition.
Post Reply