"Personal Base" OXP Concept (Open to Ideas)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Thargoid »

Nope - the conversion scripts for shipmaking etc are Python, but the game isn't.

It's in Object-C I think, or something like that (not 100% sure, I'm not a dev programmer).

But I do know that what I said above is true - you're not the first person to consider this. Nor is other file read/write likely to change for security reasons.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Wildeblood »

I'm going to hedge my bets and say it might work. I think I understand the strategy Dragonfire is thinking of, and if I'm right it might work, but would be messy. It is very hard to know what he's thinking of though, since he's being, deliberately or not, very vague.
In your heart, you know it's flat.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Lone_Wolf »

Oolite is written in Objective C .

Oxps can be written in ecmascript 5 (often called javascript), but have NO ACCESS to Objective C functions.
Oolite uses the Mozilla Spidermonkey library, the version that comes with Firefox 4.

Spidermonkey does not have any functions to read/write files, cookies etc.

Dragonfire :
ofcourse you can add new classes, but how do you get such a class to access things that are NOT exposed to JS ?

Imo without changing the Objective C code what you want can't be done.
If you go that route, you will effectively be forking Oolite .

Note : you're not the first person that looked into this.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by JensAyton »

Lone_Wolf wrote:
Oxps can be written in ecmascript 5 (often called javascript), but have NO ACCESS to Objective C functions.
Actually, this isn’t true when the debug console is active (which is one reason it won’t be available in the general release). However, I don’t think the subset that can be used directly can access the file system. I don’t think this ability is actually useful for OXPers any longer, so I’m going to disable it for 1.75.3.

It’s also possible to load ObjC code into Oolite under Mac OS X by replacing the debug OXP. This vulnerability has been fixed for 2.0.

I’d be interested in seeing someone make a serious attempt to get at the file system. Of course, if anyone publishes a way to do this, I will immediately nerf it.
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: "Personal Base" OXP Concept (Open to Ideas)

Post by Commander McLane »

Dragonfire wrote:
You can read and write files in any programming language. Limitations can always be circumvented given enough code. Even if the OXP itself can't read and write the file, it can be made to access another class.

And, again, I'm not using the shipyard itself. I'm borrowing some code.
Oolite isn't a programming language, it is a game. In this case: it is a game that is specifically designed to not allow file access, or direct use of its code via expansions. The expansions are allowed to modify and manipulate certain well-defined parameters, not the code base (and you'd be hard pressed to find any game that allows its users to modify its code base on the fly).

The bottom line is: what you have in mind is not doable in an expansion of Oolite (= OXP). You can do it by modifying Oolite's code base. In plain English: you'd have to create a new game which is based on Oolite, but distinct from Oolite. Oolite's license allows you to do that. But your new game will not be Oolite.

And just as a personal remark: personally I don't believe that a "personal station" is a good or desirable addition to Oolite. It just doesn't fit into the whole premise of the game, in which you are a rather insignificant small trader in a big Ooniverse. It also doesn't fit into the concept of the wide open sandbox, which is what Elite/Oolite is all about: you are meant to explore a big Ooniverse with multiple galaxies, not to stay home in one single system on a small rock (or station). The whole idea just doesn't make sense to me. Sorry, just the opinion of a veteran Elite pilot.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2279
Joined: Tue Jan 02, 2007 12:38 pm

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Killer Wolf »

"It just doesn't fit into the whole premise of the game, in which you are a rather insignificant small trader in a big Ooniverse"

well, that's how you START....
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: "Personal Base" OXP Concept (Open to Ideas)

Post by Commander McLane »

Killer Wolf wrote:
"It just doesn't fit into the whole premise of the game, in which you are a rather insignificant small trader in a big Ooniverse"
well, that's how you START....
Well, of course we all strive to become more significant. :wink: But still, even if you have successfully finished some missions for the Navy I wouldn't advise you to look into the Total Perspective Vortex. :mrgreen:

And even if you were the Master Of The Ooniverse (which you are not, as I maintain), there is still the second point: the game is about exploration, moving from one system to another, from one galaxy to another. So of what use is a personal whatever in system #145 of galaxy #4, if 99.95% of the time I am in other systems, which 87.5% of the time are also located in other galaxies? (Average numbers, given an even distribution of my exploratory activities.)
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Wildeblood »

Killer Wolf wrote:
"It just doesn't fit into the whole premise of the game, in which you are a rather insignificant small trader in a big Ooniverse"

