Search found 4028 matches

by cim
Wed Jun 23, 2021 7:13 am
Forum: Discussion
Topic: Brainstorming for a MultiUser OXP
Replies: 92
Views: 21212

Re: Brainstorming for a MultiUser OXP

Does anyone have an example how to access some online resource from a JavaScript event handler? I’m not sure if the entire JavaScript model has been set up in the scripting model available in Oolite. I’ll have to have a look through the source code to confirm though. Correct - a lot of what people ...
by cim
Sun May 30, 2021 8:27 pm
Forum: Expansion Pack
Topic: SOTL Exploration v0.4 [WIP, 1.83 required]
Replies: 60
Views: 55284

Re: SOTL Exploration v0.4 [WIP, 1.83 required]

Altmap was highly experimental - in part, a testbed for when I was developing the scenario code at all, in part a place to test wacky ideas like NPC torus or a new equipment model - and crucially, not remotely finished. So the answer to "why does it do that" is probably "I don't know,...
by cim
Wed May 05, 2021 8:44 am
Forum: Expansion Pack
Topic: MasterClass: How to OXP (updating SoThisTC)
Replies: 89
Views: 43791

Re: MasterClass: How to OXP (updating SoThisTC)

locationSeed: (256*galaxyNumber)+(1+system.ID), In practice you can simplify this a bit, too, and just do "locationSeed: {some number unique to Sothis}" - as the position of any particular locationSeed relative to the three primary objects is already randomised within the Oolite core on a...
by cim
Fri Apr 30, 2021 2:14 pm
Forum: Expansion Pack
Topic: MasterClass: How to OXP (updating SoThisTC)
Replies: 89
Views: 43791

Re: MasterClass: How to OXP (updating SoThisTC)

Looking at the code for generating the Sothis position, I don't see anything obviously non-deterministic in that ... unless between save and load something else changed the main station or main planet positions, of course. Maybe check the savefile to see where it expects the Sothis to be, and then c...
by cim
Fri Apr 30, 2021 2:04 pm
Forum: Expansion Pack
Topic: MasterClass: How to OXP (updating SoThisTC)
Replies: 89
Views: 43791

Re: MasterClass: How to OXP (updating SoThisTC)

This looks like an issue with New Cargoes. Tested with Kiota stations and the behavior is the same. Most likely the Speciality Cargo screen is set up on docking and it disappears over save. Any idea, cim? At a guess - since I didn't really touch New Cargoes after the secondary saving was implemente...
by cim
Thu Apr 29, 2021 7:45 am
Forum: Expansion Pack
Topic: MasterClass: How to OXP (updating SoThisTC)
Replies: 89
Views: 43791

Re: MasterClass: How to OXP (updating SoThisTC)

1) Is there any difference if the market code is inside or outside the brackets with the rest of the Sothis description? I tried both tweaks, and there seemed no difference, but is this really so? It should definitely need to be inside the brackets. If it doesn't make any difference, then it's poss...
by cim
Wed Apr 28, 2021 7:33 am
Forum: Expansion Pack
Topic: SOTL Exploration v0.4 [WIP, 1.83 required]
Replies: 60
Views: 55284

Re: SOTL Exploration v0.4 [WIP, 1.83 required]

Cholmondely wrote: Tue Apr 27, 2021 4:34 pm Admittedly I never managed to play for too long before being turned inside-out when my witchspace journeys reached an excruciating finale...
The idea was you'd need to refit a bit - carry more energy cells and fuel for mapping some hyperspace routes, then switch to scanners to survey the systems.
by cim
Tue Apr 27, 2021 1:07 pm
Forum: Expansion Pack
Topic: Oolite interaction with Expansion Packs
Replies: 24
Views: 11037

Re: Oolite interaction with Expansion Packs

That depends how the moon is implemented - is it a very small planet, or a very large space station? Depending on what you want to do with it, it could be either.
by cim
Tue Apr 27, 2021 7:55 am
Forum: Expansion Pack
Topic: Oolite interaction with Expansion Packs
Replies: 24
Views: 11037

Re: Oolite interaction with Expansion Packs

http://wiki.alioth.net/index.php/OXP_howto might be helpful - with the exception of manifest.plist (and the deprecated requires.plist and info.plist) all PLists must go in the Config subfolder of the OXP. That page has a full list of which plists are supported for OXP use, mostly documented ... as w...
by cim
Sun Apr 25, 2021 8:41 pm
Forum: Expansion Pack
Topic: SOTL Exploration v0.4 [WIP, 1.83 required]
Replies: 60
Views: 55284

Re: SOTL Exploration v0.4 [WIP, 1.83 required]

Ha, I planned way more than that :) I just never got round to it. The longer-term idea was that your home base would only have a limited amount of hyperspace fuel - large, but not infinite. You'd then need to locate and mine particular materials from asteroids which could be synthesised into fuel ba...
by cim
Sun May 20, 2018 10:37 am
Forum: Fiction
Topic: Extracts from the Tre Clan Addresses on Interplanetary Life
Replies: 14
Views: 27038

Re: Extracts from the Tre Clan Addresses on Interplanetary Life

PDF link fixed - sorry, forgot to update that one when moving hosting.
by cim
Tue May 08, 2018 7:07 pm
Forum: Discussion
Topic: Split: Re-scaling experiment
Replies: 728
Views: 286444

Re: Split: Re-scaling experiment

Planets already have LOD on the model - switch to wireframe display mode and view them close up and far away - but there would be serious limitations on continuing that approach any further than it already has been.
by cim
Mon May 07, 2018 11:42 am
Forum: Discussion
Topic: Split: Re-scaling experiment
Replies: 728
Views: 286444

Re: Split: Re-scaling experiment

I didn't study the code enough to answer this question myself... so I guess what I'm wondering is, if Oolite's core could be modified to have real-world sizes? Or is that thought just stardust? Yes and no. The engine does support larger planets and stars - I put together an OXP a while ago which us...
by cim
Mon Nov 20, 2017 3:42 pm
Forum: Discussion
Topic: Distance between two solar systems - Z value?
Replies: 5
Views: 7447

Re: Distance between two solar systems - Z value?

pleiadian wrote: Mon Nov 20, 2017 3:16 pm How does Oolite calculate the distance between two systems?
The bit you're missing is the int dist on the sqrt function (Line 173)

So you do the sqrt and you get ~9.8975

This then gets cast to an integer, which rounds it down to 9. And then, 0.4 * 9 = 3.6 LY
by cim
Sat Nov 18, 2017 6:18 pm
Forum: Suggestion Box
Topic: NPC view of "player-unknown" role
Replies: 6
Views: 7546

Re: NPC view of "player-unknown" role

The underlying problem is that the police ship sees a Hognose attacking the player, but doesn't know if that's because the player attacked the Hognose first when the police were out of scanner range - so they intervene on the side of the one they like more. In this particular case, theoretically, it...