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

Confused but willing to learn

General discussion for players of Oolite.

Moderators: another_commander, winston

Post Reply
draytalon
Average
Average
Posts: 9
Joined: Mon Jan 30, 2023 2:01 pm

Confused but willing to learn

Post by draytalon »

Ok guys, I'm somewhat confused on the info out there. I would like to try and create an OXP/OXZ for the game, I have ideas, in my grey matter, but what do I need to implement this. What tools are required
User avatar
Cholmondely
Archivist
Archivist
Posts: 5020
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Confused but willing to learn

Post by Cholmondely »

Probably best if you start with a description of what you'd like to have a stab at.

It's usually recommended to start with tweaking the bally things, and start learning the ropes that way.

References:
The Dark Side
How to tweak OXZ's

OXP (Creating an OXP)
OXP howto

You will need some sort of text editor which does not introduce hidden code into the text files (which gives Oolite a major case of constipation)!

Be aware that there are several different "languages" involved. The Legacy scripts (XML & OpenStep) and the newer JavaScript. And then there are the .plists...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
draytalon
Average
Average
Posts: 9
Joined: Mon Jan 30, 2023 2:01 pm

Re: Confused but willing to learn

Post by draytalon »

Cholmondely wrote: Wed Feb 08, 2023 12:04 pm
Probably best if you start with a description of what you'd like to have a stab at.

It's usually recommended to start with tweaking the bally things, and start learning the ropes that way.

References:
The Dark Side
How to tweak OXZ's

OXP (Creating an OXP)
OXP howto

You will need some sort of text editor which does not introduce hidden code into the text files (which gives Oolite a major case of constipation)!

Be aware that there are several different "languages" involved. The Legacy scripts (XML & OpenStep) and the newer JavaScript. And then there are the .plists...
Well thanks Cholmondely, guess it's back to school for me, oh boy, lol
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16064
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Confused but willing to learn

Post by Cody »

You are about to enter the Twilight Zone!
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
Cholmondely
Archivist
Archivist
Posts: 5020
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Confused but willing to learn

Post by Cholmondely »

I've no idea how much you know about this sort of thing.

But.

Part of our original lead developer, Aegidian's, original motivation in creating Oolite was "to get people to programme". And a number (such as Murgh) learned programming thanks to him. The legacy languages (especially OpenStep) are much easier to use than Javascript.

But Javascript is much more flexible, and one can do much more interesting things with it. Hence Jens Ayton/Ahruman (our second lead developer) and another_commander (a_c) drove themselves nuts incorporating it into Oolite. It proved to be a major back-breaking exercise and hence has never been updated to newer (and more flexible) versions of Javascript. But more and more of Oolite has been made "scriptable" over the years.

Some things are still not alterable - eg the 7ly jump limit (regarded as game-breaking if tampered with) - the links in my post above will have further links discussing this if it is relevant to you.

I - like Cody - am just a dumb pilot. The current active experts on this sort of thing include a_c, Phkb, Redspear, Montana05 & Alnivel.

I've been trying to edit the wiki pages (despite my ignorance of the subject) to make them more useful. Do let me know of any failures!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16064
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Confused but willing to learn

Post by Cody »

One tool you'll probably need is a brick! See the first item in the Miscellaneous section of [EliteWiki] this page.
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
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2646
Joined: Thu Jun 20, 2013 10:22 pm

Re: Confused but willing to learn

Post by Redspear »

draytalon wrote: Wed Feb 08, 2023 3:10 pm
guess it's back to school for me, oh boy, lol
Don't be afraid to ask for help.

Meanwhile, Cholmondely's links are a great place to go a-huntin', as is this once you're ready for it (not needed for the simpler of oxps).

Whatever your level, Cody's brick-related advice is near essential.
UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1244
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: Confused but willing to learn

Post by UK_Eliter »

draytalon

With some work, in no time (by which I mean . . quite a lot of time) you'll near the heights of the core Oolite programmers who, I seem to recall, not so long ago issued a release of code that was entitled something like, 'The it-was-not-meant-to-be-THAT-broken release'. I myself - author of several expansion packs - have had to release a few quick (desperate) fixes. But that's how one learns (though I've heard somewhere that there is this thing called 'testing'). Good luck! Writing expansion packs can be fun and satisfying. Part of the appeal is a mild version of the be-the-change-you-want-to-see. That is: if you want something in Oolite, then (up to a point . .) one can make it happen!
Post Reply