well, that's how you START....
Well, that's how YOU start. :wink:
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Disembodied »

How about a "Significant Other in Every Port" OXP, if people want to add a touch of home comfort here and there (without necessarily being tied down to any one system) ... there could be, ah, maintenance issues, of course: how long could you leave things between visits, and what might it cost you? :wink:
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2279
Joined: Tue Jan 02, 2007 12:38 pm

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Killer Wolf »

"the game is about exploration, moving from one system to another, from one galaxy to another"

not necessarily. it's all there if you want but apart from having to do so if you want to get the Constrictor or whatever, there's little reason if any to go from one galaxy to another - or indeed, one local system chart to another. if there's a good rich ind and poor ag close together there's not much more you need, except an anarchy inthe vicinity for your kill rate and a high(er) tech for buyring/repairing equipment. it's all well and good having 8 galaxies, but there's nothing that any does different to any of the others, in the stock game. which is why, elsewhere, i suggested the idea of increasing rewards and threats the further you went etc.

"Well, that's how YOU start"

Well that's how EVERYONE starts, unless they cheat ;-)
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by DaddyHoggy »

And to be fair, it would be completely possible to (I think) to live in one heavily asteroid filled system and play Oolite entirely as an asteroid miner - such a player may feel a little aggrieved that having bought an Anaconda and an ore processor that he couldn't reach the ultimate aspiration for a miner, to own his own (or indeed to become a) Rock Hermit (station).

I did try playing DaddyHoggy originally as per the Lazarus/Snake Charming character, and has an illicit unlocked Racing Team Mamba and went between the Main Station and the Constore in Diso. The problem is (although I haven't tried for a while) is that the commodities never refresh/change/replenish in system until you leave the system, so you can't trade between the stations for very long!

(I can't remember if you save and quit Oolite and restart the commodities are refreshed, but I don't think they are)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
tonyhippy
Dangerous
Dangerous
Posts: 90
Joined: Mon Apr 19, 2010 8:23 pm
Location: UK
Contact:

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by tonyhippy »

Don't forget, some of us have several Commanders having different lives within their own personal Ooniverses: My top Commander, Ruthungus (Elite) is a bounty hunter currently fling his trusty Dragon M on his second stint in Galaxy 4, whilst Commander HonestJohn lives the life of a scrupulously legal trader, plying a lumbering Griff Anaconda around Galaxy 1, Commander Jagger's B-Wing is evading Inno Soin in Galaxy 7, and I have a pirate in Galaxy 3, the evil Commander Jerkov in a Griff Boa. Which one I play depends on my mood and I play each as a different character. The Ooniverse is a big place!
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by CommonSenseOTB »

DaddyHoggy wrote:
And to be fair, it would be completely possible to (I think) to live in one heavily asteroid filled system and play Oolite entirely as an asteroid miner - such a player may feel a little aggrieved that having bought an Anaconda and an ore processor that he couldn't reach the ultimate aspiration for a miner, to own his own (or indeed to become a) Rock Hermit (station).

I did try playing DaddyHoggy originally as per the Lazarus/Snake Charming character, and has an illicit unlocked Racing Team Mamba and went between the Main Station and the Constore in Diso. The problem is (although I haven't tried for a while) is that the commodities never refresh/change/replenish in system until you leave the system, so you can't trade between the stations for very long!

(I can't remember if you save and quit Oolite and restart the commodities are refreshed, but I don't think they are)
DH you have some good points here. It would be cool to be an asteroid miner if there were areas with vast asteroid fields or planets rings to be mined or even a whole system debris field. The Supernova system that is a built in mission could be a test bed for an asteroid system. It could be generated after the mission is completed and the Main Station would be a large dockable ship with a fleet of mining, supply, and defence ships and would be the defacto representation for GalCop in the system.

This might also be the place for players to have the opportunity to create thier own base from a rock hermit as well. When the purchasing/constructing of the rock hermit is complete the main station replacement could be removed allowing the rock hermit to be the main station so one could save at it. Then a clone of the ship/previous main station would reappear but now would be just an npc.

Might make a good oxp, eh? :wink:
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
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: "Personal Base" OXP Concept (Open to Ideas)

Post by Commander McLane »

Have you visited a system whose sun went nova lately? If not, then please try. You'll find out very quickly that it is certainly a bad test bed for anything. 8)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: "Personal Base" OXP Concept (Open to Ideas)

Post by Thargoid »

Except perhaps how quickly you can die... :twisted:
Post Reply