Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Countdown to a HUGE Surprise!

General discussion for players of Oolite.

Moderators: winston, another_commander

Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

Does it write OXPs for you? Well, yes, in a way.

Does it involve coding OXPs? Yes.
User avatar
RyanHoots
---- E L I T E ----
---- E L I T E ----
Posts: 958
Joined: Fri May 20, 2011 8:10 pm
Location: Nowhere
Contact:

Re: Countdown to a HUGE Surprise!

Post by RyanHoots »

Is it a text editor made for OXPing?
Image
Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

Nope. :D
User avatar
RyanHoots
---- E L I T E ----
---- E L I T E ----
Posts: 958
Joined: Fri May 20, 2011 8:10 pm
Location: Nowhere
Contact:

Re: Countdown to a HUGE Surprise!

Post by RyanHoots »

Does the program/script use a GUI?
Image
Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

Yes it does.
User avatar
RyanHoots
---- E L I T E ----
---- E L I T E ----
Posts: 958
Joined: Fri May 20, 2011 8:10 pm
Location: Nowhere
Contact:

Re: Countdown to a HUGE Surprise!

Post by RyanHoots »

Is it like a text editor? Does it edit plists?
Image
Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

No, it is not a text editor.
Yes, it edits (or more specifically works with) plists.
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Countdown to a HUGE Surprise!

Post by Capt. Murphy »

Is it an app that parses installed shipdata.plist's and displays the installed ships with their stats and allows those stats to be edited?
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

No, but you're very VERY close. (Possible eventual feature?)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: Countdown to a HUGE Surprise!

Post by Thargoid »

RyanHoots wrote:
Is it a tool to check the validity of OXPs (I could use one of those)?
We already have that...

oolite.exe -verify-oxp ../AddOns/<yourOXPnamehere>

from the command line when in the oolite.app folder (at least under Windows it's that syntax - for other OS's it's something along the same lines).

It doesn't check everything, but it can save a lot of time in running and log-checking.
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Countdown to a HUGE Surprise!

Post by Capt. Murphy »

Dragonfire wrote:
No, but you're very VERY close. (Possible eventual feature?)
Mmm - guessing that displaying the ship graphically is the difficult part - it just lists the ships and stats and allows editing. Or maybe you select and load an individual shipdata.plist and can edit it from a GUI.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

Okay, you guys are very close. One more right guess, and I'll probably just tell ya'll.

But no, it doesn't edit existing OXPs.
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Countdown to a HUGE Surprise!

Post by Capt. Murphy »

So an app that will create a brand new shipdata.plist based on stats input via a GUI?

If so - very nice idea.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Dragonfire
---- E L I T E ----
---- E L I T E ----
Posts: 503
Joined: Sat Jun 11, 2011 7:46 pm

Re: Countdown to a HUGE Surprise!

Post by Dragonfire »

YES!

The application is named Drydock. It is a cross-platform Windows/Mac/Linux program written in Python and WxWidgets.

It allows the user to create objects by type (player ship, NPC ship, station, asteroid, missile, etc.), and then the program shows all the relevant fields (and none of the irrelevant ones). These are sorted by type, with multiline text boxes for adding in scripting, etc.

All the data is stored in small database files until the user is ready to compile the project (consisting of any number of objects) into an OXP, at which point the referenced models, textures, and scripts are copied into their appropriate files, and shipdata, shipyard, and demoships are written automatically and placed in their folders.

Less typos, less oversights. This will change how we OXP forever.

The concept can also be carried over to missions and equipment, obviously, too. We may eventually also add in an import functionality for editing existing OXPs, though that is not something that I will deliver on in the ALPHA.

I will give warning, though, I only have until Friday to deliver on this. At that point, everything I have will be posted to a Sourceforge site, and my activity on the project will drop down to just about nothing for quite some time. I really have to focus most of my efforts on my company. Drydock is just the means by which I am learning wxpython (independent of a tutorial).

So, anyone familiar with (or who are willing to learn) Python 2.7 and WxPython (the python build of wxWidgets) are encouraged to join the project, so we can keep upgrading it.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6570
Joined: Wed Feb 28, 2007 7:54 am

Re: Countdown to a HUGE Surprise!

Post by another_commander »

Nice. My only reservation would be about the name. Is your project related to this one by Ahruman?

http://drydock.berlios.de/

Maybe it would be an idea to somehow differentiate the name to avoid potential confusion.
Post Reply