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

Search found 2306 matches

by Wildeblood
Wed Feb 21, 2024 7:02 am
Forum: Expansion Pack
Topic: Galactic Hyperdrive / GalDrive Programmers OXP
Replies: 68
Views: 24219

Re: Galactic Hyperdrive / GalDrive Programmers OXP

phkb wrote: Wed Feb 21, 2024 6:56 am
The update doesn’t trigger automatically, but I’ve kicked it off so it should appear in the list shortly.
The question was why the previous version, from a fortnight ago, wasn't appearing!?
by Wildeblood
Wed Feb 21, 2024 6:51 am
Forum: Expansion Pack
Topic: Galactic Hyperdrive / GalDrive Programmers OXP
Replies: 68
Views: 24219

Re: Galactic Hyperdrive / GalDrive Programmers OXP

It appears the JSON object isn't smart enough to work with a Vector3D object in this way. I found this worked... Indeed, it did. Thank you. My next question is why is this OXZ not appearing in the download manager? I uploaded version 1.3 three hours ago. I just went looking to see if the download l...
by Wildeblood
Tue Feb 20, 2024 2:59 pm
Forum: Expansion Pack
Topic: Galactic Hyperdrive / GalDrive Programmers OXP
Replies: 68
Views: 24219

PS.galacticHyperspaceFixedCoordsInLY not retained in save-game?

As per the title, apparently PS.galacticHyperspaceFixedCoordsInLY is not retained in the save-game file? And it is thwarting my attempts to save it in a missionVariable, too. I'm trying this:- missionVariables.galDrive_Coords = JSON.stringify(player.ship.galacticHyperspaceFixedCoordsInLY); // Later,...
by Wildeblood
Tue Feb 20, 2024 4:03 am
Forum: Expansion Pack
Topic: [WIP] GalCop Missions
Replies: 445
Views: 276695

Re: [WIP] GalCop Missions

I've not done this one, but if one collects more than the minimum, why would a greater than 100% completion rate have to be wrong? Completion is a categorical or absolute state; something either is, or is not, complete. (A Boolean variable in this context.) But, before it is achieved , "comple...
by Wildeblood
Mon Feb 19, 2024 7:50 am
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

Keep increasing to what upper limit? There is none that I'm aware of. And certainly none you're going to reach without heading away from the planet for a long way, and I mean a *really* long way. Only took about 10-12 minutes to build up from 32x to 1024x. Fell through from 1024x back down to 32x -...
by Wildeblood
Mon Feb 19, 2024 1:33 am
Forum: Discussion
Topic: Secondary Market Definitions Defined
Replies: 82
Views: 5136

Re: Secondary Market Definitions Defined

I suppose that my major interest is realism. Then explain a universe in which you can jump around the galaxy/galaxies clockwise, but not anti-clockwise? Seriously. This isn't too hard to do, and we knew it. We knew it because lots of us had it working in our own builds of Oolite. That, and other sm...
by Wildeblood
Mon Feb 19, 2024 12:47 am
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

I copy/pasted it out of the debug console, so it looks more like javaScript, and less like PHP, and just uploaded it as version 1.0.4 - easiest "update" ever. :mrgreen:
by Wildeblood
Sun Feb 18, 2024 11:48 pm
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

Anyway, below is the entirety of Bullet Drive. "use strict"; this.name = "Bullet Drive"; this.version = "1.0.3"; // Wildeblood, May 16th, 2013 /* ==================================================================================== MAINTAIN LOCKED HEADING AT HIGH SPEED ...
by Wildeblood
Sun Feb 18, 2024 10:49 pm
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

Thank you, Redspear. But, you know, a polite poster would have mentioned the name of the file he was quoting Apologies if I didn't meet your standards... And that's not sarcasm on my part, rather it's to do with the nature of politeness itself. I don't understand that remark. Have I offended you?
by Wildeblood
Sun Feb 18, 2024 10:24 pm
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

Might it be this? (4th line) #if OO_VARIABLE_TORUS_SPEED #define HYPERSPEED_FACTOR [PLAYER hyperspeedFactor] #define MIN_HYPERSPEED_FACTOR 32.0 #define MAX_HYPERSPEED_FACTOR 1024.0 #else #define HYPERSPEED_FACTOR 32.0 #endif If not, then it would be one less line of code for me to tweak when rescal...
by Wildeblood
Sun Feb 18, 2024 8:50 pm
Forum: Discussion
Topic: Secondary Market Definitions Defined
Replies: 82
Views: 5136

Re: Secondary Market Definitions Defined

Reference : Erstwhile Whine at Wildeblood What's it got to do with me!? I have been leafing through this: Proposal for 1.82: support for economic changes . Can't pretend to understand it all, but it is really quite fascinating. I didn't need to re-read that; I remember it like it was yesterday. But...
by Wildeblood
Sun Feb 18, 2024 4:06 pm
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

phkb wrote: Sun Feb 18, 2024 1:45 pm
Torus max speed is no longer a constant, by the way. It will keep increasing if no stellar objects (ships, planets, sperm whales, etc) are detected in your path.
Keep increasing to what upper limit?
by Wildeblood
Sun Feb 18, 2024 1:34 pm
Forum: Expansion Pack
Topic: [RELEASE:] Riredi (ambience OXP)
Replies: 33
Views: 19370

Re: [RELEASE:] Riredi (ambience OXP)

What's the story with screen background images, anyway? Back in my day, they were all 1024 x 512 pixels. There was some technical reason for that; Ayton explained it to us one night. This one?: https://bb.oolite.space/viewtopic.php?p=127716#p127716 Or this?: https://bb.oolite.space/viewtopic.php?p=...
by Wildeblood
Sun Feb 18, 2024 1:26 pm
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

If you're needing to check anything in *as close to real time as possible*, don't do it in a timer. Use a frame call back. See wiki here: global.addFrameCallback Oi! I know what a frame call back is. I thought you said no-one was getting burned. Checking at 0.5 second intervals is perfectly adequat...
by Wildeblood
Sun Feb 18, 2024 1:07 pm
Forum: Expansion Pack
Topic: p.s.torusEngaged & p.s.injectorsEngaged Booleans
Replies: 27
Views: 598

Re: p.s.torusEngaged & p.s.injectorsEngaged Booleans

do the Booleans revert to false when the player releases the key, or a few moments later when the ship's speed reaches normal range? This would only apply to injectors, which are on while you hold down the key. The flag turns to false as soon as you release the key. For the torus, it has a state th...