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

Search found 4072 matches

by cim
Fri May 13, 2022 6:53 am
Forum: Discussion
Topic: Oolite essay: game lore, features and mechanics
Replies: 120
Views: 39051

Re: Oolite essay: game lore, features and mechanics

3) You have to (as the partial implementations in Escort Contracts and RRS do) have a way to bind an entire fleet together in a single torus bubble, or most NPCs will never use torus even if they have it. (I realise that the above is an explanation more than a recommendation but I quote it just to ...
by cim
Thu May 12, 2022 1:15 pm
Forum: Discussion
Topic: Oolite essay: game lore, features and mechanics
Replies: 120
Views: 39051

Re: Oolite essay: game lore, features and mechanics

Obviously I didn't get as far as implementing full gameplay in Altmap, but I got far enough to pick up some of the big issues with NPC torus. It definitely needs to be done in a scenario since you need to rewrite huge chunks of the base AIs to make them torus-aware, and existing non-torus AIs will c...
by cim
Thu May 05, 2022 3:52 pm
Forum: Discussion
Topic: Oolite essay: game lore, features and mechanics
Replies: 120
Views: 39051

Re: Oolite essay: game lore, features and mechanics

I certainly don't see any general lack of willingness to depart from the 1984 gameplay / lore / manual among either OXP writers or users. [1] Even going way back to the ones which existed pre-1.76 you've got: - Commies / Dictator / Feudal which set up whole cross-galactic organisations never hinted ...
by cim
Thu May 05, 2022 9:28 am
Forum: Discussion
Topic: Oolite essay: game lore, features and mechanics
Replies: 120
Views: 39051

Re: Oolite essay: game lore, features and mechanics

I think I got the encounter/combat balance fairly badly wrong - fewer cross-system raiders and/or perhaps a deliberate exception to make them even rarer for both the systems around Lave specifically and Galaxy 1 in general would have been sensible. They very much changed the balance of Diso and Lees...
by cim
Thu May 05, 2022 8:05 am
Forum: Discussion
Topic: Oolite essay: game lore, features and mechanics
Replies: 120
Views: 39051

Re: Oolite essay: game lore, features and mechanics

As Cholmondely mentions, the scenario support code was never really used. But it was exactly designed for this sort of modification which isn't just a tweak to the "a bit like Elite 84" game Oolite provides, without needing to go to the much greater effort of forking the entire core game c...
by cim
Mon Mar 07, 2022 8:53 am
Forum: Discussion
Topic: Experiment: NPC Non-AI ship
Replies: 18
Views: 8293

Re: Experiment: NPC Non-AI ship

When I ran `ship.AI`it said nullAI.plist Yes - ship.AI points to the plist AI (and all ships have one) - while ship.AIScript points to the JS AI (and again all ships have one) - whichever one isn't in use is automatically set to the null file for that type so that it doesn't interfere. Can you conf...
by cim
Fri Mar 04, 2022 8:56 am
Forum: Discussion
Topic: Experiment: NPC Non-AI ship
Replies: 18
Views: 8293

Re: Experiment: NPC Non-AI ship

You basically just need an AI that isn't going to do anything to interfere with ship behaviour once it's initialised - nullAI should be fine for that. If the code isn't working it'll be because something in the script initialisation isn't working. Possibly shipSpawned() is too early to be calling sh...
by cim
Thu Mar 03, 2022 10:50 pm
Forum: Discussion
Topic: Experiment: NPC Non-AI ship
Replies: 18
Views: 8293

Re: Experiment: NPC Non-AI ship

Try giving it a kick with ship.performScriptedAI() in the console. If that doesn't work, to make sure it's getting the right AI attached, try replacing the function with this. this.scriptedAI = function(delta) { log(ship.name, delta); return { stickPitch: -0.2; desiredSpeed: this.ship.maxSpeed / 3; ...
by cim
Thu Mar 03, 2022 9:17 am
Forum: Expansion Pack
Topic: SOTL Exploration v0.4 [WIP, 1.83 required]
Replies: 91
Views: 89360

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

What are x,y,z? Where are they measured from? Relative to your ship and its current axis set. Why are they only positive? There's an implicit zero-mark about half-way up the scale. So if you turn your ship so that the X and Y are about half-way up, and the Z is all the way up, then the gravitationa...
by cim
Thu Mar 03, 2022 9:08 am
Forum: Discussion
Topic: Experiment: NPC Non-AI ship
Replies: 18
Views: 8293

Re: Experiment: NPC Non-AI ship

Bearing in mind that it's been several years since I did any serious OXP coding, so others might be more able to help with this bit... - your RemoteControlled.js file should go in Scripts/ not AIs/ - your shipdata.plist needs enclosing { and } to hold the aitest_adder entry (More generally, your Deb...
by cim
Wed Mar 02, 2022 12:40 pm
Forum: Discussion
Topic: Experiment: NPC Non-AI ship
Replies: 18
Views: 8293

Re: Experiment: NPC Non-AI ship

I am wondering why your description sounds just so much different from https://wiki.alioth.net/index.php/OXP_howto_AI, which talks about state machines. There are a few ways to write AIs. The original way involves the state machines described there. You can also use a Javascript file as the ship's ...
by cim
Mon Feb 28, 2022 9:17 pm
Forum: Discussion
Topic: Experiment: NPC Non-AI ship
Replies: 18
Views: 8293

Re: Experiment: NPC Non-AI ship

All ships have to have an AI - but it is possible for that AI to avoid using any of the in-built flight code whatsoever. You just have to combine a bunch of obscure features ... but then, you were going to have to do that anyway. Start with https://wiki.alioth.net/index.php/Oolite_JavaScript_Referen...
by cim
Tue Feb 22, 2022 4:27 pm
Forum: Oolite-Mac
Topic: Change stations screen keyboard assignment
Replies: 5
Views: 10654

Re: Change stations screen keyboard assignment

Yes, that was all in 1.80 - the allowInterrupt, screenID and exitScreen properties on mission.runScreen - https://wiki.alioth.net/index.php/Oolit ... e:_Mission - are what this refers to.
by cim
Thu Jan 06, 2022 9:11 am
Forum: Discussion
Topic: A question of lore
Replies: 187
Views: 101914

Re: A question of lore

I went in the end for "Human Colonials" came from elsewhere, hence the name, everyone else was native to the Eight.
by cim
Wed Jun 23, 2021 7:13 am
Forum: Discussion
Topic: Brainstorming for a MultiUser OXP
Replies: 110
Views: 51836

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 ...