Page 6 of 8

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 1:00 am
by Dragonfire
Does it write OXPs for you? Well, yes, in a way.

Does it involve coding OXPs? Yes.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 1:06 am
by RyanHoots
Is it a text editor made for OXPing?

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 1:07 am
by Dragonfire
Nope. :D

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 1:11 am
by RyanHoots
Does the program/script use a GUI?

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 2:16 am
by Dragonfire
Yes it does.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 2:30 am
by RyanHoots
Is it like a text editor? Does it edit plists?

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 4:04 am
by Dragonfire
No, it is not a text editor.
Yes, it edits (or more specifically works with) plists.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 5:07 am
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?

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 5:50 am
by Dragonfire
No, but you're very VERY close. (Possible eventual feature?)

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 5:50 am
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.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 6:13 am
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.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 6:19 am
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.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 6:23 am
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.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 6:48 am
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.

Re: Countdown to a HUGE Surprise!

Posted: Tue Jul 19, 2011 6:58 am
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.